The Bavarians will travel to their regional rivals in the competition for the second year running, with Borussia Dortmund face Saarbrucken
Pep Guardiola's side, who won their record 16th Pokal last term, thrashed Hannover 4-1 at the Allianz Arena on Wednesday thanks to Thomas Muller's double and a strike apiece from Claudio Pizarro and Franck Ribery.
Meanwhile, Bundesliga leaders Borussia Dortmund have been a handed a decidedly easier draw - a trip to third-tier Saarbrucken as they look to regain the trophy they last won in 2012.
Schalke, the 2011 winners of the tournament, will face top-flight opposition in the form of Hoffenheim at the Veltins Arena, while Bayer Leverkusen face Freiburg in another eye-catching tie.
Hamburg will tackle Koln, relegated from the top flight in 2012, at the Imtech Arena, Wolfsburg host Inglostadt and Eintracht Frankfurt entertain Sandhausen.
The third round of the DFB-Pokal will take place on the week beginning December 2.