One home remedy to prevent a cat from spraying is a one-to-one mix of water and apple cider vinegar in a bottle. Clean the area the cat sprayed, and reapply as needed to repel the cat from marking the area. Citronella, lavender, peppermint or lemongrass may substitute for the vinegar.
A cat may spray due to a change in its regular routine, such as if the owner switches its food or litter. Reverting to the original product may stop the cat from spraying. If the cat sprays as an aggressive response to an outdoor cat, restricting the cat's view of the outside world may prevent spraying. Cat food puzzles, toys and play-time sessions with the owner occupy the cat's mind and make it feel important, both of which reduce spraying.