“I pledge that the upcoming presidential election will be free and transparent,” Mr. Sisi said during his speech, adding that the campaign would be “characterized by equal opportunities between candidates.”

But Mr. Sisi has almost no competition.

His strongest would-be challenger, Ahmed Shafik, a former general and politician, quietly pulled out of the race this month after deciding that he was “not the best person to manage state affairs.” One of his lawyers said the government had forced him to drop out by threatening to investigate possible corruption charges against him.

A second potential competitor also complained of being pressured to quit. Anwar Sadat, a nephew of the former president, who had considered running, said the atmosphere was not conducive to “honest competition.”

Khaled Ali, a leftist lawyer who is Mr. Sisi’s only serious opponent, is at risk of being disqualified by a public indecency conviction. Mr. Ali was accused of making a vulgar hand gesture outside a Cairo courthouse last year after he secured a legal victory over Mr. Sisi’s government. If Mr. Ali fails in his appeal, scheduled for March 7, Mr. Sisi will be left alone in the field with Sami Anan, a retired military general who has been out of the public eye for years.

Mr. Sisi says his crackdown on liberties is needed to restore stability to Egypt, whose economy is still reeling from the chaos that followed the Arab Spring revolt, which ended the 30-year rule of President Hosni Mubarak. Despite an uptick in militant attacks on security installments and civilian gatherings, Mr. Sisi’s government has managed to bring some stability to the country.