Allies of President Rodrigo Duterte stormed to a landslide victory in midterm polls, final results showed Wednesday, dissolving a last bulwark against his controversial rule.

Loyalists won both houses of the legislature, shutting out all opposition candidates in the Senate, which had served as a buffer against Duterte's most contentious plans.

The results open a path for Duterte -- who has remarkably high approval ratings -- to make good on his call to bring back the death penalty and advance his project to re-write the constitution.

"It's a clear signal that the people will be behind him as he pushes bills and processes that went nowhere previously," political analyst Ramon Casiple told AFP.

With nine Duterte backers and three nominally unaligned politicians taking the 12 seats at stake in the 24-member Senate, only four oppositions members will remain, results from the elections authority showed.

Duterte allies kept control of the lower House of Representatives, which has approved legislation to bring back capital punishment and re-write the constitution since Duterte's 2016 election.

Among the new senators is former national police chief Ronald dela Rosa, the first enforcer of Duterte's narcotics crackdown that has killed over 5,300.

Campaigners say the true toll is at least triple that and may amount to crimes against humanity.

Senate seats also went to Christopher "Bong" Go, Duterte's long-time advisor, and Imee Marcos, daughter of deceased dictator Ferdinand Marcos who was ousted in a 1986 popular uprising.

- Duterte family wins -

Opponents fear the majority will allow Duterte to push forward his legislative agenda, which includes re-writing the constitution.

In addition to opening avenues for him to stay in power beyond his legally mandated single term that ends in 2022, a charter change could reshape the Philippines for decades.

Duterte has pitched constitutional reform to turn the Asian country into a decentralised federal republic where regions would have the power to fix local problems.

But the various initiatives launched in his first three years in office have also included proposals dropping term limits, allowing him to run for another term and weakening checks on presidential power.

"The pessimistic assessment is that what we're looking towards is the complete transformation of the Philippine political system in the years to come, well beyond 2022 when Duterte's term is supposed to end," political analyst Richard Heydarian said.

The landslide victory was a crushing defeat for the opposition, leaving it mostly in disarray.

"Voters were unable to relate to the issues highlighted by the opposition in the election, which was all about defeating Duterte," Casiple said.

The pro-Duterte electoral tsunami was likewise a win for the Duterte family.

Daughter Sara, touted as a possible 2022 presidential candidate, retained her post as mayor of the southern city of Davao, with sibling Sebastian winning as vice-mayor. The eldest son, Paolo, won a seat in the House of Representatives.