Peter Dutton has confirmed all of Australia's defence troops have now been withdrawn from Afghanistan, coming earlier than the original September deadline.

The Defence Minister said there had been 1,500 troops in the country, which was recently reduced to 80, and now they have all been withdrawn under the advice of the chief of defence.