Dale will face Liverpool Under-21s in Northern Group D of the Papa John's Trophy.
They were drawn into the group, which also contains Accrington Stanley and Salford City.
Dale faced the Premier League club in last season's competition, running out 4-0 winners.
All EFL Clubs will play two of their three matches at home in the Group Stages, with the opening ties to take place week commencing 29th August.
Fixture dates, times and prices will be confirmed in due course.