The case before the Islamabad High Court on Thursday involved Musharraf's decision to suspend the constitution and declare a state of emergency in 2007. He also placed senior judges, including the chief justice of the Supreme Court, under house arrest.
Musharraf obtained pre-arrest bail before he returned to the country, meaning he could not be arrested when he landed - a feature of Pakistan's legal system.
The Islamabad High Court refused to extend that bail on Thursday and ordered his arrest, said police officer Ali Asghar. Policemen were deployed at the court to detain the former military ruler, but he managed to escape, said Asghar.
A spokeswoman for Musharraf, Saima Ali Dada, confirmed that the court rejected his bail. His legal team is trying to decide his next move, said Dada.
- AP