Dogster is reader-supported. When you buy via links on our site, we may earn a commission at no cost to you. Learn more.

Ask the Vet

Why Does My Dog Poop in Their Sleep? Vet Explained Signs, Causes & Treatment

Dr. Samantha Devine
Written and fact-checked by Dr. Samantha DevineVet Approved
Dr. Samantha Devine
Reviewed & Fact-Checked byDr. Samantha DevineDVM (Veterinarian)
Dr. Samantha Devine is a practicing veterinarian who enjoys caring for animals and sharing her knowledge with pet owners. Preventative care, ranging from nutrition to vaccination, is her specialty and passion!View authorThe information is current and up-to-date in accordance with the latest veterinarian research. Learn more
Updated on June 29, 2026
Share
dog sad sick sleeping bored

You've had your dog for years and can count on one hand the number of times your pup has had an accident in the house. Now they've had several accidents of pooping in their sleep. What on earth is going on?

If your dog is leaking poop while sleeping, let's look at some of the potential causes, including neurologic issues, aging, infections and more. It can certainly be frustrating to figure out, but your veterinarian can help you get to the root cause.

dogster face divider

Defining Fecal Incontinence

Your dog is likely older if it has lost the ability to control its bowels, which we call fecal incontinence. That said, any dog of any age can be affected, especially if something like parvovirus is the underlying culprit.

Image Credit: ThamKC, Shutterstock
dogster paw divider

Signs of Fecal Incontinence in Dogs

Your veterinarian will need to know if your dog has other signs than just passing stool in their sleep.

Some questions to consider include:

  • Is it happening at other times, such as walking?
  • Have you noticed diarrhea or vomiting?
  • Is your dog weaker in their hind end?
  • Is your pup scooting?
  • Have you changed foods recently?
Dogster_Website dividers_v1_Jan 18 2024-03

The 6 Possible Causes of Your Dog Pooping in Their Sleep

The anal sphincter helps control when your dog defecates, and it can be affected by certain conditions.

1. Neurologic Issues

There are a range of neurologic causes for fecal incontinence, including;

  • Degenerative myelopathy
  • Peripheral neuropathy
  • Intervertebral disk disease (IVDD)
  • Fibrocartilaginous embolism (FCE)

Trauma or tumors associated with the spinal cord can also impact the anal sphincter. Dogs that have been hit by a car should have their reflexes and anal tone tested.

Image Credit; Zontica, Shutterstock

2. Arthritis

Dogs of any age can develop arthritis, but it's more common in older dogs. Arthritis can impact the spinal cord if it develops between vertebrae. It can also make it hard for dogs to posture to defecate if they can't empty their bowels when out for a walk; they still could come out later when they're relaxed.


Similarly to arthritis, muscle loss that comes with age can make it hard for your dog to position themselves to go to the bathroom. Senility is also a potential concern. Cognitive dysfunction manifests in different ways, including trouble with regular bodily eliminations. Your geriatric pup may go where they lay.

Image Credit: Yobab, Shutterstock

4. Rectal Trauma

Damage to the anal sphincter can cause dogs to develop fecal incontinence. Some of these dogs have had a severe anal gland abscess. Other dogs could have a perianal fistula.


5. Perianal Mass

A rectal mass, such as an anal gland tumor, can contribute to incontinence. Surgery to remove these masses could also damage the nerves that innervate the anal sphincter and lead to incontinence.

Image Credit: Sebastian Condrea, Getty Images

6. Infections

Some dogs develop diarrhea-causing infections, such as parvovirus, or bacterial infections like Salmonella. If the diarrhea is severe, your dog may be incontinent in their sleep or even walk to the back door.

Dogster divider_v2_NEW_MAY_24_

Diagnosing Your Dog With Fecal Incontinence

Diagnosing incontinence in dogs just on a physical exam can be challenging. Your veterinarian will need to evaluate your pup from nose to tail while getting more information on how your dog has defecated in their sleep. The vet will likely perform a rectal exam on your dog, evaluating anal muscle tone, stool consistency, and even the anal glands.

You should bring a stool sample to the appointment for a parasite exam. Your veterinarian will likely suggest blood work and possible radiographs (X-rays) to look for arthritis changes.

Image Credit: LightField Studios, Shutterstock
Dogster_Website dividers_v1_Jan 18 2026-03

Treating Your Dog's Fecal Incontinence

Therapies

Your veterinarian may start treatments based on their examination findings. Diarrhea may need to be treated with probiotics and anti-diarrheal medicine like loperamide.

If your dog has arthritis that could be contributing to changes, your vet might start them on anti-inflammatories such as Rimadyl (carprofen), Galliprant (grapiprant), or Metacam (meloxicam).

