When sex gives patient a headache,use this all-encompassing code. Consider These Terms Part of 339.82 When coding for sex headaches, ICD-9 offers 339.82 (Headache associated with sexual activity), says Kristie Star, CPC, coding and compliance specialist for Wheaton Franciscan Healthcare in Milwaukee. Name game: Preorgasmic or Orgasmic? No ICD-9 Code Change Code 339.82 also includes preorgasmic and orgasmic headaches. Although the characteristics of the two are quite different, it matters little to ICD-9, as it does not distinguish between the two. Preorgasmic headache is described as a dull ache in the head and neck brought on by sexual activity and increasing in intensity with the increase in sexual excitement. On the other hand, orgasmic headache is a sudden, severe onset of explosive headache pain occurring at the time of orgasm. Both conditions assert that no other disorder is present that could account for these symptoms. Exclude Postcoital Headaches From Sex Headaches Looking for a code for a postcoital headache? ICD-9 makes no mention of postcoital (immediately after sex) headache. The term is even absent from the index. The best bet is to use 784.0 (Headache). Moreover, medical literature explains that these types of headaches are more often due to vigorous sexual activity rather than for any other cause.