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.

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

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

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.

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?
Do not do this
Emergency: go to a vet now.
ASPCA says a male cat who cannot urinate needs immediate care.
Do not do this
See a vet this week.
Sudden changes can mean illness. Cornell says cats may not always act sick.
Unproven
Ask about arthritis, and try a low-sided box.
VCA says joint pain can make boxes hard to enter.
Unproven
Stress may be a factor.
PetMD and Cornell list changes as triggers. Keep routine steady and check the boxes.
OK, with care
Work through steps 2 to 5.
If it continues, ask for a referral to a behaviorist (VCA, PetMD, Cornell).
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.
Related guides
- Cat Peeing in Houseplants? Why It Happens and How to Stop It
- Neighbor’s Cat Pooping in Your Yard? What Really Works
- Why Is My Cat Pooping Under the Bed? Causes and How to Fix It
- Cat Not Pooping After Spay
- Is Cat Litter Bad for the Environment?
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.