If your dog has a rectal mass, they likely need surgery to remove it. Some also need radiation or chemotherapy to treat the tumor.

You'll want to keep your dog clean and consider a diaper. If possible, you might want to contain your dog in an area of the house that's easy to clean.

Prevention

Your veterinarian may recommend specific therapies to help your dog, such as:

These can be especially helpful to decrease discomfort and strengthen muscles.

Consider a highly digestible diet with lower fiber. More fiber can mean your dog needs to defecate more. On the other hand, fiber can often help dogs eliminate better, so see what your vet recommends. They may put your dog on a hydrolyzed protein diet or a gastrointestinal diet.

dogster paw divider

Frequently Asked Questions

Is it normal for dogs to poop in their sleep?

If your dog is leaking poop while sleeping, it is not normal and it's essential that you work with your veterinarian to identify and treat the underlying cause.

How do I stop my dog from pooping in their sleep?

Talk to your veterinarian to see if a different food might benefit your dog. Stop feeding your dog about two hours before bedtime, and take it on a long enough walk before bed to give it plenty of opportunities to defecate.

dogster face divider

Conclusion

Fecal incontinence frustrates pet owners and can also make housebroken dogs uncomfortable. Work with your veterinarian to identify and treat the underlying cause. It may seem like something that cannot be stopped but there are ways that this situation can be resolved if you reach out to your veterinarian.

Sources

Featured Image Credit: Przemek Iciak, Shutterstock

Want content like this delivered to you?

Sign Up For Our Newsletter

News, insights, expert advice, and everything dog

* By submitting, you agree to our Terms & Conditions and Privacy & Cookies Policy.

Dr. Samantha Devine DVM (Veterinarian)
Authored by

Dr. Samantha Devine DVM (Veterinarian)

My Dog Is Urinating While Lying Down: 6 Causes & Vet Approved Solutions

My Dog Is Urinating While Lying Down: 6 Causes & Vet Approved Solutions

Urinary problems in dogs are not unusual, but when you see a dog leaking urine while they're lying down, it’s time to visit the veterinarian. A random dribble…

Nicole Cosgrove
By Nicole Cosgrove · 1 week ago
What It Actually Means When a Dog Leaks Urine While They Sleep (It’s Serious)

What It Actually Means When a Dog Leaks Urine While They Sleep (It’s Serious)

A wet spot on your dog's bed isn't the same as a house training accident. When dogs leak urine while lying down or sleeping, something is medically wrong, and…

Dan Seymour
By Dan Seymour · 3 weeks ago
Why Is My Female Dog Peeing in Her Sleep? Vet-Reviewed Causes & Tips

Why Is My Female Dog Peeing in Her Sleep? Vet-Reviewed Causes & Tips

As pet owners, we want to keep our pets healthy and happy at all times, and it can be unsettling to find out that your female dog is peeing in her sleep. The f…

Ed Malaker
By Ed Malaker · 1 week ago
Why Is My Dog Pooping in the House? 8 Vet-Reviewed Reasons

Why Is My Dog Pooping in the House? 8 Vet-Reviewed Reasons

Most dog owners will have experienced their dog pooping in the house at one point or another. When it happens as a one-off it is infuriating and unpleasant, bu…

Nicole Cosgrove
By Nicole Cosgrove · 1 week ago
June 29, 2026

Abnormal Dog Stool: Our Vet Discusses Signs, Causes & Treatment

Many dog owners might be uncomfortable having to think (or talk) about their dog’s bowel movements. But the truth is, a dog’s stool is a helpful tool as eviden…

Dr. Rachel Ellison
By Dr. Rachel Ellison
Abnormal Dog Stool: Our Vet Discusses Signs, Causes & Treatment
June 17, 2026

Dog Diarrhea: Our Vet Discusses Signs, Causes & Treatment

Almost all dog owners have encountered diarrhea at some point in their dog's life. A variety of causes can lead to diarrhea in puppies and dogs. Luckily, most…

Dr. Emma Chandley BVM
By Dr. Emma Chandley BVM
Dog Diarrhea: Our Vet Discusses Signs, Causes & Treatment
June 17, 2026

Back Pain in Dogs: Our Vet Explains Signs, Causes & Treatment

You probably know that back pain is common in us two-legged humans. Many people don’t know, however, that back pain is also relatively common in their four-leg…

Dr. Joe Mallat
By Dr. Joe Mallat
Back Pain in Dogs: Our Vet Explains Signs, Causes & Treatment

Love Dogs? So Do We! Join the Dogster Community

Stay informed with expert pet care insights delivered straight to your inbox! Discover professional guidance on animal behavior, feeding tips, trusted product picks, and much more.

You may opt-out at any time. View our Privacy Policy for more information.

The Dogster app on a phone