Treat this as a medical problem until a vet says otherwise. A cat that urinates or defecates outside the box may be in pain, blocked, or ill, and the two most common causes in a previously reliable cat are feline lower urinary tract disease and constipation. Book an appointment within 24 to 48 hours. If the cat is male and straining to produce little or no urine, it is an emergency today — a urethral obstruction can kill within 24 to 36 hours.

Rule Out the Body First

In a cat under ten, sudden avoidance is most often feline idiopathic cystitis, crystals or stones, or constipation. In cats over ten, add arthritis, chronic kidney disease, diabetes, hyperthyroidism and cognitive dysfunction. Chronic kidney disease makes urine volumes large and the box fills fast; arthritis makes climbing into a high-sided box painful; cognitive dysfunction produces accidents in corners. Your vet will want a urinalysis with sediment, a urine culture in some cases, blood work, and often an X-ray or ultrasound for stones. Bring a fresh urine sample if you can, and photograph the accidents — position, size and frequency are diagnostic detail.

Avoidance or Preference?

Once illness is off the table, the question is whether the cat is avoiding something about the box or preferring somewhere else. Avoidance looks like a cat that approaches the box, sniffs, circles and leaves; that urinates just outside the entrance; or that uses the box only when it has no alternative. Preference looks like a cat that picks a consistent substrate — a bath mat, laundry, bare tile — and a consistent quiet corner. The distinction tells you what to change: avoidance needs the box fixed, preference needs a second box that matches what the cat has chosen.

Box Setup, in Numbers

  • Count: one box per cat plus one. Three cats, four boxes, in at least two locations, and one on every floor of the home.
  • Size: at least 1.5 times the cat's body length without the tail, so roughly 60 cm for an average adult. Most commercial boxes are too small; a plastic storage bin cut down at one side is cheaper and better.
  • Litter: 3 to 5 cm of unscented clumping litter. Deep enough to dig, not so deep the cat sinks. Scented litter and deodorizers are a common trigger for avoidance.
  • Hood: none. Covered boxes trap odor and ammonia and give a cat one exit to watch, which matters in a multi-cat house.
  • Cleaning: scoop twice a day, full change every two to four weeks, wash with unscented soap and water. Replace plastic boxes yearly — scratched surfaces hold odor permanently.
  • Placement: quiet, low traffic, away from food and water, not next to a washing machine or boiler that starts without warning, and never in a closed cupboard with the door shut.

A Retraining Plan That Works

Confine the cat to one room with the box for one to two weeks — small space, no alternative surface, and immediate reward for using it. Put two or three boxes side by side with different litters (fine clumping, pellet, paper) and let the cat choose; this cafeteria test settles substrate disputes in days. Feed meals at fixed times so you can predict when the cat needs to go and can place it in the box afterwards. Clean every accident with an enzymatic cleaner, not ammonia or bleach, which smell like urine and invite a repeat. Reward with a treat or a meal right after the cat uses the box. Once the cat is reliable in the small room, enlarge the territory one room at a time, every three to four days.

What Makes It Worse

Never rub the cat's nose in it, shout, or throw something. Punishment after the fact does not connect to the act, and it reliably produces a cat that eliminates in hiding instead. Don't lock the cat out of the room with the box, don't use ammonia-based cleaners, and don't switch brands of litter abruptly. Don't move the box to the garage or basement as a punishment for guests — most cats stop travelling that far. And don't assume it is spite: cats do not have the cognitive machinery for that kind of planning.

Go to the Vet Today If

Any male cat straining, crying in the box, producing only drops, or producing nothing at all. Any cat with blood in the urine, vomiting, refusal to eat, or hiding. Any cat that has stopped passing stool for more than 48 hours, or is straining to defecate. Outside the emergency list, see a vet within a week for: new avoidance in a cat over eight, accidents with weight loss or increased drinking, and any cat that urinates outside the box after a clean bill of health, since up to half of cats with cystitis have recurrences that need a long-term plan involving water intake, stress reduction and weight control.

Frequently asked

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

Urinating at the entrance usually means the cat wants to use the box but something about it is unpleasant — too small, too dirty, scented litter, a hood, or pain on urination. A box that is too small or a litter that stings a sore bladder produces exactly this pattern, so both a vet visit and a larger, unscented, uncovered box are the first moves.

How often should the box be cleaned?

Scoop at least twice a day and do a full litter change every two to four weeks, washing the box with unscented soap. In a multi-cat house or with a cat that has had cystitis, scooping three times a day is reasonable. A box that smells strongly is the most common reversible cause of avoidance.

Is my cat peeing outside the box out of spite?

No. Cats do not plan revenge; the behavior is driven by pain, illness, an unpleasant box, or stress in the environment. The useful response is a vet visit plus a review of box number, size, litter, location and cleaning routine, not a change in how you feel about the cat.