Boro will be ball number 21 in the northern section of Thursday's first round draw for the Carabao Cup.
The draw will take place from 2.30pm on Thursday 23 June, live on Sky Sports, following the release of Boro's Sky Bet Championship fixtures at 9am the same day.
Carabao Cup round one fixtures will take place week commencing 8 August.
The full list of teams in the northern half of the draw is:
1. Accrington Stanley
2. Barnsley
3. Barrow
4. Blackburn Rovers
5. Blackpool
6. Bolton Wanderers
7. Bradford City
8. Burton Albion
9. Carlisle United
10. Crewe Alexandra
11. Derby County
12. Doncaster Rovers
13. Fleetwood Town
14. Grimsby Town
15. Harrogate Town
16. Hartlepool United
17. Huddersfield Town
18. Hull City
19. Lincoln City
20. Mansfield Town
21. Middlesbrough
22. Morecambe
23. Port Vale
24. Preston North End
25. Rochdale
26. Rotherham United
27. Salford City
28. Sheffield United
29. Sheffield Wednesday
30. Shrewsbury Town
31. Stockport County
32. Stoke City
33. Sunderland
34. Tranmere Rovers
35. West Bromwich Albion
36. Wigan Athletic