I get asked a lot why cats mess outside the litter box. The simplest thing is if you have more than one cat and you have two litter boxes, don't put them right next to each other.