Sunderland will take on Doncaster Rovers, Grimsby Town and Scunthorpe United in the group stages of the EFL Checkatrade Trophy.
Robbie Stockdale's Under-21 side will play League One sides Doncaster and Scunthorpe, as well as League Two Grimsby.
The Black Cats made the second round stage of the competition last year, eventually being knocked out by Wolves.
Rivals Newcastle United, who entered the competition for the first time this season, will face Crewe Alexandra, Oldham Athletic and Port Vale.
While, Middlesbrough take on Accrington Stanley, Blackpool and Wigan Athletic.
Full draw - Northern Section
Leicester City, Carlisle United, Fleetwood Town, Morecambe
Middlesbrough, Accrington Stanley, Blackpool, Wigan Athletic
Stoke City, Blackburn Rovers, Bury, Rochdale
Newcastle United, Crewe Alexandra, Oldham Athletic, Port Vale
West Brom, Coventry City, Shrewsbury Town, Walsall
Manchester City, Bradford City, Chesterfield, Rotherham United
Everton, Lincoln City, Mansfield Town, Notts County
Sunderland, Doncaster Rovers, Grimsby Town, Scunthorpe United
Fulham, Charlton Athletic, Crawley Town, Portsmouth
Reading, Colchester United, Gillingham, Southend United
West Ham, Bristol Rovers, Swindon Town, Wycombe Wanderers
Chelsea, Exeter City, Plymouth Argyle, Yeovil Town
Swansea City, Cheltenham Town, Forest Green Rovers, Newport County
Tottenham Hotspur, AFC Wimbledon, Barnet, Luton Town
Brighton & Hove Albion, Milton Keynes Dons, Oxford United, Stevenage
Southampton, Cambridge United, Northampton Town, Peterborough United