After suffering a heavy setback at the Battle of Vĩnh Yên, Giáp decided to attack the port of Hải Phòng, the centerpiece of French logistics.
Giáp planned to breach the French defenses at Mạo Khê, which was about 20 miles north of the port.