Rats are usually unwelcome visitors in our gardens – they are generally considered vermin and can spread potentially serious diseases, including Leptospirosis, which can lead to Weil’s disease. They can set up home beneath decking, in sheds or greenhouses, and compost heaps.


Rats are mostly nocturnal so you may not see them, but there are other tell-tale signs to look out for. You may spot their tunnels (6-9cm in diameter) or their ‘runs’ – tracks alongside walls, fences or buildings that are up to 10cm wide. You might also notice their cylindrical droppings (around 15mm long and 5mm wide), gnawed wood (especially where food is stored), or parallel teeth marks in crops.

Like all living things, rats need food, water and shelter to survive. Remove at least one of these from your garden or allotment and they are less likely to stay.

How to get rid of rats in the garden

Stop feeding wild birds and animals

Bird feeder
A plastic tube bird feeder full of bird seed, hanging from a tree

Rats feed on grain and may be attracted to your garden by fallen food from bird feeders. Stop feeding birds if you suspect rats are visiting your garden, and secure chicken runs. Store bird and other animal food in secure containers.

More like this

Keep the garden tidy

Mowing long grass
Mowing long grass

Tidy gardens are less likely to attract rats as they provide less cover. Keep grass short, clear cluttered storage areas, remove rubbish and reduce overgrown areas, especially near fences or garden buildings.

Looking for a new lawnmower? Our experts have put a range of models through their paces to find the best cordless mowers, best robotic mowers as well as the best lawn mowers to buy in 2022. You might also find our round ups of shed storage ideas useful, as well as garden storage in general.

In a hurry? Here are our Best Buy cordless mowers, so you can buy in confidence:

Move things around

Moving objects around
Planted terracotta pots and garden furniture arranged on a well-swept patio

Rats are ‘neo-phobic’, which means they have a fear of new things. They don’t like disruption to their territory, so place obstacles in their runs and move things around in the garden frequently.

Block access to decking

Block access to decking
Wooden decking in a garden

The space beneath decking is perfect for rats – it’s sheltered, hard to reach and food scraps can fall between the planks. Sweep up any fallen food after alfresco meals. Block access if possible or consider installing a patio instead, if the problem persists.

Block access to garden buildings

Garden shed
A wooden garden shed with an ivy screen along one side

Block any holes in the walls, floors and doors of your garden buildings securely. You could add a metal ‘kick plate’ to your shed door to prevent entry.

Protect your compost bin

Turning a compost bin
Turning green and brown materials into a compost bin fitted with a secure lid

Make your bin or heap uninviting – don’t add food scraps and keep it moist (which rats don't like) by including plenty of green and brown materials. Watering the heap regularly can also deter them. Fixing chicken wire around the base of the bin can also help, as it prevents rats from being able to dig beneath the bin to climb inside. Turn the heap regularly but bear in mind that other wildlife uses compost heaps too. If rats have made a home in your bin, don’t use the compost on edible crops.

Need to update your compost bin? Our experts have tested a range of different types, so you can choose the best compost bin to suit your garden. Here's a list of the Best Buys from that test, at a glance:

Keep an eye on crops

Storing apples
Storing apples wrapped in newspaper, in layers in trays

There’s not much you can do to keep rats off your crops. Rats will eat sweetcorn, pumpkins, squash, root vegetables and apples, so once harvested, store them somewhere secure. If you suspect that stored or growing crops have been nibbled by rats, don’t eat them. Rats also eat seeds, so store them securely.

Remove water sources

Dripping tap
A well-maintained garden tap

Rats can’t survive without water. While it's not advisable to remove garden ponds or bird baths, removing other sources of water, including dripping taps, can help deter rats, Secure drains and add baffles to drainpipes.

Encourage predators

Fox looking for food in autumn. Getty Images
Fox looking for food in autumn. Getty Images

Rats form a substantial part of a fox's diet, so – where possible – it's a good idea to give foxes space to live in your garden or allotment, too. Pets can also deter rats, as they can be a disruptive force in the garden, making the rats less likely to stay.

Control them

Rat in a garden. Credit: Getty Images
A rat in a garden (photo credit Getty Images)

As an absolute last resort, you may consider taking stronger measures to control rats. Do this only after all other efforts to deter them have been exhausted, as poisons can harm other wildlife in your garden and can get into the wider environment. First, identify where the rats are living and feeding routes they take between them – in neighbouring gardens, too. Traps and poisons are sold at garden centres but must be used correctly – read the label. It's better, and safer, to contact your local council or professional pest controller.