Sleep recording analyzer / Track a night cough

Coughing at night: record it, then count it

A few nights of recording tell a doctor more than "I cough a lot at night".

Updated 26 November 2026

To track a night cough, record the night from the nightstand, count the coughing episodes in the morning, and note when they happen. Three or four nights of that give you something concrete to tell a doctor: how many episodes, at what time, how long they last, and what they sound like. A short clip of a typical cough is often more useful than any description.

This page is about recording and counting. It is not medical advice, and a recording cannot tell you why someone coughs.

Why a recording helps

A night cough is hard to describe the next day. The person coughing is half asleep and remembers little. A partner or parent remembers the worst moment and not the quiet hours. A recording fixes both:

  • How often. Ten episodes a night and two a night are different situations.
  • When. Some coughs cluster soon after lying down, others towards the early morning. Doctors often ask about this.
  • What it sounds like. Dry, wet, barking, a whoop after the cough, or wheezing between coughs. A ten-second clip shows this better than words.
  • Whether it is changing. Comparing a night this week with one last week shows if things are getting better or worse.

How to record a night cough

  1. Put the phone on the nightstand, plugged in, about an arm’s length from the person’s head, microphone end towards the bed.
  2. Silence calls with Do Not Disturb or a Sleep Focus, so nothing interrupts the recording.
  3. Start a recording in Voice Memos (or a sleep recording app) and lock the phone. Note the time you started.
  4. Stop it in the morning and save the file to Files.

For a child’s room, a phone on a shelf or a dresser works as well. Keep the cable out of reach. More setup details are in recording a whole night with Voice Memos.

Counting the coughs in the morning

Open the recording in the free sleep recording analyzer. It reads the file in your browser tab, measures the room’s background and marks every moment that is louder than it on a timeline. Enter the time you started recording, and the timeline shows clock times.

Coughs look different from snoring on that timeline:

  • Snoring shows up as long runs of moments that repeat every few seconds, at the pace of breathing. The analyzer flags those as breath-paced.
  • Coughs are short, sharp moments, often in bursts of two to five close together, and then quiet. They do not repeat at an even pace.

Play each loud moment once and write down the ones that are coughs. A simple log works:

Night Episodes First and last Notes
Mon 6 23:40 to 05:10 dry, worst after 4 a.m.
Tue 4 00:15 to 04:55 one long fit around 2 a.m.

Keep the clearest clip of a typical episode. In Voice Memos you can trim a copy of the memo down to just that part.

Things worth noting alongside the counts

Small notes next to each night can help a doctor see a pattern:

  • A late meal or a drink close to bedtime.
  • A cold, hay fever season, or a new pillow or duvet.
  • Whether the bedroom was cold, dry, or had the heating on.
  • Whether the person was sleeping flat or propped up.

Write them down; do not try to work out the cause from them yourself.

When to see a doctor

Most night coughs that come with a cold settle by themselves. Ask a doctor if:

  • the cough lasts more than a few weeks or keeps getting worse;
  • there is breathlessness, wheezing, chest pain or fever;
  • you cough up blood, or lose weight without trying;
  • the person wakes up gasping or choking;
  • it is a young child with noisy, fast or difficult breathing. In that case do not wait for a few nights of recordings.

Bring the counts and a clip. They take a minute to show and save a lot of guessing.

Tracking it night after night

Nocturne for iPhone does the counting for you. Tap Record my sleep, and its on-device sound classifier marks coughs separately from snoring, sleep talk and other loud noises on a timeline of the night, with a short clip around each moment. You can tag an evening with things like a late meal or a glass of wine, and with Nocturne Pro the weekly view shows how nights compare. Clips stay on your iPhone and nothing is uploaded. Nocturne reports sounds, not health; it is not a medical device and does not diagnose the cause of a cough.

Every night, without scrubbing

Nocturne listens from the nightstand and keeps a clip of each moment.

Listens for
Snoring, sleep talk, coughs, loud noise
Keeps
A short clip around each moment
Sleep talk
Turned into text on your iPhone
Each morning
A score, a timeline by the minute, the moments
Without Pro
Every night recorded, the latest report, its three loudest clips
Stays
On your iPhone. No account, nothing uploaded
Download on the App Store
Hear what you say in your sleep
Your night, by the minute
Track snoring week by week

Before you record

Why do I only cough at night?

Lying down changes how mucus drains and how stomach acid moves, so a cough can get worse in bed. Commonly listed causes include colds, postnasal drip, asthma and acid reflux. Only a doctor can tell which one applies to you.

How can I tell how much someone coughs at night?

Record the night from the nightstand and look at the loud moments the next morning. Coughs show up as short, sharp moments that do not repeat at an even pace, unlike snoring.

When should I see a doctor about a night cough?

If the cough lasts more than a few weeks, keeps getting worse, or comes with breathlessness, wheezing, chest pain, fever, weight loss or coughing up blood. For a child, ask sooner, especially with noisy or fast breathing.

Can an app detect coughing?

Some can. Nocturne uses an on-device sound classifier that marks coughs separately from snoring and sleep talk. It counts sounds; it cannot tell you why you cough.

Should I record my child coughing at night?

Many parents do, because a short clip helps a doctor hear the kind of cough. Keep the recording on your own device and share only the clips you need.

More on snoring and sleep talk

Download on the App Store