ocoaiOne Click Operation AIPhilippine Bar & law practiceSign inOpen the app
Rule 102

Writ of habeas corpus in the Philippines

Habeas corpus tests the legality of a person's confinement. Rule 102 of the Rules of Court governs the petition.

When it lies

When a person is unlawfully restrained of liberty; not a substitute for appeal of a valid judgment in ordinary course.

Where filed

Supreme Court, Court of Appeals, or RTC as Rule 102 provides.

Petition

Verified petition stating the restraint and why illegal; court may issue the writ returnable forthwith.

Sources

Last reviewed November 9, 2026. Laws, rules and Bar Bulletins change; if a source above has been amended or superseded, the official text controls.

Writ of habeas corpus in the Philippines — FAQ

Vs amparo/habeas data?

Different writs under the Rule on the Writ of Amparo / Habeas Data — pick the correct remedy.

Emergency?

Contact counsel/court immediately; this page is informational.

ocoai?

Research aid only.

Writ of habeas corpus in the Philippines | ocoai