Macclesfield Town manager Brian Horton has made Jonny Brain his second goalkeeping signing of the summer.
Horton also signed Brain when he was manager of Port Vale
Brain, 23, was released by Port Vale at the end of the season and follows Tommy Lee to the Moss Rose.
Brain was signed for Vale by Horton from Newcastle in August 2003 and started 68 games before his release.
"He is an excellent addition to the squad and will join Tommy in a fight to see who is number one," said Horton on Town's website.