In the autumn of 1942, 51 Medium Rgt embarked at Liverpool and arrived in Egypt in October to join Middle East Forces (MEF). In January 1943, it re-equipped with the 4.5-inch gun and moved up to join Eighth Army. As part of 5th Army Group Royal Artillery (AGRA) it took part in the battles of the Mareth Line, Wadi Akarit and Enfidaville in March and April 1943.