In June 1942, the squadron returned to Barksdale Field, where it began transitioning into the Martin B-26 Marauder. Following Operation Torch, the invasion of North Africa in November 1942, the squadron moved to Algeria, where it began combat operations on 30 December. The squadron flew interdiction and close air support missions, contributing to the defeat of Axis forces in Africa by May 1943. In June 1943, the squadron conducted bombing attacks leading to the surrender of enemy forces in Pantelleria and Lampedusa. The squadron participated in Operations Husky and Avalanche as the Allies moved into Sicily and Italy.