MK Dons will host rivals AFC Wimbledon in the first round of the FA Cup next month.
The all-League Two affair will see the sides go head to head at Stadium MK. Wimbledon have already beaten the Dons 3-0 in the league this season.
League One leaders Birmingham were drawn away to National League Sutton, while Wrexham, second in the table, will travel to Harrogate.
Bristol Rovers will host near neighbours Weston-super-Mare of the National League South while Northampton face non-league Kettering in a rare meeting of the two neighbours.
Eighth-tier Hednesford are the lowest-ranked side left in the competition and face Gateshead in a replay on Tuesday for the right to face either Gainsborough or Boston.
The draw for the #EmiratesFACup first round proper is complete 👇
— Emirates FA Cup (@EmiratesFACup) October 14, 2024
Harborough’s victory over Bury on Saturday earned the seventh-tier side a spot in the first round for the first time and they will face a trip to Tonbridge Angels.
Maidstone, who reached the fifth round last season, will come up against National League opposition in either Altrincham or Solihull Moors and Tamworth face League One Huddersfield.
The ties will be played from November 1-4.
FA Cup first-round ties in full:
Rotherham v Cheltenham
Barrow v Doncaster
Worthing v Morecambe
Boreham Wood v Leyton Orient
Exeter v Barnet
Carlisle v Wigan
Tamworth v Huddersfield
Hartlepool/Brackley v Braintree
Curzon Ashton v Mansfield
Wycombe v York
Bradford v Aldershot
Hednesford/Gateshead v Gainsborough/Boston
Burton v Scarborough
Tranmere v Oldham
Rochdale v Bromley
Walsall v Bolton
Grimsby v Wealdstone
Bristol Rovers v Weston-super-Mare
MK Dons v AFC Wimbledon
Altrincham/Solihull Moors v Maidstone
Stockport v Forest Green
Reading v Fleetwood
Stevenage v Guiseley
Northampton v Kettering
Rushall/Peterborough Sports v Accrington
Swindon v Colchester
Salford v Shrewsbury
Crewe v Dagenham
Port Vale v Barnsley
Chesham v Lincoln
Chesterfield v Horsham
Southend v Charlton
Notts County v Alfreton
Taunton /Maidenhead v Crawley
Harrogate v Wrexham
Woking v Cambridge
Gillingham v Blackpool
Tonbridge Angels v Harborough
Sutton v Birmingham
Newport v Peterborough