Former Brazilian president Jair Bolsonaro was transferred from house arrest into police custody on Saturday after the Supreme Court ruled he posed a significant flight risk while appealing his conviction for attempting to overturn the 2022 election results.

The far-right firebrand was sentenced to 27 years in prison over a plot to stop leftist Luiz Inacio Lula da Silva from taking office after 2022 elections.

Supreme Court judge Alexandre de Moraes, who is leading the trial against Bolsonaro, said his arrest was a preventative measure as he is a "high flight risk", and not the execution of his sentence.

Bolsonaro, who governed Brazil from 2019 to 2022, was placed under house arrest in August and has been confined to an upscale condominium in the capital Brasilia, and monitored electronically.

In his ruling, Moraes said that a planned vigil outside the condominium called by the former leader's son Flavio Bolsonaro on Saturday could cause turmoil that would "create an environment conducive to his escape."