The prison scenes were shot at an actual prison which was still in use, though in an empty wing away from the prisoners. Still, the crew were instructed to immediately place all equipment and themselves against the wall in case an alarm went off, to prevent the responding guards from running into them. An alarm did go off during production because of a fight between several prisoners, and the crew followed their instructions.
This was the first episode shot for the series.