A Father Said the Mother Held Their Toddler Illegally. She Said His ChatGPT Habit Hurt the Marriage. The Gujarat High Court Looked Only at the Child.
In X v. State of Gujarat and Others (Special Criminal Application (Habeas Corpus) No. 14283 of 2026), reported on 26 October 2026, a Division Bench of Justice Ilesh J. Vora and Justice R.T. Vachhani of the Gujarat High Court dismissed a father's habeas corpus petition seeking production of his minor daughter, who was about two years and three months old. The Court held that the mother's custody of the child could not be termed illegal custody, that no case was made out to change custody, and that the disputed facts must be decided by the competent court after a thorough enquiry. A claim about the father's heavy use of ChatGPT appeared in the papers, but it was an allegation by the mother and not a finding of the Court. Here is the dispute and what it tells parents about the right forum for a custody fight.
A Toddler Moves From One Parent to the Other
The father said that the mother left the matrimonial home while the child stayed with him. Months later, he said, she took custody of the child without his knowledge and did not let him meet her. He made a police complaint, which he said produced no action. He then filed a private complaint before a magistrate, who issued notice but declined to pass a custody order, saying that custody is governed by the applicable law and that he could approach the competent forum. He then came to the High Court with a habeas corpus petition, which asks the Court to order a person who is detained illegally to be produced.
The ChatGPT Allegation
The ChatGPT claim came from the mother's reply to the father's legal notice. She alleged that he used the tool extensively, even for minor and routine matters, that his reliance on it affected his behaviour and his relationship with her, and that this added to the discord in the marriage. She said she asked him and his family in May 2025 to reduce his use, but that his behaviour did not change. These were allegations in a dispute between spouses. The Court did not decide them and did not rest its decision on them.
Why Habeas Corpus Did Not Work Here
The Court said that the welfare of the child is of paramount importance. On the facts, the mother's custody of a very young child could not be called illegal, so the basis for a habeas corpus petition failed. It found no case made out to change the custody of the child at this stage. It also noted that the dispute involves detailed disputed facts that need extensive evidence and must be decided by the competent court after a thorough enquiry, not on a writ petition.
What the Parents Can Do Next
The Court did not close the door. The parties may pursue alternative remedies, and the competent court must decide any such application in accordance with law, without being influenced by the High Court's observations. The Court expressed no opinion on either party's claims about permanent or interim custody.
What This Means for Parents in a Custody Dispute
The ruling is a reminder that habeas corpus is a remedy for illegal custody, and that a parent who has custody of a very young child is not easily treated as an illegal custodian. For fathers and mothers alike, the proper route is usually a custody or guardianship application before the family court, where evidence is led and the child's welfare is examined. Allegations made in notices and replies, such as about a spouse's habits or technology use, are only allegations until proved, and they rarely decide a custody case on their own. Early legal advice on the right forum and the supporting evidence can save months for a family that is already under strain.
This blog is for general informational purposes and does not constitute legal advice. For guidance on child custody, habeas corpus petitions or family court proceedings, please contact our team.


