In 1998 was the first time that Gilberto had training with the national team, after a successful season. He played for Brazil in the 2006 FIFA World Cup in Germany and scored against Japan in the group stage, his first goal for the national side, having made his debut for the team against Nigeria on 11 June 2003. Gilberto also featured as Brazil’s first choice left back in the Copa America 2007. Due to club performance, he lost his place on the national team to Kléber, and then to André Santos, which both of them selected to 2009 FIFA Confederations Cup and left Gilberto out. However, he has been called up in February 2010 to a friendly match against Republic of Ireland since returned to Brazil. But he played as unused bench as Michel Bastos’s backup. Moreover, most of the 22-men squad for the Ireland match (except Adriano and Carlos Eduardo), plus Elano, Luís Fabiano (who both pull out from the friendly by injury) and Heurelho Gomes, became the provisional 23-men squad for the 2010 FIFA World Cup. And 7 more players were call-up as backup players. He played twice for the Seleção at the tournament, both as sub, including the match losing to the Netherlands in the quarter-finals. After the dismiss of Dunga, he never received any call-up again, and one year later, in 2011 he retired from the international football.