Rats in the compost bin – the honest UK gardener's guide to keeping them out

Rats in the Compost Bin? 4 Steps That Keep Them Out (UK 2026)

From Tyrol · CES Innovation Award 2023 Honoree · Made in Söll

Rats in the compost bin? 4 steps that keep them out – the honest UK guide 2026

Tunnels through the heap, droppings on the lid, a brown tail vanishing under the bin. You want to keep composting – just not for the rats. Here’s why they come, what works, and in which order.

Keep rats off the compost – see IREPELL.one (€269) Jump to the 4-step plan

30-day money-back · 2-year warranty · free shipping · how it works

By the IREPELL® Editorial Team, Söll/Tyrol · Updated November 2026 · We make IREPELL, so we name its limits as well.

CES Innovation Award 2023 Honoree Made in Tyrol Austria – Industry at its Best

Quick answer

Stop adding cooked food, meat, dairy and bread, stand the bin on fine welded mesh, keep the lid clipped, turn the heap often and deter rats beside the bin. Each step removes one reason to stay.

IREPELL.one rat repeller for the garden

Rats back at the bin every night? Try it for 30 days.

★★★★½ 4.5 out of 5 · 98 verified reviews

IREPELL.one: AI-controlled frequency variation, predator sound, 6 speakers for 360°, app with 16 species incl. rats and mice. €269 €385

Protect the compost – see IREPELL.one

30-day money-back · 2-year warranty · free shipping · how it works

4layers, in the right order
16 m Øcoverage against rats (approx. 52 ft)
16species, rats and mice included
30 daysmoney-back, 2-year warranty

Signs of rats in your compost

  • Tunnels and round holes in the heap or at the foot of the bin, often with loose soil pushed out.
  • Droppings on the lid, the rim or the path next to it: dark, about 1–2 cm, with blunt ends. Rice-grain-sized ones point to mice – see how to tell rat droppings apart.
  • Gnaw marks on the plastic edge of the base or the hatch.
  • A worn run along the fence, the shed or the edge of the lawn – rats use the same route every night.
  • Scraps dragged out or a nest of shredded material when you open the hatch.
  • Movement at dusk – a quick shadow along the fence is often the first sign people notice.

Why rats love compost bins

For a brown rat, a compost bin is a restaurant and a bedroom in one. Four things draw them in:

  • Food: cooked leftovers, bread, meat or dairy are the big magnets, but even a heap of fresh peelings is worth a visit.
  • Warmth: a working heap is warmer than the soil around it – ideal for a winter nest.
  • Easy digging: loose material and an open base make tunnelling simple.
  • Quiet: a heap nobody touches for months is a safe place to raise young.

That’s why rats often turn up “suddenly” in autumn: food is getting scarcer outside, the heap is warm and the garden is quieter.

The 4-step plan that keeps rats out

Most people start with a trap or poison, catch one rat and see the next one move in. Work through the layers instead:

The rat-resistant compost bin: 4 layers Cross-section of a garden compost bin with four layers of protection: 1 only raw plant waste goes in, 2 a clipped lid and fine welded mesh under the base, 3 a humane deterrent under cover beside the bin, 4 the heap is turned and kept moist so rats find no quiet nest. Rats in the compost? Close the bin in 4 layers Food, access, deterrent, disturbance raw plant waste 1 2 3 4 fine welded mesh under the base beside the bin, under cover 1 Stop the buffet No meat, fish, dairy, bread or cooked food – raw plant waste only. 2 Close the way in Fine welded mesh under the base, lid clipped shut, no gaps at the hatch. 3 Make the spot uncomfortable Humane deterrent beside the bin, facing the run, under a roof. 4 Disturb the heap Turn it often and keep it moist – rats nest where it is dry and quiet. IREPELL® Editorial Team, Söll/Tyrol
The rat-resistant compost bin: stop the buffet, close the way in, make the spot uncomfortable, disturb the heap.

1. Stop the buffet

Raw vegetable and fruit peelings, garden waste, cardboard and paper only. Meat, fish, dairy, bread, rice, pasta and anything cooked go into your council food-waste caddy. While the rats are active, pause kitchen scraps altogether for a few weeks.

2. Close the way in

