Medical problems are the first thing to rule out

When a cat suddenly starts peeing outside the box, a urinary tract infection, bladder stones, or kidney disease is often the cause. These conditions create pain or urgency that makes your cat associate the box with discomfort, so they go elsewhere instead. A cat with a UTI may also pee more frequently, strain while urinating, or produce cloudy or bloody urine.

Diabetes and hyperthyroidism (overactive thyroid) both increase thirst and urination, so your cat may straightforward not make it to the box in time. Older cats are especially prone to these conditions. The only way to know is a vet visit—a urinalysis and blood work take an hour or two and cost between $100 and $300 depending on your vet, but they rule out or confirm medical causes before you spend time on behavioral fixes that won't work if the problem is physical.

If your vet finds nothing wrong, the cause is almost always behavioral or environmental, and those have straightforward solutions.

Key Takeaways

  • A vet should examine your cat and run urine and blood tests before you assume the problem is behavioral, because UTIs, diabetes, and kidney disease are common causes.
  • Cats often pee outside the box because there are not enough boxes, the box is too small or dirty, or the location has changed.
  • The rule of thumb is one box per cat plus one extra, placed in different rooms away from food and water bowls.
  • Litter depth, type, and scent matter—most cats prefer unscented litter about 2 inches deep, and some will reject a box if you switch brands suddenly.
  • Stress from a new pet, moving, or changes in routine can trigger inappropriate urination even in cats who used the box perfectly before.

Not enough boxes, or boxes in the wrong places

The most common behavioral cause is straightforward too few boxes. The standard rule is one box per cat plus one extra—so a two-cat household needs three boxes. If you have only one box and two cats, one cat may avoid it because the other cat is using it, or because they feel trapped with no escape route.

Location matters as much as quantity. Cats avoid boxes placed near their food and water bowls, because in the wild they do not eliminate near where they eat. If your box is in the kitchen or next to the food station, move it to a different room. Boxes should also be in low-traffic areas where your cat feels safe and can see an escape route—a corner behind a door or in a laundry room works better than the middle of a hallway.

If you have a multi-level home, put at least one box on each floor. A cat on the second floor may not make it downstairs in time if the only box is in the basement.

The box itself is too small, too dirty, or the wrong type

A box that is too small forces your cat to crouch over the edge, which feels unsafe. The box should be at least 1.5 times the length of your cat's body from nose to tail. If your cat is large or you have a senior cat with arthritis, an extra-large storage container with a hole cut in the side works better than a standard litter box and costs less.

Cleanliness is non-negotiable. Scoop the box at least once daily, and completely change the litter once a week. A box that smells strongly of old urine or feces tells your cat the bathroom is full, so they find a new one. This is especially true for cats with multiple boxes—if one box is neglected, they will use the clean one until it also gets dirty, then move to the carpet.

Some cats are picky about litter type. Most prefer fine, unscented clumping litter about 2 inches deep. If you recently switched brands, your cat may reject the new litter and pee on the floor instead. If you need to change litter, do it gradually over a week—mix the new litter with the old, increasing the ratio each day so your cat adjusts to the texture and smell.

Stress and changes in routine

Cats are creatures of habit, and major changes trigger stress-related peeing. A new pet, a move to a new house, a family member leaving or arriving, or even rearranging furniture can cause a cat to mark territory or avoid the box. This is especially common in cats who are naturally anxious or who have not been socialized to handle change.

If the inappropriate urination started after a specific event—a new roommate, a new dog, a house renovation—the cause is likely stress. In these cases, give your cat extra attention, maintain their routine as much as possible, and consider a Feliway diffuser, which releases a synthetic version of the calming pheromone cats naturally produce. These plug into a wall outlet like an air freshener and cost $20 to $30 for a starter kit.

If stress is the cause, the peeing usually stops once your cat adjusts to the change, though it can take weeks or months. In the meantime, do not punish your cat—they are not being spiteful, and punishment only increases stress and makes the problem worse.

Marking territory versus inappropriate elimination

There is a difference between a cat who pees in the box but also marks other spots, and a cat who avoids the box entirely. Marking is when a cat sprays urine on vertical surfaces like walls, furniture, or doors—usually in small amounts and often with the tail held high. This is territorial behavior and is more common in unneutered males, though females and neutered cats do it too, especially if they sense another cat nearby.

Marking is harder to stop than box avoidance because it is driven by instinct rather than a problem with the box itself. Neutering or spaying stops marking in about 90 percent of cases if done before the behavior starts, but if your cat is already marking, the behavior may continue even after surgery. Pheromone diffusers, reducing stress, and blocking your cat's view of other cats outside (closing blinds, for example) can help. Some vets prescribe anti-anxiety medication for severe cases.

If your cat is peeing in the box but also marking elsewhere, focus on the box solutions above first, then talk to your vet about marking-specific strategies.

Cleaning soiled areas properly stops repeat offenses

Once your cat has peed on carpet, furniture, or tile, the smell lingers even after you clean it—and your cat can smell it long after you cannot. This teaches them that spot is an acceptable bathroom. You must clean it thoroughly with an enzymatic cleaner, which breaks down the uric acid crystals in cat urine. Regular cleaners, vinegar, and baking soda do not work because they do not eliminate the smell completely.

Enzymatic cleaners are sold at pet stores and online under names like Nature's Miracle, Rocco & Roxie, and Meow Mix. Follow the instructions on the bottle—most require you to saturate the area, let it sit for 24 to 48 hours, and then vacuum or rinse. If the urine soaked into padding or subfloor, you may need to remove and replace that material, because the smell will keep drawing your cat back.

After cleaning, place a litter box directly over the spot for a few weeks. Once your cat uses it consistently, you can move the box back to its original location.

When to call the vet again

If you have ruled out medical causes, added more boxes, cleaned them daily, and the peeing continues for more than two weeks, contact your vet. Some cats need anti-anxiety medication, and some have behavioral issues that require a consultation with a feline behaviorist (a certified animal behaviorist who specializes in cats). Your vet can refer you to one in your area.

Also call the vet if your cat shows other signs of illness alongside the inappropriate urination—lethargy, loss of appetite, vomiting, or straining to urinate. These suggest a medical problem that may have been missed on the first exam.

Frequently Asked Questions

Can I punish my cat for peeing outside the box?

No. Punishment increases stress and often makes the problem worse. Your cat is not being spiteful—they are responding to a medical problem, an environmental issue, or anxiety. Punishment teaches them to hide when they pee, not to use the box.

How long does it take for a cat to stop peeing outside the box?

If the cause is a dirty box or too few boxes, improvement usually happens within a few days of fixing the problem. If the cause is stress or a recent change, it can take weeks or months. Medical issues resolve once treated, though some conditions like chronic kidney disease require ongoing management.

Should I get rid of my cat if this does not stop?

Inappropriate urination is frustrating, but it is almost always fixable with patience and the right approach. Work through the steps above, see your vet, and consider a behaviorist before giving up. Many cats stop once the underlying cause is found.

Does neutering or spaying stop inappropriate urination?

Neutering stops marking in about 90 percent of cases if done before the behavior starts. If your cat is already marking, surgery may not stop it completely. Spaying does reduce marking in females, but it is not a may provide fix for inappropriate urination caused by stress or box problems.

What if my cat pees on my bed?

Peeing on your bed often signals stress or anxiety—your cat may be seeking comfort near you, or marking territory because they feel unsafe. Rule out medical causes first, then focus on reducing stress, adding boxes, and using enzymatic cleaner on the mattress. A waterproof mattress protector can prevent damage while you work on the underlying issue.