On this page
Understanding heartburn and sleep
Waking up at 3 a.m. with heartburn, or struggling to fall asleep because of discomfort, is a signal worth understanding. If you live with gastroesophageal reflux disease (GERD), the data your iPhone and Apple Watch already collect about your sleep, activity, and stress can help you spot patterns that matter for conversations with your doctor. Once a doctor has confirmed your GERD, you can log heartburn in the reflux diary in Sam, and your sleep from Apple Health sits in the same app, a few taps from the entry.
Heartburn feels like a simple stomach problem, but when reflux happens at night, it disrupts something far more complex: the way your body rests and repairs itself. GERD occurs when stomach content refluxes into the esophagus, causing troublesome symptoms like heartburn (a burning sensation in the chest) or regurgitation. Unlike occasional acid reflux (which most people experience), GERD becomes a pattern that interferes with daily life and sleep quality.
Sleep and reflux have a bidirectional relationship. Poor sleep can amplify your sensitivity to discomfort, making heartburn feel worse. Equally, nighttime reflux can fragment your sleep, leaving you tired the next day. When you're living with reflux, this cycle becomes important to notice because breaking it starts with understanding it.
What Apple Health reveals about your sleep patterns
Your Apple Watch already measures sleep duration, deep sleep, REM sleep, and time spent awake. These metrics aren't medical diagnostics, but they're honest reflections of your actual rest. For someone with reflux, tracking these metrics over weeks can reveal whether certain evenings result in more nighttime awakenings or lighter sleep. You might notice a pattern: nights after particularly large meals show more fragmented sleep, or evenings when you felt stressed show more time awake.
Apple Health can also show you heart rate patterns during sleep, which sometimes reflects restlessness caused by physical discomfort. This isn't a diagnosis; it's data about your own body's behavior. When you bring this objective sleep trend to your doctor, you're offering concrete evidence instead of saying "I think my reflux gets worse at night." That specificity helps clinicians make better recommendations tailored to your situation.
The meal timing, stress, and sleep connection
Eating close to bedtime is one of the most common reflux triggers. Clinical guidance is clear: avoid meals 2-3 hours before lying down. But "close to bedtime" varies person to person. One person's 7 p.m. dinner might be fine; another's identical meal at the same time causes night discomfort.
Your Apple Health data can help you build a personal map. Note when you ate, what you ate (or estimate portion size), and when you went to bed. Then look at the sleep data that followed. Over a month, patterns emerge. Maybe your sleep is consistently better on nights when there's a full three-hour gap between your last substantial food and bedtime. Or perhaps you notice that high-caffeine days show more nighttime restlessness, regardless of meal timing.
Stress can worsen reflux through multiple physiological pathways: it increases stomach acid production, can relax your lower esophageal sphincter, and may slow digestion. These physiological effects, combined with stress's impact on sleep quality, make reflux worse during stressful periods. You can observe these stress patterns in Heart Rate Variability trends from Apple Health, and when linked to your evening comfort and sleep quality, they often reveal important connections.
Building your reflux diary with intention
The most effective tool you have is simple: a log linking what you do to what happens. Clinicians use symptom diaries before considering further diagnostics because they work. The diary doesn't need to be perfect or daily; even a few weeks of notes create actionable patterns.
Track: time of meals and their size/content, time you lay down or went to bed, any heartburn or regurgitation episodes you noticed, how well you slept (which Apple Health gives you automatically), and any medications or supplements you took. After two to four weeks, you'll see whether large meals consistently precede bad nights, whether alcohol affects you noticeably, or whether stress on difficult days makes reflux worse.
Bring this diary to your doctor. It's not medical data; it's your lived experience, backed up by the objective sleep metrics Apple Health provides. Doctors value this kind of detailed personal history because it reveals your unique triggers, not just the textbook version of GERD.
In Sam
Log reflux episodes in Sam next to your sleep and take them to your doctor
You bring a reflux diary to your doctor with your sleep next to it, instead of rebuilding the weeks from memory. The reflux program holds the diary.
- Instead of a paper diary: you log symptom type and severity, what you ate, whether it woke you at night and how well your medication worked.
- Instead of Apple Health alone: your sleep appears on the program page beside your own baseline, together with weight and the drinking days you log.
- Instead of memory at the appointment: the doctor report as a PDF counts reflux days, episodes, nights it woke you and days with acid medication.
Sam does not measure reflux, and the program starts once you confirm a doctor's diagnosis.
Sam is a wellness companion, not a medical device. No diagnosis, no replacement for medical advice.

More on reflux (GERD)
Sources
Updated: October 2026- Kahrilas, P. J., et al. (2021). "American Gastroenterological Association Institute guidelines on the management of gastroesophageal reflux disease." Gastroenterology, 160(4), 1029-1042.
- German Society for Digestive and Metabolic Diseases (DGVS). Clinical practice guidelines on gastroesophageal reflux disease.
- Schütze, A., et al. (2020). "Sleep disturbances and gastroesophageal reflux disease: a systematic review." Sleep and Breathing, 24(2), 429-438.