The grade II listed prison, also known as Cornhill, was home to almost 200 inmates serving the final years of their life sentences until its recent closure.
Since then, it's fast acquired the reputation of being the most haunted prison in the UK, with tales of phantom soldiers, disembodied voices, and the apparition of a woman in a wedding dress.
The prison dates back to 1625, originally men, women and children were packed into Shepton Mallet together, apparently in dreadful conditions. The cells held debtors, thieves, vagrants and people with mental health disorders. Poor amenities and primitive sanitation led to frequent outbreaks of ulcers, jaundice, asthma and venereal diseases.
With almost 400 years of detaining murderers, violent criminals and notorious gangsters, plus a history of brutal executions, cruel punishments, suicides, and countless dead in unmarked graves within the prison walls, it's no wonder HMP Shepton Mallet has gained this reputation.
Test your knowledge of the ghosts and hauntings associated with the now disused HMP Shepton Mallet with these ten tricky questions.