NSW has backflipped on advice that would have required anyone who had been in Victoria since January 29 to isolate for five days.

Instead, health authorities changed their advice about 7.30pm on Friday night so the five-day isolation rule only applies to people who had been to Victoria after Friday February 12.

People entering NSW from Victoria will also need to complete an online declaration form.

Those isolating will only be permitted to leave their places of residence to shop for essential items, to get medical and other care or provide caregiving, to exercise, and for essential work.

However, NSW residents in border communities — who were under previous border “bubble” arrangements at the end of the NSW-Victorian border closure last year — will have different requirements so they can still go about their daily lives.

Those residents living along the border will only need to stay-at-home for the five days if they visited Greater Melbourne after 11.59pm on Friday.

In a statement, the department was quick to say the state was not closing its borders.

‘The NSW Order will ensure those affected by stay-at-home orders will have to abide by the same restrictions,” it read.

“NSW strongly advises against all non-essential travel to Victoria at this time.

“People who do choose to travel will be required to follow the stay-at-home requirement on their return.

“People subject to the restrictions in Victoria should not be travelling to NSW unless they are permitted to do so.”

NSW’s response is different to other states.

Queensland declared Greater Melbourne a hotspot which required travellers to enter 14 days of mandatory quarantine.

The Nothern Territory has also banned travellers from Victoria entering the state and Western Australia and Tasmania have both implemented a hard border.

South Australia already decided to close its borders to Greater Melbourne on Wednesday.

The Victorian lockdown will expire at 11.59pm on Wednesday.