Weeing or soiling outside the litter tray
What it looks like
A puddle on the bed, in the bath, on a pile of clean washing or on the couch. Or faeces neatly beside the tray rather than in it. Often it started suddenly and nothing obvious changed.
This is a medical question until proven otherwise, and that is not a formality. Feline idiopathic cystitis is one of the most common findings in a younger cat who suddenly starts urinating in the wrong place, and it is a stress-linked bladder disease, which makes it medical and behavioural at the same time. Bladder stones, urinary tract infection, chronic kidney disease and diabetes all increase urine volume or urgency. Degenerative joint disease is very common in older cats and badly under-diagnosed, because cats do not limp the way dogs do. A sore cat simply cannot climb into a high-sided tray or get down the stairs to the laundry in time.
So urine and blood testing come before any conclusion about the tray itself. It changes the answer often enough that skipping it is not defensible, and if a cat is in pain when they urinate, they will start avoiding the place where it hurt, which is the tray. Treat the cystitis and leave the learned tray aversion untreated and the problem continues after the cat is well.
Then comes the tray audit, which is unglamorous and frequently the whole fix. Number of trays, where they are, what is in them, how big they are and how they are cleaned. In a multi-cat house, tray avoidance is very often social: one cat sits in a doorway and the other stops going down the hall, and from your point of view nothing at all has happened.
Cleaning matters too. Use an enzymatic cleaner, never an ammonia-based product, because ammonia smells like urine to a cat and marks the spot as an approved toilet.
Being straight with you
House soiling has the highest rate of successful resolution of anything on this page, provided the medical work-up is done properly. It also has one of the highest rates of failure when someone skips straight to the litter advice, which is free everywhere online and is only half the answer.

