It is the early hours of the morning, your body is exhausted and yet your mind seems to have switched on all the lights at once. You go over conversations, anticipate the day ahead, work out how many hours of sleep you have left, and that countdown creates even more tension. If you recognise yourself in this scene, let me say one thing first of all: it is not happening because you are doing something wrong, nor because you do not know how to relax. Anxiety and sleep are deeply connected, and understanding that relationship is the first step towards resting again. In this article you will find clear explanations and practical tools, with the reassurance of knowing that sleeping better is a realistic goal.

Why anxiety switches on just when you want to sleep

During the day, worries compete with a thousand stimuli: work, messages, tasks, the people around you. When you get into bed, all that external noise fades away and the mind is finally left alone with whatever it has been trying to tell you for a while. That is why many people feel they "overthink" only when they rest their head on the pillow. It is not coincidence or bad luck: it is that the night removes the distractions.

Added to this is physiology. Anxiety activates the body's alarm system, the one that prepares us to react to a threat. That system releases hormones such as cortisol and adrenaline, raises the heart rate and keeps the muscles tense. It is exactly the opposite of what the body needs in order to sleep, which requires a sense of safety and the feeling that "I can lower my guard now". When the brain interprets that there is still something to attend to, it delays sleep to keep you available.

And here a cycle appears that is worth naming: the worse you sleep, the more reactive anxiety becomes the following day; and the more anxiety you accumulate, the harder it is to sleep the following night. Breaking that cycle is not about trying harder to sleep, but about changing the relationship you have with rest.

The mistake of trying to sleep with all your might

It may sound contradictory, but chasing sleep pushes it away. Sleep is not a voluntary action you can carry out by forcing it; it is more of a state that appears when we stop watching over it. When you tell yourself "I have to fall asleep now", your mind understands that there is a demand, switches into performance mode and keeps you awake assessing whether you are managing it.

That phenomenon has a name in psychology: performance anxiety applied to sleep. Looking at the clock, calculating the hours remaining and pressuring yourself to rest are gestures that, without meaning to, feed the activation. A very useful change of approach is to replace the goal of "sleeping" with that of "resting the body". Even if you do not fall asleep straight away, staying lying down, with your eyes closed and without demands, is already a form of recovery. Taking the drama out of difficult nights paradoxically reduces the number of difficult nights.

Take care of the hours beforehand: the prelude to rest

A large part of what happens in bed is decided in the two or three hours beforehand. The body needs signals telling it that the day is drawing to a close and that the moment to slow down is approaching. These signals make up what we call sleep hygiene, a set of simple habits that prepare the ground.

  • Lower the intensity of the light. Warm, dim lights in the evening help the body produce melatonin, the hormone that announces it is time to sleep. Screens and cold lights delay that signal.
  • Mark a transition. Set aside a while to wind down before going to bed: a warm shower, reading on paper, gentle stretches or simply tidying the room. The body learns that this ritual precedes sleep.
  • Watch the stimulants. Caffeine can stay active for many hours; it is best to avoid it from the afternoon onwards. Alcohol, even though it may seem to help you sleep, fragments sleep in the second half of the night.
  • Manage your evening meal. Very heavy or very late dinners force the body to digest when it should be resting. Aim for something light and with some time to spare before bed.
  • Keep steady schedules. Getting up at a similar time each day, even after a bad night, is one of the most effective measures for resetting the internal clock.

It is not about ticking off a perfect list, but about gradually adding small signals that, together, tell your nervous system it can begin to let go.

What to do with a mind that will not stop

The most common cause of anxiety-related insomnia is not the body, but thoughts. The mind gets stuck in a loop: it reviews, anticipates, solves problems that have no solution at three in the morning. Trying "not to think" does not work, because ordering the mind to be quiet usually produces the opposite effect. What is effective is giving those thoughts a place and a channel.

Empty your head before going to bed

Spend ten minutes, a little while before bed, writing down in a notebook everything on your mind: pending tasks, worries, things you do not want to forget. Putting thoughts down in writing tells the brain they are already recorded and that there is no need to keep going over them so as not to lose them. It is a simple gesture with a surprising effect on rest.

Postpone the worry

When a persistent worry appears in bed, try telling yourself kindly: "this is important, I will deal with it tomorrow at such a time". You are not ignoring the problem, you are choosing a more suitable moment to attend to it. The mind usually accepts the postponement when it perceives that you are not dismissing it, but responsibly putting it off.

Shift the focus from fighting to observing

Instead of struggling against your thoughts, you can practise watching them go by, like someone watching clouds move across the sky without climbing onto any of them. You do not need to believe every idea or respond to it. Recognising "I am having the thought that tomorrow will go badly" creates a small distance that reduces its intensity and its ability to keep you on alert.

Techniques to calm the body in bed

When the alarm system is switched on, talking to the mind is not always enough; sometimes you have to calm the body first, because the signal of safety also travels from the bottom up. These techniques work on the physiology of activation and you can practise them lying down, without needing anything else.

  • Slow breathing with a long exhale. Breathe in through the nose for four seconds and release the air slowly over six to eight. Lengthening the exhale activates the parasympathetic nervous system, the one in charge of calm, and naturally lowers the heart rate.
  • Progressive muscle relaxation. Move through the body area by area, tensing each muscle group for a few seconds and then releasing. By contrasting tension and relaxation, the body learns to recognise and release the tension it was carrying without realising.
  • Anchoring in the senses. Bring your attention to concrete physical sensations: the weight of the body on the mattress, the temperature of the sheets, the air coming in and going out. Returning to the present takes the mind out of the imagined future, which is where anxiety lives.

The key is to practise them without demanding that they "work" straight away. Their aim is not to force you to sleep, but to accompany the body towards a calmer state from which sleep can arrive on its own.

The twenty-minute rule: do not stay fighting in bed

If you have been awake for quite a while and notice frustration growing, staying in bed tossing and turning can be counterproductive. Without realising it, the brain begins to associate the bed with the place where you wrestle with insomnia, and that association makes rest harder on the following nights.

A well-supported strategy is to get up when you have spent around twenty minutes unable to fall asleep and feeling activated. Go to another room, keep the light dim and do something calm and boring: read something light, listen to soft audio, simply breathe. Only go back to bed when you feel drowsiness returning. It may be hard at first, but over time your brain learns again that the bed is a place to rest, not to be on guard.

When to seek professional help

Many sleep difficulties improve with these adjustments and with patience. But there are situations in which it is best not to carry on alone, and seeking support is not a failure but a decision to take care of yourself. It may be a good time to consult a professional if:

  • The sleep problem persists for several weeks and affects your mood, your concentration or your day-to-day life.
  • Anxiety also appears during the day, with restlessness, constant tension or thoughts that overwhelm you.
  • You turn to alcohol or medication on your own in order to sleep.
  • You notice that rest is affecting your relationships, your work or your desire to do things.

In therapy we work both on sleep and on whatever is keeping it awake from the inside: worries, self-demand, emotions that are hard to manage. There are scientifically backed approaches, such as cognitive behavioural therapy for insomnia, that help you recover rest in a lasting way, without depending indefinitely on quick fixes.

If you feel that anxiety has been stealing your nights for too long, at ER Psicología we can support you in understanding what is happening to you and in finding your own path towards more peaceful rest, at your own pace and without judgement. Whenever you wish to take the step, you can request a first consultation and begin to work on it calmly; sometimes, the first relief comes precisely from realising that you do not have to solve it alone.