Police picked up the young sunset monocle cobra Wednesday night, the Brownwood Bulletin reported.
"Officers arrived to find the cobra with its head attached to a large glue trap. Animal Control arrived and took custody of the cobra and it is currently incarcerated at the Brownwood Police Department," a police statement said. "The cobra appeared to have thrived well outside of its captivity."
After the cobra was reported to be on the loose, pesticide was sprayed around the home, and some experts believed the snake was dead, KTAL-TV reported. But glue traps were also placed in the house, just in case.
The cobra, renamed Baby, has been given to an environmental center. Its owner has been jailed on an unrelated drug charge.
Last year, a cobra got loose in the reptile house at the Bronx Zoo in New York. It was found lying low in the reptile house days later.
'Gimp Man of Essex' fights stereotypes
Swedish sprinter runs five minutes to defeat bus