NSW will become the final state in the country to remove abortion from the Crimes Act after the contentious bill passed its last hurdle on Thursday morning.

The amended bill has placated conservative MPs, securing Premier Gladys Berejiklian's majority which was under threat after rebel MPs warned they could defect.

NSW MPs and members of the public after the passing of the bill to decriminalise abortion in NSW. Credit:James Brickwood

But in a last-ditch attempt to block the bill, 10 MLCs from the upper house have signed a protest which is being delivered by the clerk's office to the Governor on Thursday afternoon.

The MPs include One Nation's Mark Latham and Rod Roberts; Labor's Courtney Houssos, Greg Donnelly and Shaoquett Moselmane; Liberals' Matthew Mason-Cox and Lou Amato; Shooters, Fishers and Farmers Robert Borsak and Mark Banasiak and Christian Democrat Fred Nile.