Most plastic “dalek” bins have no floor. Lift the bin, lay fine galvanised welded mesh underneath and turn it up a few centimetres inside the walls, or stand the bin on a paving slab with mesh around the edge. Keep the lid clipped and check the hatch for gaps.

3. Make the spot uncomfortable

Now take away the feeling of safety. A humane deterrent beside the bin, facing the rats’ run, tells them every night: not here. Run it continuously and give it two to three weeks before you judge – rats are creatures of habit.

4. Disturb the heap

Turn the compost every week or two and keep it moist. A wet, regularly disturbed heap is a poor nest. A hot heap also breaks down faster, so there’s less to tempt them.

Why the order matters: fixing the base while rats still find food just moves the problem next door – and back again. Food first, then access, then deterrence and disturbance.

Step 3 sorted – see IREPELL.one

30-day money-back · 2-year warranty · free shipping · how it works

Rats in compost: what works – and what doesn’t

Here is what UK gardeners usually try, judged on what counts: does it still work after a few weeks, and is it humane?

Method What it does Weak point Verdict
No cooked food, meat, dairy removes the main attraction doesn’t move rats already nesting Always step 1
Mesh base + clipped lid blocks the way in from below rats may dig at the edges if food stays Essential, step 2
AI ultrasound + predator sound (IREPELL) makes the bin area uncomfortable needs line of sight; no device works on every rat Active layer for step 3
Cheap ultrasonic unit one fixed tone rats often get used to it Rarely lasts
Snap traps removes single rats others take over the spot; must be covered from pets and birds Only with steps 1–2
Poison kills rats risk to pets and wildlife; dead rats in the heap Leave to professionals
Peppermint, chilli, scents short smell barrier washed away by rain A few days at best

Disclosure: we make IREPELL. That’s why we list its weak point too – it is one layer, not a replacement for a closed bin.

Where to put a rat deterrent by the compost

Find the run

Rats travel along edges: fence, shed wall, hedge. Sprinkle a little flour or damp sand by the bin – footprints show the route the next morning.

Height and line of sight

Place the device 30–50 cm off the ground, beside the bin, with a clear view along the run. Against rats one IREPELL.one reaches about 16 m in diameter (approx. 52 ft); overall it covers up to 250 m² (approx. 2,690 sq ft) in open space and around 150 m² (approx. 1,615 sq ft) with sheds, walls and hedges in the way.

Under cover, not in the rain

The device is frost-proof but only splash-proof: mount it under the shed overhang or a small canopy with the wall bracket in the box. It runs on its battery for several days, or continuously with a USB-C power adapter (not included).

Pick the right mode

Choose the rat profile in the app, or automatic mode – it covers all target species except cats, which have their own cat mode. Dogs hear ultrasound too, so keep the device away from your dog’s favourite spot.

Practical tip: rats in the compost are often a sign of rats nearby – under the shed or decking, or around the bird feeder. Check those spots as well; a second device (IREPELL.duo) can cover the shed and the bin at the same time.

Greetings from Tyrol

In our valley almost every house has a compost heap behind the barn, and the brown rat knows them all. Nobody here wants to stop composting because of it – we just make the heap the least interesting spot in the garden.

That’s the idea behind IREPELL: no poison, no harm, a changing signal that says “not here”. Final assembly in Söll, CES Innovation Award 2023 Honoree, over 1,500 units in use since 2023.

Made in Söll, Tyrol

Is the compost still safe – and what about the law?

Health: brown rats can carry leptospirosis (Weil’s disease) and other germs in their urine and droppings. Wear gloves when you handle the bin, wash your hands, keep children away from it and cover cuts. Many gardeners let affected compost mature longer and use it on ornamental beds rather than salad crops. This is general information, not medical advice.

Hedgehogs: compost heaps are popular winter quarters. Between November and March, open the heap gently and look before you dig in with a fork.

The law: humane deterrence and good hygiene on your own land are generally fine. Rules on traps and poison differ between the UK nations and change over time – check with your local council or a pest professional, and leave rodenticides to trained hands. This is general information, not legal advice.

Keep composting. Just not for the rats.

Try IREPELL.one by your compost bin for 30 days. If it doesn’t work in your garden, send it back and get your money back.

Protect the compost – order IREPELL.one

