National League leaders Barnet have been handed a home tie against Chelmsford City in the FA Cup fourth qualifying round.
Dean Brennan's side currently sit two points clear at the top of the standings having won nine of their opening 12 matches in the fifth tier.
In order to reach the first round proper, the Bees will need to overcome opponents in Chelmsford who are 13th in the National League South.
York City, who are second in the National League, make the trip to Southern League Division One Central side Biggleswade FC, while Forest Green Rovers will play host to either Winchester City or Weymouth.
AFC Fylde play host to Rochdale in an all-National League tie, with Tamworth's home fixture against Robbie Savage's Macclesfield Town one of the standout ties of the round.
© Imago
Gateshead will travel to either Shifnal Town or Hednesford Town, who are four and three levels below them in the football pyramid.
Hartlepool United go up against Brackley Town, while Southend United make the trip to Eastleigh.
These ties will take place over the weekend of October 12 and October 13.
FA Cup fourth qualifying round draw in full
Rushall Olympic vs. Royston Town or Peterborough Sports
Tamworth vs. Macclesfield FC
Oldham Athletic vs. FC Halifax Town
Hartlepool United vs Brackley Town
Farsley Celtic vs. Kettering Town
Altrincham vs. Solihull Moors
AFC Fylde vs. Rochdale
Scarborough Athletic vs. Stockton Town or Chester FC
Biggleswade FC vs. York City
Harborough Town vs. Bury
Curzon Ashton vs. Worksop Town or King's Lynn Town
Gainsborough Trinity vs. Boston United
Shifnal Town or Hednesford Town vs. Gateshead
Biggleswade Town or Alfreton Town vs. Spennymoor Town
Buxton or Kidderminster Harriers vs. Guiseley
Taunton Town vs. Maidenhead United
Margate or Horsham vs. Gorleston
Aldershot Town vs. Bath City
Eastleigh vs. Southend United
Chertsey Town vs. Sutton United
Boreham Wood vs. Carshalton Athletic
Haringey Borough or Lowestoft Town vs. Chippenham Town or Weston-super-Mare
Wealdstone vs. Gosport Borough
Leiston or Hornchurch vs. Dagenham and Redbridge
Barnet vs. Chelmsford City
Bishop's Cleeve or Chesham United vs. Yeovil Town
Cray Wanderers vs. Tonbridge Angels
Woking vs. Slough Town
Forest Green Rovers vs. Winchester City or Weymouth
Maidstone United vs. Ebbsfleet United
Plymouth Parkway vs. Worthing
Braintree Town vs. Bishop's Stortford