Blog

Caffeine, Alcohol, Melatonin and When to See a GP About Sleep

By Nick · 1 December 2026

Short answer: Caffeine and alcohol both disturb sleep, melatonin helps only some people, and long-lasting insomnia or loud snoring with daytime tiredness is worth a GP visit. CBT-I is the first-line treatment for insomnia.

Free guide: a gentle first week of better sleep, one ten-minute job a day plus a two-minute sleep diary. Get Your First Week of Better Sleep.

When sleep goes badly, people often reach for a coffee in the morning and a drink or supplement at night. These can make the cycle worse. This guide explains how common substances affect sleep and when it is time to get medical help.

It links to a full guide on each topic. It is general information, not medical advice.

Caffeine

Caffeine blocks the signal that builds sleepiness. Its effects can last many hours, and sensitivity varies. Try moving your last coffee earlier, to morning or early afternoon, and see how sleep changes over a couple of weeks. Remember tea, cola, energy drinks and some medicines also contain it.

Alcohol

Alcohol can make you drowsy, but it tends to cause lighter, more broken sleep later in the night, and it can worsen snoring and breathing problems. If sleep is poor, cutting back or avoiding alcohol in the hours before bed is a useful test.

Melatonin

Melatonin is a hormone that signals night to the body. In Australia it is available on prescription for some groups, such as older adults with insomnia. Evidence for benefit is modest and mainly for shifting timing. Talk to your GP or pharmacist before using it.

Insomnia, apnoea and CBT-I

Insomnia means trouble falling or staying asleep, plus daytime effects, on three or more nights a week for a few months. Sleep apnoea involves repeated breathing pauses, with loud snoring, gasping and heavy daytime tiredness. Both are treatable. CBT-I, a structured talking therapy, is recommended as first-line treatment for insomnia, and your GP can refer you or point you to programs.

When to see a GP

See your GP if trouble sleeping lasts several weeks, if you snore loudly or gasp, if tiredness is affecting driving or work, or if you feel low or anxious. Do not drive when drowsy.

Other things in your day that affect sleep

Nicotine is a stimulant and can keep you awake, and cravings may wake you in the night. Large meals close to bedtime can cause reflux and lighter sleep. Intense exercise late in the evening may delay sleep for some people, though regular exercise in general helps. Some medicines, including certain antidepressants, steroids, decongestants and asthma treatments, can disturb sleep. Never stop a prescribed medicine on your own. Ask your GP or pharmacist whether timing or a change is possible.

Supplements and sleep aids

Shops sell many products for sleep, from herbal teas to magnesium to over-the-counter antihistamines. Evidence for most is limited. Sedating antihistamines can leave you groggy the next day and tolerance builds quickly. If you are thinking of trying something, ask a pharmacist, especially if you take other medicines, are pregnant, or need to drive in the morning.

Sleepiness and driving

If you are so tired that you nod off, or you have had a near miss on the road, do not drive until you have seen a doctor. Drowsy driving is dangerous. Pull over and rest if you feel drowsy while driving. Mention it to your GP, as untreated sleep apnoea is one common cause.

How to prepare for a GP visit

Bring a short note on when you go to bed, how long it takes to fall asleep, how often you wake, how you feel in the day, caffeine and alcohol, and any medicines. Mention snoring or gasping, since a partner can often tell you. Your GP may ask about mood and stress, check for physical causes, and refer you for a sleep study or CBT-I if needed.

A fair two-week test

To see whether caffeine or alcohol is affecting you, change one thing for two weeks. Move your last coffee to before noon, or skip alcohol on weeknights. Keep everything else steady and note how long it takes to fall asleep and how often you wake. Many people see a clear change. If nothing shifts, you have ruled out one cause and can move on without guilt. If sleep is poor even with clean habits, that points toward a different cause worth discussing with your GP.

Go gently. Cutting caffeine suddenly can cause headaches for a few days, so reduce over a week if you drink a lot.

All guides in this topic

Insomnia Symptoms: What Counts and When to See a GP

Insomnia means trouble falling asleep, staying asleep or waking too early, often with tiredness the next day. Healthdirect describes chronic insomnia as at least 3 nights a week for at least 3 months. See your GP if you have trouble sleeping with low mood, restlessness in bed or waking unrefreshed.

Does Caffeine Affect Sleep? How Late Is Too Late for Coffee?

Yes. Caffeine is a stimulant that can stay in your body for hours, so an afternoon coffee can make it harder to fall asleep or stay asleep. People differ a lot, so try moving your last caffeine to before early afternoon for a week and see what changes.

Does Alcohol Help You Sleep? What It Really Does to Your Night

Alcohol can make you feel drowsy and fall asleep faster, but it tends to disturb sleep later in the night, causing more wake-ups and lighter sleep. If you want better sleep, leave several hours between your last drink and bed, or try a few alcohol-free nights and compare.

What Is CBT for Insomnia (CBT-I) and How Does It Work?

CBT for insomnia (CBT-I) is a structured, short-term talking therapy that changes the thoughts and habits keeping you awake. It usually covers sleep scheduling, getting out of bed when awake, and managing worry about sleep. The Sleep Health Foundation notes it is more effective than sleeping tablets in the medium and long term.

Does Melatonin Help You Sleep? What to Know Before You Try It

Melatonin is a hormone your body makes that signals night. It may help in specific situations such as jet lag or some body clock problems, but evidence for general insomnia is limited. In Australia it is generally available by prescription, so talk to your GP or pharmacist before trying it.

Sleep Apnoea: Symptoms and When to See a GP

Sleep apnoea is a condition where breathing repeatedly pauses or becomes shallow during sleep. Common signs include loud snoring, gasping or choking at night, waking unrefreshed and strong daytime sleepiness. It is diagnosed with a sleep study and is treatable. See your GP if you or your partner notice these signs.

Why Do I Grind My Teeth at Night? Bruxism and Sleep

Night-time teeth grinding is often linked to stress, caffeine, alcohol or a sleep disorder such as sleep apnoea. A dentist can check for damage and fit a splint; a GP can help with the cause.

When should I see a GP?

See your GP if you are having trouble sleeping and your mood is low, you feel restless in bed, or you wake unrefreshed, or if the problem has gone on for weeks. Loud snoring with pauses in breathing, or falling asleep at the wheel, are reasons to go now. If you are thinking about harming yourself, call Lifeline on 13 11 14, or 000 in an emergency. This article is education, not medical advice.

Sources: Sleep Health Foundation, "Ten Tips for a Good Night's Sleep" (sleephealthfoundation.org.au) and "Caffeine, Food, Alcohol, Smoking and Sleep"; healthdirect, "Insomnia" (healthdirect.gov.au).

Frequently asked questions

Does alcohol help you sleep?

It may help you drop off, but it tends to make sleep lighter and more broken later in the night.

Does caffeine affect sleep even if I fall asleep fine?

It can. Caffeine can reduce deep sleep and cause lighter sleep even when you fall asleep without trouble.

What is CBT for insomnia?

A structured, short-term therapy that changes sleep habits and unhelpful thoughts about sleep. It is the first-line treatment for long-term insomnia.

Start with the free First Week of Better Sleep

A gentle, practical week of small habits, about ten minutes a day, with a sleep diary to show what is really going on. Free, plain language, no hype.

Get the free guide

A note on care. I'm Nick. This is education, not therapy or medical advice. If you're struggling, Lifeline is 13 11 14, or call 000 in an emergency.