The 29-year-old forward joined Paul Carden's side on loan last season, playing three games, and helping his side to nine points with six assists.
Pratt departs Guiseley after making 28 appearances and scoring eight times.
The former Ashton United, Trafford, Hyde United and Marine striker now joins the Cheshire outfit on a permanent deal ahead of the 2024/25 season.
Speaking about his move, Pratt said: "When I came before, I know it was brief but in those 3 games I really enjoyed it and I know a few of the lads here.
"They weren’t far off last year so I hope this year we can be that piece that can get them up there.
"It was great to hear from the manager about players that were already staying, they’re probably players who could all play in the league above as well so showing good intent and I hope to come back and hit the ground running."
Photo credit: Nantwich Town
Keep up-to-date with our exclusive email newsletters.
Subscribe