How to House Train Your Dog

A reliable house training routine that works for puppies, adult dogs, and dogs who used to be good but have started having accidents again — built on boring walks, good timing, and zero punishment.


If your puppy just peed on the rug for the third time today and you're wondering what you're doing wrong, the answer is probably simpler and less personal than you think. Your dog isn't being defiant or lazy. The steps below work for puppies who have never been trained, adult dogs who never learned, and dogs who seemed house trained but have started backsliding. Start at Step 1 — and when something isn't working, we explain exactly what your dog is telling you.


Before you start

You need three things: a leash, small treats your dog gets excited about, and a plan for getting outside quickly. If you live in an apartment, know your route to the nearest grass patch and practice it once without the dog so you're not fumbling with doors and elevators when it matters. If you have a yard, pick one spot and use it consistently.

Before heading out, check: can your dog take a treat from your hand calmly? If they're already spinning, whining, or too excited to focus, let them settle first — a short game of tug or a few minutes of sniffing in the yard can help them shift gears.

One more thing: this process is boring on purpose. That's the method, not a flaw in the method. Exciting outdoor time comes after the dog has done their business, not during.


Step 1: Take the dog out on a leash and walk slowly

Take your dog outside on a leash. Walk around slowly in a small area. Don't play. Don't talk to the dog. Don't make the trip exciting. Just walk.

The dog needs to get bored enough to relax, and a relaxed body is a body that's ready to relieve itself. Excitement tightens everything up.

Plan to be out for up to 10-15 minutes. Most dogs will go within that window if conditions are right.

If that worked: The dog relieved themselves. Go to Step 2 immediately — the timing matters.


Dog sniffs everything, pulls toward every distraction, but never actually goes?

The outside world is too stimulating right now. Your dog is in exploration mode, not relaxation mode. Their brain is busy processing smells, sounds, and sights, and their body isn't settling enough to go.

Try this: Shrink the area. Stand in one boring spot — a patch of grass with nothing interesting nearby — and let the dog circle on a short leash. Don't walk around the block. Don't let them investigate bushes, other dogs, or trash cans. Remove the options. When the only thing to do is stand there, most dogs will eventually relax and go. If after 10-15 minutes nothing happens, go back inside, crate or closely supervise the dog for 15 minutes, and try again. Don't give the dog unsupervised freedom inside after a failed trip outside — that's when accidents happen.

Dog sniffs around outside for 15 minutes, does nothing, then pees inside two minutes after coming back in?

This is one of the most frustrating patterns in house training, and it happens because the outside environment is too exciting for the dog to relax. Outside, they were stimulated and holding it. Inside, they finally relaxed — and the bladder let go.

Try this: Make outside more boring. Go to the smallest, dullest patch of ground you can find. Stand still. No walking, no sniffing adventures, no interaction. Just stand and wait. If the dog doesn't go within 10 minutes, bring them back inside and immediately crate them or keep them on a leash attached to you — zero freedom. Wait 10-15 minutes, then go back outside to the boring spot. Repeat this cycle until the dog goes outside. The moment they do, mark and reward generously, and only then allow some free time. The dog learns: the boring wait ends when I go, and good things follow.


Step 2: Mark the moment calmly

The moment the dog finishes relieving themselves, say "good" calmly and give a treat. Calm is the key word. Don't throw a party. Over-excitement can interrupt a bladder or bowel that isn't fully empty, and dogs rarely empty completely on the first attempt.

After the initial reward, continue the slow walk for another minute or two. Give the dog a chance to go again. Many dogs need a second pass.

If that worked: The dog went, you marked it, they finished completely. Now you can go back inside — or, if you like, reward them with some off-leash play or a more interesting walk. The fun comes after the business.


Dog went outside but then had another accident inside shortly after?

The dog probably didn't empty fully. This is extremely common, especially with puppies. Their bladder control is still developing, and one squat doesn't always mean they're done.

