Thu · 1 OctMoon 74%Field Kp 1.7 · quietQuote · SenecaRiddle of the dayCard of the dayHow today feels →
Nature sounds · ocean

Ocean waves for sleep: an ocean sounds generator

Press Play and slow waves roll in and out, generated in your browser with no ads and no recording to loop. Ocean sounds are one of the few nature sounds that have been tested for sleep, in a hospital study of heart-surgery patients. Below: what that study found, why the rhythm of waves is different from steady noise, how to breathe with them, and how loud to play them at night.

Timer
Ready mixes
Noise colours
Nature sounds

Noise colours are made in your browser; nature sounds are recordings created with AI (ElevenLabs), joined into a seamless loop. No ads. For sleep keep it quiet, and in a baby's room place the speaker away from the cot. Your browser may stop the sound when the phone locks.

Key facts
  • In a 1992 study of 60 heart-surgery patients, those who slept with ocean sounds for three nights reported deeper sleep and fewer awakenings.
  • In the same study, the time it took to fall asleep did not differ between patients with and without ocean sounds.
  • In a brain-imaging study, natural soundscapes shifted the body towards its calming (parasympathetic) mode more than artificial sounds.
  • After a stressful task, the body's stress response tended to settle faster with nature sounds than with noisy environments (40 people, Sweden, 2010).
  • Ocean sounds rise and fall, so they mask less evenly than steady noise: the quiet troughs let other sounds through.
  • The waves of this generator swell on a cycle of about 12 seconds, which is five slow breaths a minute.

Do ocean sounds help you sleep

Ocean sounds are one of the few nature sounds with a sleep study behind them, and in that study people who slept with them reported better sleep. The study is old and small, and it relied on what patients said rather than on sleep recordings, but it is more than exists for rain, thunder or fan noise, where no sleep study has been done at all.

Beyond that single study, ocean sounds share what makes natural sounds pleasant in general: they carry no message to follow, and research links natural soundscapes with a calmer body. They also have something steady noise lacks: a slow rhythm. For some people that rhythm is the whole point; for others it is a reason to prefer a steadier sound. Which group you belong to is easy to find out in one evening.

Ocean sounds for sleep: what the hospital study found

The study was published by J. W. Williamson in the American Journal of Critical Care in 1992. Sixty patients who had had coronary artery bypass surgery were followed after they moved out of intensive care. Half of them heard ocean sounds from a sound machine during three nights; the other half slept as usual.

The ocean-sound group reported deeper sleep, fewer awakenings, an easier return to sleep after waking and better overall sleep quality. The time needed to fall asleep did not differ between the groups. So the benefit patients noticed was during the night, not at its start.

Three limits keep this result modest. Sleep was measured by questionnaire, not with brain recordings. Patients were assigned to groups systematically, not randomised in the modern sense. And a hospital ward after heart surgery is a noisy, stressful place, very unlike a quiet bedroom at home. Studies of steady noise show the same pattern: the clearest benefits appear where the surroundings are loud.

Why are ocean waves so calming

Ocean waves feel calming partly because natural sounds, in measured studies, nudge the body towards its resting state more than artificial sounds do. In a brain-imaging study (Gould van Praag and colleagues, Scientific Reports, 2017), people listened to natural and artificial soundscapes while their brains were scanned and their hearts monitored. Natural sounds shifted connectivity in the brain's default mode network and raised high-frequency heart rate variability, a sign of the calming parasympathetic system. The effects depended on how stressed each person was to begin with.

A Swedish experiment (Alvarsson and colleagues, International Journal of Environmental Research and Public Health, 2010) looked at recovery. Forty people did a stressful arithmetic task and then listened to nature sounds or to noisy environments such as traffic. Skin conductance, a measure of the body's stress response, tended to recover faster with nature sounds; heart rate variability showed no difference in that study.

Neither study tested the ocean on its own. They support a general point: a natural soundscape is not just a neutral cover, it is something the body reacts to. The rhythm of waves may add to that, which is the idea behind breathing with them.

How the rhythm of ocean waves works in this generator

The waves here rise and fall on a main cycle of about 12 seconds, with a second, slower cycle of about 16 seconds laid over it. Because the two cycles drift in and out of step, one wave is a little bigger, the next a little smaller, and the pattern shifts over roughly 45 seconds before the two cycles line up again. That irregularity is what keeps generated surf from sounding like a machine.

As each wave swells, it also becomes brighter: the filter opens and lets more of the higher frequencies through, the way breaking water hisses more than water drawing back. Between waves the sound falls to a low, dark wash of brown noise. The result sits between steady noise and a real shoreline: rhythmic, but without the crash of an individual breaker.

Part of the waveWhat you hearRoughly how long
SwellSound grows louder and brighterAbout 6 seconds
PeakFullest, most hissing momentA second or two
Draw backSound fades and darkensAbout 6 seconds
TroughA low, soft washShort, then the next swell

