Arsenal will play Tottenham at Emirates Stadium in the third round of the FA Cup in the first weekend of January.
Manchester United will play Swansea City at Old Trafford and Norwich entertain Fulham.
Chelsea travel to Championship form side Derby County, while Manchester City visit Blackburn Rovers.
Holders Wigan host Milton Keynes Dons while non-league sides Kidderminster and Macclesfield entertain Peterborough and Sheffield Wednesday respectively.
West Brom will play Crystal Palace at home and Cardiff travel to Newcastle in the other all-Premier League ties of the round, while Liverpool have been given a tie at home to either League One Oldham or League Two Mansfield.
The Latics knocked Brendan Rodgers's men out of the fourth round of last season's competition at Boundary Park, while a Luis Suarez handball ensured Liverpool avoided an FA Cup third-round shock at Mansfield Town at this stage last season.
The last time north London rivals Tottenham and Arsenal met in the FA Cup was the 2001 semi-final, when Robert Pires gave the Gunners a 2-1 win at Old Trafford.
The draw was conducted by former England striker Teddy Sheringham and his son and AFC Wimbledon forward Charlie.
Other ties include Championship leaders Burnley travelling to Southampton, a north west derby between Bolton and Blackpool, and Harry Redknapp's QPR facing Everton at Goodison Park.
FA Cup third-round draw
Barnsley v Hartlepool or Coventry
Yeovil v Leyton Orient
Liverpool v Oldham or Mansfield
Nottingham Forest v West Ham
Bristol City v Watford
Southend v Millwall
Middlesbrough v Hull
West Brom v Crystal Palace
Kidderminster v Peterborough
Doncaster v Stevenage
Stoke v Leicester
Southampton v Burnley
Newcastle v Cardiff
Rochdale v Leeds
Wigan v MK Dons
Charlton v Wrexham or Oxford United
Manchester United v Swansea
Port Vale v Plymouth
Norwich City v Fulham
Aston Villa v Sheffield United
Macclesfield v Sheffield Wednesday
Sunderland v Carlisle
Bolton v Blackpool
Blackburn v Manchester City
Everton v QPR
Brighton v Reading
Arsenal v Tottenham
Birmingham v Bristol Rovers or Crawley
Grimsby v Huddersfield
Ipswich v Preston
Derby v Chelsea
Bournemouth v Fleetwood or Burton
Ties to be played over the weekend of 4-5 January