In 1942 in the Battle of Gazala the 1st battalion defended against several attacks on the Gazala Line before joining the Eighth Army's retreat to the Alamein Line in Egypt, although a portion of the battalion was trapped and taken prisoner at Tobruk in June 1942. 1 Transvaal Scottish now joined the British Eight Army in the Second Battle of El Alamein where they halted the German assault on Egypt. Early in 1943 the battalion returned home to South Africa. There the unit was converted to armour, joining 1st SA Armoured Brigade.