A calm lakeside sunset with warm orange and blue tones reflecting on still water
BreathingSleepAnxiety

The 4-7-8 Breathing Technique for Anxiety and Sleep

The 4-7-8 breathing technique is a simple, science-backed method that calms anxiety and helps you fall asleep faster. Learn how it works and how to start.

·7 min read

You are lying in bed, wide awake. Your body is tired, but your mind is replaying the day, rehearsing tomorrow, and refusing to switch off. What if the thing standing between you and sleep is not what you are thinking — but how you are breathing? The 4-7-8 breathing technique is a simple pattern that many people find helps quiet an anxious mind and ease the transition into sleep, one long exhale at a time.

What Is the 4-7-8 Breathing Technique?

The 4-7-8 breathing technique is a controlled breathing exercise built on three phases: inhale for four counts, hold for seven counts, and exhale slowly for eight counts. It was popularised by Dr Andrew Weil, an integrative medicine physician at the University of Arizona, who adapted it from pranayama — the ancient yogic practice of breath regulation.

Unlike box breathing, which keeps every phase equal and tends to feel energising, the 4-7-8 method deliberately extends the exhale. That longer out-breath is the key to its calming, sedating quality. Cleveland Clinic describes it as "great for helping you fall into a deep sleep," and Dr Weil has called it a "natural tranquilliser for the nervous system."

The technique is free, requires no equipment, and takes under two minutes per session. You can do it in bed, at your desk, or on a park bench — anywhere you can breathe.

How the 4-7-8 Pattern Calms Your Nervous System

The reason a long exhale feels calming is not just psychological — it is physiological. When you exhale slowly, pulmonary stretch receptors in your lungs send signals through the vagus nerve, which activates your parasympathetic nervous system — the branch responsible for rest, digestion, and recovery.

Here is what happens in your body during 4-7-8 breathing:

What changesAnxious stateAfter 4-7-8 practice
Breathing rate12–20 breaths/min~2–3 breaths/min during practice
Heart rateElevatedSlows within minutes
Nervous system modeSympathetic (fight or flight)Parasympathetic (rest and digest)
Muscle tensionHighReduced as exhale lengthens
Mental stateRacing thoughtsAttention anchored to the count

A 2023 Stanford study led by David Spiegel and Andrew Huberman found that just five minutes of daily structured breathwork — including extended-exhale techniques like 4-7-8 — improved mood and reduced anxiety more effectively than mindfulness meditation over a one-month period. And a randomised controlled trial on tinnitus patients found that six weeks of 4-7-8 breathing exercises significantly improved psychological wellbeing and sleep quality compared to a control group.

In TestFlight beta

No login. No subscription. Just calm.

Unxiety is a free, offline anxiety-relief app with guided breathing, grounding, soundscapes, and a one-tap panic button.

Join the beta

How to Do 4-7-8 Breathing: Step by Step

Dr Weil recommends starting with no more than four breath cycles per session. Here is the technique:

  1. Sit or lie down comfortably. If you are using this for sleep, lying in bed is ideal. Rest the tip of your tongue against the ridge of tissue just behind your upper front teeth — keep it there throughout.
  2. Exhale completely through your mouth, making a gentle whooshing sound. This empties your lungs and sets up the first full cycle.
  3. Inhale quietly through your nose for 4 counts.
  4. Hold your breath for 7 counts. Stay relaxed — no clenching or tension.
  5. Exhale slowly through your mouth for 8 counts, making the same soft whooshing sound.
  6. That is one cycle. Repeat for a total of four cycles.

A few things to keep in mind:

Using 4-7-8 Breathing for Sleep

The 4-7-8 technique is especially well suited for sleep because the long exhale and breath hold produce a naturally sedating effect — the opposite of the alert, balanced state that box breathing creates.

Here is how to make it part of a sleep routine:

When 4-7-8 Breathing Might Not Be Enough

The 4-7-8 technique is a self-care tool, not a treatment. It may help you manage everyday stress and fall asleep more easily, but it is not a substitute for professional support when you need it.

Consider speaking with a doctor or therapist if:

There is real strength in combining tools: professional guidance for the broader picture, and techniques like 4-7-8 breathing for the moments in between.

Try It in Unxiety

Unxiety's Breathe tab includes a guided 4-7-8 session with a visual pacer that counts the inhale, hold, and exhale for you — no mental arithmetic required. Just follow the animation, match your breath to the rhythm, and let the long exhale do the work. It runs completely offline, so it is there whenever you need it, even in the middle of the night with no signal.

In TestFlight beta

No login. No subscription. Just calm.

Unxiety is a free, offline anxiety-relief app with guided breathing, grounding, soundscapes, and a one-tap panic button.

Join the beta

Unxiety offers relaxation techniques, not medical care, diagnosis, or treatment. If you're in crisis or having thoughts of harming yourself, contact your local emergency services or a crisis line right away — for example, in the US, call or text 988.

Sources

Frequently Asked Questions

How long does it take for 4-7-8 breathing to work?+

Many people notice a sense of calm within the first few cycles. However, sleep and anxiety benefits tend to build over days to weeks of consistent practice. Dr Andrew Weil, who popularised the technique, recommends practising twice daily for at least four to six weeks to experience its full effects.

Can I do 4-7-8 breathing lying down in bed?+

Yes. Lying down is one of the most common positions for this technique, especially when using it as a sleep aid. You can also practise sitting upright, standing, or anywhere you feel comfortable — the position does not change how the breathing pattern works.

Is 4-7-8 breathing safe for everyone?+

For most people, yes. The only commonly reported side effect is mild lightheadedness, which usually goes away if you shorten the counts or take a normal breath between cycles. If you have a respiratory condition, are pregnant, or feel dizzy or anxious during the exercise, stop and consult a healthcare professional.

How is 4-7-8 breathing different from box breathing?+

Box breathing uses four equal phases (inhale, hold, exhale, hold — all the same count), making it balanced and energising. The 4-7-8 method uses an extended hold and a long exhale, which produces a more sedating effect. Box breathing is often better for focus and daytime stress; 4-7-8 breathing tends to suit sleep and deep relaxation.

How many times a day should I practise 4-7-8 breathing?+

Dr Weil recommends no more than four breath cycles per session when you are starting out, twice a day. After a month of regular practice, you can extend to eight cycles per session. There is no strict upper limit, but the technique is designed to be brief and effective — quality matters more than quantity.

Unxiety

In TestFlight beta

A calmer way through anxiety

Guided breathing, grounding, soundscapes, and a one-tap panic button — no accounts, no cloud, fully offline.

Join the TestFlight beta
← Back to Blog