Cats are among the most popular pets in the UK, with around 11 million of them in the country. But as popular as cats are, they can be a real nuisance in the garden, too.
Cats like to roam and maintain large territories outside the house, including your garden. That can lead to problems with smelly cat urine, droppings dug into your beds, hunting of garden wildlife, and even cats fighting or mating loudly nearby.
In our experience, cat complaints come in three main flavours: cats fouling and digging in flower beds and veg patches, cats hunting the birds and wildlife you'd rather protect, and the awkward one - a neighbour's pet treating your garden as its own. Wherever you're starting from, the two things that trip people up are not knowing where to begin, and assuming a single token measure - a quick scatter of repellent pellets, say - will fix it on its own. It won't. Cats are creatures of habit, and shifting them takes a few measures used together and kept up for a few weeks. This guide shows you where to start and how to combine them - humanely, and within the law.
📋 Quick summary: keeping cats out of the garden
- Work out whose cat it is first - pet, stray or feral changes how you handle it.
- Take away the draw - easy toilet spots (soft soil), shelter, and bird feeders that turn your garden into a hunting ground.
- Make beds unappealing - prickly surfaces, sharp gravel and well-watered soil.
- Layer a few deterrents, don't rely on one - a scent repellent, a motion sprinkler and an ultrasonic device do far more together than any single token measure.
- Keep it up - cats test a garden repeatedly, so consistency over a few weeks is what wins.
- Stay humane and legal - you can't harm, trap or poison a cat, so deterrence is the only route.
Understanding Cat Behaviour
Cats are domesticated animals and were introduced to the UK as pets. However, they never lost their wild instincts, and when they find themselves homeless, they often revert to a more natural state of life.
If you have cats in your garden, it helps to understand what kind of cat they are. Are they:
- Somebody's pet that has decided to visit your garden?
- A stray pet that has become lost?
- A feral cat that isn't socialised to humans and lives wild? Feral cats are often born outside and live their lives like wild animals.
Pet cats and strays tend to be friendly. Feral cats are much more wary. This matters because it shapes your options - a neighbour's pet is a conversation, while persistent feral cats are a job for a welfare charity (more on both below).

Why Do Cats Come Into Your Garden?
Cats come into your garden for a few reasons. The main attractions are:
- Good hunting - if you have lots of birds, mice or other small wildlife, it draws cats in to hunt.
- Soft or sandy soil they can use as a toilet.
- Sunny spots to bask in.
- Certain plants they're drawn to, such as catnip, lemongrass and sunflowers.
Where to Start
The most common thing we hear is "I don't know where to start" - so here's the order that actually works:
- Work out whose cat it is (pet, stray or feral) - it changes your options.
- Remove what's drawing them in - cover bare soil, secure bins and food, and rethink any bird feeders that turn your garden into a hunting ground.
- Make the beds and borders unappealing - prickly surfaces, sharp gravel, repellent spikes, and keeping the soil watered (cats prefer dry, soft ground to dig in).
- Layer a few deterrents - don't rely on a single measure. A scent repellent, a motion sprinkler and an ultrasonic device do far more together than any one of them alone.
- Keep it up for a few weeks - cats are persistent and will test your garden repeatedly before they accept it isn't worth the bother.
For the full tactical list, see our 10 best ways to deter cats from the garden.
Humane Cat Control Methods
None of the methods below is a magic bullet on its own - and that's the single biggest mistake we see, people scattering a few repellent pellets and expecting the problem to vanish. The trick is to combine two or three of these and stay consistent.
Make the Ground Unwelcoming
Cats dislike prickly surfaces and damp ground. Repellent spikes, sharp gravel, stone chippings or pine cones in the beds make them less inviting, and keeping flowerbeds well-watered removes the dry, soft soil cats like to dig in.

Scent Repellents
Specially formulated cat repellents use strong but non-toxic scents to put cats off. Look for biodegradable, pet-safe formulas, check the ingredients carefully, and follow the instructions - most need reapplying after rain. Cats also tend to dislike citrus, lavender, rosemary and rue. One thing to avoid: coffee grounds, which are sometimes suggested as a home remedy but are toxic to cats if eaten.
Motion-Activated Sprinklers
Most cats hate water, and a motion-activated sprinkler delivers a sudden, harmless burst when a cat enters its range. It's a hands-off, humane deterrent, and the surprise is something cats are reluctant to risk twice.
Ultrasonic Deterrents
Ultrasonic units emit a high-frequency sound that cats find off-putting but people can't hear, and that's considered harmless to humans and most non-target animals. Independent testing has shown they can reduce cat visits, which makes them a worthwhile part of a combined approach. Place one where cats usually enter, and use it alongside scent repellents and physical barriers rather than expecting it to do the whole job on its own.
Block Access and Deny Shelter
Inspect your fences and gates for gaps and weak spots, and consider anti-climb spikes or rollers along the tops. Secure outbuildings like sheds, and trim back hedges and overgrown areas where stray or feral cats might shelter.

