Petition for Writ of Habeas Corpus (Philippines)
REPUBLIC OF THE PHILIPPINES
[Court]
In the Matter of the Petition for the Writ of Habeas Corpus of [Detained Person Name],
[Petitioner Name], Petitioner,
- versus -
[Respondent Name], Respondent.
PETITION FOR WRIT OF HABEAS CORPUS
Rule 102, Rules of Court • 1987 Philippine Constitution, Article III, Section 15 • Republic Act No. 7438
PETITIONER [Petitioner Name], [Relationship] of the detained person, with address at [Petitioner Address], respectfully states:
I. THE PARTIES
1. Petitioner [Petitioner Name] brings this petition on behalf of [Detained Person Name], [Age] years old, residing at [Detained Address], who is currently deprived of liberty.
2. Respondent [Respondent Name], with address at [Respondent Address], is the person who has custody or control over the detained person.
II. FACTS OF DETENTION
3. On [Detention Date], [Detained Person Name] was arrested and detained at [Detention Place].
4. The circumstances of the arrest and detention are as follows: [Detention Circumstances].
5. The detention of [Detained Person Name] is illegal for the following reasons: [Illegality Basis].
III. LEGAL BASIS
6. The privilege of the writ of habeas corpus is guaranteed under Article III, Section 15 of the 1987 Philippine Constitution. Rule 102 of the Rules of Court provides the procedure for its enforcement.
7. Under Section 3, Rule 102, any person — or any person on behalf of another — restrained of liberty may apply for the writ before the Supreme Court, Court of Appeals, or any Regional Trial Court.
8. Under Section 5, Rule 102, the court shall grant the writ where the petition is sufficient in form and substance.
IV. PRAYER
WHEREFORE, Petitioner respectfully prays that this Honorable Court:
(a) ISSUE the Writ of Habeas Corpus commanding Respondent [Respondent Name] to produce the body of [Detained Person Name] before this Court at the earliest time possible and to show cause for the detention;
(b) After hearing, ORDER the immediate release of [Detained Person Name] from illegal detention;
(c) GRANT such other and further relief as may be just and equitable.
Filed on [Filing Date].
VERIFICATION AND CERTIFICATION AGAINST FORUM SHOPPING
I, [Petitioner Name], of legal age, residing at [Petitioner Address], after being duly sworn, depose and state: I am the Petitioner in this case. I have caused the preparation of this Petition and the allegations herein are true and correct based on my personal knowledge and authentic records.
I further certify that I have not filed any similar petition before any other court or tribunal involving the same parties and causes of action, and that I undertake to report any such filing within five days of learning thereof.
[Petitioner Name]
Petitioner
Petitioner
________________
Signature
What Is a Petition for Writ of Habeas Corpus (Philippines)?
A Petition for Writ of Habeas Corpus in the Philippines records the grievance and the facts relied on, initiating the process before the relevant tribunal or office.
In the Philippines, habeas corpus petitions serve two distinct purposes. The first and traditional purpose is to secure the release of a person illegally deprived of personal liberty — detained without lawful process, held beyond the period of preventive detention under Republic Act No. 7438 (Rights of Persons Arrested, Detained or Under Custodial Investigation), or imprisoned pursuant to a void judgment. The Supreme Court in Moncupa v. Enrile (G.R. No. L-63345, January 30, 1986) established that the writ extends to all forms of unlawful restraint, not just imprisonment in a jail or detention facility.
The second purpose is to adjudicate child custody disputes under the concept of habeas corpus for minors. Under Rule 102 and the Rule on Custody of Minors and Writ of Habeas Corpus in Relation to Custody of Minors (A.M. No. 03-04-04-SC, April 22, 2003), a parent, guardian, or relative may file a habeas corpus petition to obtain custody of a minor who is being withheld by another person. In child custody habeas corpus cases, the paramount consideration is the best interests of the child under Article 3(1) of the UN Convention on the Rights of the Child and Section 1 of RA 9262 (Anti-VAWC Act of 2004) for cases involving domestic abuse.
A Petition for Writ of Habeas Corpus is distinct from a Petition for Writ of Amparo, which was created by the Supreme Court in A.M. No. 07-9-12-SC specifically for threats to life, liberty, and security attributable to state actors or private groups engaged in enforced disappearances. Habeas corpus applies to ordinary illegal detention cases, while amparo applies to extralegal killings and enforced disappearances covered by the Revised Penal Code (Articles 124-127 on arbitrary detention).
The legal framework governing the Petition for Writ of Habeas Corpus (Philippines) in Philippines draws on several key statutes and regulatory bodies. Under Philippine law, the Civil Code of the Philippines (Republic Act No. 386) governs contractual obligations. The Revised Corporation Code (Republic Act No. 11232) regulates corporate entities through the Securities and Exchange Commission (SEC). The Labor Code of the Philippines (Presidential Decree No. 442) and Department of Labor and Employment (DOLE) govern employment matters. The Data Privacy Act of 2012 (Republic Act No. 10173) and the National Privacy Commission (NPC) protect personal data. The Bureau of Internal Revenue (BIR) administers tax obligations under the National Internal Revenue Code. Parties executing a Petition for Writ of Habeas Corpus (Philippines) in Philippines should confirm the document reflects current law, including any amendments enacted since the original drafting date. The Civil Code of the Philippines (RA 386) sets the foundational requirements.
When Do You Need a Petition for Writ of Habeas Corpus (Philippines)?
A Petition for Writ of Habeas Corpus in the Philippines is needed whenever a person is deprived of liberty without lawful authority, or when a minor is wrongfully withheld from their rightful custodian.
A Petition for Habeas Corpus is needed when a person is detained by police or military personnel beyond the 18-hour (for those detained for commission of offenses punishable by light penalties or their equivalents), 36-hour (for offenses punishable by correctional penalties), or 36-hour (for offenses punishable by afflictive or capital penalties) periods without a lawful warrant of arrest, as prescribed under Section 7 of Republic Act No. 7438.
A Petition for Habeas Corpus is needed when a person is imprisoned pursuant to a void judgment — for example, a conviction by a court without jurisdiction, a sentence that has already been served, or a judgment procured through extrinsic fraud — and all other remedies have been exhausted or are inadequate.
A Petition for Habeas Corpus is needed when a parent seeks to recover physical custody of a minor child who is being withheld by the other parent, a relative, or a third party in violation of a court custody order. Under A.M. No. 03-04-04-SC (Rule on Custody of Minors), Family Courts (designated RTC branches) have exclusive jurisdiction over habeas corpus petitions involving minors.
A Petition for Habeas Corpus is needed when a mental health patient is involuntarily confined in a psychiatric facility without compliance with the procedural safeguards under Republic Act No. 11036 (Mental Health Act of 2018) and its implementing rules.
A Petition for Habeas Corpus is needed as an ancillary remedy in criminal cases to challenge the legality of continued detention after the period for filing an information in court has lapsed without charges being filed under Section 7 of RA 7438.
What to Include in Your Petition for Writ of Habeas Corpus (Philippines)
A valid Petition for Writ of Habeas Corpus in the Philippines must contain the following elements under Rule 102 of the Rules of Court.
Court Heading: Caption identifying the court — Supreme Court, Court of Appeals, or Regional Trial Court — where the petition is filed. Under Section 2 of Rule 102, the petition may be filed before the Supreme Court, the Court of Appeals, or any RTC. In child custody cases involving minors, jurisdiction lies exclusively with the Family Court designated under RA 8369.
Identity of Petitioner: Full name, relationship to the detained person (if filing on behalf of another), and address. Section 3 of Rule 102 authorizes any person restrained of liberty, or any person on behalf of such person, to apply for the writ.
Identity of Respondent: Full name, official capacity, and address of the person having custody or control of the detained person. The respondent is typically a detention facility warden, police officer, military officer, or private individual.
Facts of Detention: Specific facts showing the fact, cause, and nature of the restraint. State the date and place of arrest or detention, the authority claiming the right to detain, and the absence of any lawful process or order.
Illegality of Detention: Clear and specific allegations establishing why the detention is illegal — absence of a valid warrant of arrest under Rule 113 of the Rules of Court; violation of the prescribed detention periods under RA 7438; nullity of the conviction or commitment order; or, in child custody cases, that the person withholding the minor has no legal right to custody under the Family Code (Executive Order No. 209, as amended) or an existing court order.
Relief Prayed For: Prayer that the writ issue commanding the respondent to produce the body of the detained person before the court at a specified time and place, and to show cause for the detention, and that after hearing, the court order the immediate release of the detained person or, in custody cases, order the delivery of the minor to the petitioner.
Verification: The petition must be verified — signed by the petitioner under oath stating that the allegations are true and correct based on personal knowledge or authentic documents — under Section 4, Rule 102 in relation to Section 4, Rule 7 of the Rules of Court.
Additional compliance elements for a Petition for Writ of Habeas Corpus (Philippines) used in Philippines include: Under Philippine law, the Civil Code of the Philippines (Republic Act No. 386) governs contractual obligations. The Revised Corporation Code (Republic Act No. 11232) regulates corporate entities through the Securities and Exchange Commission (SEC). The Labor Code of the Philippines (Presidential Decree No. 442) and Department of Labor and Employment (DOLE) govern employment matters. The Data Privacy Act of 2012 (Republic Act No. 10173) and the National Privacy Commission (NPC) protect personal data. The Bureau of Internal Revenue (BIR) administers tax obligations under the National Internal Revenue Code. Forms-legal.com provides this template as a starting point for Philippines-compliant documentation.
Cite this page
Reference this free template in an article, syllabus, or research note:
Forms Legal. (2026). Petition for Writ of Habeas Corpus (Philippines) (Philippines) [Legal document template]. Forms Legal. https://forms-legal.com/philippines/personal/legal-declarations/habeas-corpus-petition-philippines
"Petition for Writ of Habeas Corpus (Philippines) (Philippines)." Forms Legal, 2026, https://forms-legal.com/philippines/personal/legal-declarations/habeas-corpus-petition-philippines.
@misc{formslegal-habeas-corpus-petition-philippines,
author = {{Forms Legal}},
title = {Petition for Writ of Habeas Corpus (Philippines) (Philippines)},
year = {2026},
howpublished = {\url{https://forms-legal.com/philippines/personal/legal-declarations/habeas-corpus-petition-philippines}},
note = {Free legal document template. Based on Civil Code of the Philippines (RA 386)}
}Frequently Asked Questions
Under Section 3 of Rule 102 of the Rules of Court, any person restrained of liberty, or any person acting on behalf of a person restrained of liberty, may file a Petition for Writ of Habeas Corpus in the Philippines. This means the detained person himself or herself, or any relative, friend, or other person who knows of the illegal detention, may file the petition. For child custody cases, Section 1 of the Rule on Custody of Minors (A.M. No. 03-04-04-SC) authorizes a parent, grandparent, or guardian to file the petition on behalf of the minor. For persons with mental illness detained without lawful authority, Section 43 of Republic Act No. 11036 (Mental Health Act of 2018) allows a relative, legal guardian, or mental health advocate to file. There is no restriction on who may file — a lawyer, NGO officer, or even a stranger to the detained person may file the petition if the detained person cannot do so. The Public Attorney's Office (PAO) provides free legal assistance to indigent persons for habeas corpus petitions under its mandate under Republic Act No. 9406.
Under Section 2 of Rule 102 of the Rules of Court, a Petition for Writ of Habeas Corpus may be filed before the Supreme Court, the Court of Appeals, or any Regional Trial Court. The petition is enforceable anywhere in the Philippines. For child custody cases involving minors, exclusive original jurisdiction lies with the Family Court (a designated branch of the Regional Trial Court) under Section 5 of Republic Act No. 8369 (Family Courts Act of 1997) and Section 1 of A.M. No. 03-04-04-SC. For persons detained by the military or law enforcement in situations involving enforced disappearances or extralegal killings, the Petition for Writ of Amparo under A.M. No. 07-9-12-SC is the more appropriate remedy. The Supreme Court may exercise its original jurisdiction when the case involves questions of national importance or when the detained person is held in the National Capital Region under direct presidential authority.
After a Petition for Writ of Habeas Corpus is filed in the Philippines, the court acts on it immediately. Under Section 5 of Rule 102, if the writ is granted, the court issues the writ directed to the officer or person detaining the petitioner, commanding production of the body at a specified time and place. Under Section 8 of Rule 102, the respondent must make a return to the writ stating the authority for detention, including the original or certified copy of any commitment or warrant. Under Section 10 of Rule 102, if no legal cause is shown for the detention, the court discharges the detained person. Under Section 12 of Rule 102, the writ is not suspended or stayed by an appeal, meaning the release order is immediately executory. In practice, the court may issue the writ within hours of filing in urgent cases of illegal detention, particularly when filed before the Supreme Court or Court of Appeals under their concurrent original jurisdiction. Filing fees are waived for indigent petitioners under Rule 141 of the Rules of Court.
The privilege of the writ of habeas corpus may be suspended in the Philippines only in two constitutionally specified circumstances: invasion or rebellion, and only when the public safety requires it. Under Article VII, Section 18 of the 1987 Philippine Constitution, the President may suspend the privilege of the writ for a period not exceeding 60 days, which the Congress may revoke by majority vote in joint session. The Supreme Court may review the sufficiency of the factual basis for the suspension upon verified petition of any citizen within 30 days from promulgation of the President's proclamation. Outside of these circumstances, the writ cannot be suspended — not even by martial law proclamation under Article VII, Section 18(5). The Supreme Court in Lansang v. Garcia (G.R. No. L-33964, December 11, 1971) established that the Court has the power to inquire into the factual basis for the suspension of the privilege of the writ. During ordinary times, the suspension ground does not exist and the writ must be honored.
The writ of habeas corpus under Rule 102 of the Rules of Court and the writ of amparo under A.M. No. 07-9-12-SC (Rule on the Writ of Amparo, 2007) address different situations in the Philippines. Habeas corpus is the general remedy for illegal detention — any form of unlawful restraint of liberty — including ordinary criminal detention beyond the legal period, imprisonment under a void judgment, and child custody disputes. Amparo was created by the Supreme Court specifically for cases of extralegal killings and enforced disappearances under Section 1 of A.M. No. 07-9-12-SC. Amparo applies when the threat to life, liberty, or security comes from unlawful acts or omissions of a public official or employee, or private individuals or entities, in the context of human rights violations. Amparo also covers ongoing threats — the respondent need not have already detained the person. The Supreme Court in Secretary of National Defense v. Manalo (G.R. No. 180906, October 7, 2008) explained that amparo fills the gap where habeas corpus does not apply because the detention is denied or the person's whereabouts are unknown.
This template is provided for informational purposes only and does not constitute legal advice. Laws vary by jurisdiction and change over time. Consult a qualified attorney for advice specific to your situation.Full disclaimer
Found an error? Let us knowRelated Documents
You may also find these documents useful:
Petition for Writ of Amparo (Philippines)
A Philippine petition for the writ of amparo under A.M. No. 07-9-12-SC (Rule on the Writ of Amparo, 2007) for protection against extralegal killings, enforced disappearances, and threats to life, liberty, and security. Covers both actual violations and imminent threats by public officials, military, police, or private entities. Enforceable nationwide; may be filed before the Supreme Court, Court of Appeals, Sandiganbayan, or Regional Trial Court.
Bail Bond Application (Philippines)
A Bail Bond Application for the Philippines under Rule 114 of the Rules of Court. Used by accused persons or their surety to apply for bail — release from detention pending trial. Covers cash bail, surety bond, recognizance, and property bond under the Philippine Constitution and Revised Penal Code.
General Affidavit (Philippines)
A multipurpose notarized General Affidavit for the Philippines, used to formally attest to facts, circumstances, or events under oath before a notary public. Suitable for loss of documents, discrepancy in names, non-employment, good moral character, undertakings, and other sworn declarations required by government agencies, employers, schools, and banks under the 2004 Rules on Notarial Practice (A.M. No. 02-8-13-SC).