Bolsonaro has been arrested after authorities found he posed a serious risk of fleeing while under domestic detention.
The one-time leader was convicted of orchestrating a armed takeover in September and sentenced more than 27 years in prison, but he continued under confinement pending appeals.
High Court Judge Justice Moraes said the move to detain the septuagenarian politician was a precautionary step after fresh information emerged.
This included attempting to break his tracking device and a call for a demonstration that could "allow for a possible escape.
Court Filing Details Flight Fears
In a filing authorising the custody, the judge said data from the unit overseeing the former president's confinement suggested the ex-president's plan to remove the tracking monitor to ensure success in his getaway".
This, it said, would be made easier by the disorder caused by the demonstration called by his child.
His child, his son Flávio, who works as a congressional representative, called for a assembly of his followers near Bolsonaro's home to take place on Saturday evening.
His son wrote on social media on the previous day: "Are you going to fight for your nation, or see it all from your mobile device there on your couch? I urge you to battle with us."
He said the gathering would be so supporters could seek divine intervention for his health and for the restoration of democratic rule in our country."
Embassy Asylum Concerns
Part of Justice Moraes's ruling was the possibility of his move to diplomatic missions near the residence, considering that the probes revealed a history of planning to seek refuge through a consular facility", a statement said.
The judicial paperwork underscores that the American diplomatic mission in the capital, Brazil's capital, is located around 13km from his dwelling.
International Reactions
Bolsonaro's legal woes have drawn the ire of fellow right-wing populist US President President Trump, leading him to impose a fifty percent tax on Brazilian product imports.
The former president is being detained in a national police facility in the capital and will experience a detention review on Sunday.
Recent Legal Requests
It was only on the previous day that the his legal team asked the Top Court to permit him to serve his whole jail sentence under domestic detention, with tracking devices.
They also asked that the former president be allowed to leave his home for medical care, saying he required regular treatment for lung conditions and other illnesses.
Background on Conviction
Bolsonaro was determined responsible of orchestrating a conspiracy aimed at maintaining his control after he was defeated in the presidential race to his left-wing rival, Luiz Inácio Lula da Silva.
High Court judges said that he was aware of a plot which involved plans to kill his opponent and his vice-presidential running mate, his vice-presidential candidate, and to detain and kill the presiding judge - the top judicial official who has been presiding over the former president's case.
The plot was stopped because it failed to get the endorsement of the armed forces officials. Lula was took office without incident on 1 January 2023.
But a week later, on January 8th, numerous Bolsonaro supporters stormed and vandalised public facilities in the capital, Brazil's capital.
The police intervened and around 1,500 people were arrested.
The magistrates found that the protesters had been encouraged by Bolsonaro whose scheme, they said, was for the country's army to intervene, reestablish control and reinstate his authority.
At the period, the legal team called the over 27-year sentence "absurdly excessive.
He was also banned from running for public office until the year 2060 - eight years after the completion of his term.
The former president called the court case a targeted investigation" and said it was intended to stop him participating in the 2026 national vote.