Why Your Dog Suddenly Pees in the House
Short answer
When a house-trained dog suddenly pees indoors, start with your veterinarian: urinary infections, bladder stones, diabetes, kidney disease, incontinence and some medications can all cause accidents. Once health problems are ruled out, look for marking, anxiety, changes at home or age-related decline, clean with an enzyme cleaner, never punish, and go back to basic house training for a while.

Your dog has been reliably house-trained for months or years, and now there are puddles again. It’s frustrating, but it’s also a signal worth taking seriously: sudden accidents in a trained dog can be the first sign of a health problem. This guide explains what to check first, the most common causes, and how to get back on track. If you’re training a puppy or a dog who was never fully house-trained, start with our guide on how to house train a dog.
Why do house-trained dogs suddenly pee indoors?
| Type of cause | Examples from the sources | Possible clues |
|---|---|---|
| Urinary problems | Urinary tract infection, bladder stones or crystals (PetMD, VCA) | Frequent attempts to urinate, straining or crying, blood in the urine (VCA) |
| Diseases that increase drinking and urinating | Kidney or liver disease, diabetes, Cushing’s disease (VCA) | Drinking and peeing more than usual |
| Medications | Corticosteroids (steroids) (VCA, PetMD) | Accidents started after a new medication |
| Incontinence | Loss of bladder control, in young and senior dogs (PetMD) | Leaking urine when lying down or asleep (VCA) |
| Pain or mobility | Orthopedic or neurologic pain (VCA), arthritis (PetMD) | Difficulty getting up, outside or into position |
| Marking | Communication with urine, even in house-trained dogs (VCA) | Small amounts on upright objects or new items |
| Anxiety or fear | Frightening events indoors (VCA); thunderstorms (PetMD) | Accidents during storms, noises or stressful events |
| Changes at home | A new pet or person, rearranged furniture, renovations, a move, a new schedule (PetMD) | Accidents started after the change |
| Excitement or submissive urination | During greetings or intense emotion; not deliberate (VCA) | Small puddles when you come home or greet your dog |
| Age-related cognitive decline | Cognitive dysfunction in senior dogs (VCA) | Confusion, night waking, disorientation |
Health first: what to do before any training
Step 1: Book a veterinary visit
The ASPCA’s example fits exactly: a dog who hasn’t had an accident in years and suddenly starts urinating in the house may have a medical condition, and only a veterinarian can diagnose it. VCA Animal Hospitals’ veterinary behaviorists also stress asking your veterinarian to check for a physical illness before treating house soiling as a behavior problem. Call sooner rather than later if you notice any of the signs VCA lists for urinary tract infections: frequent attempts to urinate, straining or crying when urinating, or blood in the urine.
Step 2: Bring the right information
VCA suggests giving your veterinarian a complete history, including:
- how much your dog is drinking and urinating,
- the circumstances of the accidents, for example leaking urine while lying down,
- whether your dog strains to urinate,
- any medications your dog takes.
Your veterinarian will likely need a urine sample. PetMD notes that a urine test is a usual first step to check for obvious problems.
Step 3: Know what tests to expect
Depending on what your veterinarian finds, VCA lists common tests: a urinalysis, a complete blood count and a serum biochemistry profile, a urine culture to check for a bacterial bladder infection, and X-rays or ultrasound of the urinary system to look for stones. Your vet will explain which ones your dog needs.
After a clean bill of health: get back on track
Step 4: Keep a log
VCA’s veterinary behaviorists recommend noting the number of urinations and defecations per day, along with changes in health and diet, and keeping a journal to track progress. For accidents, add where and when they happened and what was going on just before:
| Date and time | Where | Just before | Amount (puddle or a few drops) | Notes |
|---|---|---|---|---|
| Example: Tue 6:10 p.m. | Living room, by the new chair | Came in from the yard 20 minutes earlier | A few drops, on the chair leg | Looks like marking |
The pattern often points to the cause: small amounts on upright objects suggest marking, puddles during greetings suggest excitement urination, and accidents during storms suggest fear. Our house training guide has a more detailed potty log.
Step 5: Clean with an enzyme cleaner
VCA recommends a product that contains enzymes to break down urine and feces. PetMD notes that removing the smell helps keep your dog from going in the same spot again.
Step 6: Never punish
VCA’s veterinary behaviorists warn against scolding or punishing your dog: they will become confused and possibly frightened. A dog’s “guilty look” most likely means they feel worried, not guilty. PetMD also recommends positive reinforcement rather than punishment. If you catch your dog mid-accident, calmly take them outside and reward them if they finish there, as our house training guide explains.
Step 7: Go back to basics for a while
VCA’s retraining plan for a previously house-trained dog mirrors puppy training:
- Choose an elimination spot. Take your dog to an acceptable place in anticipation of their need to go.
- Supervise closely, so you know your dog has actually gone.
- Plan for when you can’t supervise. Confine your dog to an area that won’t be damaged if they have an accident.
- Learn your dog’s pattern. VCA notes that a healthy adult dog can usually hold urine for about 3 to 4 hours if they’re not active.
Reward your dog right after they go in the right place. The step-by-step section of our house training guide has the details.
If the cause is behavioral
- Marking. VCA notes that even fully house-trained dogs may leave urine to communicate. Our house training guide explains how to tell marking from an accident and what helps.
- Excitement or submissive urination. VCA stresses that neither is done deliberately, so scolding won’t help. Talk to your veterinarian or a behavior professional about a plan.
- Anxiety and fear. VCA explains that a frightened dog may eliminate while trying to escape the perceived danger. If accidents happen only when your dog is alone, along with other signs of distress, read our separation anxiety guide. The ASPCA lists house soiling among the signs of separation anxiety, and also lists incontinence and medications among the problems to rule out first.
- Changes at home. PetMD lists a new pet or person, rearranged furniture, renovations, a move or a change in schedule. Go back to the basics above for a few weeks, and keep your dog’s potty routine as steady as you can.
Common mistakes
| Mistake | Why it backfires | Do this instead |
|---|---|---|
| Assuming it’s “bad behavior” | Many causes are medical (VCA, PetMD, ASPCA) | Vet visit first |
| Scolding or rubbing their nose in it | Confuses and frightens your dog (VCA) | Clean up quietly; reward outdoor potty |
| Cleaning with ordinary household products | The smell can draw your dog back (PetMD) | Enzyme cleaner (VCA) |
| Giving full freedom straight away after the vet visit | The old pattern can continue | Supervise and confine for a few weeks |
Sudden accidents at different ages
Adolescent dogs may start marking as they mature. The house training guide’s marking section covers the signs.
Adult dogs may have a medical cause, a change at home or a new source of anxiety. Your log and your vet visit will narrow it down.
Senior dogs can develop incontinence, arthritis or other medical problems, and VCA lists house soiling among the signs of cognitive dysfunction, along with night waking and disorientation. VCA recommends regular exercise and interactive toys alongside veterinary care. Our guide to barking at night covers night-time changes in older dogs.
When to see your veterinarian
See your veterinarian for any sudden change in a house-trained dog’s toileting. Call promptly if your dog strains or cries when urinating, has blood in their urine, is drinking or urinating much more than usual, leaks urine while resting, or seems unwell in any other way. If your vet finds no medical cause and accidents continue, PetMD suggests asking about a veterinary behaviorist.
Not sure where to start? Take the 7-question quiz and get the guide for your result by email.
Frequently asked questions
Why is my house-trained dog suddenly peeing in the house?
The ASPCA's example is a dog who hasn't had an accident in years and suddenly starts urinating indoors: that dog may have a medical condition, and only a veterinarian can diagnose it. Once health problems are ruled out, common behavioral causes include marking, anxiety, changes at home and age-related decline.
Is my dog peeing inside out of spite?
No. VCA Animal Hospitals' veterinary behaviorists explain that a dog's 'guilty look' most likely means they feel worried, not guilty, and that scolding only confuses and possibly frightens them.
What should I bring to the vet?
VCA suggests describing how much your dog is drinking and urinating, the circumstances of the accidents, for example leaking urine when lying down, whether your dog strains to urinate, and any medications. Your vet will likely need a urine sample.
Why does my old dog pee in the house?
Senior dogs can have medical problems that cause accidents, and VCA lists house soiling among the signs of cognitive dysfunction. PetMD adds that arthritis can make it harder for a dog to get outside or into position. Start with a veterinary exam.
What cleaner should I use on dog urine?
VCA's veterinary behaviorists recommend a product that contains enzymes to break down urine and feces. PetMD notes that removing the smell helps stop your dog going in the same spot again.
Sources
- Dog Behavior Problems - House Soiling — VCA Animal Hospitals (Ellen Lindell, VMD, DACVB; Debra Horwitz, DVM, DACVB; Gary Landsberg, DVM, DACVB)
- Testing for inappropriate urination (urinating in the house) — VCA Animal Hospitals (Malcolm Weir, DVM; Kristiina Ruotsalo, DVM, Dip ACVP; Margo Tant, DVM)
- Urinary tract infections (UTIs) in dogs — VCA Animal Hospitals
- Why is my dog peeing in the house? — PetMD (Janelle Priestas, DVM; reviewed by Brittany Kleszynski, DVM)
- Behavioral help for your pet — ASPCA
- Separation anxiety — ASPCA
- Mental stimulation for senior dogs — VCA Animal Hospitals

