Bashar al-Assad has been re-elected for a fourth term as president of war-ravaged Syria, official results showed on Thursday, despite Western accusations the polls were "neither free nor fair".

The controversial vote extending Assad's stranglehold on power was the second since the start of a decade-long civil conflict that has killed more than 388,000 people, displaced millions and battered the country's infrastructure.

The parliamentary speaker announced Thursday that Assad garnered 95.1 per cent of the votes cast, trouncing two virtually unknown challengers.

Assad garnered 95.1 per cent of the votes cast

Standing against him were former state minister Abdallah Salloum Abdallah and Mahmud Merhi, a member of the so-called "tolerated opposition", long dismissed by exiled opposition leaders as an extension of the regime.

On the eve of the election, the United States, Britain, France, Germany and Italy said the poll was "neither free nor fair", and Syria's fragmented opposition has called it a "farce".

But few doubted that the 55-year-old Assad, an ophthalmologist by training, would be re-elected.

In the last multi-candidate poll in 2014, Assad won 88 percent of the vote.

Huge election posters glorifying Assad had mushroomed across the two-thirds of the country under his control in the lead-up to Wednesday's poll.

Before the election results were announced, tens of thousands of Syrians gathered Thursday in various cities to celebrate, waving Syrian flags and carrying pictures of Assad, state media reported.

The festivities broke out after the election committee, quoted by local TV, said "the ballot counting process has been completed in the majority of Syrian provinces".

"Tens of thousands of people in Tartus province gathered at the city's seafront to celebrate" Assad's expected win, according to state news agency SANA.

Some danced and beat drums, footage broadcast by Syrian television showed.

Thousands of other Syrians rallied in the coastal city of Latakia and in Umayyad Square in the capital Damascus, which along with Tartus and Latakia are bastions of the regime.

Celebrations were also underway in Aleppo and in Sweida, in Syria's south, where a crowd gathered in front of city hall, state media said. 

Houwayda al-Nidal, a 52-year-old doctor, told AFP that Assad's victory "carries two messages".

The first is that of a leader who has won the war and will lead the reconstruction, he said, and "the second is intended for foreigners to show who will lead the political talks after the end of the fighting on the ground."

Economy in free fall

The election was held Wednesday in government-held areas, and state media showed long queues forming outside polling stations, which remained open five hours past the planned closing time.

The vote took place amid the lowest levels of violence since the war erupted in 2011 - but with the economy in free fall.

More than 80 per cent of the population live in poverty, and the Syrian pound has plunged in value against the dollar, causing skyrocketing inflation.

Assad's campaign slogan, "Hope through work", evoked the colossal reconstruction needed to rebuild the country, requiring billions of dollars in funding.

He was first elected by referendum in 2000 after the death of his father Hafez al-Assad, who had ruled Syria for 30 years.

The UN's Syria envoy, Geir Pedersen, noted the polls were not held under the political transition called for by Security Council Resolution 2254 which provides for free and fair elections.

"What is required is a Syrian-led and -owned political solution, facilitated by the United Nations and backed by constructive international diplomacy," he said.

In rebel-held northwestern Syria, home to three million people, hundreds took to the streets to protest on Wednesday, an AFP correspondent said.

They carried posters saying: "No legitimacy for Assad and his elections."

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.