While preparing the Alamein positions, Auchinleck fought strong delaying actions, first at Mersa Matruh on 26–27 June and then Fuka on 28 June.
The late change of orders resulted in some confusion in the forward formations (X Corps and XIII Corps) between the desire to inflict damage on the enemy and the intention not to get trapped in the Matruh position but retreat in good order.
The result was poor co-ordination between the two forward Corps and units within them.
Late on 26 June, the German 90th Light and 21st Panzer Divisions managed to find their way through the minefields in the centre of the front.
Early on 27 June, resuming its advance, the 90th Light was checked by British 50th Division's artillery.
Meanwhile, the 15th and 21st Panzer Divisions advanced east above and below the escarpment.
The 15th Panzer were blocked by 4th Armoured and 7th Motor Brigades, but the 21st Panzer were ordered on to attack Minqar Qaim.
Rommel ordered 90th Light to resume its advance, requiring it to cut the coast road behind 50th Division by the evening.
As the 21st Panzer moved on Minqar Qaim, the 2nd New Zealand Division found itself surrounded but broke out on the night of 27/28 June without serious losses and withdrew east.

Auchinleck had planned a second delaying position at Fuka, some 30 mi (48 km) east of Matruh, and at 21:20 he issued the orders for a withdrawal to Fuka.
Confusion in communication led the division withdrawing immediately to the El Alamein position.
X Corps, having made an unsuccessful attempt to secure a position on the escarpment, were out of touch with Eighth Army from 19:30 until 04:30 the next morning.
Only then did they discover that the withdrawal order had been given.
The withdrawal of XIII Corps had left the southern flank of X Corps on the coast at Matruh exposed and their line of retreat compromised by the cutting of the coastal road 17 mi (27 km) east of Matruh.
They were ordered to break out southwards into the desert and then make their way east.
Auchinleck ordered XIII Corps to provide support but they were in no position to do so.
At 21:00 on 28 June, X Corps—organised into brigade groups—headed south.
In the darkness, there was considerable confusion as they came across enemy units laagered for the night.
In the process, 5th Indian Division in particular sustained heavy casualties, including the destruction of the 29th Indian Infantry Brigade at Fuka.
Axis forces captured more than 6,000 prisoners, in addition to 40 tanks and an enormous quantity of supplies.
While preparing the Alamein positions, Auchinleck fought strong delaying actions, first at Mersa Matruh on 26–27 June and then Fuka on 28 June. The late change of orders resulted in some confusion in the forward formations (X Corps and XIII Corps) between the desire to inflict damage on the enemy and the intention not to get trapped in the Matruh position but retreat in good order. The result was poor co-ordination between the two forward Corps and units within them. Late on 26 June, the German 90th Light and 21st Panzer Divisions managed to find their way through the minefields in the centre of the front. Early on 27 June, resuming its advance, the 90th Light was checked by British 50th Division's artillery. Meanwhile, the 15th and 21st Panzer Divisions advanced east above and below the escarpment. The 15th Panzer were blocked by 4th Armoured and 7th Motor Brigades, but the 21st Panzer were ordered on to attack Minqar Qaim. Rommel ordered 90th Light to resume its advance, requiring it to cut the coast road behind 50th Division by the evening. As the 21st Panzer moved on Minqar Qaim, the 2nd New Zealand Division found itself surrounded but broke out on the night of 27/28 June without serious losses and withdrew east.
Auchinleck had planned a second delaying position at Fuka, some 30 mi (48 km) east of Matruh, and at 21:20 he issued the orders for a withdrawal to Fuka. Confusion in communication led the division withdrawing immediately to the El Alamein position. X Corps, having made an unsuccessful attempt to secure a position on the escarpment, were out of touch with Eighth Army from 19:30 until 04:30 the next morning. Only then did they discover that the withdrawal order had been given. The withdrawal of XIII Corps had left the southern flank of X Corps on the coast at Matruh exposed and their line of retreat compromised by the cutting of the coastal road 17 mi (27 km) east of Matruh. They were ordered to break out southwards into the desert and then make their way east. Auchinleck ordered XIII Corps to provide support but they were in no position to do so. At 21:00 on 28 June, X Corps—organised into brigade groups—headed south. In the darkness, there was considerable confusion as they came across enemy units laagered for the night. In the process, 5th Indian Division in particular sustained heavy casualties, including the destruction of the 29th Indian Infantry Brigade at Fuka. Axis forces captured more than 6,000 prisoners, in addition to 40 tanks and an enormous quantity of supplies.
First Battle of El Alamein