The New South Wales Labor MP Amanda Fazio has been suspended from the party for crossing the floor on a vote last night.

The MP, who is also President of the Upper House, voted with the Greens on a bill dealing with distributing pornography.

Under the government's bill, people caught distributing unclassified material will have to pay for it to be assessed by the National Classification Board, increasing ther defence costs.

Ms Fazio voted with the Greens against the measure.

She has been charged with breaching party rules and will be suspended until the matter has been dealt with by the ALP.

She faces penalties including expulsion from the party.

The Greens MP David Shoebridge says has condemned the move.

"These are bully boy tactics, it's very disappointing it's come to this," he said.