The scramble over the barrier is the biggest in Ceuta since February 2017, when more than 850 migrants entered the overseas territory over four days.
It comes as Spain becomes the number one destination for migrants crossing the Mediterranean by boat, surpassing Italy with 19,586 arrivals so far this year, according to the International Organization for Migration.
A spokesman for the Guardia Civil police force in Ceuta told AFP the migrants managed to climb over the double barrier, which is covered in small blades, early on Thursday morning.
They scrambled over "all of a sudden, with much violence," and some attacked police with quicklime they had in tubes and bottles.