A police statement said those detained today were members of an organisation called Coordinated Anarchists Groups, and are suspected of sabotage offenses and planting explosive devices.
There were no immediate details on any actions carried out by the group.
The statement said 14 others were arrested for resisting police carrying out the operation.
The arrests were made in Madrid, Barcelona, Palencia and Granada.