Aston Villa have been drawn away to Yeovil Town in the first round of the EFL Cup.
The beaten Championship playoff finalists will travel to Huish Park, while West Bromwich Albion, the only side in the draw that were relegated from the Premier League last season, will face Luton Town at The Hawthorns.
Scunthorpe United and Doncaster Rovers will meet in a South Yorkshire clash, while another all-Championship tie sees Reading take on Birmingham City.
Macclesfield Town and Tranmere Rovers, who both gained promotion to the Football League last term, will play Bradford City and Walsall respectively.
All ties will be played in the week commencing August 13.
EFL Cup first round draw in full:
Rotherham United vs. Wigan Athletic
Tranmere Rovers vs. Walsall
Crewe Alexandra vs. Fleetwood Town
Scunthorpe United vs. Doncaster Rovers
Macclesfield Town vs. Bradford City
Grimsby Town vs. Rochdale
Sheffield United vs.Hull City
Nottingham Forest vs. Bury
Middlesbrough vs. Notts County
Sunderland vs. Sheffield Wednesday
Leeds United vs. Bolton Wanderers
Carlisle United vs. Blackburn Rovers
Mansfield Town vs. Accrington Stanley
Port Vale vs. Lincoln City
Preston North End vs. Morecambe
Oldham Athletic vs. Derby County
Shrewsbury Town vs. Burton Albion
Blackpool vs. Barnsley
Millwall vs. Gillingham
Portsmouth vs. AFC Wimbledon
Cheltenham Town vs. Colchester Utd
Yeovil Town vs. Aston Villa
Southend United vs. Brentford
Reading vs. Birmingham City
Swindon vs. Forest Green Rovers
Exeter City vs. Ipswich Town
MK Dons vs. Charlton Athletic
West Bromwich Albion vs. Luton Town
Bristol Rovers vs. Crawley Town
Bristol City vs. Plymouth
Cambridge Utd vs. Newport County
Queens Park Rangers vs. Peterborough United