The Cobblers will take on Arsenal under 21s as well as Ipswich Town and Cambridge United in the Southern Group H of this season's Papa John's Trophy following Thursday's draw.
All EFL clubs will play two of their three matches at home in the Group Stages, with the opening ties expected to take place week commencing 29 August although this is subject to change.
The club will confirm match details in due course.