Habeas Corpus for a Child in Texas: Getting Your Child Returned

In a Texas custody case, a writ of habeas corpus is a court petition that asks a judge to order someone to return your child to you. It works when you have the superior right of possession and another person is keeping the child from you. That right usually comes from an existing custody order. The hearing is narrow and moves faster than most family court cases. It answers one question: who has the legal right to have the child right now?
If your child has not come home, you are likely frightened and want a clear next step. This guide explains what the writ does, who can file, the rules that decide the outcome, how the process works, and where habeas corpus stops and other custody actions begin.
TL;DR
- A habeas corpus petition asks a Texas court to order the return of a child to the person with the superior right of possession. It does not rewrite custody.
- Most often you need a court order that gives you that right. Without any order, a parent generally cannot use habeas corpus against the other parent, because both have equal rights.
- The judge must order the child returned if you have a qualifying order, have not given up possession for six months before filing, and there is no serious, immediate question about the child’s welfare.
- If the child may be taken out of Texas before a hearing, you can ask for a writ of attachment, an emergency order for law enforcement to pick up the child.
- Short, one-time late returns are usually better handled by enforcement than by habeas corpus.
Table of Contents
- What a writ of habeas corpus does in a custody case
- Who can file, and what “superior right of possession” means
- The rules that decide the outcome
- How the process works in Texas
- What the judge can and cannot order
- Habeas corpus compared with other custody actions
- Common mistakes that weaken a petition
- Our perspective on habeas corpus cases
- How we can help
- What to bring to a consultation
- FAQ
- Sources
What a writ of habeas corpus does in a custody case
“Habeas corpus” is Latin for roughly “you shall have the body.” In criminal law it tests whether someone is being held lawfully. In family law it works on the same idea. The court tells the person keeping the child to bring the child before the judge and show why the child should not be returned.
Texas courts describe it as a tool to enforce a superior right of possession. According to Texas Law Help, if you have the legal right to have the child live with you and someone without that right is keeping the child away, you can ask the court to order the child returned. The State Law Library of Texas puts it the same way: the filing parent asks the court to declare that they hold the right of possession and to order the child returned to the custodial parent.
Three points shape everything else in this guide:
- It is about return, not custody. The judge decides who holds the right of possession today. The judge does not decide what is best for the child in the long run.
- It depends on a legal right. Wanting your child home is not enough. You must show the right to possession.
- It is not for every missed visit. Texas Law Help explains that the writ is meant to secure the child’s return, not to change possession orders or punish someone for keeping a child briefly when the child is already back by the time you reach court.
Who can file, and what “superior right of possession” means
The phrase “superior right of possession” decides most habeas corpus cases. There are two common situations.
You have a court order
If a court has ever ruled on conservatorship (custody) or possession (visitation), your order should say who holds the superior right. Texas Law Help lists examples: a temporary or permanent divorce order, an original suit affecting the parent-child relationship (SAPCR) order, or a modification order. Usually the order names one adult with the exclusive right to decide the child’s primary residence. That adult generally has the superior right of possession.
Two details matter:
- Per the same guide, anyone with a superior right under a court order can file against someone with an inferior right or none. The petitioner does not have to be a parent.
- The order must come from a proceeding where the other side had notice and a chance to be heard. Texas Law Help notes that a temporary restraining order granted ex parte, without notice, may not be enough to compel the child’s return.
If you are unsure what your order gives you, read the possession and conservatorship sections closely. Our guide to the standard possession order in Texas explains how the usual schedule works, which helps when you need to show exactly what was violated.
You have no court order
The rule changes when no court has ever ruled. Texas Law Help explains that if no order exists, a parent cannot file a habeas corpus petition against the other parent, because both parents have equal rights. A parent can, however, file against a non-parent who is keeping the child, such as a relative or friend who refuses to hand the child back.
If you and the other parent have no order and the child is not coming home, the usual answer is to file a custody suit and ask for temporary orders. Once an order exists, enforcement tools become available. If the person keeping your child is not a parent and you are, our article on nonparent custody in Texas shows the other side of that dispute: what a non-parent must prove to get custody rights of their own.
The rules that decide the outcome
Texas Family Code sections 157.371 through 157.376 govern these petitions. Texas Law Help summarizes when the judge has no choice. If the court finds you have the superior right of possession, it must order the child returned when:
- You hold the superior right of possession under a court order, and
- You have not given up possession of the child for at least six months before you filed, and
- There is no serious, immediate question about the child’s welfare.
A similar rule applies to a parent with no court order who files against a non-parent. In that case no SAPCR can be pending, and the same six-month and welfare conditions apply, per the Texas Law Help guide.
If you gave up possession of the child more than six months before filing, or the other side raises a serious, immediate welfare question, the judge is no longer required to order the return. The court may grant or deny your request. That is where cases get contested.
The six-month rule in practice
The six-month window is why speed matters. A parent who waits, hoping the other parent will relent, can lose the automatic return rule. Our article on custody enforcement in Texas covers the same deadline thinking for enforcement actions. If your child has been gone for weeks, count the days from the date you last had possession and speak with a family law attorney quickly.

