From Middle English pecok, pekok, pocok, pacok, first component from Old English pēa, pāwa (“peacock, peafowl”), ultimately from Latin pāvō; equivalent to pea + cock. Compare Old Norse páfugl (“peacock”, literally “peafowl”), and English peahen, peachick, etc.