Guatemala’s attorney general has issued an arrest warrant against President Otto Perez Molina, according to the public prosecutor’s office.
Prosecutors accuse the president of masterminding a scheme to defraud the customs service of millions of dollars, allegations he denies.
On Tuesday, congress voted to remove his immunity from prosecution amid corruption allegations.
A judge has barred Perez Molina from leaving the country.
The president, whose term runs out in January, will now be summoned to appear before a court.
The detention order was signed by judge Miguel Angel Galvez, the prosecutor’s office said.
A spokesman for the president Molina had earlier said the president would be “very respectful and submit himself to the rule of law”.
On Tuesday, all members of congress present at the vote endorsed a move to strip the president of his immunity.
They included members of the president’s own party.