"This is very important," Scott Morrison said at a briefing, adding that the measure would take effect from midnight on Sunday (13:00 GMT).
The measures mirror those announced by New Zealand on Saturday.
Foreign cruise liners will also be banned from docking in Australia for 30 days, but schools will remain open.
Australia has reported nearly 250 confirmed cases, with three deaths.
Source:
BBC