Labor candidate Cameron Murphy says voters were telling him "I'm not going to vote for you, you're a paedophile" after a smear campaign against him in the week before polling day, in the state's most marginal seat.

Mr Murphy said the distribution of stickers and leaflets labelling him a "paedophile lover", a paedophile and a "serial rapist" had made a significant difference in the heated contest for East Hills.

The Labor candidate for East Hills Cameron Murphy says an "unprecedented smear campaign" against him made a significant impact on results. Credit:Lee Besford

In one of the most surprising outcomes of the election, the sitting Liberal MP Glenn Brookes appeared set to retain the seat for a second term.

The south-western Sydney electorate was predicted to be the first beneficiary of a correctional swing, but Mr Brookes had a 0.8 per cent swing toward him, giving him 51 per cent of the vote after preferences on Sunday.