Jair Bolsonaro has been ordered to wear an ankle tag in a move he described as “a supreme humiliation”.
The development came as federal police searched the former Brazilian president’s home and his party headquarters in Brasília, following a Supreme Court order.
The order prohibits Mr Bolsonaro from leaving the house at night, communicating with foreign ambassadors and diplomats or approaching embassies.
The former president is also barred from using social media or contacting other individuals under investigation by the Supreme Court, including his son, the Trump ally Eduardo Bolsonaro.
Mr Bolsonaro is currently on trial at the Supreme Court accused of leading an alleged attempt to stage a coup to overturn the 2022 election, in which he was defeated by Left-wing president Luiz Inácio Lula da Silva.
“It is a supreme humiliation,” the ex-president told journalists after attaching the ankle monitor. “I never thought about leaving Brazil, I never thought about going to an embassy, but the precautionary measures are because of that.”