NoFap Withdrawal: Headaches, Mood Swings, and What's Happening
Updated · 9 min read

You quit porn a few days ago, and now there’s a dull headache that keeps coming back, you’re sleeping badly, and you’re snapping at people over nothing. You’re not imagining it, and you’re definitely not the only one.
A lot of guys call this NoFap withdrawal, and the same few things come up over and over in the first week or two: a dull headache, a short temper, bad sleep, and feeling kind of on edge. “Withdrawal” is the word people use for how it feels, though, not a diagnosis. The one trial that looked for porn withdrawal didn’t find any (Fernandez et al., 2023), and your headache is more likely coming from sleep, stress, caffeine and tension than from your body missing porn.
So this is what these headaches usually feel like, the signs that mean it’s something else, what helps, and the mood side of the first couple of weeks. If you’re dealing with a longer list, like the flatline, insomnia or anxiety, the NoFap side effects guide goes through all of them.
What NoFap headaches usually feel like
The way guys describe it, it sounds like a regular tension headache:
- a dull ache across your forehead or at the back of your head
- pressure behind your eyes, or a feeling like something is tightening around your head
- a stiff neck and tight shoulders
- brain fog and zero patience on top of it
Some guys get it mostly at night, some wake up with it, and some notice it most when urges are high and they’ve slept badly a few nights in a row. From what guys describe, it’s usually worst in the first week and eases off over the next week or so, though plenty of guys don’t follow that pattern exactly.
That’s pretty much the textbook tension headache, and the NHS lists stress, sleep problems and caffeine as its common causes (NHS), which are exactly the things that get shaken up when you quit.
When a headache needs help right away
Most of these headaches are the boring kind, but some aren’t, and none of the ones below should be put down to quitting porn. These follow the NHS’s headache advice (NHS).
Call 911 (or your local emergency number) or go to the ER if you have a headache and:
- it came on suddenly and it’s extremely painful, like the worst headache of your life
- numbness or weakness in your face, arms or legs
- trouble speaking, walking, keeping your balance or remembering things
- you’re confused or unusually drowsy
- you’ve had a seizure
- you’ve lost vision
- you’ve had a head injury in the last three months
- a very high temperature, a stiff neck, or light that really bothers your eyes
- a rash that doesn’t fade when you press a glass against it
Get seen today, by your doctor or at urgent care, if you have a headache and:
- blurry vision or other eye problems
- it gets set off or made worse by coughing, sneezing, bending down or working out
- you keep throwing up
And book a normal appointment if you’ve been treating it yourself and it isn’t getting better, it’s getting worse, you’re getting headaches several times a week, or you need painkillers for it most days.
What helps
The stuff that helps is pretty simple, and you can start on most of it tonight.
Drink water properly for a few days
Do the obvious thing properly before you assume something weird is going on. Not drinking enough is one of the common causes of headaches (NHS), and when you’re distracted and sleeping badly it’s easy to drink way less than you think. Sip through the day instead of chugging a glass once the headache is already bad, and if you just started training too, you’re sweating more, so drink more.
Keep your caffeine steady
If you changed your caffeine at the same time, that’s probably part of it. Stopping caffeine suddenly can cause headaches on its own, usually for a couple of days (MedlinePlus), and drinking extra to push through the tiredness can backfire too. For now, either keep it steady or cut down slowly on purpose, instead of swinging between way too much and none.
Get out of your chair
Walking helps more than you’d expect, and so does anything that loosens up your neck and shoulders, since a lot of these headaches have some tension in them. For tension headaches the NHS suggests things that help you relax, like exercise, yoga and massage (NHS).
Take a painkiller if you need one
Ibuprofen or acetaminophen (paracetamol) are fine for a normal headache, and there’s no prize for toughing it out. Stick to the dose on the pack, and don’t let it turn into a daily thing, because taking painkillers for headaches too often or for a long time can cause headaches of its own (NHS). If you’re reaching for them most days, see a doctor instead.
Protect the next two nights of sleep
If you fix the headache for an hour but keep the same bad sleep setup, it’ll keep coming back. Charge your phone outside the bedroom, eat dinner a bit earlier, and try to get up at the same time even after a bad night.
Don’t “test” whether porn fixes it
Using porn or masturbation to see if the headache goes away is one of the dumber relapse moves. Even if you feel different for a few minutes afterwards, that doesn’t tell you the headache was about porn, and it resets the exact thing you’re trying to get out of.
For tonight: water through the evening, a short walk, a normal dose of ibuprofen or acetaminophen if you need it, and your phone charging outside the bedroom.
The mood side of it
The headache usually isn’t the only thing going on. In the first week or two, a lot of guys also describe:
- a short fuse over small stuff
- feeling low or flat for no clear reason
- restlessness, like you can’t sit still
- anxiety in situations that didn’t bother you before
When researchers went through 104 recovery journals from a rebooting forum, some of the men described pretty much this mix (mood swings, low mood, anxiety, brain fog, fatigue, headaches and insomnia). Some of them put it down to withdrawal, and others put it down to whatever else was going on in their lives (Fernandez et al., 2021). The trial that found no withdrawal only lasted a week and most of the people in it were female students, so it doesn’t settle much either way, but it’s a good reason to treat “withdrawal” as a description of how it feels.
The simplest explanation is that porn was doing a job for you. If it’s how you dealt with stress, boredom or a bad day, the stress is still there once you quit, it just doesn’t have its usual outlet anymore, so everything hits a bit harder for a while.
What helps your mood is mostly the same list as the headaches: sleep, moving every day, and not sitting alone with your phone at night. When it turns into an urge, get up and do something else for a bit, because a lot of guys find urges ease within about 10–15 minutes. And tell one person what you’re doing, since a bad week you’re hiding is way harder to get through than one somebody knows about.
NoFap anxiety and NoFap and depression go deeper if one of those is the bigger problem for you. If your mood keeps getting worse instead of lifting after a few weeks, see a doctor. If it turns into hopelessness or thoughts of hurting yourself, that’s not something to push through for a streak: call or text 988 in the US (988 Suicide & Crisis Lifeline) or your local emergency number right now. And if you’re already being treated for depression or anxiety, keep going with it. Quitting porn can be part of getting better, but it doesn’t replace treatment.
Why headaches show up when you quit
There’s no test that can show a headache came from quitting porn. Headaches do come up in those forum journals, but nobody has studied whether quitting causes them. It’s not hard to see why they’d happen though, because you’re usually changing a bunch of things at once:
- dropping a habit you used to reach for whenever you were stressed or bored
- sleeping differently, often worse for a while
- feeling more stressed or keyed up
- moving less, or way more, than usual
- drinking more caffeine to fight being tired
- drinking less water than you think
Stress, bad sleep, caffeine and not drinking enough are all common headache causes, so that combination is plenty on its own.
A lot of guys also change everything in the same week: quitting porn, cutting caffeine, starting the gym, fixing their diet, basically becoming a new person by Tuesday. Then something hurts and there’s no way to tell what caused it. If you can, change one thing at a time.
Quick answers
How long do NoFap headaches last?
From what guys describe, usually a few days to about two weeks, with the worst of it in the first week. If it’s still going after that, or it’s getting worse, get it checked.
Are NoFap headaches a sign of the flatline?
Not really. They can show up in the same early window, but the flatline is about low libido, feeling numb and low motivation, and plenty of guys get one without the other.
Could it be caffeine instead?
Yeah, easily. If you changed your caffeine at the same time, it could be the caffeine, the streak, or both.
Getting through the first bad week
A headache in week one doesn’t mean quitting was a mistake. Usually it means you’re in the rough early stretch, and the bigger risk right now is treating one bad week as proof it isn’t working and relapsing right before things settle. The NoFap benefits timeline has what guys describe after the first couple of weeks, if you want something to look forward to.




