By Adv. K J Muhammed Aslam · Advocate, Ernakulam (Bar Council of Kerala)
Habeas corpus under Article 226 of the Constitution before the High Court of Kerala is a command to produce a person alleged to be in unlawful custody and to justify the legal foundation for that custody; on production the court enquires whether the detention is in accordance with procedure established by law and, if not, orders release. This guide explains when the writ lies against the State and against private persons, why child-custody habeas is treated as extraordinary, and the Devu G. Nair 13-point guidelines that now govern intimate-partner habeas.
When does habeas corpus lie?
Unlike the other four writs, habeas corpus is not confined to State action. Under Article 32 the Supreme Court issues it for violation of a Part III right against the State; under Article 226 the High Court issues it for any other purpose as well, and therefore against private persons who illegally detain another. Two elements must coincide:
- Detention or confinement — actual physical restraint on liberty, including police custody beyond remand, confinement in a home, hostel or institution against will, or retention of a person where the holder has no legal authority.
- Illegality / without authority of law — arrest not following the Bharatiya Nagarik Suraksha Sanhita, 2023 (BNSS) (e.g., Sections 35–62 arrest procedure — esp. Sec 35 — production before Magistrate within 24 hours under Article 22(2)), custody under an order that is void, or private custody where no guardianship or court order sustains it.
The burden is on the detaining authority or person to show lawful foundation — not on the detenu to prove illegality (Icchu Devi Choraria v. Union of India, 1980).
How does the Kerala High Court handle habeas — procedure
The practice before the High Court of Kerala, Ernakulam, and refined by the Supreme Court’s intervention in Kerala habeas matters:
- Filing: Any person with bona fide concern — family, partner, friend, social worker — may file; standing is liberal, and the Supreme Court in Devu G. Nair (2024) directed courts not to make a roving enquiry into the relationship when a partner or friend files.
- Admission: The court may order immediate production or, where illegal detention is not yet clear, direct the District Legal Services Authority to visit and record a statement — the course the Kerala High Court took on 13 Jan 2023 in the habeas that became Devu G. Nair.
- Production and in-camera enquiry: On production the corpus interacts in person with the judges in chambers, without the alleged detainer present, with privacy and video-record secured.
- Disposal: Immediate release where free will is to not return to the detainer; no counselling to change mind. The writ is summary — it does not become a regular trial.
When habeas is used for child custody in Kerala
The High Court has repeatedly said custody habeas is extraordinary, not a parallel Family Court.
- Maintainable where: A parent retains a minor in violation of a custody order of the Family Court, or with no authority of law — even a parent can illegally detain (reported Sunil Patiram Parteti v. State of Maharashtra, 2026:BHC-NAG:6720-DB (Bombay HC, Nagpur Bench, 30 Apr 2026); Somprabha Rana v. State of M.P., 2024). The court examines illegality first, then may consider welfare.
- Not maintainable where: The dispute is really about welfare, preference and competing guardianship claims that need evidence — who is the better parent, school choice, visiting rights — without a prior finding of illegal detention. The reported Kerala High Court order 09 Apr 2024 (Division Bench; India Legal report) dismissed a habeas for a minor boy, holding welfare is paramount and retention by paternal relatives already caring for the child was not illegal absent violation of a custody order; remedy is before the Family Court under the Guardians and Wards Act, 1890 or the Hindu Minority and Guardianship Act, 1956. The Bombay HC 2026 reached the same result where an eight-year-old had lived with maternal relatives since age two and the father waited three years — no illegal detention, habeas not a substitute for custody suit, visitation granted instead.
In short: illegality of custody is the ticket; welfare is what the court does once inside — and the court will not compel a mature child to live with a parent where that would cause emotional trauma (Kerala High Court minor-boy order of 09 Apr 2024).
The Devu G. Nair binding guidelines — Kerala origin
After the Kerala High Court’s 13 Jan and 02 Feb 2023 interim orders in a same-sex intimate-partner habeas (DLSA visit while the corpus remained with parents, then a counselling session) were challenged — the Supreme Court issued notice and interim directions on 06 Feb 2023 — the Supreme Court on 11 Mar 2024 in Devu G. Nair v. State of Kerala and Ors. (CJI D.Y. Chandrachud) laid down 13 mandatory minimum guidelines for all courts dealing with habeas or partner-protection petitions:
(a) priority listing, no adjournment; (b) locus not to be narrowed for partner/friend; (d) corpus produced in person in chambers, private, recorded and secured; (e) detainer not present with corpus during interaction; (g) minority not a threshold to dismiss; (h) empathy, no homophobic/transphobic moral judgment; (i) if the person wishes not to return, release immediately; (j) for same-sex / inter-faith / inter-caste partners, grant ad-interim police protection before grave-risk threshold; (k) no counselling or parental-care directions to change mind; plus age ascertainment, privacy of sexual orientation/gender identity, and swift action against queerphobic conduct.
The Supreme Court set aside the Kerala High Court’s counselling direction and directed disposal on the judicial officer’s ascertainment of voluntary residence. The guidelines are now the mandatory minimum in letter and spirit.
What habeas is not
- An appeal against a valid remand where the Magistrate had jurisdiction — remedy is bail under BNSS, not habeas.
- A shortcut where Sections 97–98 CrPC / Sections 100–101 BNSS search for wrongfully confined persons before the Magistrate is the more direct and equally efficacious route for a missing person where FIR is more appropriate.
- A forum for disputed facts on title or building compliance disguised as custody — the same boundary the Court drew in the writ-for-retaining-wall case (Ida Sarojam v. State of Kerala, 2026:KER:14483 (Ker HC, 25 Feb 2026) — writ cannot decide disputed facts).
What documents move a habeas petition
Bring: the detenue’s identity proof, the relationship proof, the custody or restraint order complained of (Family Court, Magistrate), the alleged detainer’s address, the last production or visitation record, and the in-camera statement the court will record. For police detention: arrest memo, grounds of arrest, remand order, CCTV or custody-ledger extract where available.
Primary sources
- Constitution of India — Articles 21, 22, 32, 226
- BNSS, 2023 — Sections 35–62, 100–101; BSA, 2023
- Devu G. Nair v. State of Kerala and Ors., Supreme Court, 11 Mar 2024 (CJI D.Y. Chandrachud) — 13 binding habeas guidelines (SC PDF 11 Mar 2024)
- Icchu Devi Choraria v. Union of India, (1980) 4 SCC 531 — burden
- Somprabha Rana v. State of M.P., 2024 INSC 664 — habeas in child custody is discretionary; even where custody is illegal, the court may decline to disturb it on the child’s welfare; reported Kerala High Court order 09 Apr 2024 (Division Bench; India Legal) — welfare where custody not illegal; Sunil Patiram Parteti v. State of Maharashtra, 2026:BHC-NAG:6720-DB (Bombay HC, Nagpur Bench, 30 Apr 2026) — no habeas where 3-year delay, visitation only
- Guardians and Wards Act, 1890 — Sec 7, 25; Hindu Minority and Guardianship Act, 1956 — Sec 6
FAQ
