HB 385
Relating to the duration of a child's detention following a detention hearing and a study on the effects of detention orders in a juvenile court proceeding.
Gámez · In the House: Filed
Bill details
- Session
- 90th Legislature, Regular Session
- Filed
- November 9, 2026
- Authors
- Gámez
- Latest action
- In the House: Filed, November 9, 2026
Official subjects (4)
Bill text: Introduced
What each section does (4 sections)
Labels come from matching the wording of each section's own instruction. No AI is used.
- Section 1 Changed
SECTION 1. Section 54.01(h), Family Code, is amended to read as follows: - Section 2
SECTION 2. (a) In this section, "department" means the Texas Juvenile Justice Department. - Section 3 Applies to
SECTION 3. The change in law made by this Act to Section 54.01, Family Code, applies only to a detention order, including a subsequent detention order, entered by a court on or after the effective date of this Act. - Section 4 Effective date
SECTION 4. This Act takes effect immediately if it receives a vote of two-thirds of all the members elected to each house, as provided by Section 39, Article III, Texas Constitution. If this Act does not receive the vote necessary for immediate effect, this Act takes effect September 1, 2027.
Underlined text is added to current law by this version. Struck-through text is removed. Numbers at the start of each paragraph are the official page and line.
This view applies the bill's changes to the text printed in this bill. It is not the full law, and it is not an official text.
1-1 AN ACT
1-2 relating to the duration of a child's detention following a detention hearing and a study on the effects of detention orders in a juvenile court proceeding.
1-5 BE IT ENACTED BY THE LEGISLATURE OF THE STATE OF TEXAS:
1-6 Changed SECTION 1. Section 54.01(h), Family Code , is amended to read as follows:
Current law: Section 54.01, Family Code, before this bill
As published by the state on June 13, 2026. Compare it with the bill text below. Open the whole chapter Official version
Sec. 54.01. DETENTION HEARING.
(a) Except as provided by Subsection (p), if the child is not released under Section 53.02, a detention hearing without a jury shall be held promptly, but not later than the second working day after the child is taken into custody; provided, however, that when a child is detained on a Friday or Saturday, then such detention hearing shall be held on the first working day after the child is taken into custody.
(b) Reasonable notice of the detention hearing, either oral or written, shall be given, stating the time, place, and purpose of the hearing. Notice shall be given to the child and, if they can be found, to his parents, guardian, or custodian. Prior to the commencement of the hearing, the court shall inform the parties of the child's right to counsel and to appointed counsel if they are indigent and of the child's right to remain silent with respect to any allegations of delinquent conduct, conduct indicating a need for supervision, or conduct that violates an order of probation imposed by a juvenile court.
(b-1) Unless the court finds that the appointment of counsel is not feasible due to exigent circumstances, the court shall appoint counsel within a reasonable time before the first detention hearing is held to represent the child at that hearing.
(c) At the detention hearing, the court may consider written reports from probation officers, professional court employees, guardians ad litem appointed under Section 51.11(d), or professional consultants in addition to the testimony of witnesses. Prior to the detention hearing, the court shall provide the attorney for the child with access to all written matter to be considered by the court in making the detention decision. The court may order counsel not to reveal items to the child or the child's parent, guardian, or guardian ad litem if such disclosure would materially harm the treatment and rehabilitation of the child or would substantially decrease the likelihood of receiving information from the same or similar sources in the future.
(d) A detention hearing may be held without the presence of the child's parents if the court has been unable to locate them. If no parent or guardian is present, the court shall appoint counsel or a guardian ad litem for the child, subject to the requirements of Subsection (b-1).
(e) At the conclusion of the hearing, the court shall order the child released from detention unless it finds that:
(1) he is likely to abscond or be removed from the jurisdiction of the court;
(2) suitable supervision, care, or protection for him is not being provided by a parent, guardian, custodian, or other person;
(3) he has no parent, guardian, custodian, or other person able to return him to the court when required;
(4) he may be dangerous to himself or may threaten the safety of the public if released; or
(5) he has previously been found to be a delinquent child or has previously been convicted of a penal offense punishable by a term in jail or prison and is likely to commit an offense if released.
(f) Unless otherwise agreed in the memorandum of understanding under Section 37.011, Education Code, a release may be conditioned on requirements reasonably necessary to insure the child's appearance at later proceedings, but the conditions of the release must be in writing and a copy furnished to the child. In a county with a population greater than 125,000, if a child being released under this section is expelled under Section 37.007, Education Code, the release shall be conditioned on the child's attending a juvenile justice alternative education program pending a deferred prosecution or formal court disposition of the child's case.
(g) No statement made by the child at the detention hearing shall be admissible against the child at any other hearing.
(h) A detention order extends to the conclusion of the disposition hearing, if there is one, but in no event for more than 10 working days. Further detention orders may be made following subsequent detention hearings. The initial detention hearing may not be waived but subsequent detention hearings may be waived in accordance with the requirements of Section 51.09. Each subsequent detention order shall extend for no more than 10 working days, except that in a county that does not have a certified juvenile detention facility, as described by Section 51.12(a)(3), each subsequent detention order shall extend for no more than 15 working days.
(i) A child in custody may be detained for as long as 10 days without the hearing described in Subsection (a) of this section if:
(1) a written request for shelter in detention facilities pending arrangement of transportation to his place of residence in another state or country or another county of this state is voluntarily executed by the child not later than the next working day after he was taken into custody;
(2) the request for shelter contains:
(A) a statement by the child that he voluntarily agrees to submit himself to custody and detention for a period of not longer than 10 days without a detention hearing;
(B) an allegation by the person detaining the child that the child has left his place of residence in another state or country or another county of this state, that he is in need of shelter, and that an effort is being made to arrange transportation to his place of residence; and
(C) a statement by the person detaining the child that he has advised the child of his right to demand a detention hearing under Subsection (a) of this section; and
(3) the request is signed by the juvenile court judge to evidence his knowledge of the fact that the child is being held in detention.
(j) The request for shelter may be revoked by the child at any time, and on such revocation, if further detention is necessary, a detention hearing shall be held not later than the next working day in accordance with Subsections (a) through (g) of this section.
(k) Notwithstanding anything in this title to the contrary, the child may sign a request for shelter without the concurrence of an adult specified in Section 51.09 of this code.
(l) The juvenile board may appoint a referee to conduct the detention hearing. The referee shall be an attorney licensed to practice law in this state. Such payment or additional payment as may be warranted for referee services shall be provided from county funds. Before commencing the detention hearing, the referee shall inform the parties who have appeared that they are entitled to have the hearing before the juvenile court judge or a substitute judge authorized by Section 51.04(f). If a party objects to the referee conducting the detention hearing, an authorized judge shall conduct the hearing within 24 hours. At the conclusion of the hearing, the referee shall transmit written findings and recommendations to the juvenile court judge or substitute judge. The juvenile court judge or substitute judge shall adopt, modify, or reject the referee's recommendations not later than the next working day after the day that the judge receives the recommendations. Failure to act within that time results in release of the child by operation of law. A recommendation that the child be released operates to secure the child's immediate release, subject to the power of the juvenile court judge or substitute judge to reject or modify that recommendation. The effect of an order detaining a child shall be computed from the time of the hearing before the referee.
(m) The detention hearing required in this section may be held in the county of the designated place of detention where the child is being held even though the designated place of detention is outside the county of residence of the child or the county in which the alleged delinquent conduct, conduct indicating a need for supervision, or probation violation occurred.
(n) An attorney appointed by the court under Section 51.10(c) because a determination was made under this section to detain a child who was not represented by an attorney may request on behalf of the child and is entitled to a de novo detention hearing under this section. The attorney must make the request not later than the 10th working day after the date the attorney is appointed. The hearing must take place not later than the second working day after the date the attorney filed a formal request with the court for a hearing.
(o) The court or referee shall find whether there is probable cause to believe that a child taken into custody without an arrest warrant or a directive to apprehend has engaged in delinquent conduct, conduct indicating a need for supervision, or conduct that violates an order of probation imposed by a juvenile court. The court or referee must make the finding within 48 hours, including weekends and holidays, of the time the child was taken into custody. The court or referee may make the finding on any reasonably reliable information without regard to admissibility of that information under the Texas Rules of Evidence. A finding of probable cause is required to detain a child after the 48th hour after the time the child was taken into custody. If a court or referee finds probable cause, additional findings of probable cause are not required in the same cause to authorize further detention.
(p) If a child is detained in a county jail or other facility as provided by Section 51.12(l) and the child is not released under Section 53.02(f), a detention hearing without a jury shall be held promptly, but not later than the 24th hour, excluding weekends and holidays, after the time the child is taken into custody.
(q) If a child has not been released under Section 53.02 or this section and a petition has not been filed under Section 53.04 or 54.05 concerning the child, the court shall order the child released from detention not later than:
(1) the 30th working day after the date the initial detention hearing is held, if the child is alleged to have engaged in conduct constituting a capital felony, an aggravated controlled substance felony, or a felony of the first degree; or
(2) the 15th working day after the date the initial detention hearing is held, if the child is alleged to have engaged in conduct constituting an offense other than an offense listed in Subdivision (1) or conduct that violates an order of probation imposed by a juvenile court.
(q-1) The juvenile board may impose an earlier deadline than the specified deadlines for filing petitions under Subsection (q) and may specify the consequences of not filing a petition by the deadline the juvenile board has established. The juvenile board may authorize but not require the juvenile court to release a respondent from detention for failure of the prosecutor to file a petition by the juvenile board's deadline.
(r) On the conditional release of a child from detention by judicial order under Subsection (f), the court, referee, or detention magistrate may order that the child's parent, guardian, or custodian present in court at the detention hearing engage in acts or omissions specified by the court, referee, or detention magistrate that will assist the child in complying with the conditions of release. The order must be in writing and a copy furnished to the parent, guardian, or custodian. An order entered under this subsection may be enforced as provided by Chapter 61.
1-8 (h) A detention order extends to the conclusion of the disposition hearing, if there is one, but in no event for more than [added] five [end added] [[removed] 10 [end removed]] working days. Further detention orders may be made following subsequent detention hearings. The initial detention hearing may not be waived but subsequent detention hearings may be waived in accordance with the requirements of Section 51.09. Each subsequent detention order shall extend for no more than [added] five [end added] [[removed] 10 [end removed]] working days, except that in a county that does not have a certified juvenile detention facility, as described by Section 51.12 (a)(3), each subsequent detention order shall extend for no more than [added] seven [end added][[removed] 15 [end removed]] working days.
1-19 SECTION 2. (a) In this section, "department" means the Texas Juvenile Justice Department.
1-21 (b) The department shall conduct a study on the effects of detention orders in a juvenile court proceeding.
1-23 (c) In conducting the study described by Subsection (b) of this section, the department shall, for each child detained in a facility described by Section 51.12, Family Code, determine the:
2-2 (1) amount of time each child was detained in a facility; and
2-4 (2) amount of time between each detention hearing.
2-5 (d) Not later than December 1, 2028, the department shall prepare and submit to the governor, the lieutenant governor, the speaker of the house of representatives, and each member of the legislature a written report containing the results of the study conducted under this section and any recommendations for legislative or other action. The report must include the information described by Subsection (c) of this section disaggregated by:
2-13 (1) the county in which the child was detained;
2-14 (2) the conduct for which the child was detained;
2-15 (3) age;
2-16 (4) race;
2-17 (5) ethnicity;
2-18 (6) sex; and
2-19 (7) whether the child is the subject of a case with the Department of Family and Protective Services.
2-21 (e) The department shall ensure that information collected during the study does not personally identify any child.
2-23 (f) This section expires September 1, 2029.
2-24 Applies to SECTION 3. The change in law made by this Act to Section 54.01, Family Code, applies only to a detention order, including a subsequent detention order, entered by a court on or after the effective date of this Act.
3-1 Effective date SECTION 4. This Act takes effect immediately if it receives a vote of two-thirds of all the members elected to each house, as provided by Section 39, Article III, Texas Constitution. If this Act does not receive the vote necessary for immediate effect, this Act takes effect September 1, 2027.
1-1 AN ACT
1-2 relating to the duration of a child's detention following a detention hearing and a study on the effects of detention orders in a juvenile court proceeding.
1-5 BE IT ENACTED BY THE LEGISLATURE OF THE STATE OF TEXAS:
1-6 SECTION 1. Section 54.01(h), Family Code , is amended to read as follows:
1-8 (h) A detention order extends to the conclusion of the disposition hearing, if there is one, but in no event for more than five working days. Further detention orders may be made following subsequent detention hearings. The initial detention hearing may not be waived but subsequent detention hearings may be waived in accordance with the requirements of Section 51.09. Each subsequent detention order shall extend for no more than five working days, except that in a county that does not have a certified juvenile detention facility, as described by Section 51.12 (a)(3), each subsequent detention order shall extend for no more than seven working days.
1-19 SECTION 2. (a) In this section, "department" means the Texas Juvenile Justice Department.
1-21 (b) The department shall conduct a study on the effects of detention orders in a juvenile court proceeding.
1-23 (c) In conducting the study described by Subsection (b) of this section, the department shall, for each child detained in a facility described by Section 51.12, Family Code, determine the:
2-2 (1) amount of time each child was detained in a facility; and
2-4 (2) amount of time between each detention hearing.
2-5 (d) Not later than December 1, 2028, the department shall prepare and submit to the governor, the lieutenant governor, the speaker of the house of representatives, and each member of the legislature a written report containing the results of the study conducted under this section and any recommendations for legislative or other action. The report must include the information described by Subsection (c) of this section disaggregated by:
2-13 (1) the county in which the child was detained;
2-14 (2) the conduct for which the child was detained;
2-15 (3) age;
2-16 (4) race;
2-17 (5) ethnicity;
2-18 (6) sex; and
2-19 (7) whether the child is the subject of a case with the Department of Family and Protective Services.
2-21 (e) The department shall ensure that information collected during the study does not personally identify any child.
2-23 (f) This section expires September 1, 2029.
2-24 SECTION 3. The change in law made by this Act to Section 54.01, Family Code, applies only to a detention order, including a subsequent detention order, entered by a court on or after the effective date of this Act.
3-1 SECTION 4. This Act takes effect immediately if it receives a vote of two-thirds of all the members elected to each house, as provided by Section 39, Article III, Texas Constitution. If this Act does not receive the vote necessary for immediate effect, this Act takes effect September 1, 2027.
History
| Date | Action |
|---|---|
| In the House | |
| Nov 9, 2026 | Filed |
Current law cited in this bill
Current law as published by the state on June 13, 2026.
Sec. 54.01. DETENTION HEARING.
(a) Except as provided by Subsection (p), if the child is not released under Section 53.02, a detention hearing without a jury shall be held promptly, but not later than the second working day after the child is taken into custody; provided, however, that when a child is detained on a Friday or Saturday, then such detention hearing shall be held on the first working day after the child is taken into custody.
(b) Reasonable notice of the detention hearing, either oral or written, shall be given, stating the time, place, and purpose of the hearing. Notice shall be given to the child and, if they can be found, to his parents, guardian, or custodian. Prior to the commencement of the hearing, the court shall inform the parties of the child's right to counsel and to appointed counsel if they are indigent and of the child's right to remain silent with respect to any allegations of delinquent conduct, conduct indicating a need for supervision, or conduct that violates an order of probation imposed by a juvenile court.
(b-1) Unless the court finds that the appointment of counsel is not feasible due to exigent circumstances, the court shall appoint counsel within a reasonable time before the first detention hearing is held to represent the child at that hearing.
(c) At the detention hearing, the court may consider written reports from probation officers, professional court employees, guardians ad litem appointed under Section 51.11(d), or professional consultants in addition to the testimony of witnesses. Prior to the detention hearing, the court shall provide the attorney for the child with access to all written matter to be considered by the court in making the detention decision. The court may order counsel not to reveal items to the child or the child's parent, guardian, or guardian ad litem if such disclosure would materially harm the treatment and rehabilitation of the child or would substantially decrease the likelihood of receiving information from the same or similar sources in the future.
(d) A detention hearing may be held without the presence of the child's parents if the court has been unable to locate them. If no parent or guardian is present, the court shall appoint counsel or a guardian ad litem for the child, subject to the requirements of Subsection (b-1).
(e) At the conclusion of the hearing, the court shall order the child released from detention unless it finds that:
(1) he is likely to abscond or be removed from the jurisdiction of the court;
(2) suitable supervision, care, or protection for him is not being provided by a parent, guardian, custodian, or other person;
(3) he has no parent, guardian, custodian, or other person able to return him to the court when required;
(4) he may be dangerous to himself or may threaten the safety of the public if released; or
(5) he has previously been found to be a delinquent child or has previously been convicted of a penal offense punishable by a term in jail or prison and is likely to commit an offense if released.
(f) Unless otherwise agreed in the memorandum of understanding under Section 37.011, Education Code, a release may be conditioned on requirements reasonably necessary to insure the child's appearance at later proceedings, but the conditions of the release must be in writing and a copy furnished to the child. In a county with a population greater than 125,000, if a child being released under this section is expelled under Section 37.007, Education Code, the release shall be conditioned on the child's attending a juvenile justice alternative education program pending a deferred prosecution or formal court disposition of the child's case.
(g) No statement made by the child at the detention hearing shall be admissible against the child at any other hearing.
(h) A detention order extends to the conclusion of the disposition hearing, if there is one, but in no event for more than 10 working days. Further detention orders may be made following subsequent detention hearings. The initial detention hearing may not be waived but subsequent detention hearings may be waived in accordance with the requirements of Section 51.09. Each subsequent detention order shall extend for no more than 10 working days, except that in a county that does not have a certified juvenile detention facility, as described by Section 51.12(a)(3), each subsequent detention order shall extend for no more than 15 working days.
(i) A child in custody may be detained for as long as 10 days without the hearing described in Subsection (a) of this section if:
(1) a written request for shelter in detention facilities pending arrangement of transportation to his place of residence in another state or country or another county of this state is voluntarily executed by the child not later than the next working day after he was taken into custody;
(2) the request for shelter contains:
(A) a statement by the child that he voluntarily agrees to submit himself to custody and detention for a period of not longer than 10 days without a detention hearing;
(B) an allegation by the person detaining the child that the child has left his place of residence in another state or country or another county of this state, that he is in need of shelter, and that an effort is being made to arrange transportation to his place of residence; and
(C) a statement by the person detaining the child that he has advised the child of his right to demand a detention hearing under Subsection (a) of this section; and
(3) the request is signed by the juvenile court judge to evidence his knowledge of the fact that the child is being held in detention.
(j) The request for shelter may be revoked by the child at any time, and on such revocation, if further detention is necessary, a detention hearing shall be held not later than the next working day in accordance with Subsections (a) through (g) of this section.
(k) Notwithstanding anything in this title to the contrary, the child may sign a request for shelter without the concurrence of an adult specified in Section 51.09 of this code.
(l) The juvenile board may appoint a referee to conduct the detention hearing. The referee shall be an attorney licensed to practice law in this state. Such payment or additional payment as may be warranted for referee services shall be provided from county funds. Before commencing the detention hearing, the referee shall inform the parties who have appeared that they are entitled to have the hearing before the juvenile court judge or a substitute judge authorized by Section 51.04(f). If a party objects to the referee conducting the detention hearing, an authorized judge shall conduct the hearing within 24 hours. At the conclusion of the hearing, the referee shall transmit written findings and recommendations to the juvenile court judge or substitute judge. The juvenile court judge or substitute judge shall adopt, modify, or reject the referee's recommendations not later than the next working day after the day that the judge receives the recommendations. Failure to act within that time results in release of the child by operation of law. A recommendation that the child be released operates to secure the child's immediate release, subject to the power of the juvenile court judge or substitute judge to reject or modify that recommendation. The effect of an order detaining a child shall be computed from the time of the hearing before the referee.
(m) The detention hearing required in this section may be held in the county of the designated place of detention where the child is being held even though the designated place of detention is outside the county of residence of the child or the county in which the alleged delinquent conduct, conduct indicating a need for supervision, or probation violation occurred.
(n) An attorney appointed by the court under Section 51.10(c) because a determination was made under this section to detain a child who was not represented by an attorney may request on behalf of the child and is entitled to a de novo detention hearing under this section. The attorney must make the request not later than the 10th working day after the date the attorney is appointed. The hearing must take place not later than the second working day after the date the attorney filed a formal request with the court for a hearing.
(o) The court or referee shall find whether there is probable cause to believe that a child taken into custody without an arrest warrant or a directive to apprehend has engaged in delinquent conduct, conduct indicating a need for supervision, or conduct that violates an order of probation imposed by a juvenile court. The court or referee must make the finding within 48 hours, including weekends and holidays, of the time the child was taken into custody. The court or referee may make the finding on any reasonably reliable information without regard to admissibility of that information under the Texas Rules of Evidence. A finding of probable cause is required to detain a child after the 48th hour after the time the child was taken into custody. If a court or referee finds probable cause, additional findings of probable cause are not required in the same cause to authorize further detention.
(p) If a child is detained in a county jail or other facility as provided by Section 51.12(l) and the child is not released under Section 53.02(f), a detention hearing without a jury shall be held promptly, but not later than the 24th hour, excluding weekends and holidays, after the time the child is taken into custody.
(q) If a child has not been released under Section 53.02 or this section and a petition has not been filed under Section 53.04 or 54.05 concerning the child, the court shall order the child released from detention not later than:
(1) the 30th working day after the date the initial detention hearing is held, if the child is alleged to have engaged in conduct constituting a capital felony, an aggravated controlled substance felony, or a felony of the first degree; or
(2) the 15th working day after the date the initial detention hearing is held, if the child is alleged to have engaged in conduct constituting an offense other than an offense listed in Subdivision (1) or conduct that violates an order of probation imposed by a juvenile court.
(q-1) The juvenile board may impose an earlier deadline than the specified deadlines for filing petitions under Subsection (q) and may specify the consequences of not filing a petition by the deadline the juvenile board has established. The juvenile board may authorize but not require the juvenile court to release a respondent from detention for failure of the prosecutor to file a petition by the juvenile board's deadline.
(r) On the conditional release of a child from detention by judicial order under Subsection (f), the court, referee, or detention magistrate may order that the child's parent, guardian, or custodian present in court at the detention hearing engage in acts or omissions specified by the court, referee, or detention magistrate that will assist the child in complying with the conditions of release. The order must be in writing and a copy furnished to the parent, guardian, or custodian. An order entered under this subsection may be enforced as provided by Chapter 61.
Current law as published by the state on June 13, 2026.
Sec. 51.12. PLACE AND CONDITIONS OF DETENTION.
(a) Except as provided by Subsection (h), a child may be detained only in a:
(1) juvenile processing office in compliance with Section 52.025;
(2) place of nonsecure custody in compliance with Article 45A.453, Code of Criminal Procedure;
(3) certified juvenile detention facility that complies with the requirements of Subsection (f);
(4) secure detention facility as provided by Subsection (j);
(5) county jail or other facility as provided by Subsection (l); or
(6) nonsecure correctional facility as provided by Subsection (j-1).
(b) The proper authorities in each county shall provide a suitable place of detention for children who are parties to proceedings under this title, but the juvenile board shall control the conditions and terms of detention and detention supervision and shall permit visitation with the child at all reasonable times.
(b-1) A pre-adjudication secure detention facility may be operated only by:
(1) a governmental unit in this state as defined by Section 101.001, Civil Practice and Remedies Code; or
(2) a private entity under a contract with a governmental unit in this state.
(c) In each county, each judge of the juvenile court and a majority of the members of the juvenile board shall personally inspect all public or private juvenile pre-adjudication secure detention facilities that are located in the county at least annually and shall certify in writing to the authorities responsible for operating and giving financial support to the facilities and to the Texas Juvenile Justice Department that the facilities are suitable or unsuitable for the detention of children. In determining whether a facility is suitable or unsuitable for the detention of children, the juvenile court judges and juvenile board members shall consider:
(1) current monitoring and inspection reports and any noncompliance citation reports issued by the department, including the report provided under Subsection (c-1), and the status of any required corrective actions;
(2) current governmental inspector certification regarding the facility's compliance with local fire codes;
(3) current building inspector certification regarding the facility's compliance with local building codes;
(4) for the 12-month period preceding the inspection, the total number of allegations of abuse, neglect, or exploitation reported by the facility and a summary of the findings of any investigations of abuse, neglect, or exploitation conducted by the facility, a local law enforcement agency, and the department;
(5) the availability of health and mental health services provided to facility residents;
(6) the availability of educational services provided to facility residents; and
(7) the overall physical appearance of the facility, including the facility's security, maintenance, cleanliness, and environment.
(c-1) The Texas Juvenile Justice Department shall inspect each public or private juvenile pre-adjudication secure detention facility. The department shall provide a report to each juvenile court judge presiding in the same county as an inspected facility indicating whether the facility is suitable or unsuitable for the detention of children in accordance with:
(1) the requirements of Subsections (a), (f), and (g); and
(2) minimum professional standards for the detention of children in pre-adjudication secure confinement promulgated by the department or, at the election of the juvenile board of the county in which the facility is located, the current standards promulgated by the American Correctional Association.
(d) Except as provided by Subsections (j) and (l), a child may not be placed in a facility that has not been certified under Subsection (c) as suitable for the detention of children and registered under Subsection (i). Except as provided by Subsections (j) and (l), a child detained in a facility that has not been certified under Subsection (c) as suitable for the detention of children or that has not been registered under Subsection (i) shall be entitled to immediate release from custody in that facility.
(e) If there is no certified place of detention in the county in which the petition is filed, the designated place of detention may be in another county.
(f) A child detained in a building that contains a jail, lockup, or other place of secure confinement, including an alcohol or other drug treatment facility, shall be separated by sight and sound from adults detained in the same building. Children and adults are separated by sight and sound only if they are unable to see each other and conversation between them is not possible. The separation must extend to all areas of the facility, including sally ports and passageways, and those areas used for admission, counseling, sleeping, toileting, showering, dining, recreational, educational, or vocational activities, and health care. The separation may be accomplished through architectural design. A person who has been transferred for prosecution in criminal court under Section 54.02 and is under 17 years of age is considered a child for the purposes of this subsection.
(g) Except for a child detained in a juvenile processing office, a place of nonsecure custody, a secure detention facility as provided by Subsection (j), or a facility as provided by Subsection (l), a child detained in a building that contains a jail or lockup may not have any contact with:
(1) part-time or full-time security staff, including management, who have contact with adults detained in the same building; or
(2) direct-care staff who have contact with adults detained in the same building.
(h) This section does not apply to a person:
(1) who has been transferred to criminal court for prosecution under Section 54.02 and is at least 17 years of age; or
(2) who is at least 17 years of age and who has been taken into custody after having:
(A) escaped from a juvenile facility operated by or under contract with the Texas Juvenile Justice Department; or
(B) violated a condition of release under supervision of the department.
(i) Except for a facility as provided by Subsection (l), a governmental unit or private entity that operates or contracts for the operation of a juvenile pre-adjudication secure detention facility under Subsection (b-1) in this state shall:
(1) register the facility annually with the Texas Juvenile Justice Department; and
(2) adhere to all applicable minimum standards for the facility.
(j) After being taken into custody, a child may be detained in a secure detention facility until the child is released under Section 53.01, 53.012, or 53.02 or until a detention hearing is held under Section 54.01(a), regardless of whether the facility has been certified under Subsection (c), if:
(1) a certified juvenile detention facility is not available in the county in which the child is taken into custody;
(2) the detention facility complies with:
(A) the short-term detention standards adopted by the Texas Juvenile Justice Department; and
(B) the requirements of Subsection (f); and
(3) the detention facility has been designated by the county juvenile board for the county in which the facility is located.
(j-1) After being taken into custody, a child may be detained in a nonsecure correctional facility until the child is released under Section 53.01, 53.012, or 53.02 or until a detention hearing is held under Section 54.01(a), if:
(1) the nonsecure correctional facility has been appropriately registered and certified;
(2) a certified secure detention facility is not available in the county in which the child is taken into custody;
(3) the nonsecure correctional facility complies with the short-term detention standards adopted by the Texas Juvenile Justice Department; and
(4) the nonsecure correctional facility has been designated by the county juvenile board for the county in which the facility is located.
(k) If a child who is detained under Subsection (j) or (l) is not released from detention at the conclusion of the detention hearing for a reason stated in Section 54.01(e), the child may be detained after the hearing only in a certified juvenile detention facility.
(l) A child who is taken into custody and required to be detained under Section 53.02(f) may be detained in a county jail or other facility until the child is released under Section 53.02(f) or until a detention hearing is held as required by Section 54.01(p), regardless of whether the facility complies with the requirements of this section, if:
(1) a certified juvenile detention facility or a secure detention facility described by Subsection (j) is not available in the county in which the child is taken into custody or in an adjacent county;
(2) the facility has been designated by the county juvenile board for the county in which the facility is located;
(3) the child is separated by sight and sound from adults detained in the same facility through architectural design or time-phasing;
(4) the child does not have any contact with management or direct-care staff that has contact with adults detained in the same facility on the same work shift;
(5) the county in which the child is taken into custody is not located in a metropolitan statistical area as designated by the United States Bureau of the Census; and
(6) each judge of the juvenile court and a majority of the members of the juvenile board of the county in which the child is taken into custody have personally inspected the facility at least annually and have certified in writing to the Texas Juvenile Justice Department that the facility complies with the requirements of Subdivisions (3) and (4).
(m) The Texas Juvenile Justice Department may deny, suspend, or revoke the registration of any facility required to register under Subsection (i) if the facility fails to:
(1) adhere to all applicable minimum standards for the facility; or
(2) timely correct any notice of noncompliance with minimum standards.