Skip to content

How to Get Rid of Foxes in Your Garden

How to get rid of foxes in your garden, humanely and legally: remove food, block dens at the right time, protect hens and stop lawn digging.

Last updated: 20 October 2026

Red fox standing on a garden lawn at dusk in front of a wooden shed Pests & Problems
To get rid of foxes, take away what draws them in: lock bin lids, bring pet food indoors, clear windfalls and spilled bird seed. Block gaps under sheds and decking, but only from late summer once any cubs have left. Protect hens in a run of welded mesh with a solid roof and a buried skirt, shut in at dusk. Foxes digging lawns are after chafer grubs or leatherjackets. Never use poison or snares.
Best first stepRemove food and bin access
Den blockingLate summer to early winter
HensWelded mesh run, shut in at dusk
Never usePoison or snares

Key takeaways

  • Foxes come for food and shelter, so removing both is the fix that lasts
  • Lock bin lids, bring pet food in and clear windfalls and spilled bird seed
  • Block gaps under sheds and decking only once cubs have left, from late summer
  • Keep hens in welded mesh, not chicken wire, and shut them in every night
  • Lawn digging means grubs; treat the grubs and the digging stops
  • Poison and snares are never an option, and moving a trapped fox elsewhere is not either

Foxes are a normal part of town and village life in Britain. Most of the time they pass through quietly. When they start digging the lawn, fouling the patio, raiding the bins or eyeing up your hens, it’s time to act.

The good news is that the best fixes are humane, legal and mostly free. Take away food and shelter, protect anything vulnerable and the fox will move its rounds elsewhere.

Why do foxes keep coming into my garden?

Food and shelter. Foxes have a regular round, and they keep visiting gardens that pay off.

  • Food: open bins, pet food left out, windfall fruit, spilled bird seed, open compost with cooked scraps.
  • Shelter: gaps under sheds and decking, overgrown corners, woodpiles.
  • Grubs: lawns with chafer grubs or leatherjackets are a free buffet.

Foxes are territorial, so a fox that already knows your garden takes a few weeks of steady effort to put off. Keep at it rather than judging after a night or two.

You can deter foxes however you like, as long as you don’t harm them. Keep it simple:

  • Never use poison. It’s illegal and kills pets, hedgehogs and birds too.
  • Never use snares or traps that can injure.
  • Don’t trap and move a fox. Released somewhere new, it may be treated as abandoned, and it struggles to survive.
  • Leave dens with cubs alone until the cubs have left.

If a fox is injured, trapped in netting or clearly unwell, call the RSPCA (or the Scottish SPCA in Scotland) rather than handling it yourself.

Take away what attracts foxes

This is the step that makes the biggest difference, and it costs almost nothing.

  1. Lock bin lids. Use bins with clip or bungee lids and put them out on collection morning, not the night before.
  2. Bring pet food in. Never leave bowls out overnight.
  3. Clear windfalls. Pick up fallen apples, pears and plums every day or two in autumn.
  4. Feed birds tidily. Use a seed tray under feeders and sweep up spilled seed in the evening. The same habit keeps rats out of the garden.
  5. Close the compost. Use a lidded bin, and keep cooked food, meat and dairy out of it.

Wooden bin store with lockable gates holding wheelie bins and a lidded compost bin beside a garden path

A closed bin store and a lidded compost bin take away one of the easiest meals a fox can find.

How to stop foxes living under your shed

Block the gap, but only at the right time. Foxes rest and raise cubs under sheds, decking and summerhouses.

Gardener fixing welded mesh along the base of a shed to stop foxes digging underneath

A mesh skirt bent outwards under the soil stops a fox digging back under the shed. Fit it once any cubs have gone.

Between March and July there may be cubs underneath. Blocking the entrance then can trap them inside or separate them from their mother. Wait until late summer, when the cubs have grown and left.

When the time is right:

  1. Check it’s empty. Loosely stuff the hole with scrunched newspaper or leaves. If it’s undisturbed for three or four nights, nobody is using it.
  2. Fit a mesh skirt. Fix welded mesh to the base of the shed or decking and bend it outwards underground, about 30cm down and out, so a fox can’t dig under.
  3. Keep hedgehog gaps elsewhere. Leave a 13cm hole in your boundary fence for hedgehogs. The guide to a hedgehog-friendly garden explains how.

How to stop foxes digging up your lawn

Treat the grubs, not the fox. Foxes dig shallow, scrappy holes and tear up turf to reach chafer grubs and leatherjackets under the grass.

Lawn with patches of turf torn up and chafer grubs visible in the exposed soil

Torn-up turf like this usually means grubs underneath. Deal with the grubs and the digging stops.

Lift a patch of turf and look for fat, C-shaped white grubs or grey-brown legless ones. If you find plenty, water in the right biological nematodes when the soil is warm, usually late summer to early autumn. The guide to chafer grubs in lawns covers timing and repair.

Not sure who’s digging? Badgers make similar damage, and so do birds. The guide to small holes in the lawn overnight helps you tell them apart. For badgers, which are protected, see how to deter badgers safely and legally.

