Filming in active prisons is generally not permitted for obvious reasons, and as a result, prison sets are built in soundstages, back lots, and inside other locations. A few prisons in Los Angeles are currently closed, and are regular filming locations.