The Civil Guard "seized more than 250,000 units of illegal medicine, mostly related to erectile dysfunction, slimming and abortion practices," it said in a statement.
About a quarter of the drugs seized came from India and more than half from China, which the police said were mainly destined for the large Chinese community resident in Spain.
Police seized the medicines in three weeks of raids at shops and airports in Spain after an operation in 30 countries coordinated by the international and European agencies Interpol and Europol.
They shut down 26 websites selling unauthorized medicines, which the police said were "potentially harmful to health".
On June 23rd, police said they had broken up a network selling sports doping products imported to Spain from China, Portugal and Greece.
They arrested 84 people and seized hundreds of thousands of doses of anabolic steroids and other drugs.