The presidential administration did not give a reason for his decision to skip the summit of heads of state and government in Hamburg on July 7-8.
But the announcement came days after Brazil’s prosecutor general Rodrigo Janot formally accused Temer of corruption. The charges were sent earlier in the day to the lower house of parliament, which will vote on whether he should be tried by the supreme court.
The president is suspected of taking bribes and attempts to obstruct justice in a case involving Brazil’s meat processing company JBS.
A probe was opened last month after local media leaked an audio recording in which Temer appeared to be discussing bribes with the JBS owner to hush up a witness in a corruption case surrounding the national energy firm Petrobras.