Most adult dogs who pee in the house are doing one of four things: they were never fully house trained and nobody noticed until it mattered, they are marking, they are sick, or something in the house changed and the old habit came apart. The fix for the first and last is the same three-week reset we describe below, and it works on an adult dog as well as it does on a puppy. The fix for the others starts with figuring out which one you have, which takes about a day of paying attention.
Start the reset tonight regardless. It does no harm if the cause turns out to be medical, and it buys you time while you sort out the rest.
Key takeaways
- Dogs pee in the house because they were never fully trained, are marking, are sick, or their routine changed; a 21-day reset fixes most.
- A dog reliable for years who suddenly pees inside needs a urine sample at the vet before any training starts.
- During the reset, the dog is leashed to you or crated, paid on the grass for every outdoor pee, and never scolded for puddles.
- Clean spots with enzymatic cleaner poured deep enough to reach the pad, left damp, never ammonia or heat first.
- Excitement and nervous peeing are not house-training problems; stay calm, greet outside, and never scold, because scolding makes it worse.
At a glance
Days 1 to 21: The Daily Routine
- 1
Out first thing, 15 to 30 minutes after meals, after naps, after play, and last thing at night.
- 2
Days 1 to 7: out every 2 hours when awake. Days 8 to 14: every 3 hours. Days 15 to 21: every 4 hours.
- 3
Leash to the spot, stand still, say the cue once, wait up to 5 minutes. No play until after they pee.
- 4
Reward within 2 seconds of finishing: a pea-sized treat and calm praise, out there, not at the door.
- 5
No pee after 5 minutes: come back in, keep the dog with you or crated, try again in 15 minutes.
- 6
Inside, keep the dog in sight: leash on your belt, gated room, or a crate they can stand and turn in.
What if the peeing is sudden, or the dog is old?
A dog who was reliable for years and suddenly pees inside is a medical question first, so a urine sample goes to the vet before any training. An old dog who starts having accidents usually needs management, more trips out, a closer door and a pad by her bed, rather than a full retrain.
If this dog has been reliable for years and started peeing inside in the last few weeks, treat it as a medical question until proven otherwise. Urinary tract infections, bladder stones, early kidney trouble, diabetes and Cushing's all show up first as a dog who drinks more, pees more, or can't hold it as long. A spayed female who leaks a puddle where she was sleeping is usually a hormone-related incontinence, which is common and treatable with medication. Please get a urine sample to a vet before you spend three weeks training a dog who needs antibiotics. Bring the sample in a clean jar, caught first thing in the morning, and keep it in the fridge if you can't get there within an hour or two.
Things that look medical but aren't: a dog who pees in the house the week you moved, the week a baby came home, the week you went back to the office, or the week a second dog arrived. Those are habit breaks. The dog's routine changed and the dog did not get the memo about where to go in the new version of the day. Same reset, same three weeks.
A dog who pees in her sleep is a different problem from a dog who sneaks off to pee behind the couch. The sleeping dog doesn't know it's happening. Don't scold her, put a washable pad under her bed, and get her checked.
Old dogs are their own category. A twelve-year-old who starts having accidents may have a weaker sphincter, may be drinking more because of kidneys, may have arthritis bad enough that getting to the door and down the step is more effort than she wants to make at 3 a.m., or may have the beginnings of cognitive decline where she simply forgets. The signs of that last one are a dog who stands at the hinge side of the door, wanders at night, or stares at walls. For an old dog, the training plan shrinks to management: more trips out, a closer door, a ramp on the step, a pad near where she sleeps, and no expectation that she'll ever go back to holding it nine hours.
We go into both of these in more detail on our pages about a dog suddenly peeing in the house and an old dog peeing in the house.
What you're seeing usually points to the cause, and the cause tells you what to do first.
| What you see | What it usually means | First step |
|---|---|---|
| Reliable for years, now peeing inside | Medical until proven otherwise | First-morning urine sample in a clean jar to the vet |
| Started the week you moved, had a baby, went back to the office, or got a second dog | Habit break from a routine change | Start the 21-day reset tonight |
| Spayed female leaks a puddle where she was sleeping | Hormone-related incontinence, common and treatable | Washable pad under her bed, no scolding, vet visit |
| Small, frequent pees on door frames, furniture legs, bags | Marking, often set off by something new in the house | House leash, belly band or diapers, move or block the targets |
| Dribbles when greeted, scolded or leaned over | Excitement or submissive peeing, not a training problem | Greet outside, flat voice, make yourself smaller, no scolding |
| Old dog wanders at night, stares at walls, stands at the hinge side of the door | Possible cognitive decline, or kidneys, arthritis or a weaker sphincter | Management: more trips, closer door, ramp, pad near her bed, vet check |
How do I stop my dog from peeing in the house?
You stop a dog peeing in the house with a three-week reset: she is never alone where she can pee unnoticed, every outdoor pee is paid for on the grass, and every indoor puddle is cleaned without comment. It's the same plan for a puppy, a rescue, or a six-year-old who has checked out fine at the vet.
Here is the plan. It's the same plan for a puppy, a rescue who came to you at four, and a six-year-old who has started having accidents and checked out fine at the vet. The only thing that changes with age is how many trips out you need.
The idea underneath it: the dog is never alone in a room where she can pee unnoticed, every outdoor pee gets paid for, and every indoor pee gets cleaned without comment. Do that for three weeks and the dog builds a strong preference for outside. Do it for three days and nothing changes.
For the first week:
- She wears a light house leash, 4 to 6 feet, and the other end is attached to you, a chair leg, or your belt loop. If you can't supervise, she's in her crate or a small gated area with a floor you've cleaned.
- She goes out on a leash, even if you have a fenced yard, first thing in the morning, after every meal, after every nap, after any play that gets her panting, and last thing before bed. For most adult dogs that is six to eight trips a day in week one.
- Outside, you stand still in one spot and say nothing. Give her the length of the leash. Wait up to five minutes. If she goes, the second she finishes you say a quiet "yes" and hand her a piece of chicken or cheese, right there on the grass, not back at the door. Then take a short walk as a second reward.
- If she doesn't go in five minutes, back inside, leash on you, try again in 15 to 20 minutes.
- Keep a log on the fridge. Time out, did she pee, did she poop, any accidents and where. By day four the log will show you her pattern, and the pattern tells you when the next trip has to happen.
When you catch her mid-pee inside, make a sharp sound, something like a clap, pick up the leash and walk straight out. If she finishes outside, pay her. If you find a puddle after the fact, clean it and say nothing. She cannot connect your face with something she did ten minutes ago, and a dog who gets scolded over an old puddle learns to pee where you can't see.
Week two, stretch the gaps between trips by 30 minutes if the log shows two clean days in a row. Week three, let her off the house leash in one room at a time, starting with the room where accidents never happened, and only when she's just come in from a successful pee.
How long can a dog hold it? A healthy adult dog is comfortable for four to six hours and can be pushed to eight, but shouldn't be routinely. A dog who is being retrained should not be asked to hold it more than four hours during the three weeks, because every hour past comfortable is an hour she's looking for a spot. If your workday is nine hours, that's a dog walker or a midday trip home, at least for now.
Most owners get stuck on the standing-still part. They walk the dog around the block, the dog sniffs for twenty minutes, comes home, and pees on the rug. Walking is interesting. A dog who wants to keep walking will hold it. Pee first, walk second, every time, and the dog learns that peeing is what makes the walk start.
The cue comes later. Once she's reliably peeing outside, say "go pee" in a flat voice as she starts to squat, not before. Two weeks of that and you can say it on arrival and she'll go.
The full day-by-day schedule, with what to do when a day goes wrong, is on our page on how to house train a dog. If the dog has been peeing on pads or in a yard and has never understood that pee happens on a leash in a specific place, read how to teach a dog to pee outside first.
How do I clean dog pee so she doesn't go back to the spot?
Blot a fresh puddle with towels you stand on, then pour, don't spray, an enzymatic cleaner deep enough to reach where the urine went and keep it damp for hours before it air dries. Skip heat, skip ammonia, and once the spot is clean put a bed, bowl or chair on it so it stops being a toilet.
This is the step people skip, and it's why dogs keep going back to the same spot. Urine on carpet soaks through to the pad and the subfloor. The surface dries, you can't smell it, and the dog can. The spot now smells like a toilet, and dogs prefer to pee where there's already pee.
For a fresh puddle on carpet: fold a towel, put it over the spot, stand on it. Swap for a dry towel and stand again. Keep going until the towel comes up almost dry. That gets most of the liquid out before it spreads. Then an enzymatic cleaner, and here's the part that matters: enough of it to soak as deep as the urine went, which on a big puddle means pouring, not spraying. Let it sit wet. The enzymes work while they're damp, and they stop working when they dry. Cover the spot with a damp towel for a few hours if the room is warm. Then let it air dry. Don't rinse it out early and don't use the steam cleaner first. Heat sets the protein in urine and makes the smell permanent.
For an old spot you can't find: shut the lights off at night and walk the room with a blacklight. Dried urine glows a dull yellow-green. Mark each patch with a piece of painter's tape and treat them all the next day. You'll find more than you expected. If you're renting a carpet shampooer, use it only after the enzyme treatment has dried, and skip the heat setting.
Vinegar and water, half and half, is fine on hardwood and tile and will neutralize the ammonia smell on a sealed surface. It will not get to the pad under a carpet and it doesn't break down the uric acid crystals that make the smell return in humid weather. Baking soda sprinkled on a dry spot after the enzyme treatment helps pull out residual odor; sprinkled on a wet spot instead of the enzyme treatment, it just makes paste. If urine has gotten under hardwood boards or into the subfloor, no cleaner reaches it, and the floor section either comes up or gets sealed. Hard floors are the easy part, but carpet pad needs its own method for getting dog pee smell out of carpet.
Poop on carpet: pick up the solid, scrape what's left with a spoon or a putty knife toward the center, then the same enzymatic cleaner. Don't rub. Rubbing pushes it into the fibers.
The one thing not to use is anything ammonia-based. Urine smells like ammonia to a dog. You'd be marking the spot for her.
Once a spot is clean, change what the spot is. Put a dog bed there, or her food bowl, or a chair. Dogs don't pee where they eat or sleep. If it's the end of a hallway she goes to when nobody's looking, close the hallway off with a baby gate for the three weeks.
We keep a longer page on how to get dog pee smell out of carpet, including what to do with a mattress and a car seat. And if there's one patch she returns to no matter how you clean it, read dog keeps peeing in same spot in house, because by that point it's usually not a cleaning problem.
How can I tell if my dog is marking?
Marking is small, frequent, and vertical. A dog who leaves a tablespoon on the corner of the couch, the door frame, your gym bag, and the leg of the new coffee table is not emptying her bladder. She's labeling things. Intact males do it most, neutered males do it, females do it, and it tends to start or spike when something new comes into the house: furniture, a visiting dog, a baby, a roommate.
The house-training plan handles most of it, with three changes.
One, supervision has to be tighter, because marking takes two seconds and the dog doesn't give you the circling-and-sniffing warning she gives before a real pee. The house leash is not optional for a marker.
Two, you need a belly band for a male or washable diapers for a female for the three weeks. The band is a strip of fabric with an absorbent pad that wraps around his middle. It doesn't train anything by itself, but it stops the habit from getting practiced while you train, and most dogs who try to mark into a band find it unpleasant enough that they stop trying within a week. Change it the moment it's wet. A dog in a wet band gets a rash.
Three, the things he's been marking need to move or be cleaned and blocked. If he marks the same door frame every time, a chair in front of it for three weeks. If it's a guest's suitcase, the suitcase goes in a closed room.
Neutering an intact male often reduces marking and sometimes stops it, but the longer he's been doing it, the more of it is habit rather than hormone, and habit doesn't go away with surgery. We have had plenty of neutered dogs on the plan. It still takes the three weeks.
What doesn't work is punishing the dog for marking. He marks more when he's anxious, and a dog who's being chased around the house is anxious.
There's more on belly bands, multi-dog houses and dogs who mark only when visitors come on our page on how to stop dog from marking in the house.
Why is my dog peeing on my bed?
A dog pees on your bed because it smells like you, it's soft and absorbent, and nobody is in the room for most of the day, not because she's getting back at you. Close the bedroom door when you're not in it for all three weeks, and treat the mattress like carpet with enzymes and a long soak.
Owners take this one personally. They shouldn't. A dog does not pee on your bed to get back at you. Dogs don't have the idea of revenge. What the bed has is your smell, soft absorbent fabric, a surface that's up off the ground, and a room you're not in for most of the day. For an anxious dog, your pillow is the safest-feeling spot in the house. For a dog with a bladder infection, it's the softest. For a dog who's just not house trained, it's a place where nobody's looking.
So the bed gets handled like any other spot, with one extra rule: the bedroom door is closed when you're not in it, for all three weeks and probably for a while after. Most people resist this. Do it anyway. A dog who can't reach the bed can't pee on it, and a habit that doesn't get practiced fades.
Strip the bed down to the mattress and treat it the same way as carpet, enzymes poured not sprayed, long soak, air dry. A mattress protector that zips all the way around is worth buying for the duration.
If she's peeing on the bed only when you're not home, and she also paces, drools or chews the door frame while you're gone, that's separation distress and the peeing is a symptom. The house-training plan doesn't fix that by itself. If she's peeing on the bed while you're in it, asleep, that's most likely incontinence, and it's a vet visit, not a training issue.
Pooping on the bed is rarer and almost always either a dog who can't hold it (schedule problem, or illness) or a dog who was never fully trained and has found the one room in the house where nobody interrupts her.
The longer version, including what to do with a dog who sleeps in the bed with you and has started leaking, is on our page about a dog peeing on my bed.
Why does my dog pee when excited or nervous?
A dog who dribbles when greeted or scolded isn't choosing to pee; her bladder lets go when she's overwhelmed. Keep greetings flat and outside, don't lean over or reach over her, and never scold, because scolding makes the next puddle bigger.
This one has nothing to do with house training and the three-week plan won't touch it. A dog who dribbles when you come home, when a guest bends over her, or when she gets scolded is not choosing to pee. Her bladder lets go when she's overwhelmed. Excitement peeing is the puppy who sprinkles while wiggling at the door. Submissive peeing is the dog who rolls partway over, flattens her ears, and leaks when a tall person reaches for her collar. Same mechanism, different trigger.
Young dogs mostly grow out of excitement peeing by a year or so, as long as nobody makes it worse. The way to make it worse is to react, in either direction. Loud happy greetings make it worse. Scolding makes it much worse, because now she's being told off while she's already overwhelmed, and the next greeting gets a bigger puddle.
What helps:
Greet her outside. Come in, don't look at her, walk to the back door, open it, let her out. Say hello in the yard once she's peed on the grass.
Make yourself smaller. Crouch sideways, don't lean over her, don't reach over her head. Let her come to you. Scratch under the chin, not on top of the skull.
Keep your voice flat. The excitement is coming from you as much as from her. Boring owners get drier floors.
Have guests ignore her for the first five minutes. Hand them a treat to drop on the floor near her, without bending down.
Don't fill her bladder right before a trigger. If you know the kids are getting home at 3:30, take her out at 3:15.
For a submissive dog, the long-term fix is confidence, built slowly. Hand-feeding meals, short training sessions with lots of easy wins, nobody in the house grabbing her collar. It takes months, and it's worth it.
Our page on a dog pees when excited covers the difference between the two more carefully, and what to do about a dog who has never grown out of it.
What if my dog is pooping in the house?
Pooping in the house is usually a timing problem, since a dog poops 15 to 30 minutes after a meal on a fixed schedule. Feed two meals at the same times, log when she goes for three days, then take her out at the start of her window and stand still.
Pooping in the house is easier to fix than peeing, because poop is predictable and pee isn't. A dog poops a set number of times a day, usually 15 to 30 minutes after a meal, and the timing is almost the same every day if the meals are at the same time and the food is the same.
So: feed on a schedule, two meals, same times, and pick the bowl up after 15 minutes whether she's finished or not. No free-feeding and no all-day kibble. Then log when she poops for three days. You'll find her window. Take her out at the start of it and stand still until she goes.
A dog who poops in the house in the night is usually a dog who got dinner too late, or a dog who's being asked to hold it too long. Move dinner earlier, two hours before her last trip out.
A dog who poops right after a walk, on the floor inside, is usually one who got distracted outside and didn't finish. Walk is interesting, pooping is not. Go to the same boring patch of grass, wait for the poop, then start the walk.
Loose stool is a different thing. A dog with diarrhea can't hold it and isn't being disobedient. Bland food for two days, and if it's not firming up, a vet.
Dogs who poop in the house when left alone, and only then, are usually anxious rather than untrained. See the notes in the bed section.
The schedule approach, with what to do about a dog who eats grass and poops three times a day, is on our page on how to stop dog from pooping in the house.
Crates and pee pads
The crate is the backbone of the three-week plan, because it's the one place you can put a dog you can't watch and be confident she won't pee. That only holds if the crate is the right size and the dog isn't left in it too long.
Right size means she can stand up, turn around and lie down, and not much more. A crate big enough for her to pee in one end and sleep in the other defeats the purpose. Most wire crates come with a divider. Use it.
A dog who keeps peeing in the crate is telling you one of a few things. She's been left in it longer than she can hold it. She was crated for long stretches somewhere before you got her, and she learned that pee in the crate is normal, which is common in dogs from pet stores and some shelters. There's a soft bed in there that soaks it up and feels fine to her afterward. She has an infection. Or she's panicking in there and the pee is part of the panic, in which case the crate isn't the right tool for her and a gated room is.
For a dog who's learned to pee in the crate, strip it to a bare plastic tray, shorten crate time to two hours maximum, take her out the second she comes out, and pay her on the grass. Reintroduce bedding after a week of dry crates. Don't leave a water bowl in the crate during the three weeks; water her well at mealtimes and after trips out.
Pee pads are a separate decision. If you live on the fourteenth floor, have a dog who weighs six pounds, or are home-bound, pads might be the permanent answer, and that's fine. Train the pad like a spot outside: it goes in one place, the dog is led to it after naps and meals, and she gets paid for using it. Keep one lightly used pad in the spot when you change them, so the spot still smells like the toilet. Don't put pads in three rooms. One toilet.
If pads are a bridge to outdoor training, move the pad toward the door a foot or so every day, then just outside the door, then onto the grass, then take it away. Most dogs make the jump within two weeks. The ones that don't are usually ones who were given pads and a yard at the same time and never understood that there was a difference.
The mistake we see most is a dog who's had pads for two years and is now being asked to stop using the rug, which to her is a large beige pad. Pick up the pads completely if you're going outdoor-only, and run the three-week plan from the start.
More on a dog keeps peeing in crate and on how to train a dog to use a pee pad on their own pages.
What the three weeks look like from the inside
Day one you'll feel like you're taking the dog out every hour, because you are. Day three the log starts to make sense. Around day five you'll have a good day and be tempted to let her have the run of the house. Don't. Day eight or nine there will be an accident, usually in a spot you thought was done, usually because someone in the family got relaxed. Clean it, say nothing, go back to the leash. By the end of week two most dogs are going to the door on their own. Week three is about letting her prove it, one room at a time.
The dogs who don't make it in three weeks are almost always dogs who were left alone with a full bladder somewhere in the plan, dogs who were punished for a puddle and went underground, or dogs who had something medical that didn't get checked. Fix the one that applies and start the count again.
A few things we'd tell a friend. Don't rub her nose in it. It's been known not to work for about as long as people have been doing it. Don't bring her to the puddle and point. Don't withhold water, beyond the crate rule, because a dehydrated dog gets concentrated urine and that's its own problem. Do keep the log, even when it feels silly, because the log is the only thing that tells you whether it's getting better or you just had a good Tuesday.
And give it the full three weeks before you decide anything. Most of the dogs who show up in our inbox as hopeless were given a week.
If you want the schedule, the log sheet and the week-by-week checklist in one place, that's our guide, Calm Home in 21 Days.
Frequently asked questions
How long does it take for a dog to stop peeing in the house?
Give it three weeks. Day one feels like hourly trips, the log makes sense by day three, and expect an accident around day eight or nine. By the end of week two most dogs go to the door, and week three lets her prove it one room at a time. Dogs given only a week usually fail.
Why is my dog suddenly peeing in the house and drinking lots of water?
Treat it as medical until a vet says otherwise. Urinary tract infections, bladder stones, early kidney trouble, diabetes and Cushing's all show up first as a dog who drinks more, pees more, or can't hold it as long. Catch a first-morning urine sample in a clean jar, keep it in the fridge, and get it to the vet soon.
My dog keeps peeing in the house even after going outside. Why?
Usually she walked instead of peeing. Walking is interesting, so a dog who wants to keep walking holds it, then empties on the rug at home. Stand still in one spot on a leash, wait up to five minutes, pay her on the grass the second she finishes, and only then start the walk.
What can I spray to keep my dog from peeing in the house?
No spray trains a dog; the three-week reset does. What matters is removing the smell that draws her back: an enzymatic cleaner poured deep enough to reach the carpet pad, left damp, then air dried. Never use anything ammonia-based, since urine smells like ammonia to a dog. Then put a bed, bowl or chair on the spot.
Is my dog peeing in the house on purpose?
No. Dogs don't have the idea of revenge, so a dog is never peeing to get back at you. She's either not fully house trained, marking, sick, or thrown by a change in routine. Scolding makes it worse, because a dog told off over a puddle learns to pee where you can't see her.
Why is my male dog peeing in the house all of a sudden?
If it's small, frequent and on vertical things like door frames or a new bag, he's marking, and it often starts when something new comes into the house. If it's puddles from a dog who was reliable for years, treat it as medical and get a urine sample to the vet. Either way, start the house leash tonight.
How do I house train an adult dog at night?
Last trip out is the final thing before bed, with dinner two hours before that. Crate her overnight in a crate where she can only stand, turn and lie down; strip the bedding if she's peed in it before. A healthy adult can hold it eight hours at a push; an old dog needs a pad near her bed.

Calm Home in 21 Days
The 21-day re-house-training plan for adult and adopted dogs: accidents, marking, excited peeing and what to do when they are left alone. Vet-first, reward-based, 6 printable tools.
See the plan →Not sure yet? Take the free 2-minute quiz
Sources
- Borns-Weil S (2019). Inappropriate Urination. Vet Clin North Am Small Anim Pract.
- Kim SH et al. (2025). Recent advances in diagnostic and therapeutic strategies for canine cognitive dysfunction. Am J Vet Res.
- Olby NJ et al. (2026). The Canine Cognitive Dysfunction Syndrome Working Group guidelines for diagnosis and monitoring of canine cognitive dysfunction syndrome. J Am Vet Med Assoc.
- Pavlovsky G (2026). Psychogenic polydipsia in dogs - a review of pathogenesis, diagnosis and treatment. J Small Anim Pract.
- AVSAB (American Veterinary Society of Animal Behavior). Position statements on humane training, punishment and puppy socialization.
Educational content from the CalmHome team. Not veterinary or behavioral advice for your specific dog. If your dog has bitten, or behavior changed suddenly, see your veterinarian and a certified professional.











