The judicial retirement age will be lifted in NSW from 72 to 75 and pension rules tightened under a plan expected to deliver budget savings and keep existing talent on the bench.

Attorney-General Mark Speakman said on Thursday a bill would be introduced within weeks in State Parliament to lift the retirement age for judges and magistrates by three years.

The judicial retirement age will be raised in NSW from 72 to 75. Credit:Michelle Mossop

The new maximum retirement age will apply to existing judicial officers but changes to the pension – which is given to judges but not magistrates – will only apply to new judges.

Mr Speakman said the changes reflected "social trends towards people living and working longer" and would "expand the talent pool for appointments by making the judiciary a more attractive career option for lawyers with appropriate experience and dedication to serving the community".