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
Our sports correspondent Matthias Kurth takes a look at the Robins' new energy and determination under Gary Johnson.
Weather wizard Kate Haskell gives an insight into the rainy July we've had, and what might be in store for the rest of the summer.
A Breaking Bad-style drugs gang led by a cancer victim - just like in the hit TV series - has been jailed for more than 80 years.