Eskilstuna District Court will hold arrest proceedings against the men during the afternoon.
At lunchtime on Wednesday, two previously convicted murderers and inmates at Hällbyanstalten barricaded themselves in a guard room, and took two prison guards hostage.
Negotiations began with the men, who initially requested a helicopter.
At around 7 pm, one of the prison guards was released in exchange for 20 pizzas delivered from a local pizzeria.
At 9.30 pm, it was announced that the other prison guard had also been released.