Jair Bolsonaro will not be eligible to run for office again for eight years, according to a decision by Brazil's Supreme Electoral Court.
In advance of the 2016 presidential election, Mr. Bolsonaro was found guilty of abusing his power.
He had been charged with undermining Brazilian democracy by making up evidence that the electronic voting machines could be hacked and used for fraud.
The verdict is anticipated to be appealed by Mr. Bolsonaro's attorneys.
They have claimed that his remarks had no impact on the election outcome. .
In the event that the decision is upheld, Mr. Bolsonaro will be unable to run for president in 2026 but will be permitted to do so in 2030.
He will also be disqualified from running in the 2024 and 2028 municipal elections.
A speech Bolsonaro made in 2022, while still president, was at the center of the prosecution's case against him.
He falsely claimed that Brazil's electronic voting machines were vulnerable to hacking and large-scale fraud on July 18, when he invited foreign diplomats to his home in the nation's capital, Brasilia.
According to Mr. Bolsonaro, he did not criticize or disparage the electoral system; rather, he "simply explained how elections work in Brazil.".
But the speech was made in the midst of a divisive presidential race in which Mr. Bolsonaro was facing off against his bitter rival, leftist Luiz Inácio Lula da Silva, for the presidency.
On October 30, the fiercely contested election went to a run-off, which Lula won by a remarkably small margin.
Despite leaving Brazil for Florida two days before Lula was sworn in as president, Mr. Bolsonaro never publicly admitted to losing the election.
On January 8, his supporters stormed Brazil's Congress, the presidential mansion, and the Supreme Court building because they would not accept the election results.