Caprivi was educated in Berlin. He entered the Prussian Army in 1849 and served in the Second Schleswig War of 1864, the Austro-Prussian War of 1866 as a major in the staff of Prince Friedrich Karl of Prussia, and the Franco-Prussian War of 1870/71, the latter as chief of staff of the X Army Corps. Backed by the Chief of the general staff Helmuth von Moltke, Caprivi achieved the rank of lieutenant colonel and distinguished himself at the Battle of Mars-la-Tour, the Siege of Metz and the Battle of Beaune-la-Rolande, receiving the military order Pour le Mérite.