Start with a veterinary check
Before you change anything about training or routine, take your dog to a veterinarian. Accidents inside the house are often a medical problem, not a behavior problem. Urinary tract infections, diabetes, kidney disease, and incontinence all cause dogs to lose control of their bladder or feel an urgent need to urinate more often.
Tell the vet how often the accidents happen, whether your dog seems to strain or cry out, and whether the urine looks normal or cloudy. A urinalysis and blood work take a few days but will rule out infection and disease. If your dog gets a clean bill of health, then the problem is behavioral or habitual, and training will work.
Key Takeaways
- Medical problems like urinary tract infections cause most indoor accidents in adult dogs, so a vet visit comes before any training change.
- Establish a fixed schedule: take your dog outside first thing in the morning, after meals, after naps, before bed, and every two to four hours during the day.
- Reward your dog when ready with praise and a treat the moment they finish urinating outside, so they learn that outside is the right place.
- Clean accidents with enzymatic cleaner, not ammonia-based products, because regular cleaners leave a scent that tells your dog that spot is a bathroom.
- Confine your dog to a small space like a crate or pen when you cannot watch them, because dogs naturally avoid soiling where they sleep.
Build a predictable bathroom schedule
Dogs learn fastest when they know when to expect a bathroom break. Take your dog outside at the same times every day: first thing in the morning, after breakfast, after lunch, after dinner, after playtime, and before bed. Puppies and senior dogs need more frequent breaks — every two to three hours during the day. Adult dogs usually do well with breaks every four to six hours.
Write down the times you take your dog out and note when they actually urinate. After a week or two, you will see a pattern. Your dog's body will start to anticipate the schedule, and they will be ready to go at those times. This makes accidents less likely because your dog is not holding urine for too long.
If your dog has an accident at a time you did not expect, add an extra break at that time. If accidents happen two hours after dinner, take your dog out one hour after dinner instead.
Reward when ready when your dog urinates outside
The moment your dog finishes urinating outside, say "yes" or "good" in a happy voice and give a treat within two seconds. Your dog needs to connect the reward directly to the act of urinating in that spot. If you wait until you come back inside, your dog will not understand what earned the reward.
Use a treat your dog loves — something small enough to eat in one bite but special enough that they only get it for this. Cheese, chicken, or a commercial training treat all work. Praise alone is not enough for most dogs learning this behavior; the food reward makes the connection clear.
Keep doing this every single time your dog urinates outside, even after months of no accidents. The reward is what keeps the behavior strong.
Confine your dog when you cannot supervise
Dogs have a natural instinct not to soil where they sleep. Use this by keeping your dog in a crate, pen, or small room when you cannot watch them closely. The space should be small enough that your dog cannot urinate in one corner and sleep in another. A crate is usually the right size for this.
Do not use confinement as punishment. Your dog should see the crate as a safe space. Leave the door open during times when you are home and watching, so your dog can go in and out freely. When you leave or cannot watch, close the door. This teaches your dog to hold their urine until you let them out for a scheduled break.
Never leave your dog confined for longer than they can physically hold their urine. A general rule is one hour per month of age for puppies, up to about eight hours for adult dogs. If you work long hours, hire a dog walker or ask a neighbor to let your dog out midday.
Clean accidents with the right product
Regular cleaners and ammonia-based products do not remove the scent that tells your dog a spot is a bathroom. Use an enzymatic cleaner made for pet urine. These break down the uric acid in urine so the smell is completely gone to your dog's nose.
Soak the spot thoroughly with enzymatic cleaner, let it sit for the time the bottle says (usually 10 to 15 minutes), and then blot it up. Do not rinse with water right away, because that can spread the urine deeper into the carpet or floor. Let the cleaner dry completely.
If you cannot find the accident until hours later, soak the area anyway. Even old urine has a scent your dog can smell. Enzymatic cleaners work on old stains too, though fresh ones are easier to treat.
Manage water intake in the evening
Your dog needs constant access to fresh water during the day, but you can manage timing to reduce nighttime accidents. Stop offering water about two to three hours before bedtime. This gives your dog time to urinate before they settle down for the night.
If your dog seems thirsty in the evening, offer a few ice cubes instead of a full bowl of water. Ice cubes satisfy the urge to drink without adding much liquid to the bladder.
This strategy works best for adult dogs. Puppies and senior dogs may need water more often, so check with your vet before restricting water.
Watch for signs your dog needs to go out
Learn your dog's signals. Many dogs sniff the floor, circle, whine, go to the door, or become restless when they need to urinate. Some dogs have their own unique signal. The moment you see these signs, take your dog outside when ready. Do not wait for the scheduled time.
Catching your dog before an accident happens and rewarding them for going outside is much faster than cleaning up accidents and trying to correct the behavior after the fact. If you see your dog starting to squat indoors, calmly interrupt them, take them outside, and reward them if they finish outside.
Frequently Asked Questions
How long does it take to housetrain a dog?
Most adult dogs show improvement within two to four weeks of a consistent schedule and reward system. Puppies take longer — usually four to six months of consistent training before they are reliably housetrained. Senior dogs may take longer if they have developed a habit of going indoors. The timeline depends on how consistently you follow the schedule and reward system.
What if my dog only has accidents when I leave the house?
This is often separation anxiety, not a housetraining problem. Your dog may be urinating from stress or fear, not because they need to go. Work on leaving your dog alone for short periods and gradually building up the time. Crate training and a consistent schedule still help, but you may also need to address the anxiety itself with a trainer or veterinary behaviorist.
Can I punish my dog for having an accident?
No. Punishing your dog after an accident teaches them to hide and urinate in secret places, not to go outside. Your dog does not understand that you are angry about where they went; they only learn to fear you. Stick to rewarding outdoor urination and preventing accidents through confinement and schedule.
Should I use puppy pads or training pads indoors?
Puppy pads can confuse your dog about where it is acceptable to urinate. If you use them, place them in a designated spot and treat them like an outdoor bathroom — reward your dog for using them, then gradually move them closer to the door and outside. Most trainers recommend skipping pads entirely and going straight to outdoor training, because it is faster and clearer for your dog.
What if my dog was housetrained and suddenly started having accidents?
A sudden change in a housetrained dog almost always signals a medical problem. Schedule a vet visit when ready. If the vet finds nothing wrong, the cause may be a change in routine, a move to a new home, or a stressful event. Go back to basics: a strict schedule, frequent outdoor breaks, and rewards for going outside.