Liverpool will host Everton in the FA Cup third-round.
The third round will also see Arsenal host Marcelo Bielsa's Leeds, while Manchester United visit Premier League rivals Wolves.
Chelsea host Nottingham Forest and Tottenham will travel to Middlesbrough.
Reigning champions Manchester City face a trip to League Two side Port Vale.
FA Cup third-round draw - in full
Leicester vs Wigan
QPR vs Swansea
Wolves vs Manchester United
Charlton vs West Brom
Rochdale or Boston vs Newcastle
Cardiff vs Forest Green or Carlisle
Oxford vs Exeter or Hartlepool
Sheffield United vs AFC Fylde
Southampton vs Huddersfield
Bournemouth vs Luton
Brighton vs Sheffield Wednesday
Bristol Rovers or Plymouth vs Coventry or Ipswich
Eastleigh or Crewe vs Barnsley
Middlesbrough vs Tottenham
Watford vs Tranmere
Preston vs Norwich
MIllwall vs Newport
Crystal Palace vs Derby
Solihull Moors or Rotherham vs Hull
Brentford vs Stoke
Fleetwood vs Portsmouth
Arsenal vs Leeds
Gillingham vs West Ham
Burton vs Northampton
Burnley vs Peterborough
Birmingham vs Blackburn