The XXV Army Corps was established as a reserve command staff in the Upper Rhine border region in 1938. This staff was mobilized as Generalkommando Oberrhein on 26 August 1939 and renamed XXV Army Corps on 17 September 1939. It was initially part of the 7th Army (Dollmann) under Army Group C (von Leeb), tasked with guarding the Franco-German border.