Question: what is the meaning of the idiomatic expression pain in the neck?
Answer: A source of annoyance, a nuisance, as in Joan is a real pain in the neck, with her constant complaining, or Jack told his brother to stop being a pain in the ass. The first of these colloquial expressions dates from about 1900 and originated as a euphemism for the two less polite variants.