Behavior

Cat Peeing or Pooping in the Closet: Why It Happens and How to Stop It

Researched and rewritten · Updated November 23, 2026 · 6 min read

Ask My Cats cover with a cat face and the title: Cat using the closet as a toilet?

Finding urine or stool in the closet is upsetting. It is also a message from your cat, and it can often be fixed. This is general information, not veterinary advice.

Why the closet?

We did not find a source that explains closets in particular. ASPCA says cats may be drawn to soft, absorbent surfaces, and suggests removing rugs and clothes from the floor while you work on the problem. PetMD says an anxious cat may urinate elsewhere because the smell of its own urine makes it feel safer. Cornell advises placing boxes in quiet, private spots, which suggests privacy matters to cats, but that is our reading and not a statement about closets.

Infographic, fix it in this order: See the vet, Fix the boxes, Clean the closet, Block or change the spot, Ease stress
Fix it in this order. Sources: ASPCA, Cornell Feline Health Center and VCA.
Text version of this figure

Fix it in this order: 1 see the vet; 2 fix the litter boxes; 3 clean the closet with an enzymatic cleaner; 4 block or change the spot; 5 ease stress with play and routine, and ask about a behaviorist if it continues.

Step 1: Rule out health problems

Infographic, medical causes to rule out: Urinary tract infection, Bladder stones or crystals, Constipation or diarrhea
Medical causes to rule out. Sources: ASPCA, PetMD and VCA.
Text version of this figure

Medical causes to rule out: urinary tract infection, bladder stones or crystals, constipation or diarrhea, arthritis or joint pain, kidney disease, diabetes or thyroid problems, and straining with no urine, which is an emergency.

ASPCA lists bacterial cystitis, a bladder condition called FLUTD, severe constipation, diarrhea, kidney disease, diabetes, hyperthyroidism and spinal injury. PetMD adds bladder stones and arthritis, and VCA says joint or nerve pain can make a standard box hard to enter. Cornell says cats with medical problems do not always act sick.

Expect an exam, a urine test, bloodwork and a stool test (ASPCA and VCA).

Step 2: Fix the litter boxes

Infographic, litter box rules: One more box than cats, One on each level of the home, Quiet spot, away from food and water
Litter box rules. Sources: ASPCA, Cornell and VCA.
Text version of this figure

Litter box rules: one more box than cats; one on each level of the home; a quiet spot away from food and water; about 1.5 times your cat's length; scoop daily and wash weekly with mild unscented soap; low sides if your cat is old or stiff.

ASPCA says to keep boxes in quiet places away from food and water, with room to turn around, and to use clumping, unscented litter about 1 to 2 inches deep. Cornell prefers uncovered boxes and says low sides help kittens, seniors and cats with mobility problems. PetMD says covered boxes can make timid cats feel trapped in multi-cat homes.

Step 3: Clean the closet the right way

ASPCA says to use an enzymatic cleaner and to avoid ammonia and bleach, since they can encourage a cat to go there again. A black light can find missed spots. VCA also names enzymatic cleaners. Cornell says to avoid ammonia-based or vinegar-based products. The sources differ a little here, so enzymatic cleaner is the safest pick.

Infographic, cleaning a closet accident: Use (Enzymatic cleaner) vs Avoid (Ammonia-based cleaners)
Cleaning a closet accident. Sources: ASPCA, VCA and Cornell.
Text version of this figure

Cleaning a closet accident. Use enzymatic cleaner and a black light to find missed spots, and remove or wash soaked fabric. Avoid ammonia, bleach and vinegar-based cleaners, and never punish your cat.

Step 4: Change access to the closet

VCA says to block rarely used areas, cover soiled floors or furniture, and keep access to your cat’s favorite resting spots. ASPCA suggests keeping a cat in a small, easy-to-clean room with a box, food, water and bedding for a while, then widening access slowly once box use is steady. Ask your vet how long is right for your cat.

Step 5: Look at stress

Cornell says anxiety, boredom, conflict with other cats and diet changes can drive accidents, and PetMD adds a new pet, moved furniture or a moved box. Pheromone sprays may help some cats. The research is mixed, and some trials are paid for by the makers, so do not expect a cure. Cornell says medicine for anxiety is more likely to help spraying than other soiling, and that is a conversation for your vet.

What did I find?

Pick the closest match

Do not do this

Emergency: go to a vet now.

ASPCA says a male cat who cannot urinate needs immediate care.

Do not punish

Cornell says never hit, kick or scream at a cat, and that rubbing a cat’s face in waste does not work. PetMD says never punish a cat for peeing outside the box. VCA says punishment can damage trust. See also why a cat might keep peeing in the same spot and pooping on the couch.

Quick answers

Is my cat doing this out of spite?

Our sources do not describe spite. They point to medical, box, stress or cleaning causes.

How many litter boxes do I need?

One more than the number of cats, says ASPCA, and one on each level.

Should I close the closet?

Blocking access while you fix the cause is advised by VCA and ASPCA. Do it along with the vet visit and box changes, not instead.

Sources and further reading

  1. Medical causes of house soiling in cats — ASPCA
  2. Addressing litter box problems — ASPCA
  3. Feline behavior problems: house soiling — Cornell Feline Health Center
  4. Inappropriate elimination disorders in cats — VCA Animal Hospitals
  5. Reasons your cat is peeing outside the litter box (reviewed by Barri J. Morrison, DVM; updated July 2025) — PetMD

We link to the original source for every claim we rely on. Spotted a mistake? Tell us and we will fix it.

Keep reading