In 1926, Gersdorff was promoted to second lieutenant, and in 1934 to Rittmeister (cavalry captain). The following day he graduated from the Prussian Military Academy in Berlin. In 1939, Gersdorff’s unit was deployed in the German invasion of Poland, and he subsequently served as a general staff officer in the Battle of France.