It's 2 am on day one. You were asleep, briefly, and now you're awake with a cramp that wasn't there when you lay down, a hot back, and a nagging thought about the sheets. Period sleep is a specific kind of bad, and it's bad for reasons you can actually work with.
Why period sleep is worse
Three things stack up. Your core temperature runs higher from ovulation until your period; a 2020 lab study measured it 0.27 degrees Celsius higher during sleep, with the body's normal heat release blunted for the first two hours of the night. A 2007 review in Sleep Medicine found women in the luteal phase get less REM sleep and have higher heart rates during sleep. Then the cramps arrive. In a 1999 study, ten women with painful periods had higher in-bed temperatures and less REM sleep than eight pain-free controls, and the researchers concluded that period pain disturbs sleep enough to hurt the next day. It runs both ways, too: a 2026 survey of 226 university students found those with poor sleep had about two and a half times the odds of severe period pain. Bad sleep makes the pain worse, which makes the sleep worse.
8 fixes for period sleep
1. Cool the room, not the belly. You're running warm and your body is struggling to shed heat at exactly the moment it needs to. Drop the thermostat, sleep under a lighter layer, put a foot outside the covers. Then put the heat exactly where it's wanted, which is item 2.
2. Heat on the cramps, for hours. In a 2001 trial, a low-level heat patch worn on the lower belly for about 12 hours was as effective as 400 mg of ibuprofen three times a day, and combining the two brought relief faster (a median 1.5 hours against 2.8). An air-activated patch is the sleep version because it needs no cord and no refill. A hot water bottle works for the first hour and then becomes a cold water bottle.
3. Time the painkiller, if you use one. ACOG notes that NSAIDs work best taken at the first sign of your period or pain, usually for only one or two days. In practice that means a dose with dinner on the night you expect day one, rather than waking at 2 am, taking one, and waiting 40 minutes for it to work. Follow the packet, and check with a pharmacist if you have asthma, a stomach or kidney condition, or take other medication.
4. Last coffee at lunch. A 2013 trial gave 12 people 400 mg of caffeine six hours before bed and total sleep time fell by more than an hour. On a week when your sleep is already short, the 3 pm coffee is an expensive habit. Move it to noon, or make the afternoon one decaf.

5. Leak-proof the bed, then stop thinking about it. Half of period wakefulness is vigilance. An overnight pad or period underwear, a dark towel under you, a spare pair of pyjamas on the chair. Once that's done, the 2 am "did I leak" check has an answer, and you can go back to sleep.
6. Magnesium with dinner. The trial people cite is a 2012 study of 46 older adults with insomnia who took 500 mg of magnesium or a placebo for eight weeks; the magnesium group fell asleep faster and slept longer. Older adults with insomnia are not you on day one, and nobody has run that trial on period nights. It's cheap and low-risk at food doses, and magnesium-rich foods (pumpkin seeds, almonds, dark chocolate) are an easy evening add.
7. Keep the wake time. ACOG's PMS advice includes regular sleeping habits, waking at the same time every day including weekends. After a bad period night the lie-in is tempting and mostly moves the problem to tomorrow. Get up, get daylight, nap for 20 minutes at lunch if you can.
8. Curl up, pillow between the knees. No trial for this one. Side-lying with your knees drawn up takes tension off the lower belly and back, and a pillow between the knees keeps your hips from twisting. Several of us swear by it; one of us sleeps on her front and thinks we're ridiculous. Try it and keep it if it helps.
If cramps are the whole problem, period cramps at night: 6 ways to actually sleep goes deeper on the pain side. If you want the whole evening mapped out, the period self-care night routine is the 10-item version.
What we make, for the record. Girl Chocolate is a dark chocolate bar made for the days around your period, with magnesium and other functional ingredients, sold as a pouch of 8 bars so one pouch covers one cycle. It's the item-6 snack in a form that lives on the nightstand, and it supports PMS relief* in the same modest, one-fix-among-eight way as everything above. Here's the bar. Not sure which nights are your worst? The Period Type quiz takes two minutes.
The honest limitation
Only two of the eight fixes have been tested on period pain specifically: heat and NSAIDs. The rest are borrowed from sleep science in general and applied to a week when the rules are already bent. We also tried a weighted blanket for a month. It was lovely in the first half of the cycle and a hot, heavy mistake on day one.

Print our free period cramp relief cheat sheet: the heat, ginger, magnesium and timing facts from this guide, all on one page. 1 page, PDF, no email needed.
Download the PDFSources
- Zhang et al 2020, Changes in sleeping energy metabolism and thermoregulation during menstrual cycle (Physiological Reports)
- Baker and Driver 2007, Circadian rhythms, sleep, and the menstrual cycle (Sleep Medicine)
- Baker 1999, High nocturnal body temperatures and disturbed sleep in women with primary dysmenorrhea (Am J Physiol)
- Akin 2001, Continuous low-level topical heat in the treatment of dysmenorrhea (Obstet Gynecol)
- Drake 2013, Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed (J Clin Sleep Med)
- Abbasi 2012, Magnesium supplementation on primary insomnia in elderly, double-blind trial (J Res Med Sci)
When to talk to a doctor
A few bad nights a month is common. Book an appointment if:
- pain that stops you doing daily life, even with painkillers
- you bleed through a pad or tampon every hour
- pain that suddenly got much worse than your usual
- pain with a fever
* These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.