Egerton, 29, joined the club in March 2019 and previously played for Ashton United, Nantwich Town, Stalybridge Celtic & Lancaster City.
He said: “Trafford is a special club and I leave with some great memories, the cup final win certainly being the best of them.
“I had hoped that I could have said goodbye in person but sadly, that isn’t possible under the current circumstances.”
Manager Danny Caldecott said: “I’d like to personally thank Sam for how he’s conducted himself, not only since I‘ve taken over as manager but since coming to the club.
“He’s everything you want from a captain and I sincerely wish him all the best for the future at his new club.”
Egerton is not the only North/West Division player stepping up to join Matlock - the Gladiators have also signed Mark Lees from Trafford’s league rivals Mossley.
Keep up-to-date with our exclusive email newsletters.
Subscribe