How to Stop a Cat Peeing Outside the Litter Box: A Vet's 5 Steps

By Updated

A long-haired tabby and white cat squatting in an open, low-sided litter box on a wooden floor

A cat that pees outside the litter box is telling you something is wrong. It is not getting back at you. Owners often ask me whether the cat is angry with them. The 2014 AAFP and ISFM house-soiling guidelines answer that directly: “This unwanted behavior is not due to spite or anger towards the owner, but because the cat’s physical, social or medical needs are not being met.”

Needs can be met. I am a board-certified feline practitioner, and house-soiling is one of the most common problems I see. Most cases come down to a bladder problem, a box the cat dislikes, stress, or territorial marking, and often two at once. Below is the order I work through them with clients, starting with the one that can kill a cat.

Go to the Vet Today If You See Any of These

Some litter box problems are emergencies. Call your vet or an emergency clinic now, not tomorrow, if your cat is:

  • Straining in the box, or squatting for a long time with little result
  • Crying or vocalizing while trying to pee
  • Producing little or no urine, or only drops
  • Passing urine that looks pink, red or bloody
  • A male cat making repeated trips to the box, or peeing in odd spots in small amounts

Male cats are the main worry, because their urethra is narrow enough to block with crystals, mucus or a small stone. The Cornell Feline Health Center is blunt about it: “Urethral obstruction is a true medical emergency, and any cat suspected of suffering from this condition must receive immediate veterinary attention.” It also explains why speed matters: “The time from complete urinary obstruction until death may be less than twenty-four to forty-eight hours, so immediate treatment is essential.”

Without those signs, you still need a vet visit, just not an emergency one.

The Short Answer

What to do tonight:

  1. Watch the cat in the box. Straining, crying or tiny clumps mean an emergency.
  2. Book a vet appointment.
  3. Scoop every box now, then keep scooping at least once a day.
  4. Add a second box in a different spot, filled with plain, unscented, clumping litter.
  5. Clean every accident with an enzyme cleaner, never with ammonia or vinegar.
  6. Make the accident spots less appealing once they are clean, by feeding or playing there.
  7. Do not punish, scold or rub the cat’s nose in it. That makes it worse.
  8. Write down every accident: where, when, how much, and whether it was on a wall or the floor.

That accident log is the most useful thing you can bring to your vet.

Step 1: Rule Out a Medical Cause

The AAFP and ISFM guidelines sort house-soiling into four diagnostic categories:

  • Medical causes. Bladder stones, urinary tract infection, chronic kidney disease, diabetes, hyperthyroidism, arthritis and other painful conditions.
  • Feline idiopathic cystitis (FIC). Bladder inflammation with no single cause found.
  • Marking behavior. Spraying urine to leave a scent message.
  • Environmental or social causes. The box, its location, other pets, people or changes at home.

More than one can apply. A cat with a sore bladder links the box with pain, switches to the rug, and keeps using the rug after the bladder heals. The guidelines warn: “Treating underlying medical conditions may not completely resolve house-soiling if it occurs as a result of adverse behavioral conditioning.”

What your vet will check

A standard workup starts with a physical exam and a urinalysis. Depending on the results, your vet may add:

  • A urine culture, to confirm or rule out infection before any antibiotic is prescribed
  • Bloodwork, including kidney values, blood sugar and thyroid levels in older cats
  • X-rays or an ultrasound, to look for bladder stones, crystals or masses

Do not skip this because your cat seems fine. As Cornell puts it, “Cats with medical conditions may not always act sick.”

Feline idiopathic cystitis

There is no test for FIC. Your vet diagnoses it when a cat has bladder signs and the workup finds no stones, infection or other cause. It tends to flare and settle, and stress plays a large part (see Step 4).

Water intake is part of most bladder plans, because more water means more dilute urine. If your vet recommends it, my guide on how to get a cat to drink more water covers the practical side. Moving some of the diet to wet cat food and adding a cat water fountain are the two changes owners find easiest to keep up. Any prescription urinary diet should come from your vet, not the pet store shelf.

Step 2: Work Out Whether It Is Spraying or Toileting

Most owners skip this step, and it changes the whole plan.

Spraying (marking)Toileting outside the box
PostureStanding, tail raised and quiveringSquatting, as in the box
SurfaceMostly vertical: walls, doors, sofa sides, curtainsMostly horizontal: rugs, beds, laundry, floors
AmountSmall amounts, often a spray line or dripsA full puddle
WhereNear doors and windows, new objects, room edgesNear the box, soft absorbent spots, quiet corners
Box useUsually still uses the box normallyMay use it less or avoid it

The AAFP and ISFM description of marking matches what I see in practice: “From a standing position with the tail up and twitching, the cat deposits small amounts of urine on vertical surfaces.” Cornell adds the simplest way to tell the two apart: “Cats don’t squat to spray, as they do to urinate.” The guidelines do note that some cats occasionally squat and mark flat surfaces, so posture is a strong clue rather than a rule.

