Tex. Code Crim. Proc. art. 26.13

Current with legislation from the 2023 Regular and Special Sessions signed by the Governor as of November 21, 2023.
Section 26.13 - Plea of Guilty
(a) Prior to accepting a plea of guilty or a plea of nolo contendere, the court shall admonish the defendant of:
(1) the range of the punishment attached to the offense;
(2) the fact that the recommendation of the prosecuting attorney as to punishment is not binding on the court. Provided that the court shall inquire as to the existence of a plea bargain agreement between the state and the defendant and, if an agreement exists, the court shall inform the defendant whether it will follow or reject the agreement in open court and before any finding on the plea. Should the court reject the agreement, the defendant shall be permitted to withdraw the defendant's plea of guilty or nolo contendere;
(3) the fact that if the punishment assessed does not exceed the punishment recommended by the prosecutor and agreed to by the defendant and the defendant's attorney, the trial court must give its permission to the defendant before the defendant may prosecute an appeal on any matter in the case except for those matters raised by written motions filed prior to trial;
(4) the fact that if the defendant is not a citizen of the United States of America, a plea of guilty or nolo contendere for the offense charged may result in deportation, the exclusion from admission to this country, or the denial of naturalization under federal law;
(5) the fact that the defendant will be required to meet the registration requirements of Chapter 62, if the defendant is convicted of or placed on deferred adjudication for an offense for which a person is subject to registration under that chapter; and
(6) the fact that if the defendant is placed on community supervision, after satisfactorily fulfilling the conditions of community supervision and on expiration of the period of community supervision, the court is authorized to release the defendant from the penalties and disabilities resulting from the offense as provided by Article 42A.701(f).
(b) No plea of guilty or plea of nolo contendere shall be accepted by the court unless it appears that the defendant is mentally competent and the plea is free and voluntary.
(c) In admonishing the defendant as herein provided, substantial compliance by the court is sufficient, unless the defendant affirmatively shows that he was not aware of the consequences of his plea and that he was misled or harmed by the admonishment of the court.
(d) Except as provided by Subsection (d-1), the court may make the admonitions required by this article either orally or in writing. If the court makes the admonitions in writing, it must receive a statement signed by the defendant and the defendant's attorney that the defendant understands the admonitions and is aware of the consequences of the plea. If the defendant is unable or refuses to sign the statement, the court shall make the admonitions orally.
(d-1) The court shall make the admonition required by Subsection (a)(4) both orally and in writing. Unless the court has received the statement as described by Subsection (d), the court must receive a statement signed by the defendant and the defendant's attorney that the defendant understands the admonition required by Subsection (a)(4) and is aware of the consequences of the plea. If the defendant is unable or refuses to sign the statement, the court shall make a record of that fact.
(e) Before accepting a plea of guilty or a plea of nolo contendere, the court shall, as applicable in the case:
(1) inquire as to whether a victim impact statement has been returned to the attorney representing the state and ask for a copy of the statement if one has been returned; and
(2) inquire as to whether the attorney representing the state has given notice of the existence and terms of any plea bargain agreement to the victim, guardian of a victim, or close relative of a deceased victim, as those terms are defined by Article 56A.001.
(f) The court must substantially comply with Subsection (e) of this article. The failure of the court to comply with Subsection (e) of this article is not grounds for the defendant to set aside the conviction, sentence, or plea.
(g) Before accepting a plea of guilty or a plea of nolo contendere and on the request of a victim of the offense, the court may assist the victim and the defendant in participating in a victim-offender mediation program.
(h) The court must substantially comply with Subsection (a)(5). The failure of the court to comply with Subsection (a)(5) is not a ground for the defendant to set aside the conviction, sentence, or plea.
(h-1) The court must substantially comply with Subsection (a)(6). The failure of the court to comply with Subsection (a)(6) is not a ground for the defendant to set aside the conviction, sentence, or plea.
(i) Notwithstanding this article, a court shall not order the state or any of its prosecuting attorneys to participate in mediation, dispute resolution, arbitration, or other similar procedures in relation to a criminal prosecution unless upon written consent of the state.

Tex. Code Crim. Proc. § 26.13

Amended by Acts 2019, Texas Acts of the 86th Leg.- Regular Session, ch. TBD,Sec. 2.09, eff. 1/1/2021.
Amended by Acts 2019, Texas Acts of the 86th Leg.- Regular Session, ch. 185,Sec. 1, eff. 9/1/2019.
Amended by Acts 2017, Texas Acts of the 85th Leg. - Regular Session, ch. 1017,Sec. 1, eff. 9/1/2017.
Amended by Acts 2011, 82nd Leg., R.S., Ch. 1073, Sec. 1, eff. 9/1/2011.
Amended by Acts 2009, 81st Leg., R.S., Ch. 1379, Sec. 2, eff. 9/1/2009.
Amended by Acts 2007, 80th Leg., R.S., Ch. 125, Sec. 1, eff. 9/1/2007.
Amended by Acts 2005, 79th Leg., Ch. 1008, Sec. 1.03, eff. 9/1/2005.
Amended by Acts 1987, 70th Leg., ch. 443, Sec. 1, eff. 8/1/1987. Subsecs. (e), (f) added by Acts 1991, 72nd Leg., ch. 202, Sec. 1, eff. 9/1/1991; Subsec. (g) added by Acts 1997, 75th Leg., ch. 670, Sec. 4, eff. 9/1/1997; Subsec. (a) amended by Acts 1999, 76th Leg., ch. 1415, Sec. 1, eff. 9/1/1999; Subsec. (h) added by Acts 1999, 76th Leg., ch. 425, Sec. 1, eff. 8/30/1999; added by Acts 1999, 76th Leg., ch. 1415, Sec. 1, eff. 9/1/1999; Subsec. (i) relettered from subsec. (h) by Acts 2001, 77th Leg., ch. 1420, Sec. 21.001(8), eff. 9/1/2001.
Amended by Acts 1985, 69th Leg., ch. 685, Sec. 8(a), eff. 8/26/1985
Amended by Acts 1985, 69th Leg., p. 5065, ch. 671, Sec. 1, eff. 6/14/1985
Amended by Acts 1979, 66th Leg., p. 1108, ch. 524, Sec. 1, eff. 9/1/1979
Amended by Acts 1979, 66th Leg., p. 1160, ch. 561, Sec. 1, eff. 9/1/1979
Amended by Acts 1977, 65th Leg., p. 748, ch. 280, Sec. 1, eff. 8/29/1977
Amended by Acts 1975, 64th Leg., p. 909, ch. 341, Sec. 3, eff. 6/19/1975
Amended by Acts 1973, 63rd Leg., p. 969, ch. 399, Sec. 2(A), eff. 1/1/1974
Acts 1965, 59th Leg., p. 317, ch. 722, Sec. 1, eff. 1/1/1966.
See Acts 2019, Texas Acts of the 86th Leg.- Regular Session, ch. 185, Sec. 2.