The congestion occurred when people tried to climb up the metal fence, according to the Moroccan Interior Ministry.
Another 76 migrants and 140 Moroccan police officers were injured, according to previous figures.
Spanish authorities say 49 guards were slightly injured and 57 migrants were treated, none of them with serious injuries.
In addition, four police vehicles were vandalized by stone-throwing migrants.
2,000 people to the border
A group of about 2,000 people reached the border at dawn, and over 500 of them managed to get into the border station after cutting up the fence with scissors, the local Spanish government states.
A total of 130 people are then said to have crossed the border into Melilla, where they are taken to a local migrant center to have their case tried.
Spanish and Moroccan security forces "actively cooperated" to ward off migrants.
Melilla and Ceuta, another Spanish city in Morocco, are the EU's only land borders with Africa.
Many African migrants try to get that way, either by climbing fences at the border or swimming along the coast, and then trying to get on to mainland Europe.
Storms similar to the one on Friday also occurred on two occasions in early March this year.Keywords: