Skip to content
Birds & Wildlife

How to Get Rid of Foxes in the Garden (Humanely and Legally)

How to get rid of foxes in the garden humanely: remove food, block dens at the right time, use approved deterrents and proof sheds and decking with buried mesh.

By the Urgent Pest Control team

Updated · 7 min read

Red fox standing on a frosty lawn at dusk beside a timber shed with wire mesh fixed along its base
Red fox standing on a frosty lawn at dusk beside a timber shed with wire mesh fixed along its base.

The short answer

To get rid of foxes humanely, take away food and shelter. Secure bins and compost, stop food reaching the ground, and block gaps under sheds and decking with weld mesh once you're sure no cubs are inside. Only use repellents approved for foxes. Removing a fox rarely works, because another soon takes over the territory.

  • Foxes are not protected under the Wildlife and Countryside Act 1981, but the Wild Mammals (Protection) Act 1996 makes cruelty an offence.
  • Cubs are born in spring (March to April), so never block a den without checking it is empty.
  • Only repellents approved for use against foxes may be used, following the label.
  • Lambeth Council says if you remove one fox another will take over the territory within weeks, so deterrence works better.
  • Weld mesh fixed to the base of a shed and dug about a foot into the soil stops foxes denning underneath.
On this page
  1. Why are foxes coming into my garden?
  2. Is it legal to get rid of foxes?
  3. Why doesn't removing a fox work?
  4. How do you stop foxes getting under a shed or decking?
  5. When are fox cubs born?
  6. How do you deter foxes from your garden?
  7. Are foxes a danger?
  8. What if a fox looks ill or injured?
  9. When to call a professional

To get rid of foxes in the garden humanely, take away the food and shelter that bring them in. Secure bins and compost, stop food reaching the ground, and block gaps under sheds and decking with weld mesh once you're sure no cubs are inside. Use only repellents approved for foxes. Our fox control service finds where foxes are denning and proofs them out legally.

Trying to remove a fox rarely solves the problem, because another moves into the empty territory. This guide explains why foxes visit, which deterrents work, how to deal with a den safely and what the law allows.

Why are foxes coming into my garden?

Foxes come into gardens for food and for shelter. Knowsley Council says foxes prefer suburban housing with large gardens, where they can shelter under shrubbery, sheds and in secluded corners. They eat birds, rabbits, small mammals, insects, worms, fruit and scavenged food, and often bury food to come back to later.

The RSPCA adds that urban foxes can den above ground, in spaces beneath sheds or other outbuildings. A dry, quiet gap under a shed or decking is ideal for them.

Common garden attractions include:

  • bin bags left out or bins without secure lids;
  • open compost heaps;
  • fallen fruit and spilt bird food;
  • pet food left outside;
  • bonemeal or blood, fish and bone fertilisers;
  • overgrown corners and gaps under sheds and decking.

It is legal to deter foxes, and the law sets clear limits on how. The RSPCA says foxes aren't protected under the Wildlife and Countryside Act 1981, but mistreating them is covered by the Wild Mammals (Protection) Act 1996, and hunting them with dogs is illegal under the Hunting Act 2004.

The RSPCA's foxes in the garden advice says it is illegal to use any substance as a deterrent that hasn't been approved for that use. Knowsley Council says only repellents approved for use against foxes may be used, following the manufacturer's instructions. Poisoning a fox is never lawful, and the RSPCA says suspected poisoning should be reported to the Wildlife Incident Investigation Scheme.

ApproachLegal?Notes
Removing food and shelterYesThe most effective step on its own
Weld mesh under sheds and deckingYesOnly when any den is confirmed empty
Fencing and prickly plantingYesThe RSPCA mentions wildlife-friendly fencing and spiky plants
Repellents approved for foxesYesFollow the label exactly
Home-made chemical mixtures or unapproved productsNoUsing an unapproved substance as a deterrent is illegal
PoisonNoNever lawful against foxes
Trapping and releasing elsewhereNot advisedA trapped fox is a protected animal under the Animal Welfare Act 2006, and another fox soon takes the territory
Blocking a den with cubs insideNoCruel and likely to cause unnecessary suffering

Why doesn't removing a fox work?

Removing a fox doesn't work because the territory is quickly filled. Lambeth Council says that if you remove one fox, another will take over the territory within weeks, and that deterrence is cheaper, more effective and more humane. Knowsley Council says controlling urban foxes is difficult, expensive and rarely successful because of the number of breeding vixens.

Lambeth also points out that foxes have never been classified as vermin by Defra, so councils have no legal obligation to act against them. Knowsley says that unlike rats and mice, the council has no statutory duty to deal with foxes.

How do you stop foxes getting under a shed or decking?

Fix weld mesh to the base of the structure and bury it, but only after checking nothing is living underneath. Knowsley Council recommends weld mesh secured to the bottom of the shed and dug into the soil to a depth of one foot, so foxes can't dig under it.

Technician in grey workwear fixing galvanised wire mesh to garden decking, with a spade, mesh roll and trench beside it
Mesh fixed to the decking frame and bent outwards into the soil as an L-shaped skirt stops foxes digging underneath.

The RSPCA's check for whether a den is in use:

  1. Loosely cover the entrances with soil or sticks.
  2. Leave them for a few days.
  3. If they stay undisturbed, the den is likely empty, and you can pack the hole more firmly.
  4. If they are pushed aside, the den is in use. Leave it and wait.

The RSPCA says blocking is safest in autumn and winter, so cubs aren't trapped inside. If there are cubs, wait until they have left in late summer before doing any work.

Also check whether it's actually a fox. The RSPCA notes fox dens are often mistaken for badger setts: fur or feathers at the entrance suggest a fox, while bedding outside suggests a badger. Badgers and their setts are protected by the Protection of Badgers Act 1992, so if you think it's a badger, don't block it and get advice.

