Two Russian spies have left the country after being given their marching orders by the Australian government in a show of solidarity over the poisoning of a former spy in the United Kingdom.

Foreign Minister Julie Bishop last week gave two "undeclared intelligence officers" seven days to depart.

Ms Bishop told AAP the Russian Embassy staff had complied with the deadline and left the country.

Foreign Affairs Minister Julie Bishop, pictured with Russian ambassador to Australia Grigory Logvinov last Wednesday, said the Russian Embassy staff had complied with the deadline and left the country. Alex Ellinghausen

Australia expelled the pair after the UK, US and European allies lined up to boot out alleged Russian spies following the nerve agent attack on former double agent Sergei Skripal and his daughter Yulia in Salisbury.

Britain has expelled 23 Russians, the US 60 and France and Germany four.