The Reds will face Nottingham Forest in Round One of the Carabao Cup.
The tie will be played at Oakwell over the weekend of 5-6 September, with the precise date to be confirmed shortly.
Nottingham Forest’s last visit to Oakwell was certainly a memorable one, as Patrick Schmidt's injury-time goal in July made sure that the Reds' great escape act continued into the final week, as Barnsley earned a deserved victory in their final home game of the 2020/21 campaign.
Northern Section Round One Draw:
Tranmere vs Harrogate
Crewe vs Lincoln
Walsall vs Sheffield Wednesday
Rochdale vs Huddersfield
Preston vs Mansfield
Bolton vs Bradford
Blackburn vs Doncaster
Stoke vs Blackpool
Fleetwood vs Wigan
Grimsby vs Morecambe
Middlesbrough vs Shrewsbury
Derby vs Barrow
Scunthorpe vs Port Vale
Sunderland vs Hull
Burton vs Accrington
Salford vs Rotherham
Barnsley vs Nottingham Forest
Oldham vs Carlisle