---
title: "Habeas Corpus in Kerala High Court Under Article 226"
description: "Illegal detention in Kerala by police, private persons or in child custody? When habeas corpus under Article 226 lies, who can file and what the court checks."
url: "https://advaslam.com/writing/writ-habeas-corpus-kerala-high-court/"
image: "https://advaslam.com/og/writing/writ-habeas-corpus-kerala-high-court.png"
---

[High Court writs & procedure](https://advaslam.com/practice/high-court-litigation/)

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

By [**Adv. K J Muhammed Aslam**](https://advaslam.com/profile/) · 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

-   [Constitution of India — Articles 21, 22, 32, 226](https://indiacode.gov.in/document-grid/d5475e8d-1998-4ac8-8694-82f941074bb7)
-   [BNSS, 2023 — Sections 35–62, 100–101](https://indiacode.gov.in/handle/123456789/496550); [BSA, 2023](https://indiacode.gov.in/handle/123456789/496549)
-   *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](https://indiacode.gov.in/handle/123456789/496426); [Hindu Minority and Guardianship Act, 1956 — Sec 6](https://indiacode.gov.in/handle/123456789/496394)

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.

**A note on this article.** It is general legal information, not legal advice. The law may have changed since the date shown; before acting on anything here, take advice on your specific situation from an advocate of your choice.

## Related guides

-   [Writ Petitions before the Kerala High Court — Types & Grounds](https://advaslam.com/guides/writ-petitions-kerala-high-court-types-grounds/)

[All procedure guides →](https://advaslam.com/guides/)

Keep reading

Criminal law: bail, quash & appeals

### Regular Bail in Kerala: Section 480 BNSS Process Explained

Regular bail under Sections 478 and 480 BNSS in Kerala: forums, paperbook, default-bail clocks, undertrial release, conditions and sureties explained.

30 Sept 2026

[Regular Bail in Kerala: Section 480 BNSS Process Explained](https://advaslam.com/writing/regular-bail-kerala-480-bnss/)

Criminal law: bail, quash & appeals

### Anticipatory Bail in Kerala High Court: Process, Fees and Time

Anticipatory bail under Sec 482 BNSS in Kerala: Sessions vs High Court route, paperbook, conditions, SC/ST bar, timelines and what follows rejection.

28 Sept 2026

[Anticipatory Bail in Kerala High Court: Process, Fees and Time](https://advaslam.com/writing/anticipatory-bail-kerala-high-court-process-fees/)

Contact

[WhatsApp](https://wa.me/919497240215?text=Hello%2C%20I%20found%20advaslam.com%20and%20would%20like%20to%20discuss%20a%20matter.) [contact@advaslam.com](mailto:contact@advaslam.com) [+91 94972 40215](tel:+919497240215)

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

```json
{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://advaslam.com/#website","url":"https://advaslam.com","name":"Adv. K J Muhammed Aslam","alternateName":"advaslam.com","publisher":{"@id":"https://advaslam.com/#person"},"inLanguage":"en-IN"},{"@type":"Person","@id":"https://advaslam.com/#person","name":"K J Muhammed Aslam","alternateName":["Adv. K J Muhammed Aslam","Advocate K J Muhammed Aslam","Muhammed Aslam K J","Adv. Aslam"],"honorificPrefix":"Adv.","jobTitle":"Advocate","description":"Advocate enrolled with the Bar Council of Kerala, practising from High Court Junction, Ernakulam: cyber and technology law, data protection (DPDP), business, banking and IPR, and litigation before the High Court of Kerala and the courts at Ernakulam.","url":"https://advaslam.com/profile/","image":"https://advaslam.com/og.png","telephone":"+919497240215","email":"contact@advaslam.com","address":{"@type":"PostalAddress","streetAddress":"3rd Floor, Lalan Towers (KGL Builders), Vanchi Square, High Court Junction","addressLocality":"Ernakulam","addressRegion":"Kerala","postalCode":"682031","addressCountry":"IN"},"alumniOf":{"@type":"CollegeOrUniversity","name":"Bharata Mata School of Legal Studies"},"memberOf":[{"@type":"Organization","name":"Bar Council of Kerala","url":"https://barcouncilkerala.org/lawyer-registry-list"},{"@type":"Organization","name":"Kerala High Court Advocates' Association","url":"https://khcaa.com/"}],"identifier":[{"@type":"PropertyValue","propertyID":"Bar Council of Kerala Enrolment No.","value":"K/001823/2026"},{"@type":"PropertyValue","propertyID":"KHCAA Membership No.","value":"OAJ 358"}],"knowsAbout":["Information Technology Act 2000","Cyber crime law","Technology law and technology contracts","Digital Personal Data Protection Act 2023","DPDP compliance","Data protection and privacy law","Business and commercial law","Contract drafting and negotiation","Banking and finance law","Negotiable Instruments Act cheque dishonour","SARFAESI Act","Intellectual property law","Copyright and trademark law","Patent infringement","GST and income-tax law","Blockchain and cryptocurrency technology","Web3 wallets and NFTs","Drone regulation and DigitalSky framework","Writ petitions under Article 226","Criminal law","Civil and consumer litigation","Family and succession law","Service and labour law","Legal drafting","Mediation and dispute resolution"],"knowsLanguage":["en","ml"],"workLocation":{"@id":"https://advaslam.com/#practice"},"hasCredential":[{"@type":"EducationalOccupationalCredential","credentialCategory":"Enrolment as an advocate","identifier":"K/001823/2026","recognizedBy":{"@type":"Organization","name":"Bar Council of Kerala"},"description":"Enrolled as an advocate with the Bar Council of Kerala (K/001823/2026), 2026"},{"@type":"EducationalOccupationalCredential","credentialCategory":"degree","educationalLevel":"Bachelor","recognizedBy":{"@type":"CollegeOrUniversity","name":"Bharata Mata School of Legal Studies"},"description":"BBA LLB (Hons.), Bharata Mata School of Legal Studies (2025)"},{"@type":"EducationalOccupationalCredential","credentialCategory":"Remote Pilot Certificate","recognizedBy":{"@type":"Organization","name":"Directorate General of Civil Aviation, India"},"description":"DGCA Remote Pilot Certificate, issued 2022"}],"subjectOf":[{"@type":"CreativeWork","name":"Govind Babu v. State of Kerala (Crl.M.C. No. 5640 of 2026, 2026:KER:69496)","url":"https://indiankanoon.org/doc/151180872/","datePublished":"2026-09-10","publisher":{"@type":"Organization","name":"High Court of Kerala"}},{"@type":"CreativeWork","name":"Viji Sagar v. State of Kerala (Crl.M.C. No. 1603 of 2026, 2026:KER:20803)","url":"https://indiankanoon.org/doc/193042273/","datePublished":"2026-03-09","publisher":{"@type":"Organization","name":"High Court of Kerala"}},{"@type":"CreativeWork","name":"Anjana v. Manoharan A.P. (C.R.P. No. 442 of 2025, 2026:KER:10054)","url":"https://indiankanoon.org/doc/68585852/","datePublished":"2026-02-05","publisher":{"@type":"Organization","name":"High Court of Kerala"}}],"sameAs":["https://www.linkedin.com/in/azlubro","https://portal.khcaa.com/advocate?id=10480","https://lexosys.com"]},{"@type":"LegalService","@id":"https://advaslam.com/#practice","name":"Adv. K J Muhammed Aslam — Advocate, Ernakulam","url":"https://advaslam.com","image":"https://advaslam.com/og.png","telephone":"+919497240215","email":"contact@advaslam.com","address":{"@type":"PostalAddress","streetAddress":"3rd Floor, Lalan Towers (KGL Builders), Vanchi Square, High Court Junction","addressLocality":"Ernakulam","addressRegion":"Kerala","postalCode":"682031","addressCountry":"IN"},"geo":{"@type":"GeoCoordinates","latitude":9.9889,"longitude":76.2748},"hasMap":"https://www.google.com/maps/search/?api=1&query=Lalan+Towers+High+Court+Junction+Ernakulam","areaServed":[{"@type":"City","name":"Ernakulam"},{"@type":"City","name":"Kochi"},{"@type":"State","name":"Kerala"},{"@type":"Country","name":"India"}],"openingHoursSpecification":{"@type":"OpeningHoursSpecification","dayOfWeek":["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"opens":"10:00","closes":"18:30"},"founder":{"@id":"https://advaslam.com/#person"},"knowsAbout":["Cyber crime and IT Act matters","Data protection and DPDP Act compliance","Business, banking, intellectual property and tax","Legal drafting","Criminal law: bail, quash and appeals","Writ petitions before the High Court of Kerala","Civil, property and consumer matters","Family and succession matters","Service and labour matters"]},{"@type":"BlogPosting","@id":"https://advaslam.com/writing/writ-habeas-corpus-kerala-high-court/#article","isPartOf":{"@id":"https://advaslam.com/#website"},"headline":"Habeas Corpus in the High Court of Kerala: When Illegal Detention Can Be Challenged Under Article 226","description":"Illegal detention in Kerala by police, private persons or in child custody? When habeas corpus under Article 226 lies, who can file and what the court checks.","url":"https://advaslam.com/writing/writ-habeas-corpus-kerala-high-court/","mainEntityOfPage":"https://advaslam.com/writing/writ-habeas-corpus-kerala-high-court/","datePublished":"2026-09-08T00:00:00.000Z","dateModified":"2026-09-08T00:00:00.000Z","keywords":"habeas corpus Kerala High Court, Article 226 habeas corpus illegal detention, habeas corpus child custody Kerala, writ habeas corpus BNSS detention","inLanguage":"en-IN","author":{"@id":"https://advaslam.com/#person"},"publisher":{"@id":"https://advaslam.com/#person"},"image":"https://advaslam.com/og/writing/writ-habeas-corpus-kerala-high-court.png","about":{"@type":"Service","@id":"https://advaslam.com/practice/high-court-litigation/#service","name":"High Court writs & procedure","url":"https://advaslam.com/practice/high-court-litigation/","provider":{"@id":"https://advaslam.com/#practice"}}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://advaslam.com/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https://advaslam.com/writing/"},{"@type":"ListItem","position":3,"name":"Habeas Corpus in the High Court of Kerala: When Illegal Detention Can Be Challenged Under Article 226","item":"https://advaslam.com/writing/writ-habeas-corpus-kerala-high-court/"}]},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"When does habeas corpus lie in the High Court of Kerala?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Can habeas corpus be used for child custody disputes in Kerala?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Who can file habeas corpus?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"What will the court not do in habeas corpus?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"What happens on production of the corpus?","acceptedAnswer":{"@type":"Answer","text":"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."}}]}]}
```
