On June 1942, Ogarkov served as a Brigade Engineer of the 61st Naval Rifle Brigades and from December 1942, he served as an assistant to the Chief of Staff of the Engineering Troops of the 32nd Army. On August 1943, he served as assistant to the Chief of the Operational Department of the Headquarters of the Engineering Troops of the Karelian Front. From May 1944, he was appointed as Division Engineer of the 122nd Rifle Division in Karelsky. On November 1943, Ogarkov was assigned to the 2nd Ukrainian and 3rd Ukrainian Fronts. During World War II, he participated in the defense of Karelia, and Vyborg-Petrozavodsk, Petsamo-Kirkenes, Budapest and Vienna offensives. On October 1944, he was awarded the Order of the Patriotic War, 2nd degree.