The undertrials, brought from Faridkot central jail, were kept in a temporary jail before their appearances in the respective courts in different cases, police said.
They have been identified as Kuljinder Singh and Kulwinder Singh facing trials under the NDPS act, Lachhman Dass arrested in a theft case and Kirpal Singh facing murder charges.
After their court appearance, they were locked in 'Bakshi Khana' (temporary jail for undertrials in Judicial Complex) and in the evening they escaped after breaking the grills of window, police said