Nothing ends a cat's welcome in a household faster. And nothing is more consistently misdiagnosed, because the intuitive explanation — that the cat is annoyed with you — is almost always the wrong one.
Cats do not do revenge. They do discomfort, fear, and pain. Here are the seven real causes, in the order you should rule them out.
1. It is medical — go to the vet first
This is number one for a reason, and it is the step people skip because it costs money.
A urinary tract infection, crystals, bladder stones, kidney disease, diabetes, or arthritis will all cause a cat to break their box habit. The mechanism is simple: it hurts to urinate, the cat associates the pain with the box, so the cat avoids the box. Nothing you do to the litter setup will fix that.
And one emergency: a male cat straining in the box and producing nothing is a suspected urinary blockage. That is fatal within about 48 hours. It is an emergency vet visit tonight, not an appointment next week.
Rule out medicine first. Everything below is a waste of time if the cat is ill.
2. The box is dirty — by their standards, not yours
Cats have somewhere in the region of 50 to 80 million scent receptors. A box that smells acceptable to you can be genuinely repellent to them.

Scoop twice a day. Not once. Full litter change and a wash of the box itself every week or two — with unscented soap, because most cats hate the smell of citrus and bleach far more than they hate the smell of ammonia.
If the daily scoop is the part that slips, be honest about it and automate it. A self-cleaning box rakes after every use, which means the cat always meets a clean box even on the days you do not think about it. For multi-cat homes the 78L enclosed version is the one that keeps up. All four of our cat litter boxes are in one place if you want to compare capacities.
3. The box is too small
The rule: the box should be about one and a half times the length of the cat, nose to tail-base. Nearly every box sold in a supermarket fails this for an adult cat.

Signs yours is too small: they perch on the edge, they hang their back end over the side, they go next to the box rather than in it. That is not protest — that is a cat trying to use a bathroom they do not fit in.
Bigger and open-topped usually wins. A large open-top box with high anti-splash sides gives them the room to turn and dig while still containing the mess, and steel does not absorb odor the way scratched plastic does. If tracking litter through the house is your issue, a semi-enclosed box with a footboard walkway catches most of it on the way out.
4. There are not enough of them
One box per cat, plus one. Two cats need three boxes. And they need to be in different places — three boxes in a row is, functionally, one box, because a cat guarding the corridor guards all three.
This is the fix that resolves a surprising number of multi-cat households, and it costs nothing but floor space.
5. It is in a bad place
Think about what a cat is doing in a litter box: crouching, vulnerable, unable to run. They will not do that anywhere they can be ambushed.
Bad spots: next to the washing machine (it starts a cycle mid-use and they never come back), in a cupboard with one exit, next to the food bowls, in a busy hallway, up a flight of stairs an arthritic cat does not want to climb.
Good spots: quiet, two exits, no loud appliances, and on the floor the cat actually lives on. If you have an older cat and a two-storey house, you need a box on both floors — not because they are lazy, but because their hips hurt.
6. They hate the litter
Most cats prefer fine-grained, unscented, clumping litter. That is not a marketing claim; it is what they choose in preference tests, fairly consistently. Scented litter is made for humans and a lot of cats find it genuinely unpleasant.
Depth matters too: about two inches. Cats want to dig and cover, and they cannot do that in a shallow scatter.
If you must change litter, do it gradually — mix the new into the old over a week or two. An abrupt switch is a common and entirely avoidable trigger.
7. Something has changed, and they are stressed
Last, and genuinely last. New baby, new partner, new cat, a neighborhood cat visible through the window, building work, a house move, you going back to the office.
Stress-related spraying and marking looks different from a box problem — it is usually vertical surfaces, small volumes, and the cat is standing rather than crouching. If that is what you are seeing, you are dealing with anxiety, not plumbing, and the fixes are about resources and security: more vertical space, more hiding places, blocking the view of the outdoor cat. We covered most of that in eight small changes that make an indoor cat happier.
And whatever you do
Do not punish it. Do not rub their nose in it, do not shout, do not put them in the box. A cat who is punished for urinating in the wrong place learns that urinating near you is dangerous — so they start hiding it behind the sofa instead. You will have made the problem invisible rather than solved.
Clean the accident with an enzymatic cleaner, not an ammonia-based one. Ammonia smells like urine to a cat, and you will have marked the spot for them.
More reading: 8 changes for a happier indoor cat · is your cat drinking enough water