How to protect chickens from foxes

Shut hens in a fox-proof coop every night, without fail. A fox that gets in will often kill every bird.

Walk-in chicken run of welded mesh with a mesh roof and a mesh skirt laid around the base, with hens inside

Welded mesh, a roof and a mesh skirt round the base keep a fox from getting in or digging under. Shut the hens in the coop every night too.

  • Use welded mesh, not chicken wire. Foxes can bite or tear through chicken wire.
  • Roof the run with mesh or a solid cover, as foxes climb well.
  • Bury a mesh skirt about 30cm down and out round the run, so foxes can’t dig under.
  • Close the pop hole at dusk. An automatic door helps if you’re often home late.

Rabbits and guinea pigs need the same care, with a strong hutch and secure latches. The guide to keeping chickens in the garden has more on coop and run set-up.

Garden fence topped with an angled mesh extension along a gravel path and planted border

An angled mesh topper makes a fence much harder for a fox to climb. Angle it outwards, towards the side the fox comes from.

Do fox repellents and gadgets work?

They can help as a top-up, but none of them work well on their own.

Motion-activated sprinkler spraying water across a lawn at dusk as a fox runs off

A motion-activated sprinkler can startle a fox off a favourite spot. Move it now and then so it stays a surprise.

MethodHow well it worksGood to know
Removing food and shelterBest long-term fixFree and permanent
Mesh skirts and secure runsVery reliableStops digging and protects pets and hens
Motion-activated sprinklerCan startle foxes off a lawn or bedMove it now and then; switch off in frost
Authorised animal repellentShort-term help on favourite spotsReapply after rain, follow the label
Ultrasonic deviceMixed resultsCan bother pet cats and dogs
Security lightsLittle effect on their ownTown foxes are used to light

Avoid home-made garlic or chilli sprays. Mixes used to repel animals still need to be authorised products in the UK, and they can sting pets’ eyes.

Fencing helps in a small, enclosed garden. Foxes climb and jump well, so a fence needs to be about 1.8m high with an angled topper, and no gaps at the bottom. That’s a big job for a whole garden, so it’s usually only worth it around a vegetable patch or hen run.

Fox year: what happens when

MonthWhat foxes are doingWhat to do
December to FebruaryMating season; screaming at night, more roamingSecure bins and food. Check sheds for gaps before cubs arrive
March to AprilCubs born under sheds or deckingLeave dens alone
May to JuneCubs above ground and playfulDon’t feed or approach them. Protect hens and new lawns
July to AugustCubs growing up and exploringKeep food sources cleared
September to NovemberYoung foxes leave to find their own patchBlock empty dens and fit mesh skirts. Treat grubby lawns

Common mistakes with foxes

Feeding them. A fed fox gets bolder and keeps coming back, and it brings others.

Blocking a den in spring. You risk trapping cubs inside. Wait until late summer.

Relying on one gadget. Sprays and ultrasonic boxes don’t work if the bins are still open.

Using chicken wire for hens. It keeps hens in, not foxes out. Use welded mesh.

Giving up too soon. A fox with an established round needs a few weeks of steady effort to change it.

Frequently asked questions

It’s heavily restricted, and not something to try in a garden. Poison is illegal, snares are banned and causing suffering is an offence. Deterring foxes is the legal, practical route for home gardeners.

What smell do foxes hate the most?

There’s no smell that reliably keeps foxes away. Authorised animal repellents can help for a while, but rain washes them off. Taking away food and shelter works far better.

Do ultrasonic fox deterrents actually work?

Results are mixed at best. Some foxes avoid them for a while, others ignore them. They can also upset pet cats and dogs, so remove food and shelter first.

Will a fox attack my cat or dog?

Attacks on cats and dogs are rare. Foxes and cats usually ignore each other. Rabbits, guinea pigs and hens are at real risk, so keep them in secure hutches and runs at night.

How do I stop foxes digging up my lawn?

Deal with the grubs they’re digging for. Foxes dig lawns for chafer grubs and leatherjackets. Water in the right nematodes in late summer or early autumn and the digging stops once the grubs are gone.

When is fox breeding season in the UK?

Foxes mate from December to February. Cubs are born in March or April and come above ground from about four weeks old. Leave dens alone until the cubs have grown and left in late summer.

Can I trap a fox and release it somewhere else?

No, that’s not a good idea and may be an offence. A fox released in strange territory can be counted as abandoned, and it struggles to survive. Another fox soon moves in anyway.

Next steps

If cats rather than foxes are fouling your borders, read how to stop cats pooing in the garden, or browse more humane fixes in pest control.

foxes pest control garden pests wildlife urban foxes fox deterrent

By Garden UK Editorial Team

Our team produces practical UK gardening guidance from source research, contributor records and established horticultural practice. Editorial standards are overseen by Matt W.

About our editorial team · How we work

Stay in the garden

Seasonal tips, straight to your inbox

One email a month. What to plant, what to prune, what to watch out for. No spam.

Unsubscribe any time. We never share your email. See our privacy policy.