Born in 1890, Dietl joined the army on 1 October 1909 as a Fahnenjunker in the 5th Infantry Regiment "Grand Duke Ernst Ludwig of Hesse" of the Bavarian Army in Bamberg. In the World War I, he was deployed on the Western Front in which he was wounded twice in October 1914 and October 1918.