Brazilian President Jair Bolsonaro signed a decree limiting the powers of companies that own social networks to remove accounts and content.
Bolsonaro says a change in regulations is needed to combat the "arbitrary removal" of orders.
He said the new law would help protect free speech.
During the coronavirus pandemic, Twitter and Facebook removed many posts shared by the president and his supporters because they were deemed misleading.
- Facebook will remove fake news about vaccines
- Facebook warns against misinformation about the corona virus
- All fake news about the corona virus from social networks
- Who spreads fake news
The goal of the new regulation is to clarify the powers of companies that own social networks when it comes to managing content on their platforms, the president's office announced.
The details of the regulation, which are now publicly available, state that tech giants will have to provide "justifiable reason and motivation" before removing an account or content.
It is unclear, however, how the order will actually be enforced.
This was announced ahead of demonstrations by Bolsonaro supporters across Brazil, which are expected to be large-scale.
The president's supporters will protest against Congress and the Supreme Court, which last month added Bolsonaro to a list of people under investigation for allegedly spreading disinformation.
- "So what": How this world leader ignores Kovid-19
- The political crisis and the corona virus are shaking Brazil
- Could Brazil become a 'breeding ground' for vaccine resistance?
Critics of the president claim that the marches, which coincide with the celebration of Brazil's Independence Day, represent a danger to democracy.
Bolsonaro and his associates have frequently had their social media posts removed since the start of the pandemic.
In July, YouTube removed 15 videos from Bolsonaro's channel for spreading misleading information about the corona virus.
Some of the removed posts included videos that promoted the use of hydroxychloroquine, the anti-malarial drug, and the anti-parasitic drug ivermectin as therapy against the coronavirus because none of these have been proven to be effective against the virus.
Last year, Facebook complied with an order from Brazil's Supreme Court to block the accounts of dozens of Bolsonaro's closest allies accused of promoting misleading information against federal judges.
Bolsonaro has since been encouraging supporters to engage with him on alternative platforms such as Telegram and Parler.
Who is Zaire Bolsonaro?
Follow us on Facebook i Twitter. If you have a topic suggestion for us, please contact bbcnasrpskom@bbc.co.uk
Bonus video: