League One leaders Portsmouth have been handed a trip to Chesterfield in the first round of the FA Cup.
Pompey - winners of the competition in 2008 and who are currently top of the third tier - will travel to the National League frontrunners who are managed by their former boss Paul Cook.
Oxford United, who sit just a point adrift of Portsmouth in League One, will face National League side Maidenhead United, while Derby County have been provided with a visit to Crewe Alexandra.
Wigan Athletic, the 2013 winners, will square off against fellow League One side Exeter City, with Bolton Wanderers playing host to Solihull Moors.
Reading have been handed a showdown with MK Dons, while Peterborough United will go up against Salford City at London Road.
Billericay Town or Sheppey United will play host to League Two club Walsall, and Cray Valley Paper Mills have been handed a dream tie to Charlton Athletic.
Mansfield Town and Wrexham, who sit in third and fifth in League Two, will also meet at Field Mill.
First-round draw in full
Curzon Ashton vs. Aveley or Barnet
Alfreton Town vs. Worthing
Chesterfield vs. Portsmouth
Bolton Wanderers vs. Solihull Moors
Exeter City vs. Wigan Athletic
Leyton Orient vs. Carlisle United
Kidderminster Harriers vs. Fleetwood Town
Hereford vs. Gillingham
Ebbsfleet United or Slough Town vs. Grimsby Town
Charlton Athletic vs. Cray Valley
Oxford United vs. Maidenhead United
Newport County vs. Oldham Athletic
Swindon Town vs. Aldershot Town
Crewe Alexandra vs. Derby County
Mansfield Town vs. Wrexham
Marine vs. Harrogate Town
Barnsley vs. Horsham
Port Vale vs. Burton Albion
Peterborough United vs. Salford City
Eastleigh vs. Boreham Wood
Bradford City vs. Wycombe Wanderers
Billericay Town or Sheppey United vs. Walsall
Shrewsbury Town vs. Colchester United
Bristol Rovers vs. Chelmsford City or Whitby Town
Lincoln City vs. Morecambe
Sutton United vs. AFC Fylde
Reading vs. Milton Keynes Dons
Doncaster Rovers vs. Accrington Stanley
Chester vs. York City or Needham Market
Scarborough Athletic or Oxford City vs. Forest Green Rovers
Notts County vs. Crawley Town
Stockport County vs. Worksop
Yeovil Town vs. Gateshead
Stevenage vs. Tranmere Rovers
Braintree Town or Chesham United vs. Maidstone United
Bromley vs. Blackpool
AFC Wimbledon vs. Cheltenham Town
Cambridge United vs. Bracknell Town
Northampton Town vs. Barrow
Ramsgate vs. Hemel Hempstead or Woking