Breathing with ocean waves

Breathing with ocean waves means letting each inhale follow the swell and each exhale follow the wave drawing back. With a wave cycle of about 12 seconds, that gives roughly a 6-second inhale and a 6-second exhale, or five breaths a minute. This is a practice, not a tested treatment: no study has measured breathing with recorded waves.

It is an easy way to slow down without counting. Many breathing exercises ask you to watch a timer or count seconds; the waves do the counting for you, and your attention rests on a pleasant sound instead of numbers. The pace of five breaths a minute is the one described on the coherent breathing page, which explains the method in more detail.

  • Lie on your back or sit comfortably, and start the waves at a low volume.
  • For the first minute just listen, and notice where each swell begins.
  • Then breathe in through the nose as a wave rises, and out slowly as it falls.
  • If the pace feels too slow, breathe with every wave but shorten the breath; do not strain to fill the whole cycle.
  • After five to ten minutes stop following the waves and let your breathing find its own pace.

Ocean sounds vs white noise: which masks better

White noise masks disturbing sounds better than ocean waves, because it is steady and the waves are not. Masking works by raising the background level so that sudden noises stand out less against it. In a sleep-lab study (Stanchina and colleagues, Sleep Medicine, 2005), what woke people was the jump from the background to the peak of a noise, not the loudness of the peak. Ocean sounds have a background that keeps changing: at the peak of a swell they cover a lot, in the trough they cover little, and a car door that slams during a trough stands out as if the waves were not there.

That makes ocean sounds best for a bedroom that is already fairly quiet, where the aim is to calm the mind rather than to hide noise. In a noisy flat, lay the waves over a steady layer of brown or pink noise, or choose rain, which is steadier. The rain sounds page compares rain with the noise colours in detail.

SoundHow steadyMaskingBest for
Ocean wavesRises and falls every 12 seconds or soUneven: strong at the peak, weak in the troughA quiet room, relaxation, breathing
Ocean over brown noiseRhythm on a steady floorGood, the floor never dropsMixed noise, city bedrooms
RainSteady with a light textureGood for mid and high soundsVoices, doors, street clatter
White noiseCompletely steadyThe most even coverLoud or unpredictable surroundings

How loud should ocean sounds be for sleep

Set ocean sounds by their loudest moment, not their average: the peak of each swell should be soft enough that it could not wake you. This is the practical side of the masking research above. A sound that swings from quiet to loud creates its own small jumps, and if the peaks are high the waves themselves become the disturbance.

A simple way to set it: start the waves, lie down, and wait for three or four full cycles. If you notice each crest as an event, turn the volume down until the waves blur into one slow wash. If the troughs are so quiet that the room comes back between waves, add a low layer of brown noise rather than turning the waves up.

Keep the speaker away from your head, on a shelf or a table. For all-night listening a speaker is better than earphones, and the lower the level at your ear, the smaller the total dose over a night.

Ocean waves for meditation and relaxation

Ocean waves suit meditation because their rhythm gives attention a gentle anchor that returns every few seconds. The mixer above lets you combine seven noise colours and seven nature sounds, each with its own volume, and it has ready mixes and a timer from 15 minutes to 8 hours that fades out over the last minute. Its meditation mix is ocean waves at 60 % with a light layer of wind at 15 %.

For a sitting practice, set a timer of 15 or 30 minutes and let the fade-out be your bell. For relaxation after work, lie down with the waves at a low level and let your breathing follow them for the first few minutes, then stop directing it. If your mind keeps running to the next wave, lower the volume: the sound should support the practice, not become its object.

Ocean sounds for tinnitus

Many people with tinnitus use ocean sounds or other background sounds to make the ringing less noticeable, especially at night, and the American tinnitus guideline lists sound therapy as an option. The clinical practice guideline of the American Academy of Otolaryngology–Head and Neck Surgery (Tunkel and colleagues, 2014) says clinicians may recommend sound therapy for adults with persistent, bothersome tinnitus. It gives stronger recommendations to a hearing-aid evaluation when hearing loss is present and to cognitive behavioural therapy.

The research behind sound therapy is thin. A Cochrane review (Sereda and colleagues, 2018) looked at 8 trials with 590 participants using hearing aids, sound generators or combination devices. It found no evidence that sound therapy beats a waiting list, placebo or education, mainly because no trial made that comparison with usable data. People improved over time with every device, but without a no-device group that improvement cannot be credited to the sound.

So ocean sounds are a comfort, not a cure. If the rolling rhythm makes your tinnitus easier to live with at bedtime, it is a reasonable thing to use at a low volume. New, one-sided or sudden tinnitus, or tinnitus with hearing loss or dizziness, needs a doctor first.

Ocean sounds all night or with a timer

