Macclesfield have been drawn at home to Morecambe in the first round of the Johnstone's Paint Trophy Northern Section (West).
Macc reached the second round last season before suffering a 4-2 defeat to Carlisle at Brunton Park.
The tie will be played in the week commencing August 30.
Source: PA