Sleep better to train better: the recovery piece almost no one looks after
Sleeping badly isn't a minor problem, it's the problem sitting behind a lot of the others. Sleep badly and everything else works worse: your food, your training, your mood, your concentration, your physical recovery. And yet, when the day gets tight, sleep is the first thing to go in order to "be productive," which is an absurd trade.
This article isn't a generic "8 hours and done" summary. It's a detailed guide to what determines sleep quality, why you can sleep badly without knowing it, which habits carry the biggest real impact, and which tools work as opposed to the ones that are just marketing, and we wrote it for people who have been sleeping worse than they should for months or years and want to change that without resorting to pills.
What sleeping well means (it is not only "many hours")
Quantity is one part of it, and quality is the other half, the half almost nobody talks about.
Sleeping well means meeting four conditions at the same time. You fall asleep in 15-20 minutes or less without anxiety, and your sleep stays almost continuous, with at most 1-2 brief awakenings and no trouble dropping back off. You wake up without an alarm, or with an alarm but feeling rested, and your energy holds steady through the first half of the day without needing 3 coffees to function.
If one or several of those conditions are missing, quantity becomes secondary: you can spend 9 hours in bed with fragmented sleep and wake up worse off than someone who slept 7 continuous hours. Sleep architecture matters as much as duration does.
Sleep architecture is organized into cycles of approximately 90 minutes, and each cycle runs through light sleep, deep sleep (N3), and REM sleep. Deep sleep clusters in the first half of the night and handles physical recovery: muscle repair, declarative memory consolidation, hormonal regulation. REM clusters in the second half and handles cognitive and emotional recovery, meaning procedural memory consolidation and emotion regulation. You need both of them. Short sleep robs you mainly of REM, interrupted sleep robs you mainly of deep sleep, and neither deficit is one you want to carry.
How many hours you really need
The general recommendation for adults is 7 to 9 hours per night, with individual variability inside that range: some people function optimally on 7, others need 8.5. What doesn't exist, outside very rare genetic exceptions, is the person who "only needs 5-6 hours." Those people have been sleeping little for years and have adapted functionally, but their cognitive performance and their long-term health sit below where they would be with more sleep.
Here is how to find your own number. Over two weeks, on vacation or across a long weekend, go to bed at the same hour and skip the morning alarm, then look at the hour you wake up spontaneously once you've paid off the previous debt, which takes the first few days. The gap between bedtime and natural wake time is your real need.
If it turns out you sleep 8 hours naturally but only get 6:30 on weekdays, you're carrying an accumulated debt of 1.5 hours a day, which comes to 10.5 hours a week, and sleeping in on Saturday doesn't square the account. Chronic sleep debt has measurable effects on hormones, performance, and mental health.
Why sleep gets worse with age
Between 30 and 50 you may notice changes without understanding why, and there are five main factors behind them.
Hormonal changes. Testosterone in men, progesterone and estrogen in women, all of it fluctuates more than it used to. Deep sleep shrinks progressively, and melatonin production falls off with age.
Chronic stress. Work, kids, the mortgage, caring for aging parents, and the elevated cortisol that comes with all of it alters your circadian rhythm and makes sleep hard to start and hard to keep.
Screen hours. Phones and computers before bed push back melatonin production. An hour on the phone in bed can delay sleep by 30-60 minutes.
Reduced physical activity. People who move less during the day sleep worse at night, and exercise is one of the most potent regulators of deep sleep there is.
Poorly managed alcohol and caffeine. A glass of wine at dinner looks like it helps because it brings on initial drowsiness, but it fragments your cycles and cuts REM, and a mid-afternoon coffee can still be working 8 hours later in sensitive people.
All of these factors stack. This isn't "an unavoidable effect of age", it's the sum of badly adjusted habits, and habits can be corrected.
The 10 levers with the biggest real impact
They aren't all equal, and some are far more powerful than others. What follows is ordered by approximate impact:
1. Regular schedule. Going to bed and waking up at the same hour every day, with a maximum deviation of 60 minutes, has an enormous effect, and your biological clock doesn't know what a weekend is. Sleeping until 11 on Saturday and getting up at 7 on Monday is like putting yourself through a 4-hour jet lag every week.
2. Morning light. Getting natural light in the first 30-60 minutes after you wake up, cloudy days included, regulates your circadian rhythm, and 10 minutes out on the terrace or the balcony, or a short walk after getting up, has a huge impact on that night's sleep. This one habit alone fixes plenty of mild insomnia.
3. Room temperature. 18-20°C is the range usually recommended, and sleeping far too warm is an easy mistake to make. If you wake up sweating or with a damp shirt, your room is too hot. Dropping it 2-3°C improves deep sleep noticeably.
4. Total darkness. Any small light source, a router LED, a streetlight outside, the glow of a digital clock, interferes with melatonin production, so close the blinds all the way and cover the LEDs with tape or move the devices. If none of that is possible, use an eye mask.
5. Early caffeine cutoff. Caffeine has a half-life of 5-7 hours, so a coffee at 4 p.m. still has half its dose active at 10 p.m. If you're sensitive to caffeine, the cutoff belongs at 2 p.m. Try the experiment: if you sleep badly, cut caffeine after noon for 2 weeks and compare.
6. Moderate alcohol and far from sleep. If you drink, keep it early and keep it small: a dinner with a glass of wine wrapped up by 9 p.m. is tolerable unless you're particularly sensitive. Shots or mixed drinks that end at 1 a.m. destroy your sleep even when you fall asleep fast.
7. Physical exercise during the day. 30-60 minutes of moderate to intense activity during the day deeply improves the quality of that night's sleep, preferably somewhere between morning and 6 p.m. A meta-analysis of 32 trials in people with sleep disorders found clear gains in sleep quality, insomnia, daytime sleepiness and apnea. Training hard late, after 8 p.m., can delay sleep in some sensitive people, though not in everyone.
8. Disconnection ritual 60 minutes before sleep. One hour before bed with no screens, dim light, and relaxing activities: reading, conversation, soft music, gentle stretches. This tells your nervous system that it's entering rest mode, and if you skip it, expect to lie there a good while longer before falling asleep.
9. Light dinner and at least 2-3 hours before sleep. A heavy dinner at 10 p.m. forces your body to digest during the opening stretch of sleep, which lowers quality, and eating at 8 p.m. with a plate of protein and vegetables beats eating a pizza at 10:30 p.m.
10. No phone or work in bed. The bed is for sleeping and for sex, nothing else. Work in it, watch a series in it, or scroll in it, and your brain stops associating bed with sleep, which is why this is one of the most powerful interventions for insomniacs.
Frequent myths about sleep
"I function perfectly on 5 hours." That self-perception is misleading, because chronic sleep deprivation alters how tired you feel. In one experiment, 48 healthy adults aged 21 to 38 had their time in bed cut to 4, 6 or 8 hours for 14 nights in a row. Anyone down at 6 hours or less built up a cognitive deficit worth up to two full nights without sleep, and their own sleepiness ratings barely registered it.
"I can catch up on the weekend on the sleep I lose during the week." It doesn't work that way, because the deep and REM sleep of one night doesn't transfer proportionally to the nights that follow. Sleeping 12 hours on Sunday doesn't make up for the 5 you got on Wednesday, and it generates social jet lag that makes your Monday worse on top of that.
"Melatonin pills solve any insomnia." Melatonin mostly works for adjusting schedules, jet lag and shift changes, in low doses of 0.3-1 mg taken 3-4 hours before sleep, while the high doses of 3-10 mg sold in supermarkets don't improve an insomniac's sleep and can throw off the natural rhythm.
"Reading on my phone in night mode doesn't affect my sleep." Night mode cuts blue light, but it does nothing about the stimulating effect of the content: absorbing content, whether social media, videos, or news, activates your nervous system regardless of the color of the screen.
"Alcohol helps me sleep." It does help you disconnect at first, then it fragments the second half of the night. You wake up having slept the same number of hours with far less REM in them, and it feels like you barely slept even though you were in bed for 8 hours.
Useful tools (and the ones that are not)
Useful with evidence. Earplugs if you live somewhere noisy, an eye mask if you can't darken the room, a humidifier if the air is very dry. A heart-rate monitor or an Oura ring counts too, but only if it helps you adjust habits, and if it turns into an obsession, out it goes. Paper books before sleep.
Useful in specific cases. Melatonin at 0.5 mg for occasional jet lag or a shift change, and magnesium glycinate at 300-400 mg with dinner for some people who have trouble winding down. Chamomile or valerian tea has a mild but real effect, mostly thanks to the ritual around it.
Do not work as promised. "Binaural beats" apps, magnetic bracelets, miracle teas with 20 ingredients. Complex over-the-counter anti-insomnia supplements are mostly placebo effect. So are over-the-counter "sleeping pills", which are antihistamines with a sedating effect: they put you to sleep, and they degrade the quality of that sleep.
Medical prescription: only for specific cases. Benzodiazepines such as lorazepam and alprazolam are effective, but they create dependence quickly and make a terrible long-term strategy. If a doctor prescribes them for chronic insomnia, ask about alternatives first. Cognitive behavioral therapy for insomnia (CBT-I) rests on a meta-analysis of 20 studies covering 1,162 people with chronic insomnia (64% women, average age 56): it cuts roughly 19 minutes off the time it takes to fall asleep and 26 minutes off the time spent awake in the middle of the night.
The night ritual habit: how to build it
The 60-minute ritual before sleep is probably the intervention with the best benefit-to-effort ratio, and here is a version of it that works:
9:30 p.m. Dinner is finished and the kitchen is clean. The mental transition happens here: the productive day is over.
22:00. A shower or a warm bath, not too hot, so that your body temperature drops when you get out, and if there are kids in the house, this is the ritual that closes the day with them.
22:30. Lights go low across the house: one warm lamp at most, and no ceiling light. That's the signal that warns your brain night is approaching.
22:45. Reading on paper, on the sofa or in bed, or a quiet conversation with your partner, and no news, no social media, no work. Optional: 10 minutes of a gentle mobility routine.
23:15. The phone leaves the bedroom, and if you need an alarm, use a traditional clock.
23:30. Light off, then diaphragmatic breathing for 2-3 minutes. That's the end of the ritual, and then you sleep.
This looks rigid, and during the first weeks it is. With repetition it turns automatic, your body starts asking for sleep when the hour comes around, and sleep-onset insomnia improves noticeably.
What to do if you wake in the middle of the night and cannot sleep again
Here's a pattern you may recognize: you fall asleep without any problem, then wake up between 3 and 5 a.m. with your head active, chewing on problems. You're still awake 30-60 minutes later, and the next day you're exhausted.
Forcing yourself back to sleep doesn't work. Three guidelines do a better job.
First: do not look at the clock. Knowing that "it's 4:15, I only have 2 hours 45 left" triggers anxiety and makes the insomnia worse. If you're worried about whether the alarm went off, trust it and don't check the hour.
Second: if you have been awake 20 minutes, get up. Go to the living room or the kitchen, keep the light very dim, and read a boring paper book, not your phone. Sleep comes back in 20-40 minutes, and then you go back to bed. This retrains your brain to associate the bed with sleep rather than with the fight to get there.
Third: identify patterns. If this happens several days running, write down what the day before looked like, whether work stress, a late dinner, alcohol, or a long stretch of screen time, and in 2-3 weeks the usual trigger becomes visible and you can correct it.
When to see a professional
Habits are the first tool against poor sleep, but there are cases where a medical consultation is the right move.
Very loud snoring, breathing pauses your partner observes, extreme daytime fatigue even on 8 hours of sleep: that combination points to possible sleep apnea, which needs a specific study and may require CPAP. It isn't a question of willpower or habits.
Insomnia that runs longer than 3 months and doesn't respond to habit changes may carry an anxious-depressive component or a chronic sleep disorder, and a psychologist who specializes in CBT-I (cognitive behavioral therapy for insomnia) will probably do more for you than a doctor prescribing pills.
Recurrent nightmares, parasomnia episodes such as sleepwalking or night terrors, sleep that doesn't restore you no matter how many hours it lasts. Those call for a neurological evaluation.
There's nothing shameful about asking for help. Sleep is a pillar as important as nutrition or exercise, and if it has been broken for months, it deserves professional attention.
Sleep and women: specific factors
Women's sleep has factors of its own, and sleeping worse at certain stages is neither a coincidence nor a weakness. Three hormonal moments affect sleep directly.
Menstrual cycle. In the late luteal phase, the 5-7 days before the period, progesterone drops and sleep tends to suffer, with more awakenings and less deep sleep. Understanding that keeps you from blaming yourself, since you haven't done anything wrong and this is physiology, so during those days take extra care with caffeine, a light dinner, and the night ritual.
Perimenopause and menopause. Night hot flashes, falling estrogen, and higher basal cortisol frequently break sleep between 3 and 5 a.m. The general strategies in this article still apply. There are also specific interventions worth using: a cooler room at 17-18°C, breathable bedding, technical fabrics. In moderate or severe cases, ask your gynecologist about hormone replacement therapy.
Pregnancy and postpartum. Sleep changes radically and getting it back takes months, so don't compare it with the sleep you used to have. Prioritize naps when the chance appears, accept help so that you and your partner can alternate nights when that's possible, and don't try to "be productive" while carrying accumulated debt. Postpartum sleep only recovers once the baby sleeps well. Until then, the goal is to survive and manage the sleep debt without guilt.
Sleep and shift work
Shift work, in nursing, factories, hospitality, or security, severely alters circadian rhythms. It's one of the hardest scenarios there is for sleeping well. There's no perfect solution, but there are strategies that reduce the damage.
First, keep daytime sleep in total darkness with blackout curtains, an eye mask, and earplugs. Second, wear very dark sunglasses when you leave a night shift, so that dawn light doesn't wake you up biologically, and third, if you get to choose, shifts that rotate "forward", morning to afternoon to night, are more tolerable than the ones that rotate backward. Fourth, take particular care of nutrition and exercise, because they're your circadian anchors when light can't do the job.
If you've been on shifts for years and you notice serious deterioration in your health, your performance, or your mood, talk to your doctor about the option of reducing night shifts, and don't read that as weakness: rotating shifts have been classified as a health risk factor by the WHO.
Sleep and small children
Having kids aged 0-5 normally means 2-5 years of interrupted sleep, which you can't fully avoid but can certainly minimize.
Some strategies help. Alternate nights with your partner when that's possible, one of you sleeping straight through while the other handles the wake-ups, and go to bed earlier, even at 10 p.m., so that you bank 2-3 hours of deep sleep before the first awakening. Take a 20-minute nap during the day if you can, no longer than that or it eats into the night, and accept that your performance won't match what it was, adjusting work expectations during this phase if you have any room to do it.
When the children start sleeping through the night, don't assume your own sleep comes back automatically. You're carrying years of trained night hypervigilance, recalibrating can take months, and you owe yourself some patience while it happens.
Naps: when they help and when they worsen
A nap done well is useful. A nap done badly works against you.
Useful nap. 20-30 minutes at most, preferably between 1 and 3 p.m., which lets you drift off without dropping into deep sleep mode. You wake up more alert instead of groggy, and your afternoon concentration improves.
Harmful nap. 1-2 hours long, or anything after 4 p.m. You drop into deep sleep, wake up groggy from sleep inertia, and by night you don't have enough homeostatic pressure left to sleep well, which makes sleep-onset insomnia worse.
The rule: if you tend to sleep badly at night, cut naps out for 2-3 weeks, because some "chronic" insomnia turns out to be a consequence of long naps.
Jet lag: how to minimize it
Trips with time changes of 5 hours or more produce jet lag, and the body needs several days to fully readjust. There are ways to reduce the impact, though.
In the days before the trip, shift your bedtime gradually, 30-60 min/day toward the destination. On the plane, hydrate well, avoid alcohol and too much coffee, and try to sleep if you're flying at night. On arrival, get aggressive exposure to natural light during the day, a walk or a terrace, even if you're exhausted, and don't shut yourself in a dark room for hours to "recover sleep", because that only reinforces the offset.
First night at the destination: melatonin at 0.5-1 mg, 30 minutes before your target sleep time, with a word to your doctor the first time you try it. Do the same on the second and third night if the offset is still there, and in 3-4 days you'll normally be close to adapted.
Bad nights also rewrite what you feel like eating the next day. That connection has its own article: You Sleep Poorly and That's Why You Eat Worse: The Connection Nobody Explains.
Practical summary
Sleeping well is decided in habits far more than in tricks. Regular schedule, morning light, a cool bedroom temperature, total darkness, an early caffeine cutoff, little alcohol and early, exercise during the day, a disconnection ritual an hour before bed, a light dinner eaten early, a bed used only for sleeping. Get those 10 levers adjusted and there's a lot you can fix in mild and moderate sleep problems, with pills as the exception rather than the norm. And if the problem persists, ask for professional help instead of getting used to sleeping badly as though it were inevitable.
Everything above can be put into practice tonight, on your own. If you would rather not go in blind, talking to a personal trainer on the Costa del Sol is a reasonable starting point. Ask yourself without pressure.
Sources
- Sleep (2003). The Cumulative Cost of Additional Wakefulness: Dose-Response Effects on Neurobehavioral Functions and Sleep Physiology From Chronic Sleep Restriction and Total Sleep Deprivation.
- Sleep Medicine (2021). Effect of exercise training on improving sleep disturbances: a systematic review and meta-analysis of randomized control trials.
- Annals of Internal Medicine (2015). Cognitive Behavioral Therapy for Chronic Insomnia.