Abortion is set to be decriminalised in NSW, after lower house MPs voted to remove terminations from the state's criminal code.

The bill to decriminalise abortion passed 59 to 31, but it created a split within the Liberals, with many of the party's 35 MPs opposed the bill.

NSW Premier Gladys Berejiklian voted to support the bill to decriminalise abortion. Credit:AAP

The proposed laws will now be scrutinised by the Parliament's social issues committee next week, before proceeding to a vote in the upper house where the bill is expected to pass.

Premier Gladys Berejiklian supported the bill, along with Health Minister Brad Hazzard. But several of her senior colleagues including Attorney General Mark Speakman, Treasurer Dominic Perrottet, and Planning Minister Rob Stokes voted against the bill.