Moroccan authorities said they had dismantled a "terrorist cell" operating in several cities that included people trained in the use of firearms and explosives.
Morocco's interior ministry said the operation had netted an individual who had been detained in the past on terrorism charges and who was now coordinating nationwide operations, including fundraising and recruiting militants.
The ministry didn't specify the number of people arrested nor the cities in which the operation took place.
Morocco has announced the dismantling of several alleged terrorist cells this year, and authorities have expressed concern about the proliferation of extremist groups.
Al-Qaeda in the Islamic Maghreb, the global terror network's North Africa affiliate, released a video in September calling for jihad in Morocco, which it referred to as a "kingdom of corruption and despotism".