A 64-year-old man from the NSW Central Coast has been charged with allegedly posting an expletive-laden racist tirade to the Facebook page of outgoing senator Nova Peris.

The man was arrested at a business on Victoria Road in Woy Woy on Monday afternoon and charged with using a carriage service to cause offence.

He has been granted conditional bail to appear at Gosford Local Court on June 21.

A spokeswoman for the NSW Liberals told AAP the man has been expelled from the party.

Opposition Leader Bill Shorten tweeted his support for the outgoing senator.

"Good on you Nova Peris for calling out racism. No place for these sorts of hateful attacks in this country," he said.