Bolsonaro has been arrested after authorities determined he posed a definite escape threat while under house arrest.
The former head of state was convicted of planning a government overthrow in September and sentenced more than 27 years in prison, but he was staying under confinement pending appeals.
High Court Judge the presiding justice said the action to imprison the 70-year-old politician was a precautionary step after recent developments came to light.
This involved attempting to break his tracking device and a invitation to a demonstration that could "allow for a potential flight.
Court Filing Details Escape Risks
In a paperwork permitting the custody, Justice Moraes said intelligence from the centre monitoring Bolsonaro's house arrest suggested the former leader's plan to remove the tracking monitor to ensure success in his escape.
This, it said, would be assisted by the disorder caused by the protest called by his child.
His son, his son Flávio, who holds office as a congressional representative, called for a meeting of his followers near Bolsonaro's home to take place on Saturday evening.
His son wrote on online platforms on Friday: "Are you going to fight for your nation, or see it all from your phone there on your couch? I urge you to struggle with us."
He said the vigil would be so backers could "pray for his physical condition and for the return of democracy in our land."
Foreign Shelter Risks
Part of the magistrate's ruling was the potential of the former president's move to diplomatic missions near the dwelling, considering that the investigations revealed a record of organizing to ask for protection through a diplomatic representation", a declaration said.
The legal document emphasizes that the US embassy in the national capital, Brazil's capital, is positioned around 8 miles from his dwelling.
Worldwide Consequences
The former president's legal troubles have provoked anger from fellow populist conservative United States President President Trump, leading him to impose a half-rate duty on imports of Brazilian goods.
Bolsonaro is being kept in a federal law enforcement building in the capital and will undergo a custody hearing on the following day.
Recent Legal Requests
It was only on last Friday that the former president's lawyers asked the High Court to allow him to complete his entire prison term under home confinement, with tracking devices.
They also petitioned that the former president be allowed to exit his dwelling for medical care, saying he demanded frequent medical attention for pulmonary infections and other health problems.
Background on Conviction
Bolsonaro was found guilty of orchestrating a plot aimed at keeping him in power after he lost the 2022 election to his political opponent, President Lula.
Supreme Court justices said that he had knowledge of a plot which included plans to murder the current president and his vice-presidential running mate, Alckmin, and to detain and kill Justice Moraes - the High Court judge who has been presiding over Bolsonaro's trial.
The conspiracy was stopped because it didn't receive the endorsement of the armed forces officials. Lula was sworn in without issue on January 1st, 2023.
But a seven days after, on the eighth of January, numerous his backers attacked and damaged official structures in the capital, Brazil's capital.
The law enforcement took action and around 1,500 people were taken into custody.
The judges found that the protesters had been encouraged by Bolsonaro whose scheme, they said, was for the national armed forces to step in, restore order and reinstate his authority.
At the moment, the legal team called the decades-long sentence "absurdly excessive.
He was also barred from running for public office until 2060 - a decade minus two years after the completion of his term.
The one-time head of state called the legal proceedings a targeted investigation" and said it was aimed at blocking him competing in the 2026 presidential election.