A warm summer has led to large numbers of rodents looking for refuge during the colder months. As families get ready for Halloween this weekend, there's one item they might be placing in their garden that could trigger an invasion of rats and mice.

Leaving carved pumpkins outside for Halloween could attract rats and mice into gardens and homes, according to the pest control specialists at Pests UK.

Pumpkins contain edible flesh and seeds that these rodents love to feast on.

Carving removes part of the protective skin and exposes the flesh and seeds, giving rats and mice simpler access.

Black rat on the background of red pumpkin. Autumn harvest of vegetables. Halloween holiday concept.

Why do pumpkins attract rats and mice?

According to the professionals, rodents such as rats and mice will relish feeding on pumpkins, particularly if they're carved and open to expose the tasty fruit within.

Rats and mice aren't especially choosy when it comes to food – they will consume the flesh and seeds of pumpkins.

They are naturally nocturnal animals, so it's probable that they'll only come out at night for a late-night feast.

The specialists cautioned, "Pumpkins placed outside can lure rodents to your home, which increases the risk of an infestation in or around your property."

How to prevent rats from entering your garden to feast on pumpkins

There are several natural methods to keep pests away from your garden and Halloween pumpkin. First, consider opting for reusable artificial pumpkins.

These plastic or papier-mache decorations are ideal as you can bring them out year after year, and they won't attract unwanted pests into your home.

Ensure our latest garden headlines always appear at the top of your Google Search by making us a Preferred Source. Click here to activate or add us as a Preferred Source in your Google search settings

Real carved pumpkin in house

Another option is to keep your carved real pumpkins indoors, away from any gaps or openings where rodents might creep in. Provided your home is properly sealed against rats and mice, your pumpkin should be relatively safe.

Just be sure to dispose of it after a few days, as rotting food is essentially a magnet for pests — whether it's kept inside or outside.

Finally, swap out a real candle for a battery-operated artificial one instead. Using an actual flame inside your pumpkin speeds up the rotting process and creates the ideal conditions for pests to move in far more quickly.

What other pests do pumpkins attract to gardens?

Squirrels

While pumpkins aren't usually top of a squirrel's preferred menu, they'll tuck into them regardless, driven by their natural instincts. These pests are well known for being messy eaters and destructive visitors, leaving your carefully carved pumpkin in complete disarray.

Slugs and snails

Snails and slugs are absolutely fond of feasting on tender young pumpkins. When you carve a design into your pumpkin, you're essentially creating an all-you-can-eat buffet entrance for these moisture-loving pests.