The welfare question
The other side may argue that returning the child would put the child at risk. The Fort Bend County Law Library’s self-help packet notes that the hearing is limited to who has a superior right of possession, and that the court looks beyond that only in limited circumstances, such as a claim of serious immediate welfare concerns. Expect that claim to be backed by specifics, not general complaints. If you have real safety concerns about the other household yourself, tell your attorney at the start. Our page on protective orders explains the separate tools for family violence.
How the process works in Texas
The steps below follow the general process described in Texas court self-help materials. Your court and judge may have their own local rules, so confirm them before filing.
- Gather your order and the facts. Get a file-stamped copy of your custody or divorce order. Write down dates: when the child was supposed to return, who refused, and what was said. Save texts, emails and call logs.
- Decide where to file. Under Family Code 157.371, as summarized by Texas Law Help, you may file in the court with continuing, exclusive jurisdiction over the child, or in a court with jurisdiction to issue the writ in the county where the child is found. If the child is in a different county, that choice matters.
- Prepare the petition. The petition tells the judge why you hold the superior right of possession. Attach your order and the facts showing the child is being kept from you.
- File and request a hearing. The court sets a hearing. The other person is served with the petition and notice and ordered to appear, usually with the child.
- Attend the hearing. Bring certified copies of your orders and your evidence. Keep your presentation to the right of possession.
- Receive the ruling. If you meet the conditions above, the judge must order the return. Law enforcement can help carry out the order if the other party refuses.
If the child could leave Texas or is in immediate danger
Waiting for a hearing is not always safe. Tarrant County’s law library explains in its writ of attachment kit that when a child is in immediate danger or will be removed from Texas before a hearing, a parent may ask for a writ of attachment. This is an emergency order that directs law enforcement to pick up the child until a hearing can be held.
If the child has already been taken to another state, jurisdiction rules come into play. Our Houston-area interstate custody checklist walks through what to gather and do first.
What the judge can and cannot order
The expected outcome of a successful petition is an order that the child be returned to the person with the superior right of possession. That is the whole remedy.
A habeas corpus case does not:
- Change who has the right to decide the child’s primary residence.
- Rewrite the possession schedule.
- Set or change child support.
- Punish the other parent for past violations. That is the job of an enforcement action.
If the other parent contests the order itself, or you believe the arrangement should change, that is a modification, not habeas corpus. The writ gets the child home under the existing order. A separate case changes the order.
Habeas corpus compared with other custody actions
Parents often confuse the writ with other tools. This table shows which fits which problem.
| Situation | Usual tool | What it does |
|---|---|---|
| Other parent or another person is keeping the child despite your order | Writ of habeas corpus | Orders the child returned to the person with the superior right |
| Child may leave Texas or is in immediate danger before a hearing | Writ of attachment | Directs law enforcement to pick up the child until a hearing |
| Repeated missed exchanges, violated schedule, unpaid support | Enforcement | Asks the court to enforce the order and address violations |
| The current order no longer fits your family | Modification | Changes conservatorship, possession or support going forward |
| No order exists and you are a parent | Original custody suit (SAPCR) | Creates the first orders |
| CPS has removed the child | CPS court proceeding | Handled within the child-welfare case, with its own deadlines |
A few notes on that table.
Enforcement. If your child was kept an extra night and is already back, habeas corpus rarely fits, since the writ is aimed at securing return. Enforcement lets the court address a pattern. See our overview of child custody and support services, which covers enforcement and modifications.
Modification. Habeas corpus is not a shortcut to change custody. If the other parent argues that the child’s circumstances have changed, expect a separate case.
CPS. When a child is in the custody of the state, habeas corpus is a different and more complicated question. Talk to an attorney immediately, because deadlines in child-welfare cases run on their own schedule.
Parental alienation. If the pattern is that a child is repeatedly withheld or turned against you, the facts and evidence are broader than a single habeas case. Our article on what evidence wins parental alienation cases explains what courts want to see.
Common mistakes that weaken a petition
- Waiting too long. The six-month rule can take away the judge’s duty to order a return.
- Relying on an order without notice. An ex parte order may not carry the weight you expect.
- Filing without a clear order. If both parents have equal rights, the other parent has no obligation to return the child to you under habeas corpus.
- Arguing custody at a possession hearing. The hearing is narrow. Save the broader best-interest arguments for a modification case.
- Self-help. Taking the child back yourself, without a court order and without law enforcement, can create new problems and damage your credibility. Use the court.
- Ignoring the paper trail. Judges respond to dates, messages and documents.
Our perspective on habeas corpus cases
We see two kinds of parents in these situations. The first has a clear order and a child who has not come home. The second has no order, a growing sense of urgency, and the belief that a writ will fix everything. The first parent is usually in a strong position if they act quickly. The second needs a different plan.
Our view is simple. Start with the order. Read what it says about the right to determine the child’s primary residence, and confirm that the other side received notice of the hearing where it was made. Then count the days. The six-month rule is the clock that most often surprises people.

