According to Farah province police chief General Mohammad Faqir Askar, the prisoners escaped through a tunnel dug from their cell.
Askar said that the 13th prisoner who was arrested while trying to escape revealed that they had plan to evacuate the cell slowly thorugh the which took them 10 days to dig.
Earlier, a low intensity bomb was set off in trash bin in Kabul, but there were no casualties.
This is the second instance involving Taliban militants in the overcrowded jail of Kabul.
On Jun 2008, 900 inmates were freed when Taliban militants attacked a prison in the southern city of Kandahar.