Green’s Dictionary of Slang

pencil dick n.

[SE pencil + dick n.1 (5)]

1. (US gay, also pencil meat) a long, thin penis.

[US]B. Rodgers Queens’ Vernacular 185: small penis [...] pencil dick = long, skinny cock.
[US](con. early 1960s) E. White in N.Y. Rev. Bks 25 Oct. 🌐 Because I’d hung out in Chicago’s gay coffee shops [...] I knew that someone who liked well-hung men was ‘a size queen,’ just as someone with a small penis was ‘Princess Pencil Meat’.

2. (US) a general term of abuse, the implication being that the person in question has a small penis.

R.H. Rimmer on Urban Dict. 🌐 needle A derogatory term used to imply a lack of genital size in the pants. syn. Pencil dick You have a real needle.
[US]C. Hiaasen Stormy Weather 216: He hated answering questions from pencil dicks like Reedy.
[UK]J. Baker Chinese Girl (2001) 153: I hate to disturb your coma, pencil dick, but you’ve no more brains’n a dog’s got feathers.
[UK]‘Aidan Truhen’ Price You Pay 148: I’m sorry pencildick I can’t hear you over the sound of the arctic wind.

In compounds

pencil-dicked (adj.)

having a small penis; thus as a term of abuse.

[US]R. Marcinko Rogue Warrior (1993) 30: How the hell would some four-star, pencil-dicked Pentagon paper-pusher know whether or not we were good at it? [Ibid.] 188: You pencil-dicked shit-for-brains numb-nuts sphincter-lipped asshole geek.