They are among our most popular garden visitors - yet the hedgehog population is estimated to have halved in less than 20 years.
Climate change has brought about long, hot summers, which can pose a threat to these prickly mammals.
Here's how hedgehogs are affected - and what you can do to help...
Food supply
"Hedgehogs largely eat invertebrates - among their favourites are worms and beetles," explains conservation research scientist Dr Tom Moorhouse.
"In long, hot summers when it's dry, the invertebrates tend not to be near the surface, so the amount of worms available in both gardens and agricultural areas massively declines. Hedgehogs and insectivorous birds start running out of food."
Badger problems
Hedgehogs who live in agricultural areas might face problems from badgers, Moorhouse warns.
"Badgers are super-specialist in eating worms. When it's hot and dry, they can't dig up worms either. They are not only competing for the same food that the hedgehogs want, they are also big and strong enough to eat hedgehogs."
He continues: "In long, hot summers, the predators that hedgehogs have are more likely to be desperate enough to take them on. That counts for foxes as well. Even if they don't manage to get hold of a hedgehog, the hedgehogs are going to be forced to flee more often, using up more energy and [making them] unable to forage as much."
Moorhouse, whose new book Ghosts In The Hedgerow goes some way to explaining their plight, says gardeners can do a lot in spring - when these mammals come out of hibernation - to give them a head start on the warm weather ahead.
"They will be looking for as much food as they can get their paws on, such as worms and beetles, slugs and snails. Worms are a major part of their diet."
Pests and diseases
When hedgehogs are in a weakened state, they become more susceptible to pests and diseases, warns Fay Vass, chief executive of charity The British Hedgehog Preservation Society.
"Parasites thrive on creatures which aren't doing so well," she notes. Parasitic worms called lungworm can invade the lungs and can be fatal. Slugs, which form part of the hedgehog's diet, are carriers of lungworm and when the hedgehog's immunity is low, lungworm can take hold.
"Hedgehogs also pick up tics naturally, wandering in long grasses. Usually they will drop off, but if the hedgehog is weak it will attract a lot of tics which will feed off it," she adds.
What you can do to help
How to tell if a hedgehog is sick
"That's tricky. We don't want to encourage people to pick up hedgehogs, but you can generally tell if a hedgehog's underweight because rather than being in a round ball, it looks almost diamond-shaped," says Moorhouse.
Food and water are key
"Leave out food, leave out water and leave it be, unless it's clearly at death's door. You can buy bespoke hedgehog food from supermarket, or any good quality cat food or dog food will do the job," advises Moorhouse.
Vass urges gardeners to give hedgehogs the best start as they come out of hibernation by putting out food and water to help build up their fat reserves, which will give them a better chance of surviving any period of famine.
"If we have another scorching summer, they will be very thirsty and you have to think, where are they going to get water from?" asks Moorhouse.
"If they're in urban areas it's basically garden ponds, and if there aren't any of those around, they are in trouble. So leave out a dog bowl of water and check regularly to make sure it's being drained."
Help give them shelter
"Leave an area scruffy because that will be filled with all the invertebrates they're going to eat - and they can also hide in it," Moorhouse advises.
Vass says leaving log piles in the garden will give hedgehogs natural shelter and food, as invertebrates may also inhabit the space.
"Hedgehogs are ending up much more of an urban species than they ever were," Moorhouse explains. "They seem to be declining slower in urban areas than in rural areas, but they are still declining in urban areas due to urban intensification - so every time you put in a new fence, or a new house is built on what was scrubland, or you strim down weeds or put in decking, it crowds out space for nature.
"Make sure they can get into your garden. You may have the best garden on the planet for a hedgehog, but if they can't get into it, it's not worth anything. Talk to your neighbours, ask if they'd mind if you cut a CD case-sized hole in your fence, and you're opening up the garden for hedgehogs."
Ghosts In The Hedgerow: A Hedgehog Whodunnit by Tom Moorhouse is published by Doubleday, priced £16.99. Available now.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here