Liverpool will face Tottenham in the standout tie of the Carabao Cup third round, while the Premier League clubs competing in Europe enter the competition at this stage.
Manchester United have been drawn against Brighton, while holders Manchester City will host Norwich.
Arsenal travel to Ipswich, and Aston Villa face Coventry away from home.
Bournemouth will take on Lincoln, while Sunderland have been paired with Hull. Newcastle travel to Millwall, with Everton hosting Wolves.
Fleetwood, the only fourth-tier side remaining in the competition, have been handed a home tie against Sheffield United.
Elsewhere, Crystal Palace face Middlesbrough, Leyton Orient meet Bradford, Reading host Brentford and Peterborough take on Barnsley.
The final two ties will be confirmed after Chelsea host Luton and Fulham face AFC Wimbledon.
The third-round matches will be played across the weeks beginning September 7 and September 14, with the schedule arranged to avoid clashes with the opening rounds of European competition.
The draw in full as published by BBC Sport on Thursday
Crystal Palace v Middlesbrough
Manchester United v Brighton
Manchester City v Norwich
Sunderland v Hull
Coventry v Aston Villa
Bournemouth v Lincoln
Liverpool v Tottenham
Chelsea or Luton v Leeds
Millwall v Newcastle
Fleetwood v Sheffield United
Everton v Wolves
Leyton Orient v Bradford
Reading v Brentford
Peterborough v Barnsley
West Ham v Fulham or AFC Wimbledon

