She added that, to be considered at all, the detainees "would have to meet Australia's strict legal requirement and go through normal rigorous assessment processes".
Ms Gillard is filling in for Prime Minister Kevin Rudd while he is on holiday.
The UK and Portugal are pressing other European countries to take in prisoners from Guantanamo Bay.
While Britain has not directly offered asylum, it said it accepted the US would need help closing the facility.
But the Foreign Office said it was "not pushing for a deal" to allow more Guantanamo inmates into the UK.
Allies
Kevin Rudd's centre-left Labor Party, which came to power in 2007, has often criticised the conditions and treatment of inmates in the detention camp at Guantanamo Bay.
While in opposition, Mr Rudd's party demanded the repatriation of two Australians being held there.
One of them, Mamdouh Habib, was released from the camp without charge in 2005.
The other, David Hicks, was the first detainee held at Guantanamo Bay to be convicted of supporting terrorism.
He was allowed to return home in May 2007 after pleading guilty.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.
Bookmark with:
What are these?