Use ocean sounds with a timer if you only need help settling down, and all night only if you need cover for noise that lasts all night. In the hospital study the ocean sounds did not shorten the time to fall asleep; patients noticed their effect during the night. That is an argument for longer play in a noisy ward, not necessarily at home.

Two research findings argue for moderation. A systematic review of 38 studies of continuous noise (Riedy and colleagues, 2021) rated the evidence that it improves sleep as very low quality and warned that it may also disturb sleep and hearing. A 2026 sleep-lab study (Basner and colleagues) found that steady pink noise played all night shortened REM sleep in 25 healthy adults. Neither tested ocean sounds, but both are reasons not to leave any sound running out of habit.

A good compromise is the 1-hour or 2-hour timer: long enough to carry you past the first sleep cycle, short enough that most of the night is quiet.

Questions people ask

Are ocean sounds good for sleep?

In a 1992 study of 60 heart-surgery patients, those who slept with ocean sounds for three nights reported deeper sleep and fewer awakenings. The study was small and based on questionnaires, but it is one of the few sleep studies of a specific nature sound.

Why are ocean waves so relaxing?

Natural sounds carry no message to follow, and in a brain-imaging study they shifted the body towards its calming parasympathetic mode more than artificial sounds. The slow rhythm of waves also invites slower breathing.

Is ocean noise better than white noise for sleep?

For covering noise, white noise is better because it is steady. Ocean waves rise and fall, so sounds that happen in the quiet troughs get through. For a quiet room and a busy mind, many people prefer the waves.

How long is one wave in this generator?

About 12 seconds from swell to swell, with a second, slower cycle of about 16 seconds that makes each wave slightly different from the last.

How do I breathe with ocean waves?

Breathe in as a wave swells and out as it draws back. With a 12-second wave that is about five breaths a minute; if it feels too slow, shorten the breath rather than straining.

Can ocean sounds help with tinnitus?

Many people use them to make tinnitus less noticeable, and the American guideline lists sound therapy as an option. A Cochrane review found no proof that sound therapy beats no device, so treat it as a comfort, not a cure.

How loud should ocean sounds be at night?

Set the volume by the peak of each wave: it should be soft enough not to register as an event. If the room comes back in the troughs, add quiet brown noise instead of turning the waves up.

Should I play ocean sounds all night?

Only if you need cover for all-night noise. Otherwise a timer of 30 minutes to 2 hours is enough, since research on continuous noise does not show a clear benefit and one lab study found less REM sleep with steady pink noise.

Are these real ocean recordings?

No. The waves are generated in your browser from brown and pink noise that swell on two slow cycles, so there are no ads, no loops you can hear and no sudden sounds.

Sources
  1. Williamson J. W. The effects of ocean sounds on sleep after coronary artery bypass graft surgery. American Journal of Critical Care, 1992, 1 (1), 91–97.
  2. Gould van Praag C. D., Garfinkel S. N., Sparasci O., Mees A., Philippides A. O., Ware M., Ottaviani C., Critchley H. D. Mind-wandering and alterations to default mode network connectivity when listening to naturalistic versus artificial sounds. Scientific Reports, 2017, 7, 45273.
  3. Alvarsson J. J., Wiens S., Nilsson M. E. Stress recovery during exposure to nature sound and environmental noise. International Journal of Environmental Research and Public Health, 2010, 7 (3), 1036–1046.
  4. Stanchina M. L., Abu-Hijleh M., Chaudhry B. K., Carlisle C. C., Millman R. P. The influence of white noise on sleep in subjects exposed to ICU noise. Sleep Medicine, 2005, 6 (5), 423–428.
  5. Tunkel D. E., Bauer C. A., Sun G. H., Rosenfeld R. M., et al. Clinical practice guideline: tinnitus. Otolaryngology–Head and Neck Surgery, 2014, 151 (2 Suppl), S1–S40.
  6. Sereda M., Xia J., El Refaie A., Hall D. A., Hoare D. J. Sound therapy (using amplification devices and/or sound generators) for tinnitus. Cochrane Database of Systematic Reviews, 2018, 12, CD013094.
  7. Riedy S. M., Smith M. G., Rocha S., Basner M. Noise as a sleep aid: a systematic review. Sleep Medicine Reviews, 2021, 55, 101385.
  8. Basner M., Smith M. G., Cordoza M., Kayser M. S., et al. Efficacy of pink noise and earplugs for mitigating the effects of intermittent environmental noise exposure on sleep. Sleep, 2026, 49 (5), zsag001.
How this page is made

The waves are generated in the browser (Web Audio) from brown and pink noise whose loudness and brightness swell on two slow cycles, the main one about 12 seconds long and a second one about 16 seconds, so each wave differs slightly from the last. Nothing is recorded or looped from a file.

Journal

What you should know, before others do

Weekly insights. One article. One practice. No noise.

Cookies

We use essential cookies to run the platform. Analytics and marketing cookies are only turned on once you consent — you can change your choice at any time.