He won the 2004 Copa América with Brazil, where he started in all five matches alongside striker Adriano. With his poor form in Europe with Porto and Sevilla, however, he did not make any further international appearances for more than three years. He was finally recalled to the national team in November 2007 for 2010 FIFA World Cup qualification matches. On 19 November 2008, he scored his first international hat-trick in a friendly match against Portugal in Brasília. The match ended in a 6–2 victory for Brazil.