Sexomnia is a sleep disorder also knwon as parasomnia and sleep sex.
When a person experiences sexomnia they engage in sexual behaviors when not fully awake.
Parasomnias refer to unusual sensations and behaviors, such as sleepwalking, that some people may experience or exhibit while asleep, falling asleep, or waking up.
It's not clear what exactly causes sexsomnia, however the predominant theory is that a health condition that disrupts sleep could be to blame (such as sleep apnea, sleepwalking, heartburn, or restless leg syndrome).
Stress, anxiety, and fatigue could also trigger sexsomnia episodes.
Just like with sleepwalking, sexsomnia is a parasomnia, a sleep-related disorder that occurs when you're in between deep, dreamless sleep and wakefulness.
Behaviors during an episode of sexsomnia may include fondling, masturbation, sexual intercourse, pelvic thrusting and spontaneous orgasm.
Treating underlying conditions that cause sleep disruption, such as sleep apnea, may also reduce or resolve cases of sexsomnia.
Medical treatment options for sexsomnia include: anti-anxiety and antidepressant medications, such as duloxetine and clonazepam.
If unwarranted advances are triggering for you (as they are for many of us), your relationship might need to accommodate that, whether it means breaking up or changing how you sleep.
Although it's not your partner's fault they have this disorder, it doesn't mean you should just "deal with it."