The 37-year-old singer will perform 'La La La' (Brazil 2014) at the Maracana stadium, reported BBC online.
It is her third consecutive appearance at a World Cup closing ceremony, after performing in South Africa in 2010 and in Germany in 2006.
Shakira, whose home team Colombia will face Brazil in the quarter-finals, said she was "thrilled" to be performing.
"I have an intricate relationship with football for obvious reasons, and I truly understand what the World Cup means to so many people, myself included," the singer said in a statement.