When are fox cubs born?

Fox cubs are born in spring. The RSPCA says foxes mate between December and February, the vixen is pregnant for around 53 days, and she gives birth in March or April. Litters average four or five cubs.

Three fox cubs playing on grass in front of a den under a timber shed while the vixen watches in a garden
Cubs are usually seen outside the den in late spring, which is why timing matters before any exclusion work.

Cubs open their eyes at about two weeks, first leave the den at about four weeks, and are fully weaned by six to eight weeks. They leave to find their own territories around autumn, at about six months old.

That timing tells you when to act. Deterrents and proofing work best before the breeding and cub season. Lambeth notes December to February is one of the most common times for problems, and calls rise again in autumn when young foxes look for territories of their own.

How do you deter foxes from your garden?

You deter foxes by taking away food and shelter; scent repellents only help alongside that. Combining the RSPCA's and Knowsley Council's advice:

  • use bird feeders that don't spill food on the ground, or a high bird table;
  • clear fallen fruit, pet food and spilt seed;
  • keep bins and composters securely closed;
  • stop using bonemeal and fertilisers containing meat, fish, blood or bone, which can encourage digging;
  • clear overgrown corners and piles of rubble that give cover;
  • fence vegetable beds and fruit with solid weld mesh rather than flexible netting, which can tangle wildlife;
  • keep rabbits and guinea pigs in secure hutches with weld mesh, a solid roof and floor and a secure lock;
  • bring toys and shoes in at night, as Knowsley notes cubs like to chew and play with them;
  • keep garage and shed doors shut;
  • check air bricks under the house are in good repair.

Commercial repellents can add to these steps, as long as the product is approved for use against foxes and used as the label directs. Lambeth notes some products sold for cats may upset other pets.

Are foxes a danger?

Foxes pose little danger to people. Knowsley Council says the fox does not pose a danger to people and is not naturally aggressive to humans, but like any wild animal it may defend itself if it feels threatened. It also says incidents of foxes killing cats are extremely rare, though small pets like rabbits and guinea pigs are part of a fox's diet.

Don't hand-feed foxes or leave out large amounts of food: the RSPCA advises against encouraging them to depend on it.

Bins, compost and spilt bird food attract rats as well as foxes; our guide to how to get rid of rats in the garden covers that side. For other garden mammals, see our guides to how to get rid of moles and are grey squirrels protected?.

What if a fox looks ill or injured?

Don't try to catch or handle it. The RSPCA has advice on helping a sick, injured or orphaned fox, and it lists mange among the things that can severely shorten a fox's life. A fox that looks thin, with patchy fur, or that seems slow and unafraid, may need help rather than deterrence.

If you suspect a fox has been poisoned, the RSPCA says not to touch it and to report it through the Wildlife Incident Investigation Scheme. For fox cruelty in progress, call 999; for non-urgent reports, call 101.

When to call a professional

Call a professional if foxes are denning under a shed, decking or outbuilding, if you aren't sure whether cubs are present, or if you run a business, school or site where foxes are getting into bins or buildings. The work must be timed around cubs and done so no animal is trapped.

Urgent Pest Control's fox control service starts from £250. It finds where foxes are denning and why they are visiting, then uses humane, legal deterrence and proofing, such as buried mesh skirts around sheds and decking. If there are cubs, we wait until the den is empty. For other gaps around the house, our pest proofing service can help. Ask us for a price; it depends on the property and the proofing needed.

We work 7 days a week, 6am to 8pm, across Nottingham, Derby, Leicester, Lincoln and the surrounding counties. Book online, or call or WhatsApp 07999 935 929.

Sources

Frequently Asked Questions

Removing food and shelter is the most effective deterrent. Secure bins and compost, clear fallen fruit and spilt bird food, stop using bonemeal and blood, fish and bone fertilisers, and block access under sheds and decking with weld mesh once any den is empty. Approved repellents can help alongside these steps.

Usually not. Councils have no statutory duty to deal with foxes as they do with rats and mice. Lambeth Council notes foxes have never been classified as vermin by Defra, and many councils offer advice only.

It isn't a solution. Lambeth Council says that if you remove one fox, another takes over the territory within weeks. A fox held in a trap is also a protected animal under the Animal Welfare Act 2006, so causing it unnecessary suffering is an offence. Deterring foxes with food and shelter removal works better.

The RSPCA says cubs first leave the den at about four weeks old and are weaned by six to eight weeks, then leave to find their own territories around autumn at about six months. If a den is in use, wait until the cubs have left in late summer before blocking it.

Knowsley Council says foxes are not a danger to people and are not naturally aggressive, though like any wild animal they may defend themselves if threatened. Pets such as rabbits and guinea pigs can be taken, so keep them in secure hutches made with weld mesh rather than chicken wire.

About the author

The Urgent Pest Control team

A family-run pest control company based in Southwell, treating homes and businesses across Nottinghamshire, Derbyshire, Leicestershire and Lincolnshire since 2020. Our guides are written from the jobs we do and checked against UK sources. More about us

Cite this guide: “How to Get Rid of Foxes in the Garden (Humanely and Legally)”, Urgent Pest Control, 4 November 2026. https://urgentpestcontrol.uk/blog/how-to-get-rid-of-foxes-in-the-garden

Want us to deal with it?

Get a clear price today

A local technician calls you back, usually within the hour during opening times. 7 days, 6am–8pm.

Request A Callback

Tell us what you've found and where.

Property address (required)

We only use your details to reply and arrange the work. See our privacy policy. Protected by reCAPTCHA: the Google Privacy Policy and Terms apply.

Call NowWhatsAppBook Online