The City of Sydney will close its gyms and pools following advice put out by Prime Minister Scott Morrison that all public, non-essential outdoor gatherings of more than 500 people, and non-essential indoor gatherings of more than 100 people, should be banned.

It will also place restricted hours on its libraries and community centres and cancelled or postponed all events that fall under those size restrictions.

The temporary closures of the pools takes affect on Friday March 20 and will be in place until Friday April 3.

“It’s crucial that we all follow the current health advice – practising social distancing and when recommended, self-isolation. We have not come to the decision to cancel events or close facilities lightly, but we believe it’s best for the community that we do so," the Sydney lord mayor Clover Moore said in a statement.

“The situation is changing daily and we are constantly reviewing our operations and services.”