The English Football League held the draw in Beijing, China at 4.15 BST, announcing details on social media shortly after.
Leicester booked their place in the third round with a 4-1 victory at Sheffield United on Tuesday night.
The ties will take place on September 19 or 20. Coincidentally Liverpool will now play Leicester at the King Power Stadium twice in one week, already scheduled to face them in the Premier League on September 23.
There’s another draw later today (5pm UK) we’ll be a lot more interested in.
League Cup third round draw
West Bromwich Albion v Manchester City
Everton v Sunderland
Leicester City v Liverpool
Manchester United v Burton Albion
Brentford v Norwich City
Wolverhampton Wanderers v Bristol Rovers
Burnley v Leeds
Arsenal v Doncaster Rovers
Bristol City v Stoke City
Reading v Swansea City
Aston Villa v Middlesbrough
Chelsea v Nottingham Forest
West Ham United v Bolton Wanderers
Crystal Palace v Huddersfield Town
Tottenham Hotspur v Barnsley/Derby County
Bournemouth v Brighton