Cats pee outside the litter box because of medical problems (urinary disease, kidney disease, diabetes, arthritis), litter box setup issues,.