Ryan Tunnicliffe will join Portsmouth on a two-year deal when his Luton contract expires next week.
The 28-year-old was offered a new deal, but will bring a two-year spell with the Hatters to an end to join the League One side.
The former Manchester United youth made 68 appearances, scoring three times after switching on a free from Millwall.