Why Is My Dog Gagging and Coughing at Night?
A dog gagging and coughing at night needs to see a vet. Here are the signs that mean an emergency vet now, the causes your vet considers for a night or morning cough, the tests they may use and the details to have ready when you call.

A dog gagging and coughing at night needs to see a vet. Go to an emergency vet now if your dog is struggling to breathe, has blue, grey or pale gums, collapses, or keeps retching with nothing coming up and a swollen belly; otherwise book a same-day appointment. As for why it happens at night, a cough can start in the throat, the windpipe, the voice box, the lungs, the heart, the nose or the food pipe, and lying down, sleeping and getting up all change how air, mucus, fluid and stomach contents move through the body. That is why a cough can wake your dog in the middle of the night, start during sleep, or turn into a gagging cough in the morning. The time of day is a useful clue for your vet, but it cannot name the cause. Only an exam and tests can find out what is going on, so this page covers when to go now, the causes your vet considers, the tests they may use and the details to have ready when you call.
When to go to the vet now
Go to an emergency vet now, at any hour, if your dog has any of these signs with the coughing or gagging:
- Struggling to breathe, breathing hard or fast while resting or asleep, or breathing with the mouth open while lying still
- Blue, grey, white or pale gums or tongue
- Collapse, fainting or sudden weakness, including during or straight after a coughing fit
- Retching again and again with nothing coming up, especially with a swollen or tight belly, drooling or restlessness
- Choking, pawing at the mouth or acting as if something is stuck in the throat
- Coughing up blood or pink, frothy fluid
- Unable to lie down or rest because breathing is hard, sitting or standing with the neck stretched out
The guide to Dog Emergency Signs covers other signs that need care straight away. Leave for the clinic as soon as you see any of the signs above, day or night.
What can cause gagging and coughing at night
A cough is a reflex that pushes air hard out of the chest to move mucus and irritants out of the airways, and gagging can be part of it. A hard coughing fit can end in a gag or a retch, and a little froth or saliva may come up at the end, so a retching cough at night can look as if your dog is trying to vomit. Gagging can also come from the throat, from nausea or from something stuck, which is why the first thing your vet works out is where the gag is coming from. That is not something to decide at home. If the gagging comes without a cough, see Why Does My Dog Keep Gagging but Not Throwing Up? and My Dog Keeps Gagging and Nothing Comes Up.
Timing matters to your vet because the body changes when a dog lies down for the night. Lying still for hours lets mucus and fluid gather in the airways, and the first deep breaths and movements on waking can stir it up. With the head down, drainage from the nose and sinuses can run down the back of the throat and tickle it. Lying flat can let stomach contents move up into the food pipe. The chest also sits differently at rest, so a large heart or fluid in the lungs can press on or irritate the airways in a way that shows up when the house is quiet. The clock cannot tell you which of these is happening, but it helps your vet decide which parts of the body to look at first.
A cough that starts after your dog has gone to bed, wakes your dog in the middle of the night or happens during sleep is one reason your vet checks the heart. Heart disease can let fluid build up in the lungs, and an enlarged heart can press on the main airways. Restlessness at night, panting or breathing harder while resting, tiring on walks, fainting or a swollen belly alongside the cough are all details your vet needs. If your dog keeps gagging and coughing at night but seems bright during the day, that is still a reason to call your vet today.
The windpipe and the voice box are other places your vet looks. The windpipe can weaken and flatten, a problem called tracheal collapse, and the voice box can stop opening fully, a problem called laryngeal paralysis. Both can cause coughing, gagging and noisy breathing, and both can be set off by excitement, pulling on a walk, eating or drinking, or the first burst of activity when a dog gets up in the morning. Flat-faced breeds can have a long soft palate and narrow nostrils that crowd the throat, which can cause snorting, gagging and retching during sleep and on waking. Extra weight around the chest and neck can add to the strain on the airways.
A cough first thing in the morning, or when your dog gets up after a long sleep, can come from mucus that has gathered in the airways overnight. Long-term inflammation of the airways, called chronic bronchitis, is one possibility your vet looks into. Irritants in the air can play a part, such as smoke, dust, strong cleaning sprays, scented products or a dusty bed, so tell your vet what your dog breathes in at home and overnight. Allergies and infections of the nose and sinuses can also cause drainage into the throat that leads to a gagging cough in the morning. Coughing and gagging only in the morning needs the same same-day appointment as a cough at night.
The stomach and food pipe can be involved too. Acid moving up from the stomach can irritate the throat and set off gagging, swallowing, lip licking and a cough, and lying flat for the night can make that easier. A food pipe that does not move food and fluid down properly can let some of it be breathed in, which can cause coughing and a lung infection. A cough that comes with bringing up food, or that started after a bout of vomiting, is something your vet needs to hear about.
Infections of the airways are another group your vet considers. Kennel cough is a name for a group of infections that pass between dogs and can cause a cough that ends in a gag or retch, and it can sound worse at night when everything else is quiet. Pneumonia, an infection deeper in the lungs, can cause coughing along with fever, tiredness, fast breathing and a poor appetite. When you book, tell the clinic if your dog has been at daycare, boarding, a groomer, a training class or anywhere else with other dogs, so they can plan how to see your dog.
Parasites can affect the heart and lungs as well. Heartworm is spread by mosquitoes and lives in the heart and the large blood vessels of the lungs, and lungworm can be picked up from slugs and snails and lives in the airways or blood vessels. Both can cause coughing, tiredness and trouble breathing, so your vet asks where your dog lives, where it has travelled and what it may have eaten outside.
Choking and coughing at night can come from something breathed in or stuck. A grass seed, a splinter of stick, a piece of toy or a bit of food can lodge in the throat, nose or airways and cause sudden coughing, gagging, sneezing or pawing at the face. It can go in during the day and show up as a cough that keeps going at night. Do not try to look down your dog's throat or reach in to pull anything out. Choking or struggling to breathe needs an emergency vet now.
Your vet also considers a growth in the throat, chest or lungs, a problem inside the nose, a medicine your dog takes that can cause a cough, and bloat. Bloat, where the stomach fills with gas and can twist, can look like coughing and gagging in the dark because the dog retches again and again without bringing anything up. That is an emergency, whatever the time. More than one of these problems can be present in the same dog, which is why a night or morning cough needs a full exam rather than a guess. The conditions library has more on the heart, airway and lung problems named here, and you can talk to your vet about which ones fit your dog.
What your vet may do
Your vet starts with questions about when the coughing and gagging began, when in the day or night it happens, what sets it off and what else has changed. Then comes a full exam. The vet listens to the heart and lungs with a stethoscope, checks the colour of the gums, takes your dog's temperature and looks at how fast and how hard your dog is breathing. They may gently press on the windpipe in the neck to see whether that sets off a cough, look in the mouth and throat as far as they can while your dog is awake, feel the belly and check body weight.
If your dog is struggling to breathe on arrival, the team may give oxygen and keep your dog calm and still before any tests, because handling and stress can make breathing harder. Some dogs need light sedation before X-rays or a closer look at the throat.
Chest X-rays show the size and shape of the heart, the lungs and the windpipe, and can show fluid, infection, a growth or something that has been breathed in. A heart scan, called an echocardiogram, shows how the heart muscle and valves are working, and an ECG records the heart's rhythm. Blood tests look at general health and signs of infection, and a blood test can check for heartworm. A stool sample or a blood test can be used to look for lungworm.
For the windpipe and voice box, your vet may look at how the voice box moves under light sedation, or use a moving X-ray called fluoroscopy to see whether the windpipe flattens as your dog breathes. A camera passed into the airways under anaesthetic, called bronchoscopy, lets the vet see inside the windpipe and lungs, collect mucus or a wash of fluid from the airways, and sometimes remove something that has been breathed in. Those samples can be sent to a lab to look for infection, inflammation or abnormal cells. A scope can also look up the back of the nose when drainage or something stuck in the nose is a possibility, and a swallowing X-ray with a contrast dye can show how the food pipe is working.
Treatment depends on what the vet finds. It may include a medicine your vet prescribes, a feeding plan your vet sets if reflux or the food pipe is involved, a weight plan if extra weight is adding to the strain on the chest, removal of something stuck, or referral to a specialist for the heart, the airways or surgery. Your vet will explain the plan and which signs mean your dog needs to come back in. Call your vet again if the coughing changes, gets harder or happens more, or if your dog seems more tired, breathes harder at rest or stops eating.
What to tell your vet
When you call, have these details ready:
- When you first noticed the coughing and gagging, and whether it started suddenly
- Any change since then: how hard the fits are, how many there are, and whether they now happen in the day as well
- When it happens: at night, during sleep, in the middle of the night, first thing in the morning, when your dog gets up, after eating or drinking, or with excitement
- Any bleeding: blood, pink froth or anything else that comes up after a fit
- Licking the lips, gulping, swallowing hard or pawing at the mouth or face
- Other signs: tiredness, panting at rest, restlessness at night, less interest in walks, changes in appetite, weight or drinking, nose discharge, sneezing or fainting
- Recent time with other dogs, travel, long grass, or anything your dog may have chewed or swallowed
- Any medicine your dog takes and any heart, airway or other condition already diagnosed
A short symptom log helps your vet see the pattern. Write down what you remember of the fits so far, then add each new one with the date and time, what your dog was doing just before (asleep, just woken, getting up, drinking, playing), how long it lasted and whether anything came up. Bring the log to the appointment. It is a record for your vet, not a way to work out the cause at home.
A short phone video of a coughing fit helps too, because a cough may not happen once your dog is in the clinic. Film from where you are, without waking or handling your dog to start a fit, and never hold back the call or the visit to get a recording. If your dog already sees a vet for a heart or airway condition, call that clinic today and say the cough is new or has changed, so they can fit it into your dog's care.
Frequently asked questions
- Is gagging and coughing at night an emergency in dogs?
- It is an emergency if your dog is struggling to breathe, has blue, grey or pale gums, collapses, is choking, coughs up blood or keeps retching with nothing coming up and a swollen belly. Go to an emergency vet now for any of those. For any other coughing and gagging at night, book a same-day appointment with your vet.
- What should I do if my dog has gagging and coughing at night?
- Call your vet today and book a same-day appointment. Tell them when the coughing and gagging started, when it happens, whether anything comes up and what other signs you have seen. Go to an emergency vet now instead if your dog is struggling to breathe, collapses, has blue or pale gums or is choking.
- Can I treat gagging and coughing at night at home?
- No, because the cough can come from the heart, lungs, windpipe, throat or something stuck, and only your vet can find which. Do not give any medicine, put anything in your dog's mouth or try to remove anything from the throat before the vet sees your dog. Call your vet today instead.
- Why is my dog gagging and coughing at night?
- Lying down, sleeping and waking change how mucus, fluid and stomach contents move, so a problem in the heart, lungs, windpipe, voice box, nose or food pipe can show up at night. Infections, parasites and something inhaled are other possibilities. Your vet finds the cause with an exam and tests, so call your vet today.
- Why does my dog cough and gag first thing in the morning?
- A cough on waking or when your dog gets up can come from mucus that collected overnight, airway inflammation, a weak windpipe, drainage from the nose, reflux or a heart problem. The timing is a useful clue for your vet, but the vet still needs an exam and tests to find the cause. Call your vet today.
- Why does my dog cough in its sleep or when lying down?
- When a dog lies still, fluid and mucus can collect in the airways, nose drainage can run into the throat and stomach acid can move up. A heart problem can also show up at rest. These are possibilities your vet checks with an exam, chest X-rays and other tests, so call your vet today.
- Can heart problems make a dog cough at night?
- Yes, a heart problem is one possibility your vet checks, because heart disease can let fluid build up in the lungs and an enlarged heart can press on the airways, and both can show up when a dog rests. Your vet listens to the heart and may suggest chest X-rays and a heart scan. Call your vet today.
- Could something stuck in my dog's throat cause coughing and gagging?
- Yes, a grass seed, stick, piece of toy or food can lodge in the throat, nose or airways and cause coughing and gagging. If your dog is choking, pawing at the mouth or struggling to breathe, go to an emergency vet now. Do not reach into the mouth or try to pull anything out. Otherwise call your vet today.
- Can my dog's night cough spread to other dogs?
- It can if the cause is an infection, such as kennel cough, which can pass between dogs. Your vet works out whether infection is involved. When you call to book, tell the clinic your dog is coughing so they can plan how to bring your dog in, and talk to your vet about contact with other dogs.
- Should I record my dog's cough for the vet?
- Yes, a short phone video of a coughing fit can help, because the cough may not happen during the appointment. Film from where you are without waking or handling your dog, and never delay the call or the visit to get a recording. A written log of times and triggers helps your vet as well.
- What if my dog brings up froth after coughing at night?
- Froth or saliva can come up at the end of a hard cough, and it can also come from nausea or the food pipe, so your vet needs to sort out which. Call your vet today and describe what came up. Go to an emergency vet now for blood, pink froth or retching with a swollen belly.
Educational content, not veterinary advice. Ask your vet about your dog.