West Ham were handed a home tie against holders Manchester City in the Carabao Cup fourth round as their reward for advancing past Manchester United.
The Hammers won 1-0 at Old Trafford on Wednesday night, an early goal from Manuel Lanzini giving David Moyes a first victory over his former club since being sacked in 2014.
City, meanwhile, had coasted past Sky Bet League One Wycombe 6-1 at the Etihad Stadium on Tuesday night.
Arsenal, who beat AFC Wimbledon 3-0, will host Leeds, who needed penalties to get past Championship high-fliers Fulham on Tuesday night.
Championship side Preston, 4-1 winners over Cheltenham, are at home to Liverpool, who beat Norwich 3-0.
Brentford, having thrashed Oldham 7-0, will travel to Stoke, who had knocked out Watford on Tuesday night after a 3-1 win at Vicarage Road.
QPR's reward for their spot-kick victory over Everton is a home tie again when Sunderland head to west London.
Chelsea, who came through their penalty shoot-out against Aston Villa, will host Southampton, another side which needed spot-kicks as they eventually dispatched Sheffield United.
Leicester, 2-0 winners at Millwall on Wednesday, are at home against Brighton, who beat Swansea by the same score thanks to a brace from Republic of Ireland forward Aaron Connolly.
Tottenham edged past Wolves on penalties and will travel to Burnley, who were 4-1 winners over Rochdale on Tuesday night.
The fourth-round ties will be played during week commencing 25 October.
Full fourth round draw
Chelsea v Southampton
Arsenal v Leeds United
Stoke City v Brentford
West Ham v Manchester City
Leicester City v Brighton
Burnley v Tottenham Hotspur
QPR v Sunderland
Preston North End v Liverpool
Matches to be played on 26-27 October