Family law and child support

Writ of habeas corpus for the return of a child in Texas

When someone keeps a child from the person a court order says should have the child, the Family Code provides a remedy: a petition for a writ of habeas corpus. If the right to possession is governed by an order, the court compels the child’s return to the person filing (the “relator”) only if it finds the relator is entitled to possession under the order (Tex. Fam. Code § 157.372(a)).

By the ProSeFiler team Checked against the official text on 9 min read Not reviewed by an attorney

How we check this page

Every court rule on this page is read against the official text the Supreme Court of Texas posts (bundled in our court rules library), and every statute against the Texas Legislature’s statute files (tcss.legis.texas.gov). We re-check when the Legislature meets, when the Court amends a rule, and at least once a year. The date above is the oldest check among the rules listed under “Rules this page relies on.” This page has not been reviewed by an attorney. It is legal information, not legal advice.

On this page
In danger now
If a child is in danger, call 911.
Where to file
The court of continuing, exclusive jurisdiction, or a habeas court in the county where the child is found (Tex. Fam. Code § 157.371(a))
The test
Return only if the relator is entitled to possession under the order (Tex. Fam. Code § 157.372(a))
6-month exception
Court may refuse return if the relator gave up possession for 6 months or more (Tex. Fam. Code § 157.373)

Where to file, and what kind of case it is

The relator may file the petition in either the court of continuing, exclusive jurisdiction or a court with jurisdiction to issue a writ of habeas corpus in the county in which the child is found (Tex. Fam. Code § 157.371(a)). A habeas corpus proceeding is not a suit affecting the parent-child relationship, but the court may refer to the Family Code’s Title 5 for definitions and procedures as appropriate (§ 157.371(b)). It decides who is entitled to the child now under an existing order; it is not a way to change that order.

The TexasLawHelp Petition for Writ of Habeas Corpus (with an order and a respondent’s response) is the form most self-represented Texans use.

When there is a court order

  • Entitled under the order. Subject to chapter 152 of the Family Code and the federal Parental Kidnapping Prevention Act, the court compels return of the child to the relator only if it finds the relator is entitled to possession under the order (Tex. Fam. Code § 157.372(a)). This page does not cover what those two laws provide.
  • Order made without notice. If the court finds the earlier order was granted by a court that did not give the contestants reasonable notice and an opportunity to be heard, it may not compel return of the child on the basis of that order (§ 157.372(b)).

The 6-month relinquishment rule

If the relator has, by consent or acquiescence, relinquished actual possession and control of the child for not less than 6 months before the petition is filed, the court may either compel or refuse to order the child’s return (Tex. Fam. Code § 157.373(a)). The court may disregard brief periods of possession and control by the relator during the 6 months (§ 157.373(b)).

If the court does not compel return, it may issue temporary orders under chapter 105, but only if a suit affecting the parent-child relationship is pending and the parties have received notice of a hearing on temporary orders set for the same time as the habeas hearing (§ 157.373(c)). Chapter 105 temporary orders can cover temporary conservatorship and support, among other things (Tex. Fam. Code § 105.001(a)); see changing temporary orders in Texas.

The child’s welfare

Notwithstanding every other rule in the habeas subchapter, the court may render an appropriate temporary order if there is a serious immediate question concerning the welfare of the child (Tex. Fam. Code § 157.374).

When there is no court order

If the right to possession is not governed by an order (Tex. Fam. Code § 157.376(a)):

  • Parent against nonparent, no suit filed. The court shall compel return of the child to the parent (§ 157.376(a)(1)).
  • A suit is pending. The court may either compel return or issue chapter 105 temporary orders, if the parties have received notice of a temporary-orders hearing set for the same time as the habeas hearing (§ 157.376(a)(2)).
  • Two parents, or two or more nonparents. The court may not use a habeas corpus proceeding to adjudicate the right of possession between two parents or between two or more nonparents (§ 157.376(b)). Unmarried parents with no order start with a custody suit instead; see how to file for custody in Texas.

The relator’s immunity while in Texas

While in Texas for the sole purpose of compelling the return of a child through habeas corpus, the relator is not amenable to civil process and is not subject to the jurisdiction of any civil court except the court where the writ is pending, and there only for prosecuting the writ (Tex. Fam. Code § 157.375(a)). A request for costs, attorney’s fees and necessary travel and other expenses under chapter 106 or 152 is not a waiver of that immunity (§ 157.375(b)).

Sample petition for writ of habeas corpus for return of a child (Texas)

For a relator whose right to possession is set by a court order and who asks the court to order the respondent to produce and return the child (Fam. Code §§ 157.371–157.373). The official TexasLawHelp Petition for Writ of Habeas Corpus is linked above; this sample shows the same parts with placeholders.

Sample only. Not a court-approved form and not a substitute for the advice of an attorney. Replace every [bracketed] part with your own facts, and check your court’s local rules before you file.

CAUSE NO. ______________ IN THE INTEREST OF [CHILD’S INITIALS], A CHILD IN THE [court] [County] COUNTY, TEXAS

Petition for Writ of Habeas Corpus

