In 2018, the U.S. Supreme Court issued a court decision in Murphy v. National Collegiate Athletic Association, 584 U.S. 452. This decision struck down the federal ban on sports gambling. The ruling allowed each state to decide whether they wanted to legalize it.
Though there have been efforts to pass laws in recent years, online sports betting is still illegal in Texas.