Spain's Interior Ministry says Spanish and Moroccan police have arrested 10 people on suspicion of recruiting jihadi fighters for the Islamic State group.

Four of the suspects, two men and two women, were arrested in Spain, with raids taking place in Badalona, Toledo and Valencia, while the other six arrests happened in Morocco, a ministry statement says.

The women arrested in Spain were both Moroccans, while one of the men was a Spanish national of Moroccan ancestry and the other a Portuguese citizen converted to Islam. All are suspected of recruiting people to fight in Syria and Iraq, the statement says.

The arrests took place on Sunday and investigators also seized a considerable amount of computer equipment and data which is being analyzed, the statement says.