Algeria's Supreme Court has ordered the detention of two ex-ministers who served in former president Abdelaziz Bouteflika's government on accusations of corruption, the state-run Algeria Press Service (APS) reported.

Abdelghani Zaalane and Mohamed El Ghazi were taken into custody on Monday, APS said on its website.

Their detention comes amid ongoing investigations into government corruption under Bouteflika, who stepped down in April after months of protests against his attempt to run for a fifth term as president.

Zaalane, a former public works and transport minister, and El Ghazi, the country's labour minister from May 2014 to May 2017, were accused of "dissipation of public funds" and abusing their functions, among other things, APS said.

Zaalane, who served as minister from mid-2017 until March of this year, was also Bouteflika's campaign manager before the longstanding president was forced to forego his re-election bid.

It is unclear when they are next expected to go before a judge at court.