How-to Guide
Keeping Cats Out of Garden Beds
The short answer
Cats scrape holes in flower and vegetable beds to bury excrement, and they choose loose, dry, bare earth. The Royal Horticultural Society's advice starts from an honest premise: cats are too agile to be fenced out of a whole garden. What works is making the beds themselves unattractive: plant borders densely so there is no bare soil, keep seed rows and seedbeds well watered because cats dislike wet soil, and lay netting or mesh over the small areas that matter most, such as a freshly sown vegetable bed.
Repellents (smell- or taste-based) and motion-triggered devices are humane but inconsistent: sprays wash off in rain and need frequent reapplication, and with ultrasonic devices some cats flee while others ignore them entirely. Treat them as a supplement to planting and physical cover, not the main plan.
Make beds physically unattractive
- Cover bare soil: densely planted perennial borders leave no toilet space; in the vegetable garden, close spacing and groundcover do the same.
- Keep soil wet: water seed rows regularly, cats prefer loose, dry earth and mulch.
- Net small areas: netting pegged over a seedbed or newly planted bed physically blocks digging until plants fill in; keep it taut so wildlife cannot become entangled.
- Lay twiggy prunings or short canes across fresh beds so there is no comfortable scratching spot.
Repellents and gadgets, honestly
The RHS groups deterrents into two camps: repellents that offend a cat's sense of smell or taste, and electronic devices, ultrasonic sound units triggered by motion sensors, or sprinklers that release a jet of water. Neither type harms the animal, but neither is dependable: repellents wash off in rain and give only short-term protection needing frequent reapplication, and trials of ultrasonic units show some cats leave while others hold their ground. The RHS also notes the plant Plectranthus ornatus (sold as 'Scaredy Cat'), whose foliage smells unpleasant when touched, though it is frost-tender and evidence is anecdotal.
โ If a neighbour's cat repeatedly uses one bed, a temporary net or fleece cover for a few weeks often breaks the habit; cats are creatures of routine.
Hygiene around edibles
Cat faeces can carry parasites, so wear gloves when working soil in beds cats have used, remove and bin any excrement you find, and wash homegrown produce before eating. Cover children's sandpits when not in use.
Keep it legal and neighbourly
Cats are protected as property in many places, and harming or trapping them can be an offence. Stick to deterrence and barriers; if a roaming cat is a persistent problem, talk with the owner or seek advice from local animal welfare organisations rather than taking action against the animal.
Sources
Reviewed 2026-07-18. We cite university Extension, government, and established horticultural sources โ and never invent pesticide rates or dangerous treatments.
- RHS - Cats (Advice) โ Cats scrape holes in beds to bury excrement and prefer loose dry soil; they are too agile to fence out, but netting small areas, dense planting, and wet soil deter them, while repellents wash off and ultrasonic devices give mixed results.