Iran chooses a new president Friday in an election the reformists hope their sole candidate will win in the face of divided conservative ranks, four years after the disputed re-election of Mahmoud Ahmadinejad.
More than 50.5 million people are eligible to vote for the man -- no women candidates were approved -- to succeed Ahmadinejad, who is barred from standing for a third consecutive term under the constitution.
Polling stations open at 8:00 am (0330 GMT) and close 10 hours later, although if there is a massive turnout the interior ministry can extend voting until midnight.
At the same time as choosing a new president from six candidates, voters will also pick municipal councillors.
Iran's supreme leader Ayatollah Ali Khamenei, who has called for a large turnout but not publicly stated his preference for any single candidate, will vote early.
If no candidate secures 50.1 percent or more of the votes to win outright on Friday, a second round will be held a week later.
The first results are expected on Saturday.
With the conservative camp divided, reformists seem confident of a good showing by moderate cleric Hassan Rowhani, who has emerged as a frontrunner with a real chance of forcing a run-off, analysts say.
A pack of three heads the conservatives: former foreign minister Ali Akbar Velayati, Tehran Mayor Mohammad Baqer Qalibaf and the Islamic republic's chief nuclear negotiator, Saeed Jalili.
Both sides, reformist and conservative, have appealed for the electorate to turn out in high numbers -- the first hoping for change and the other to show the power of a regime accused of seeking to ensure victory for a Khamenei loyalist.
"Rumours that a president has already been chosen are lies," Rowhani has said. "The president of the republic is elected by the votes of the people."
A pro-Rowhani election worker handing out leaflets in a Tehran square on the last day of campaigning said: "A boycott will serve nothing."
For both reformists and conservatives, the key on Friday will be to mobilise abstentionists who demonstrated against Ahmadinejad's re-election in 2009, alleging massive electoral fraud.
Signup to our newsletter and follow us on Facebook and Twitter!
The authorities cracked down hard on deadly street unrest sparked by that result, leading to the eventual detention under house arrest of two reformist candidates, Mir Hossein Mousavi and Mehdi Karroubi.
Campaigning this time has been dominated by two issues: Iran's controversial nuclear ambitions and a devastated economy hit hard by international sanctions because of those ambitions.
Inflation is raging at more than 30 percent, the rial has lost nearly 70 percent of its value, and unemployment is rising.
Both Western powers and Iran's arch-foe Israel accuse Tehran of seeking to develop atomic weapons under the guise of a civilian nuclear energy programme, a charge Iran vehemently denies.
But neither the United States nor Israel has ruled out taking military action against Iranian nuclear facilities.
Regional tensions have also soared over Iranian support for Syria's President Bashar al-Assad, a key ally whose regime has faced an uprising for more than two years.
Rowhani, Iran's top nuclear negotiator under reformist president Mohammad Khatami, has a "softly softly" approach towards negotiations with world powers in the hope of reducing the impact of sanctions.
The conservative camp is split, with no single name to the fore.
Velayati says his foreign policy is to improve Iranian relations with the outside world, including talks with world powers, but Jalili sticks to a hardline policy that rules out making concessions.
Qalibaf -- ahead in rare public opinion polls -- has pledged total allegiance to Khamenei, and accuses Rowhani of wanting to make concessions to the West.
In 2003, when Rowhani was Iran's nuclear negotiator, Tehran agreed to suspend uranium enrichment. It was restarted after Ahmadinejad first became president in 2005.
Internet social networks blocked after they were used to rally protests against Ahmadinejad's re-election four years ago have urged abstentionists not to waste their votes this time around.
"I will vote for Rowhani, even though I do not know him at all and did not want to vote until yesterday," said a man named Ali on his Facebook page.
"I will vote because the consensus of those wanting to save Iran is on Rowhani."
Other net surfers have adopted Rowhani's official colour -- purple -- and his symbol of a key to open the door to solutions for Iran's problems.