Give Them Somewhere Else to Go
If a cat is using your beds as a toilet, a discreet litter spot or sandpit in an out-of-the-way corner can draw it away from your plants. It sounds counterintuitive, but it concentrates the mess in one easy-to-clean place rather than across your borders.
Cats and Your Garden Birds
If your real worry is cats hunting the birds you love seeing, you're far from alone - it's one of the most common reasons people want cats out. Cats are effective hunters, and it's genuinely distressing to find a kill on the lawn. It's worth keeping in perspective, though: the RSPB has found no clear scientific evidence that cat predation is driving wild bird population declines, partly because cats tend to take weaker or sickly birds. That doesn't make it pleasant, and there's plenty you can do to reduce it:
- Place bird feeders out in the open, around two metres from dense cover, so cats can't launch a surprise attack but birds can still reach safety quickly.
- Put food out early in the day and clear up spillage, so birds can feed before cats are most active.
- If the visiting cat is your own (or a cooperative neighbour's), a correctly fitted quick-release collar with a bell can cut predation by around a third, according to RSPB research.
⚠️ Clearing up cat mess safely
Cat faeces can carry toxoplasmosis, a parasite that poses a particular risk in pregnancy and for anyone with a weakened immune system. Always wear gloves to clear it up, never handle it bare-handed, bag and bin it, and wash your hands thoroughly afterwards. Wash any home-grown vegetables well, and if you're pregnant, leave the clearing-up to someone else where you can.
The Law: What You Can and Can't Do
Cats have strong protection in UK law. They're legally regarded as property, and under the Animal Welfare Act 2006 it's a criminal offence to harm, injure, trap or poison a cat - so lethal or rough control is never an option, and you should never use anything toxic as a deterrent.
There's also a quirk worth knowing: unlike dogs, cats are effectively free to roam, and an owner isn't legally liable for their cat wandering into your garden. That means you can't force a neighbour to keep their cat in - which is exactly why humane deterrence is the only practical route. A friendly word with the owner, perhaps suggesting they add a litter tray at home, often helps more than you'd expect.
For feral cats, contact your local RSPCA or a cat welfare charity. Many run trap-neuter-return (TNR) schemes that humanely manage feral numbers rather than removing the cats.
When to Call a Professional
Most UK pest control companies aren't licensed or willing to deal with cats, precisely because of the legal protections above. If talking to neighbours and using deterrents hasn't solved it, your best contact is your local RSPCA branch - especially for strays or ferals, which they can trap humanely for neutering and rehoming where possible.
FAQs: Keeping Cats Out of the Garden
I don't know where to start - what should I do first?
Work out whose cat it is, then remove what's drawing it in (toilet-friendly soft soil, shelter, bird feeders), make the beds prickly and well-watered, and layer two or three deterrents together. Then keep it up for a few weeks. The mistake most people make is doing one small thing once and giving up - cats need a consistent, combined approach.
How do I stop cats pooing in my flower beds?
Make the soil hard to dig: cover bare ground with prickly material, sharp gravel or repellent spikes, and keep it watered. Add a scent repellent, and clear any existing mess promptly (the scent invites them back). Giving them an alternative litter spot in a quiet corner can help too. Consistency is key.
What scents do cats dislike?
Cats tend to avoid citrus, lavender, rosemary and rue, as well as the "scaredy-cat plant" (Coleus canina). Commercial pet-safe repellents use similar strong scents and usually need reapplying after rain. Avoid coffee grounds as a deterrent, though - they're toxic to cats if eaten.
Do ultrasonic cat repellers actually work?
They can reduce cat visits and are a worthwhile part of a combined approach, but they're not a standalone fix - and expecting one device (or a sprinkle of pellets) to solve everything is the mistake we see most. Use ultrasonic alongside scent repellents, prickly surfaces and a motion sprinkler, and keep it up.
Is it legal to trap or harm a cat that comes into my garden?
No. Cats are protected as property under the Animal Welfare Act 2006, so harming, trapping or poisoning one is a criminal offence. Humane deterrence is the only lawful route, and you can't legally compel a neighbour to keep their cat in. For feral cats, contact the RSPCA.
How do I stop cats killing the birds in my garden?
Position feeders in the open, around two metres from cover, put food out early and clear spillage, and keep the deterrents above in place. If it's your own or a cooperative neighbour's cat, a correctly fitted quick-release bell collar can cut its hunting success by about a third.
Final Thoughts
We normally think of cats as companions, but they can easily become a problem in the garden. Because they're so well protected in law, the only route is to deal with them humanely - and the good news is that humane deterrence works, as long as you go about it the right way.
Start by working out whose cat you're dealing with, take away what's drawing it in, and then layer a few deterrents together rather than pinning your hopes on one. Above all, be consistent: cats test a garden repeatedly, and the people who succeed are the ones who keep at it for a few weeks rather than trying one thing and stopping.
At PestBuddy, we're here to empower you with effective, fast and easy-to-use DIY cat control products. For the full tactical checklist, see our 10 best ways to deter cats from the garden.