The Ministry of Justice has said that Gloucester Prison and Shepton Mallet in Somerset is one of six prisons that will close in England under plans to build a so-called super-prison.
Shepton Mallet prison is the oldest working prison in the country.
Some 2,600 offenders are held at the prisons targeted for closure, plus three sites which will be partially shut down.
Prisons at Bullwood Hall, Canterbury, Gloucester, Kingston, Shepton Mallet and Shrewsbury will close, while Chelmsford, Hull and Isle of Wight will see some accommodation reduced.
A feasibility study on what would be Britain's largest prison in London, the North West or North Wales, holding more than 2,000 prisoners, is also to begin, the Ministry of Justice (MoJ) said.
More top news
It was wet, it was muddy but it was typically Glastonbury. Take a look back at the best moments of Glastonbury 2016 with Ian Axton.
As the clean up after Glastonbury begins here's a low down of exactly what that entails in numbers.
Kerry McCarthy - the Bristol East MP who resigned from Jeremy Corbyn's cabinet - says she's 'shocked and depressed' by accounts of racism.