TEXAS
Codes 22.10
Leaving a Child in a Vehicle

(a) A person commits an offense if he intentionally or knowingly leaves a child in a motor vehicle for longer than five minutes, knowing that the child is:
(1) younger than seven years of age; and
(2) not attended by and individual in the vehicle who is 14 years of age or older.

(b) An offense under this section is a Class C misdemeanor.
** If the child is injured the charge is then child endangerment which is a felony. The penalties are six months to two years in jail and a fine up to $10,000.