30-day money-back · 2-year warranty · free shipping · how it works

IREPELL.one or .duo – which suits your garden?

IREPELL.one AI rat repeller

IREPELL.one

€269 €385
  • One spot: compost bin, shed or bird feeder
  • Up to 250 m² open, approx. 150 m² built-up
  • Battery (several days) or USB-C
  • ★ 4.5/5 from 98 verified reviews
  • 30-day money-back, 2-year warranty
Go to IREPELL.one
IREPELL.duo set of two devices

IREPELL.duo

€515 €689
  • Two spots: e.g. compost bin and shed
  • Up to 300 m², both controlled in the app
  • For large gardens and allotments
  • Cheaper than 2× .one
Go to IREPELL.duo
30 daysMoney back if it doesn’t work for you
2 yearsWarranty · details
Made in SöllEvery device checked in Tyrol

Frequently asked questions about rats in compost

Why are there rats in my compost bin?

Compost offers food, warmth and soft material to dig in, all in one place. Rats come for scraps (especially cooked food, bread, meat or dairy), stay for the dry, warm corners of the heap and get in through the open base or a gap at the lid.

Is it safe to use compost that rats have been in?

Brown rats can carry leptospirosis (Weil’s disease) and other germs. Many gardeners leave the compost to mature for longer and use it on ornamental beds rather than on salad crops. Always wear gloves, wash your hands and keep children away from the bin. This is general information, not medical advice.

How do I get rid of rats in my compost bin without poison?

Stop adding food waste, stand the bin on fine welded mesh, keep the lid clipped shut, turn the heap often and place a humane deterrent beside the bin. Together these remove the reasons to stay; one measure alone rarely lasts.

Should I stop composting if I have rats?

Not necessarily. Pause adding kitchen scraps for a few weeks, fix the base and the lid, and keep the heap moist and disturbed. Once the rats have moved on, carry on with raw plant waste only. Cooked food belongs in your council food-waste caddy, not in the compost.

What should not go in compost to avoid rats?

Meat, fish, bones, dairy, bread, rice, pasta and any cooked food. Fat and oil attract rats too. Raw vegetable and fruit peelings, garden waste, cardboard and paper are fine.

Do rats live in compost bins in winter?

Yes – a heap is warmer and drier than the soil around it, so autumn and winter are when rats move in to nest. That is also when you hear about them most.

Does turning compost get rid of rats?

It helps. Rats want a quiet, dry nest. Turning the heap every week or two and keeping it moist makes it far less attractive – but it won’t stop rats that still find food, so combine it with the other steps.

Do ultrasonic rat repellers work for compost bins?

A deterrent can make the area uncomfortable, but it works best as one layer of four, not as a cure on its own. Cheap units play one fixed tone that rats get used to. IREPELL varies frequency and pattern and adds a predator sound – still, no device works on every rat, which is why there’s a 30-day money-back period.

Where should I put the repeller near the compost?

Beside the bin, about 30–50 cm off the ground, with a clear line of sight along the rats’ run – usually the fence line or the path between bin and shed. Put it under cover: the device is frost-proof but only splash-proof.

Will a rat repeller affect my cat, dog or hedgehogs?

Dogs and cats can hear ultrasound. Automatic mode leaves cats out (cats have their own cat mode); place the device away from your dog’s favourite spot. Hedgehogs often overwinter in heaps and leaf piles – check gently before you fork the compost between November and March.

Is it legal to deal with rats in my garden myself?

Humane deterrence and good hygiene on your own property are generally fine. Rules on traps and poison differ between the UK nations and change from time to time – check with your local council or a pest professional. Rodenticides belong in trained hands. This is general information, not legal advice.

How long until the rats leave the compost?

Nobody can honestly promise a fixed time. Remove the food, fix the base and lid, run the deterrent continuously and give it two to three weeks. If it doesn’t work for you, the 30-day money-back guarantee applies (return shipping paid by the customer).

Your compost. Your garden. The rats can look elsewhere.

30-day money-back · 2-year warranty · Free shipping · CES Innovation Award 2023 Honoree

Keep rats out – order IREPELL.one for €269
IREPELL.one · €269 instead of €385
30-day money-back · Free shipping
Order now
Terug naar blog