 On July 30, 2015, the Brewers traded Gómez and Mike Fiers to the Houston Astros for Brett Phillips, Domingo Santana, Josh Hader, and Adrian Houser.On October 6, Gómez hit a solo home run in the AL Wild Card Game against the New York Yankees to put the Astros up 2–0 in the 4th inning, propelling them to a 3–0 win and a berth in the ALDS.In 2016, Gómez batted .210 with five home runs in 85 games for the Astros.