The trap is assuming a cat that still uses its box cannot be marking. The ASPCA warns against exactly that: “Cats who urine mark also use their litter boxes for voiding, so urine in the litter box does not rule out marking outside the box.”

If it is marking, Steps 4 and 5 matter most, along with neutering if the cat is intact. If it is toileting, Step 3 usually does the most work.

Step 3: Fix the Litter Box Setup

A box the cat dislikes is the most common non-medical cause I see, and the easiest to fix. Failing even one item below can be the whole problem.

Number of boxes

The 2014 guidelines are specific for single-cat homes: “Households with a single cat should have two litter boxes in two separate locations.” For several cats, the usual rule is one more box than the number of cats, “although this is not an absolute requirement,” as the guidelines admit. Two boxes side by side count as one location.

Box size

Most commercial boxes are too small. The guidelines recommend a “rectangular litter box that is 1.5 times the length of the cat from nose to base of tail.” That is far bigger than most people picture. My roundup of the best cat litter boxes covers sizes that pass this test. If an old plastic box is scratched and holds odor even after washing, replace it. A stainless steel litter box is one option that does not scratch the same way.

Litter type and depth

The guidelines advise “a fine, sand-like, non-scented, clumping material to a depth of at least 1.25 inches (3 cm).” They add that cats often find scented litter and litter deodorizers offensive. If you switched litter around the time the problem started, switch back.

If the cat’s preference is unclear, the guidelines suggest a test: set out boxes with different litters or depths and see which one the cat uses. My picks for the best cat litter lean toward unscented clumping options for this reason, and clumping vs non-clumping litter explains the difference.

Cleaning

The guidelines set the minimum: “Remove waste a minimum of once a day and add litter as needed. Wash the litter box every 1–4 weeks.” Wash with soap and hot water only. My guides on how to clean a litter box and how often to change cat litter set out a routine.

Location

A box needs to be quiet, easy to reach and well away from food and water. Ohio State’s Indoor Pet Initiative points out that cats do not like to walk far to reach a box, so a multi-level home needs a box on each floor. Avoid laundry rooms, spots next to appliances that switch on suddenly, and anywhere behind a door that gets closed. The full room-by-room breakdown is in my guide on where to put a litter box.

Covers, liners and automatic boxes

Covers suit some cats and not others; the guidelines note that an open box does not trap odors. They also advise avoiding liners, slotted grills and deodorizing powders.

Self-cleaning litter boxes work well for many cats, but the motor and the moving rake startle some. The ASPCA’s advice is that if a cat starts eliminating outside a self-cleaning box, you should try a traditional box.

Moving the box

If accidents keep happening in one spot, putting a box in that spot can break the cycle. Once the cat uses it, the guidelines say to “leave it in the same place for at least 2 weeks,” even if the location is inconvenient. After that you can move it gradually, a few inches a day, toward where you would prefer it.

Step 4: Reduce Stress and Conflict

Stress drives both FIC and marking. Cornell states it plainly: “Stress seems to be an important factor in the development of FIC.” Common triggers are a new pet or person, a move or renovation, a change in routine, outdoor cats at the windows, and tension between cats in the home.

Conflict between cats is often quiet. One cat blocks a doorway or sits near the box, and the other stops going there.

Give each cat its own resources

The AAFP and ISFM environmental needs guidelines ask for separate, spread-out resources: “a minimum of two resting areas, two feeding areas and two toileting areas.” Spread them across rooms so no cat can guard all of them. If a new cat arrived and the problem started soon after, it may be worth slowing down and redoing the introduction; my guide on how to introduce cats to each other walks through it.

Play and routine

Two short play sessions a day and regular mealtimes help an anxious cat. Wand toys that let the cat stalk and catch work best; my roundup of cat toys has options.

Pheromones, calming treats and medication

The house-soiling guidelines list synthetic pheromone diffusers as an add-on, not the main plan, and I use them the same way. The same goes for cat calming treats. They will not make up for a dirty box or a bully cat. For persistent marking or severe anxiety, prescription medication from your vet can help.

Step 5: Clean Every Accident Properly

A spot that still smells of urine invites a repeat, even if you cannot smell it. The guidelines note that frequent cleaning reduces a cat’s habit of refreshing its scent at a marking site.

Use an enzyme cleaner made for pet urine, soak it as deep as the urine went (on carpet, into the pad), and let it air dry. My picks for the best cat urine enzyme cleaner cover floors, carpet and furniture.

Two cleaners to keep away from accidents. The guidelines say: “Avoid using ammonia-based cleaners, which smell like urine to a cat.” Cornell goes further: “Avoid cleaning products containing ammonia or vinegar as they smell like urine and can be irritating.”