We also tell parents to keep the request narrow. A habeas corpus petition succeeds when it shows a right and a violation. It struggles when it becomes an argument about who is the better parent. Those arguments have a place, and a proper custody case is that place. Our approach is to explain each option plainly, tell you where your case stands at each step, and prepare the paperwork carefully so that you can walk into court knowing what will happen.
And when safety is part of the story, we say so early. Tell us if your child’s welfare is at risk, or if you fear for your own. The right filing may be a protective order or an emergency request, not only a petition for return.
— Giri
How we can help
If someone is keeping your child, a quick review of your order and timeline can show whether habeas corpus, enforcement, an emergency request or a new custody case is the right path. The Law Office of Anna Din represents parents in The Woodlands, Houston and surrounding Texas communities in custody, enforcement, modification and paternity matters, and in protective orders where safety is a concern.
To talk through your situation, see our child custody and support practice area or contact us through our website. Bring your most recent orders and a short timeline of what has happened.
What to bring to a consultation
- Your most recent custody, divorce or SAPCR order, file-stamped if possible
- The date and place of the last time the child was in your care
- The address where you believe the child is staying, and the county
- Messages, emails and call records about the child’s return
- Any police reports or reports to child-welfare agencies
- Information about any pending court cases involving the child
- Details about school, medical providers and daily routine, which help in later custody discussions
If custody terms are in question more broadly, you may also want to read about what Texas courts consider when deciding child custody and the differences between joint and sole custody in Texas.
FAQ
What qualifies for habeas corpus in a Texas custody case?
You must show a superior right of possession, usually through a court order from a hearing where the other side had notice. If there is no order, a parent can file against a non-parent keeping the child, but generally not against the other parent. The child must also be kept from you, not simply returned late once.
Can I file habeas corpus against the other parent if we have no custody order?
Generally no. Without an order, both parents have equal rights to the child, so neither has a superior right to enforce. The usual path is to file a custody suit and ask the court for temporary orders.
Does the judge have to return my child?
The judge must order the return when you hold the superior right under a court order, you have not given up possession for six months before filing, and no serious, immediate question about the child’s welfare exists. If either condition fails, the judge has discretion to grant or deny the request.
Can habeas corpus change custody?
No. It enforces the right of possession that already exists. Changing who has the right to decide the child’s residence, the possession schedule or support requires a modification case.
What if the child may be taken out of Texas?
Ask the court about a writ of attachment. It is an emergency order directing law enforcement to pick up the child until a hearing can be held. Contact an attorney right away, since interstate jurisdiction rules can complicate the case.
Sources
- The other parent won’t let me see my child. What can I do? (State Law Library of Texas)
- I want a court to order my child returned to me. (Habeas Corpus Guide, Texas Law Help)
- What to Do When a Parent Refuses to Follow a Court Order and Return a Child (Texas Law Help)
- Habeas Corpus Writ of Attachment kit (Tarrant County Law Library)
- Habeas Corpus instructions and forms (Fort Bend County Libraries)
Recommended
Questions About Your Situation?
Every family is different. Schedule a confidential consultation with Anna Din to discuss your options.
Schedule a Consultation