The Foxes will face Crystal Palace at the Walkers Stadium on the first weekend in January.
The full draw is:
1 Portsmouth v Bristol City
2 Sheffield Wednesday v Fulham
3 Preston North End v Liverpool
4 Birmingham City v Wolverhampton Wanderers
5 West Ham United v Barnsley
6 Middlesbrough v Barrow
7 Hull City v Newcastle United
8 Hartlepool United v Stoke City
9 Chelsea v Southend United
10 Manchester City v Nottingham Forest
11 Cardiff City v Reading
12 Ipswich Town v Chesterfield or Droylsden
13 Charlton Athletic v Norwich City
14 West Bromwich Albion v Peterborough United or Tranmere Rovers
15 Torquay United v Blackpool
16 Leyton Orient v Sheffield United
17 Southampton v Manchester United
18 Millwall v Carlisle United or Crewe Alexandra
19 Histon v Swansea City
20 Forest Green Rovers v Derby County
21 QPR v Burnley
22 Leicester City v Crystal Palace
23 Tottenham Hotspur v Wigan Athletic
24 Morecambe or Cheltenham Town v Doncaster Rovers
25 Arsenal v Plymouth Argyle
26 Notts County or Kettering Town v Eastwood Town
27 Bournemouth or Blyth Spartans v Blackburn Rovers
28 Macclesfield Town v Everton
29 Watford v Scunthorpe United
30 Sunderland v Bolton Wanderers
31 Coventry City v Kidderminster Harriers
32 Gillingham or Stockport County v Aston Villa