[Your name], Relator, files this petition for writ of habeas corpus under Tex. Fam. Code chapter 157, subchapter H, and states:

  1. Parties. Relator is [your name], the child’s [relationship]. Respondent is [name], the child’s [relationship], who may be served at [address].
  2. Child. The child is [child’s initials], born [date of birth], who is now at [location, if known] in [County] County, Texas.
  3. Court. This Court [is the court of continuing, exclusive jurisdiction / has jurisdiction to issue a writ of habeas corpus in the county in which the child is found] (Tex. Fam. Code § 157.371(a)).
  4. The order. On [date], the [court] in Cause No. [number], [County] County, [State], signed [title of order]. The parties received notice of that proceeding and an opportunity to be heard. A copy of the order is attached as Exhibit A.
  5. Relator’s right to possession. Under [page and section] of the order, Relator is entitled to possession of the child [state the provision, e.g. at all times not given to Respondent / during the period from (date and time) to (date and time)].
  6. Refusal to return. On [date and time], at [place], Respondent [refused to return the child / did not surrender the child] as the order requires. [Facts: what was said or done, and what has happened since.]
  7. No relinquishment. Relator has not by consent or acquiescence relinquished actual possession and control of the child for 6 months or more preceding the filing of this petition. [Confirm this is true; describe any brief periods.]
  8. Relief requested. Relator asks the Court to issue a writ of habeas corpus ordering Respondent to produce the child before the Court at a time and place the Court sets, and, after hearing, to order the child returned to Relator under Tex. Fam. Code § 157.372(a).

Relator asks the Court to grant this petition and grant any other relief to which Relator is entitled.

Respectfully submitted, ______________________ [Your name], Relator, self-represented [Mailing address] [Phone] · [Email]

Verification

[Verification placeholder: a sworn statement before a notary, or an unsworn declaration, that the facts in this petition are true and correct, as your court requires. Use the wording on the official form.]

______________________ [Your name]

Sample from ProSeFiler (prosefiler.com). Not a substitute for the advice of an attorney.

Draft yours with your facts

Rules this page relies on

  • Tex. Fam. Code § 157.372Return of Child: (a) Subject to Chapter 152 and the Parental Kidnapping Prevention Act (28 U.S.C. Section 1738A), if the right to possession of a child is governed by a…Official text · checked
  • Tex. Fam. Code § 157.371Jurisdiction: (a) The relator may file a petition for a writ of habeas corpus in either the court of continuing, exclusive jurisdiction or in a court with jurisdiction…Official text · checked
  • Tex. Fam. Code § 157.373Relator Relinquished Possession; Temporary Orders: (a) If the relator has by consent or acquiescence relinquished actual possession and control of the child for not less…Official text · checked
  • Tex. Fam. Code § 105.001Temporary orders in a SAPCR; conservatorship/support/fees need notice and hearing.Official text · checked
  • Tex. Fam. Code § 157.374Welfare of Child: Notwithstanding any other provision of this subchapter, the court may render an appropriate temporary order if there is a serious immediate question…Official text · checked
  • Tex. Fam. Code § 157.376No Existing Order: (a) If the right to possession of a child is not governed by an order, the court in a habeas corpus proceeding involving the right of possession of…Official text · checked
Show 2 more
  • Tex. Fam. Code § 157.375Immunity to Civil Process: (a) While in this state for the sole purpose of compelling the return of a child through a habeas corpus proceeding, the relator is not…Official text · checked
  • Tex. Fam. Code § 156.101Modify conservatorship/possession if in the child's best interest and circumstances have materially and substantially changed since the earlier of rendition or the…Official text · checked

Common questions

What can I do if the other parent won’t return my child in Texas?

If a court order gives you the right to possession, you may file a petition for a writ of habeas corpus, and the court must compel the child’s return only if it finds you are entitled to possession under the order (Tex. Fam. Code § 157.372(a)). It is filed in the court of continuing, exclusive jurisdiction or a court with habeas jurisdiction in the county where the child is found (Tex. Fam. Code § 157.371(a)).

Can I use habeas corpus if there is no custody order between the parents?

Not to decide which parent gets the child. A court may not use a habeas corpus proceeding to adjudicate the right of possession between two parents or between two or more nonparents (Tex. Fam. Code § 157.376(b)). Without an order, the court must return the child to a parent in a dispute with a nonparent if no suit affecting the parent-child relationship has been filed (§ 157.376(a)(1)).

What if I let the child stay with the other parent for a long time?

If you relinquished actual possession and control by consent or acquiescence for not less than 6 months before filing, the court may either compel or refuse to order the child’s return, and it may disregard brief periods when you had the child (Tex. Fam. Code § 157.373(a)–(b)).

Can the judge refuse to return the child if the child is in danger?

Notwithstanding the other rules in the habeas subchapter, the court may render an appropriate temporary order if there is a serious immediate question concerning the welfare of the child (Tex. Fam. Code § 157.374).

If I come to Texas to get my child back, can I be sued while I’m here?

While in Texas for the sole purpose of compelling a child’s return through habeas corpus, the relator is not amenable to civil process and is subject only to the court where the writ is pending, and only for prosecuting the writ (Tex. Fam. Code § 157.375(a)). Asking for costs, fees and travel expenses under chapter 106 or 152 does not waive that immunity (§ 157.375(b)).

Legal information, not legal advice. ProSeFiler is not a law firm and is not a substitute for the advice of an attorney. This page explains what the law says; it does not tell you what to do in your case or predict how a court will rule. Checked against Texas Family Code chapters 105 and 157 on November 15, 2026; not reviewed by an attorney. Your court’s local rules and orders can add requirements, so confirm with the clerk. For advice about your own case, see free legal help in Texas.

Child not returned under your order?

Organize the order, the dates and what happened, and draft the petition — free, private, on your device.

Free to start. No account needed. Your case stays encrypted on your device.

Get started — it’s free

Sources

  • Tex. Fam. Code §§ 157.371–157.376 (ch. 157) and § 105.001 (ch. 105), retrieved November 9, 2026.
  • Petition for Writ of Habeas Corpus, at TexasLawHelp.org.

Something wrong on this page? Tell us and we will check it against the official text.