Fred Nile bows out after record term

In his final speech to the NSW parliament, the state's longest-serving MP said he longs for a world without gambling, sex work and drugs.

Rev Fred Nile, 88, will have served in the NSW parliament for 42 years when he retires, a record in NSW.

Mr Nile used his valedictory speech to say he dreamed of living in a society without drugs or excessive drinking, that treats gambling as an evil and sees sex work as a "scourge".

"My Christian faith, a faith that many of you hold here in this chamber, has guided me in these years."

"I was disappointed to see that abortion was decriminalised in NSW, as was euthanasia," he said of the reforms, passed in 2019 and 2022.

He said he also wanted to see the gap closed for outcomes for Indigenous and non-Indigenous Australians.

Earlier this year Mr Nile introduced a bill to the parliament to create an Aboriginal cultural heritage council, which he hopes will pass the parliament before too long.

One of his greatest regrets in life was that he did not spend enough time with his family, he said.

"I'll make up for it now.

"I will now say goodbye to this chamber, as I have spent nearly half my life in it," Mr Nile told the parliament.

The speech was called a historic moment by President of the Upper House Matthew Cox, who said Mr Nile was the "grandfather" of the upper house.

Mr Nile was elected to the Legislative Council in 1981 as a member of the Call To Australia Group, which later became the CDP.

He has served in the NSW upper house ever since, aside from a few months in 2004 when he resigned to unsuccessfully run for the federal Senate.

Outgoing Labor MP for Fairfield Guy Zangari used his final speech to the parliament to criticise Labor Leader Chris Minns, saying the party froze him out of discussions, badly affecting his mental health.

Mr Zangari announced he would not contest the election earlier this year, after candidates began jostling for seats in western Sydney after the abolition of the seat of Lakemba.

Mr Zangari said over a two year period, he was not formally consulted with by Mr Minns or the Labor party about his political future, which put him in a "dark place" and made him anxious.

"I was isolated. I was ignored," Mr Zangari said.

"I was ostracised from any conversations regarding the seat I've represented since 2011."

Long-serving Labor MP Adam Searle said during his own speech he regretted not being able to persuade his party to support him for another term, after losing a right faction preselection battle earlier this year.

"You don't always get to decide when you have the opportunity to serve in public life, and you don't always get to choose when you leave," he said.

In other department messages, South Coast Liberal MP Shelley Hancock said when she first entered the parliament 19 years ago, she had little interest in the details of state or party politics.

"I wasn't a member of the Liberal Party, I never ever intended to come to this place, I didn't even know what it was, or who was the premier - I wasn't interested."

"But quite frankly, I knew then as I know now, that what was important was to look after the people in the South Coast.

"That's all that matters."

Labor MP Nick Lalich wished his fellow MPs luck as he farewelled the parliament after 14 years.

"It has been truly an honour and a privilege to have served with you as a member of the NSW parliament," Mr Lalich said.

The Cabramatta MP, who has recently suffered from poor health, received a standing ovation after his brief comments.