Manchester City will face Chelsea at the Etihad in the FA Cup third round, in one of five all-Premier League ties.
Pep Guardiola’s side eliminated Chelsea from the third round of the Carabao Cup earlier this month and the two teams will now meet at the same stage of the FA Cup in January.
Elsewhere, Manchester United take on Everton and holders Liverpool are at home to Wolves. The other all-Premier League ties include a London derby between Brentford and West Ham and Crystal Palace hosting Southampton.
Premier League leaders Arsenal will begin their cup campaign at Oxford, while non-league Chesterfield will host West Brom after an upset of AFC Wimbledon in the previous round. Fellow National League sides Boreham Wood and Wrexham take on Accrington and Coventry respectively.
FA Cup third round draw in full:
Preston v Huddersfield
Middlesbrough v Brighton
Chesterfield v West Brom
Manchester City v Chelsea
Charlton or Stockport County v Walsall
Boreham Wood v Accrington
Tottenham v Portsmouth
Derby v Barnsley
Cardiff v Leeds
Brentford v West Ham
Bournemouth v Burnley
Coventry v Wrexham
Norwich v Blackburn
Aston Villa v Stevenage
Luton v Wigan
Oxford v Arsenal
Fleetwood v QPR
Liverpool v Wolves
Grimsby v Burton
Blackpool v Nottingham Forest
Dagenham & Redbridge or Gillingham v Leicester
Forest Green v Birmingham
Bristol City v Swansea
Hartlepool v Stoke
Hull v Fulham
Crystal Palace v Southampton
Millwall v Sheffield United
Shrewsbury v Sunderland
Sheffield Wednesday v Newcastle
Manchester United v Everton
Reading v Watford
Ipswich v Rotherham