The Australian Defence Force has ordered against the destruction of the records relating to Australia's involvement in the war in Afghanistan, more than four years after an inquiry commenced into allegations of war crimes by Australian special forces.

The Inspector-General of the Australian Defence Force has been conducting an inquiry into allegations that Australian special forces committed war crimes in Afghanistan from 2016.

The report, compiled by NSW Supreme Court judge and Army Reserve Major General Paul Brereton, is expected to be completed before the end of the year and is expected to uncover alleged killing of Afghan civilians.