 Ehrensvärd was promoted to sub-lieutenant in 1906.Ehrensvärd passed the higher course at the Royal Swedish Naval Staff College from 1910 to 1911 and was promoted to lieutenant in 1913.He was a teacher at the Royal Swedish Naval Academy from 1916 to 1919 and at the Royal Swedish Naval Staff College from 1918 to 1922 when he was promoted to commander.