Manchester United will begin their defence of the EFL Cup with a home tie against Championship club Burton Albion at Old Trafford.
Thursday's third-round draw in Beijing, which took place at 04:15 BST, also saw Liverpool drawn away to Premier League rivals Leicester.
Manchester City go to West Brom, while Arsenal will host League OneDoncaster Rovers.
Nottingham Forest's reward for beating Newcastle is a trip to Chelsea.
Third round draw:
West Bromwich Albion v Manchester City
Manchester United v Burton Albion
Wolverhampton Wanderers v Bristol Rovers
Burnley v Leeds
West Ham United v Bolton Wanderers
Crystal Palace v Huddersfield Town
Tottenham Hotspur v Barnsley/Derby County
Bournemouth v Brighton and Hove Albion