Your 10.30 pm scroll turns into midnight. Then the alarm lands like a personal attack. If that sounds familiar, learning how to create a sleep routine is less about becoming a perfect sleeper and more about giving your body a clear, repeatable cue: the day is done.

A good routine should work on a random Wednesday, after a late meeting, when the laundry is still in a pile and your brain is replaying every conversation you had that day. Night mode: on, without turning your evening into another high-pressure wellness project.

Why a sleep routine works

Your body runs on rhythms. Light, movement, meals, stress and bedtime all send signals to your internal clock. When those signals are wildly different from one day to the next, sleep can become harder to predict. You may be exhausted but still feel wide awake once your head hits the pillow.

A routine reduces the guesswork. Repeating a few calming actions at roughly the same time teaches your brain to shift gears. It will not erase a stressful deadline, a crying baby next door or the effects of a very late coffee. But it can make sleep feel less like a nightly negotiation.

The goal is not eight flawless hours every night. Sleep needs vary, and a busy week, illness, travel or hormonal changes can all affect how rested you feel. Aim for a pattern you can return to, rather than a rigid timetable that falls apart the first time life gets social.

How to create a sleep routine around your real life

Start with your wake-up time, not an ambitious bedtime. Waking at a similar time most days is one of the clearest anchors for your body clock. Choose a time that fits work, school runs or your natural morning commitments, then try to keep it within about an hour at weekends.

From there, count backwards. Most adults do well with roughly seven to nine hours of sleep, though your own needs may sit slightly outside that range. If you need to be up at 7 am and feel best with eight hours, aim to be in bed with lights out around 11 pm. Your wind-down should begin before that, not at the exact moment you want to be asleep.

For many people, 30 to 60 minutes is enough. If you are currently going from laptop to pillow in two minutes, start with ten. Small changes that happen consistently beat a beautiful two-hour ritual you only manage on Sundays.

Create a short sequence your brain can recognise

Pick two or three cues and repeat them in the same order. Think practical, pleasurable and low effort: dim the main lights, wash your face, make a caffeine-free drink, read a few pages, stretch gently, or listen to a familiar calm playlist.

The order matters more than the aesthetic. When you repeat the same sequence, it becomes a signal rather than another decision to make. Keep it boring enough to be reliable, but enjoyable enough that you will actually do it.

If your mind tends to sprint at bedtime, add a two-minute brain dump. Write tomorrow's tasks, the email you need to send and the thing you are worried you will forget. You are not solving your life on paper. You are giving your brain permission to stop holding everything in active memory.

Make light work for you, not against you

Morning daylight helps set your internal clock, so get outside soon after waking when you can. Even a short walk to the station or five minutes with your tea by a bright window can help reinforce the difference between day and night.

In the evening, lower the brightness around you. Overhead lighting and a bright phone held close to your face tell the brain to stay alert. You do not have to ban screens completely, especially if a show or audiobook is genuinely how you decompress. The smarter move is to set a cut-off for stimulating content, reduce brightness and swap doomscrolling for something with a clear stopping point.

Blue-light-filtering glasses may be a useful part of your evening set-up, but they are not a free pass for an hour of emotionally charged social media. Content can be just as activating as light.

Draw a line under caffeine, alcohol and heavy meals

Caffeine has a long half-life, which means that late-afternoon coffee can still be hanging around at bedtime. Some people can have an espresso after dinner and sleep soundly; others notice a difference from a cup of tea at 3 pm. Test an earlier caffeine cut-off for a week or two and see what changes.

Alcohol can make you feel sleepy initially, but it often fragments sleep later in the night. That does not mean you can never have a drink. It means it is worth noticing the trade-off, particularly if you keep waking at 3 am feeling hot, thirsty or oddly alert.

Try to finish a large meal a couple of hours before bed where possible. If you are hungry, a light snack is usually more sleep-friendly than lying awake because you tried to be too strict. The same applies to hydration: drink steadily through the day, then avoid downing a huge bottle right before bed unless you enjoy a 2 am bathroom trip.

Build a bedroom that does less

Your bedroom does not need to look like a boutique hotel. It does need to help you sleep. A cool, dark and reasonably quiet room makes a noticeable difference for many people, so start there.

Blackout blinds, an eye mask, earplugs, a fan or white noise can all be useful if your environment is the problem. If you work from your bedroom, pack away the laptop when your working day ends. The visual cue matters. A bed covered in chargers, paperwork and yesterday's clothes does not exactly whisper rest.

Keep your phone out of reach if you can. Use a proper alarm clock, or place your phone across the room so checking it requires a choice rather than one half-awake thumb movement. If that feels unrealistic, begin by removing notifications and charging it face down.

Add sleep support without making it complicated

A routine is the foundation. Products are optional extras, not the main event. If you enjoy a sensory cue, a magnesium body spray or lotion after an evening shower can become part of your wind-down ritual. The benefit may be as much about the consistent pause and soothing routine as the product itself, so choose something you like using and keep expectations grounded.

NUYU's magnesium sleep support is designed to fit that kind of simple cue: apply, switch off, settle in. If you take medication, are pregnant or have a health condition, check with a pharmacist, GP or qualified clinician before adding supplements to your routine.

Be wary of stacking multiple sleep products at once. When you change five things, you cannot tell what is helping, what is making you groggy or what is simply unnecessary. Introduce one change, give it a little time and pay attention to how you feel the next day, not just how quickly you fell asleep.

What to do when sleep still will not come

Trying hard to sleep can make you more awake. If you have been lying there for a while and feel frustrated, get out of bed and do something quiet in low light until you feel sleepy again. Read a few pages, listen to something gentle or sit with a warm drink. Avoid turning the moment into a productivity session.

Also skip the clock-checking. Knowing it is 2.17 am rarely helps, and calculating how few hours remain can send stress through the roof. Turn the clock away and focus on resting rather than forcing sleep.

If poor sleep is persistent, affecting your mood, concentration or safety, or comes with loud snoring, gasping, frequent leg movements or severe daytime sleepiness, speak to your GP. A bedtime routine is useful, but it is not a substitute for investigating an underlying sleep issue.

Tonight, choose one anchor: set tomorrow's wake-up time, dim the lights 30 minutes before bed, and repeat one calming action. Do it again tomorrow. That is how a sleep routine becomes yours.