Try this: After the first mark and treat, continue walking slowly for another two to three minutes. Let the dog sniff and circle. If they go again, mark and treat again. Don't rush back inside after the first success. Give the full bladder a chance to finish its job. As you learn your dog's pattern, you'll learn whether they're a one-trip or two-trip dog.


Quick check: Are you getting outside frequently enough? If accidents are frequent, you're not taking the dog out often enough. The most common fix is simply going out more often. Increase frequency before changing anything else.


Step 3: Control the inside environment completely

Between trips outside, the dog should have zero unsupervised freedom inside. This is management — you're preventing accidents by removing the opportunity for them.

Your options:

The moment you see sniffing, circling, squatting posture, or restlessness — go outside immediately. Don't wait to "see if they really need to go." They do.

If that worked: You're catching every signal, getting outside in time, and marking every outdoor success. Accidents are becoming rare because you're not giving them the opportunity to happen.


Dog has accidents in the crate?

If the crate is too large, the dog can soil one end and sleep in the other. The crate should be just big enough for the dog to stand, turn around, and lie down.

If the crate is the right size and accidents are still happening, the dog may be spending too long in the crate. Puppies can't hold it for the hours that adult dogs can.

Try this: Reduce crate time. Increase trip frequency. If the dog is soiling a properly sized crate even with frequent trips outside, talk to your vet — there may be a medical factor.

You can't watch the dog every second and accidents are happening during the gaps?

That's not a training failure. That's a management gap. Every unsupervised moment inside is an opportunity for the dog to practice the wrong habit. Each accident inside reinforces the idea that inside is an acceptable place to go.

Try this: If you can't actively watch the dog, crate them. It's not punishment — it's prevention. A dog in a crate is a dog who isn't having an accident. When you're available to supervise, the dog comes out and you watch for signals. This is tedious, and it won't last forever. But the more consistent you are now, the faster this phase ends.


Step 4: Build the routine

Dogs are pattern machines. Use this in your favor. Take the dog out at the same times every day:

Same door. Same spot outside if possible. Same boring walk. Same calm marker when they go. The routine becomes automatic. Over days and weeks, the dog starts moving toward the door on their own — not because they understand a moral rule about where to pee, but because the pattern is deeply grooved: outside is where it happens, and good things follow.

If that worked: Your dog is going outside reliably on the routine, and accidents are rare or nonexistent. You're in maintenance mode.


Puppy was doing great for a week, then suddenly started having accidents again?

This is normal. Regression in house training is so common it should be expected, not feared. Puppy bladders are still developing. Hormonal changes, growth spurts, new environments, changes in schedule — all of these can cause a puppy who seemed trained to temporarily lose reliability.

Try this: Don't panic and don't punish. Go back to the tighter management from Step 3. Increase trip frequency. Shorten the leash on indoor freedom. Treat this exactly like you did the first week — full supervision, frequent trips, marking every outdoor success. The foundation you built is still there. The puppy just needs the scaffolding back for a bit. This usually resolves within a few days to a week.

Dog is house trained at your home but has accidents at other people's houses?

This is a generalization gap. Your dog learned where to go and where not to go based on location, not a general rule. "Don't pee inside" is a human concept. Your dog learned "I don't pee inside this specific house." A friend's house is a new environment with new smells and none of the learned patterns.

Try this: When you bring your dog to a new indoor space, treat it like day one of house training. Take them to the outdoor toilet area immediately upon arrival. Walk the boring walk. Mark and reward success. Keep them on leash or within arm's reach inside the new space. Don't assume house training transfers — prove it in each new location, and the dog will generalize faster the more places they succeed.


Quick check: How are you responding to accidents? If you feel a flash of frustration when you find a puddle, that's completely human — but what you do next matters. If you've been cleaning up silently and increasing your outdoor trips, you're doing this right. If you've been scolding, read the section below. Your response to accidents is one of the biggest factors in how fast this process works.