Once a spot is clean and dry, change what it means to the cat. Put a food bowl or a bed there, or use it for play. For bedding and clothes, see how to get cat pee smell out of clothes and my guide to enzyme cleaners for cat urine in laundry.

What Not to Do

  • Do not punish the cat. Cornell’s verdict on punishing a cat for house-soiling: “Punishments like these are not only ineffective, the anxiety they cause may actually worsen the house soiling problem.” The AAFP and ISFM guidelines add: “Punishment also tends to encourage urine marking in less obvious areas.”
  • Do not rub the cat’s nose in it. The ASPCA says so directly: “Do not rub your cat’s nose in urine or feces.” The cat does not link it to the accident. It links it to you.
  • Do not switch to scented litter or add deodorizers to cover the smell. Fix the cleaning instead.
  • Do not try to stop a cat drinking to reduce the volume. That raises the risk to the bladder.

Senior and Arthritic Cats

Older cats often miss the box because climbing into it hurts. A cat that pees just outside the box may not be able to step over a high side.

Changes that help:

  • A low-entry box. The guidelines show a storage container with one side cut down, noting: “The low entry will facilitate use by an older cat or one with degenerative joint disease.”
  • A box on every floor, and one near where the cat sleeps, so it never faces stairs to reach one.
  • Night lights near the box. The guidelines advise: “Placement of night lights and additional litter boxes close to sleeping areas will help minimize anxiety in older cats.”
  • A vet check for pain. Treating arthritis pain can be enough to fix the litter box problem on its own. Kidney disease and diabetes also raise urine volume.

When to Call a Behaviorist, and How Long It Takes

Give the plan time. The house-soiling guidelines tell vets to warn owners that resolution may take time. Simple box problems often improve quickly; marking and long-running cases take longer. If your vet prescribes behavior medication, the guidelines note that many of these drugs take up to 4–6 weeks for a full effect to be seen.

Start early. Cornell’s warning is the reason I push owners not to wait: “The longer the behavior persists, the more likely it is to become a habit.”

Ask your vet about a referral to a board-certified veterinary behaviorist if:

  • The medical workup is clear, the box setup meets every point in Step 3, and accidents continue after several weeks
  • Two or more cats are fighting or one is being blocked from resources
  • Marking continues after neutering and environmental changes
  • The cat shows other anxiety signs, such as overgrooming, hiding or aggression

Frequently Asked Questions

Why is my cat suddenly peeing outside the litter box?

A sudden change in a reliable cat is medical until proven otherwise: bladder inflammation, infection, crystals, stones, kidney disease, diabetes and arthritis can all start this way. See your vet promptly, and go the same day if the cat is straining or passing little urine. If the cat checks out healthy, look at what changed recently at home.

Is my cat peeing outside the box out of spite?

No. The AAFP and ISFM house-soiling guidelines state that the behavior is not due to spite or anger, but because the cat’s physical, social or medical needs are not being met. Treating it as spite leads to punishment, which tends to make it worse.

Why does my cat pee outside the box but poop inside it?

Urine-only accidents point toward the bladder or toward marking. Bladder pain from FIC or infection can make a cat link the act of peeing with the box, while defecation still feels normal there. Marking also involves urine, not stool. Start with a vet visit and a urinalysis.

Why is my cat peeing right next to the litter box?

A cat that pees beside the box is trying to use it and something is putting it off at the last moment. The usual causes are a box that is dirty, too small, covered, or hard to climb into, or a litter the cat dislikes. Arthritis is a common cause in older cats. Check size, cleanliness and entry height, and have your vet look for pain.

Does neutering stop a cat from spraying?

It usually reduces it, but not always. The AAFP and ISFM guidelines say neutering intact animals dramatically reduces sexually related marking, but approximately 10% of neutered male cats will persist in marking, and 4% of neutered females may continue as well. Cornell and VCA give a slightly higher figure for females, about 5 percent. For neutered cats that spray, Steps 4 and 5 apply.

How long does it take to fix litter box problems?

There is no fixed timeline. If you move a box to a new spot, keep it there for at least two weeks before moving it again. Marking, FIC and long-standing habits take longer, and behavior medication can take up to 4–6 weeks for its full effect. The sooner you start, the less time the habit has had to set.

Related Articles

About the Reviewer

Dr. Priya Anand

DVM, Cornell University College of Veterinary Medicine

DVM, ABVP FelineVet-Reviewed10+ Years in Feline Practice

Dr. Priya Anand is a veterinarian board-certified by the ABVP in Feline Practice, with over a decade caring for cats in a feline-exclusive clinic. She has guided thousands of cat owners through nutrition, litter-box troubleshooting, enrichment, and senior-cat care. She founded House of Mittens in 2026 to cut through pet-aisle marketing and recommend the food, litter, and gear that actually keep cats healthy and happy — judged the way she'd advise her own patients.