With runners on first and second, speedy Jake Marisnick hit a grounder down the third-base line to Yoan Moncada. He stepped on the bag for the first out and threw to Yolmer Sanchez at second. Sanchez relayed to first, where the ball just beat Marisnick.
It was the first triple play in the majors this season and Chicago's first since July 8, 2016, against the Atlanta Braves. Houston last hit into a triple play on April 19, 2018, against the Seattle Mariners.
"It takes a perfect alignment of the stars,'' Astros manager AJ Hinch said. "It was not our night.''
Because he was in the perfect spot to grab Marisnick's grounder, Moncada thought the White Sox might be able to get three outs as soon as he touched third.
"Honestly, yes,'' he said through an interpreter. "I just reacted and from there the play was easy.''
The White Sox beat the Astros 9-4.
The Associated Press contributed to this report.