noggin (n.)

1620s, "small cup, mug," later "small drink" (1690s), of unknown origin, possibly related to Norfolk dialectal nog "strong ale." Informal meaning "head" first attested 1866 in American English.