The prison inmates were being taken to district court in a van from the jail, which is on the outskirts of the city, police said.
On the way to court, the inmates indulged in a fight.
The policemen, who had been assigned the task of escorting the prisoners, got out of the van and opened the door of the rear to bring the situation under control, a senior police official said.
As soon as the door was opened the prisoners shoved the policemen away and fled.
A case has also been registered in connection with the incident, the SSP said, adding, "the prisoners who have escaped were locals, booked mainly for petty crimes."
An intensive search has been launched to trace them, the officer said.