High Court writs & procedure

Habeas Corpus in the High Court of Kerala: When Illegal Detention Can Be Challenged Under Article 226

By Adv. K J Muhammed Aslam · Advocate, Ernakulam (Bar Council of Kerala)

Published 8 September 2026

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:

  1. 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.
  2. 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:

  1. 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.
  2. 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.
  3. 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.
  4. 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

FAQ

Common questions

When does habeas corpus lie in the High Court of Kerala?
Where a person is detained or confined without authority of law and the detention is not under a valid court order. Under Article 226 the High Court can issue habeas corpus against the State and, unlike Article 32, also against private persons who illegally detain another. The court examines on production whether the detention has lawful foundation — an arrest without following BNSS procedure, custody beyond remand, or private confinement without legal authority.
Can habeas corpus be used for child custody disputes in Kerala?
Only where the detention is shown to be illegal and without authority of law — for example, a parent retaining a child in violation of a Family Court custody order or without any legal entitlement. Kerala and Bombay High Courts (reported — Kerala HC order 09 Apr 2024; Bombay HC *Sunil Patiram Parteti v. State of Maharashtra*, 2026:BHC-NAG:6720-DB, 30 Apr 2026) treat habeas for minors as extraordinary: welfare is considered, but the threshold is illegal detention; pure custody disputes on welfare that need detailed evidence belong before the Family Court under the Guardians and Wards Act, not a writ.
Who can file habeas corpus?
Not only the detenu. Any person with bona fide concern — family, friend, social worker — may move the court under Article 226. Under Article 32 before the Supreme Court, a Part III right must be shown; under Article 226 before the High Court, the power is for 'any other purpose' as well, so private detention is reachable. The detaining authority bears the burden to justify the detention as per procedure established by law.
What will the court not do in habeas corpus?
Adjudicate disputed facts on title, investigate a purely civil custody welfare claim where detention is not illegal, act as an appeal from a valid remand order, or issue habeas where a statutory remedy (e.g., bail under BNSS) is the appropriate and efficacious course. Habeas is not a substitute for regular custody or criminal process.
What happens on production of the corpus?
The court arranges in-camera interaction, records the person's free will without the alleged detainer present, secures the recording, and disposes swiftly. In intimate-partner matters the Supreme Court in Devu G. Nair v. State of Kerala (Crl. Appeal, 11 Mar 2024, CJI D.Y. Chandrachud) laid down binding 13-point guidelines: priority listing, no adjournment, in-person production, privacy, no side-by-side presence of detainer, no counselling to change mind, and immediate release if the person wishes not to return.

Contact

3rd Floor, Lalan Towers (KGL Builders), Vanchi Square, High Court Junction, Ernakulam, Kerala 682031 · Monday – Saturday, 10:00 – 18:30 (by appointment)

A note before you read on. In keeping with the Bar Council of India Rules, this website provides information about Adv. K J Muhammed Aslam, and general legal information, only to those who seek it of their own accord. It is not an advertisement or solicitation, and nothing here is legal advice. By continuing, you acknowledge you are visiting voluntarily. Full disclaimer.