Rabat says the group planned to declare ‘holy war’ in northeast Morocco.
Last month, police arrested 35 alleged recruiters for al-Qaeda operations in Algeria and Iraq who were also accused of planning attacks in Morocco.
In May, police said they dismantled a network planning attacks in Belgium and Morocco. Two of the suspects have since been acquitted.
Morocco has been on increased alert for suspects since the May 2003 suicide bombings in Casablanca five years ago, which killed 45 people.
At least 1,000 suspects are behind bars, either awaiting trial or sentenced on “terrorism” charges in the kingdom.