Walking up my garden a few weeks ago, I discovered great clumps missing from my lawn, and that the resulting holes had been used as some sort of animal toilet.

I live in a fairly rural area, and was soon told the likely culprits were badgers, territorial creatures which have no problem digging under fences to forage for food in my – and many other people’s – prized grass.

“They are the JCBs of the animal world, built for digging,” says Jack Reevey, media adviser of the charity Badger Trust (badger.org.uk). “It’s very difficult to deter them. If you try to fence them out, it would have to be a very strong chain link fence rather than chicken wire and you would have to dig it 2ft down because they can burrow under fences. The fence also needs to be higher than 3ft or they’ll climb over it.”

Pungent scents such as Olbas oil or citronella can deter them, he notes, but such scents will have to be re-applied regularly because they evaporate or rain simply removes them. If you are fertilising flower borders, avoid adding fish, blood and bone to them as its scent attracts them, along with the rich, loamy soil which is a haven for worms.

“Although badgers are timid creatures, light doesn’t particularly worry them and they get used to other distractions such as scarecrows or sonic devices,” he notes. “Noise doesn’t worry them either. I’ve heard of setts being made under train tracks and of one instance where a sett was found under the runway of an RAF airbase.”

If you have a particular patch of lawn where the badgers are feeding, you can place a piece of chicken wire on the offending area, pegging it down strongly, and let the grass grow through it. It should deter the badgers, who don’t like getting their claws caught in the wire mesh.

Lawns in good condition, particularly if they are well-drained and free of moss, are also less likely to suffer, the Trust says.

The RHS advises replacing damaged turf by re-sowing with grass seed or laying turf in April. They add that improved aeration and drainage of a lawn will reduce the insect larvae burden, too. Also the removal of moss and overhanging vegetation which both contribute to damp areas.

A badger’s diet consists of around 50 per cent worms and the rest is made up of insect larvae found in lawns and short grass.

In the vegetable patch, they love carrots but I’ve heard they don’t like parsnips or beetroot which you can plant to keep them away, and some gardeners put out peanuts (which they are fond of) in the hope it will distract them from more precious garden crops.

They will also eat flower bulbs, fruits and vegetables, and seasonal availability of these foods will often mean badger activity fluctuates with the time of year.

With all this advice in mind, always seek advice before taking any action. Many badger conservation groups have a lot of experience in dealing with problems caused by badgers and your local group may be able to provide advice.