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.