Step 5: When accidents happen — and they will

Accidents are information, not misbehavior. When one happens:


You punished after the fact, and now your dog hides to pee behind furniture or in other rooms?

This is the most common and most misunderstood outcome in house training. Your dog didn't learn "don't pee inside." Your dog learned "don't pee where humans can see me." The punishment was connected — in the dog's brain — to your presence during urination, not to the location.

This isn't your fault. It's intuitive to think that showing a dog the mess teaches them what they did wrong. But dogs live in a 1-to-3-second window. By the time you found the accident, the event was already disconnected from any consequence you could apply. The dog only knows: human found pee, human got angry. The takeaway is "pee is dangerous when humans are around."

Try this: Stop all punishment immediately. Your first job is to rebuild the dog's willingness to go in front of you — because you need to be present to mark and reward outdoor success. Go back to Step 1. Boring walks. Patience. When the dog finally goes in front of you outside, mark it calmly and reward generously. You may need to stand very still, look away, or even sit down to reduce the pressure the dog feels. Over time, the dog relearns that going in your presence is safe and rewarding. This takes patience, but the pattern will rebuild.

If this isn't clicking yet

Some puppies are reliable within two weeks. Some adult dogs take a month. Both are normal, and the timeline tells you nothing about your dog's intelligence or your skill.

If you've tried the adjustments above and you're still struggling, the issue is almost always one of these things:

  1. The management isn't tight enough. Every accident inside is a repetition of the wrong habit. If accidents are happening regularly, the dog has too much unsupervised freedom. Tighten the crate schedule, shorten the leash, reduce the free-roaming area. Make it impossible to fail, and success becomes the only pattern.
  2. The reward outside isn't landing. If the dog doesn't care about the treat you're offering outdoors, the outdoor success isn't getting marked strongly enough. Upgrade the treat. Use something the dog only gets for bathroom success. The reinforcement needs to be strong enough that the dog starts to prefer going outside because of what follows.
  3. Your dog needs a different approach. Some dogs experiment and figure things out on their own — they try different spots, different timing, and land on the pattern quickly. Others wait to be shown. If your dog doesn't seem to be "getting it" despite consistent trips outside, try making the routine even more predictable — same time, same door, same path, same spot. Luring them to the exact spot with a treat trail can help a dog who needs more guidance connect the dots faster.
  4. The schedule doesn't match the dog's biology. Puppies need to go out far more often than most people realize. If you're taking a three-month-old puppy out every three hours and having accidents, try every 45 minutes. Match the schedule to the dog's actual capacity, not to what seems reasonable for your day. As the dog matures, you can stretch the intervals.

These aren't character flaws in your dog. They're variables. Adjust the variables.


Making it harder (gradually)

Once your dog is reliably going outside on your schedule with zero or near-zero accidents, you can start loosening the management:

The single biggest mistake in this phase is giving full freedom too soon. A dog who's been reliable for one week in the kitchen doesn't get the run of the house. Expand the territory gradually. If the dog fails, shrink back to the last area where they were reliable. That's not a setback — it's the dog showing you the current boundary of their learning.


Why this works

House training is almost entirely a management problem disguised as a training problem. Every accident that happens unsupervised is a pattern being practiced — and that's not on the dog. The dog who's reliable in six weeks had a handler who was vigilant for six weeks. Your half comes first.

House training is pure classical conditioning. The dog forms an association: outside + relieving themselves = good things happen. Over hundreds of repetitions, that association becomes automatic. The dog moves to the door not because they understand a rule, but because the pattern is deeply embedded.

Punishment doesn't work here because of the 1-to-3-second window. The dog can't connect a consequence to an event that happened more than a few seconds ago. This is why punishment creates hiding, not house training.

How Dogs Think → — why your dog lives in a 1-to-3-second world and what that means for everything you do How Learning Works → — the full picture of classical and operant conditioning


Go deeper