After a lengthy absence from the national team, Gomez was named to the provisional 30-man U.S. squad for the 2010 FIFA World Cup after a highly productive club season in Mexico. He scored a goal for the U.S. national team in a 4–2 friendly defeat to the Czech Republic on May 25; the next day he was named to the final 23-man squad. Gomez played in 3 out of the 4 games for the United States at the World Cup, including the round of 16 game against Ghana.