The Battle of Mersa Matruh was fought from 26 to 29 June 1942, following the defeat of the Eighth Army (General Sir Claude Auchinleck) at the Battle of Gazala and was part of the Western Desert Campaign of the Second World War. The battle was fought with the German–Italian Panzer Army Afrika (Panzerarmee Afrika (Generalfeldmarschall Erwin Rommel). The Eighth Army comprised X Corps and XIII Corps.
The battle was fought during the pursuit by the Panzerarmee of the Eighth Army as it retreated into Egypt. Rommel intended to defeat in detail (one after the other) the British infantry formations, before they had a chance to regroup. The fortress port of Mersa Matruh and 6,000 prisoners were captured, along with a great deal of supplies and equipment. The Axis cut off the line of retreat of X Corps and XIII Corps but was too weak to stop the British from breaking out.