Carlos Edwards will quit Wrexham after agreeing a three-year contract with new Championship side Luton Town.
The Trinidad and Tobago international joins fellow defender Stephen Roberts - who will join Doncaster Rovers - in leaving the Racecourse.
Edwards, 26, was offered a new deal by the Dragons, but becomes a free agent on 1 July and will join Luton then.
Mike Newell's side were promoted from League One as champions, while Wrexham were relegated to League Two.
Edwards' agent confirmed the move to BBC Wales and revealed that both Plymouth and Coventry were keen to sign the player.
Wrexham have struggled to pay wages this season and were forced into administration, being docked the 10 league points in the process that pushed them towards relegation.
The north Wales club still faces an uncertain future off the pitch.
Owner Alex Hamilton has served Wrexham FC with a notice to quit the Racecourse Ground this summer, although administrators running the club are ready to go to the courts to stop Wrexham being evicted.
Edwards joined Wrexham in June 2000 from Trinidad side Defence Force FC and has been one of the team's most consistent performers, catching the eye on both flanks with his attacking flair and defensive qualities.
The player was the subject of a £350,000 bid from Preston last season before he suffered a serious knee ligament injury while on international duty that sidelined him for seven months.