Recovery guide
Can NoFap or quitting porn cause a headache?
It hasn’t been measured in people who stop. A headache on NoFap, an online community’s name for going without porn and masturbation, can still have an everyday cause. The NHS, the UK’s National Health Service, lists stress, not eating regular meals and not drinking enough fluids among the common causes of headaches. By the NHS’s account, a headache that starts suddenly and is extremely painful, or comes with other warning signs, needs urgent medical help.
Has anyone studied headaches or head pressure on NoFap?
No study was found that recorded headaches, head pressure or migraine in people while they stopped porn or followed NoFap-style abstinence; the one survey found asked adults once, from memory, how often they had a headache when they cut down on their usual sexual activity. Untested is not the same as disproved, and it says nothing about what is causing one person’s headache. The search behind that answer, in November 2026, included two research databases, PubMed and OpenAlex.
Timing alone can’t show that stopping caused a headache. A headache that starts around the time someone stops could be connected to stopping. It could also come from something else that changed at the same time, or have come anyway.
Some people put headaches down to stopping and call it withdrawal. Withdrawal is a word for unpleasant effects that turn up when someone stops something they have been doing or taking regularly. Calling headaches a known sign of stopping goes beyond what that search found. Whether the word fits at all is a separate question, and our page on what happens when people stop looks at it. Two related topics have pages of their own: whether not ejaculating can bring on a headache, and the other changes people describe after quitting porn.
What else could be causing the headaches?
Plenty of everyday things could. Two health sites list them: MedlinePlus, from the US National Library of Medicine, and the NHS. Between them, their lists of headache causes and triggers include stress, sleep, caffeine, alcohol, meals, fluids and eye strain. Something else may have changed since you stopped, such as when you sleep, when you eat or how much coffee you drink. Each of these is a possibility, not the explanation for any one headache.
Stress is on every list. MedlinePlus includes physical or emotional stress among the causes of tension headache, and stress among the triggers for migraine. The NHS’s page on stress also lists headaches or dizziness among the physical symptoms of stress. If trying to stop has felt stressful, stress is worth keeping in mind.
Tiredness and sleep are on the lists too. MedlinePlus lists fatigue or overexertion among the causes of tension headache. It also lists changes in sleep patterns, such as not getting enough sleep, among the triggers for migraine. If sleep has been harder since you stopped, our page on sleep after quitting porn takes that up.
Food, drink and posture are there as well. MedlinePlus lists alcohol use among the causes of tension headache, and drinking alcohol and missed meals among the triggers for migraine. Alongside stress, meals and fluids, the NHS lists drinking too much alcohol and bad posture among its common causes.
Caffeine can play a part in two directions. MedlinePlus lists caffeine, too much or withdrawal from it, among the causes of tension headache. It lists caffeine withdrawal among the triggers for migraine. Its page on caffeine says that people who have been consuming caffeine on a regular basis and then suddenly stop may have caffeine withdrawal. The symptoms it lists include headaches. So a recent change in how much caffeine you have, up or down, is one more thing to rule in or out.
Then there are the eyes. MedlinePlus lists eye strain among the causes of tension headache, and the NHS lists eyesight problems among its common causes.
The NHS’s list of common causes also includes having a cold or flu, so a cold or flu that comes on around the time you stop is one more possibility.
How do you deal with what people call withdrawal headaches?
Among the things the NHS suggests trying for a headache are these, none of them medicines:
- drinking plenty of water
- trying to relax, because stress can make headaches worse
- not skipping meals, even if you might not feel like eating anything
- not sleeping more than you usually would
- not straining your eyes for a long time, for example by looking at a screen
- not drinking alcohol
- getting plenty of rest, if you also have a cold or the flu
These come from the NHS’s general page on headaches, not from anything written about stopping porn. Several also match causes named above, such as fluids, meals, stress and eye strain.
The sleep item is easy to miss. Sleeping in can feel like the obvious answer to a bad night. The NHS’s reason for the item is that sleeping more than usual can make the headache worse.
Medicines for headaches are a question for a doctor, who can take your own health into account.
When does a headache need a doctor?
MedlinePlus and the NHS give these signs for getting urgent medical help with a headache:
- it starts very suddenly, or feels like the worst headache of your life
- it comes with a high fever or a stiff neck
- it comes with repeated vomiting
- there is numbness or weakness in the body or face
- you find it difficult to speak, balance, walk or remember things, or you are drowsy or confused
- you have vision or eye problems, or loss of vision
- you have had a head injury within the last 3 months, for example from a fall or accident
- it is triggered or made worse by coughing, sneezing, bending down or exercising
- bright lights are bothering you
- you have a rash that does not fade when a glass is rolled over it
- you have jaw pain when eating, or a sore or tender scalp
When stopping is on your mind, it’s easy to blame any headache on it. A headache with any of these signs needs urgent help, whatever else seems to explain it. Beyond those signs, headaches that change in pattern or pain are worth taking to a doctor. So is a headache that comes with any other symptoms you’re worried about. A doctor can look at your own case, including everyday causes like the ones above, and say what kind of headache it is.
If talking about porn with a doctor feels awkward, the headache on its own is reason enough to go. How much else you share is up to you.
As for how long a headache like this will last, there is no timeline to give. How long a headache has already gone on is never a reason to wait before seeing a doctor.