Police have seized an illegal pill press and charged two Adelaide men with drug offences.

The men, 21, and 18, from Aberfoyle Park are charged with trafficking the drug methylone and other counts.

Customs tipped off police about the importation of a banned pill press they said was capable of making 88 tablets per minute.

The press was seized during raids on two houses and police allegedly found 140 grams of the designer drug methylone in powdered form and steroid prescription drugs in both tablet and liquid form.

Both men have been given bail and are to face Adelaide Magistrates Court in October.

Detective Chief Inspector Steve Taylor said police would keep up their efforts to tackle illegal designer drugs.

"Police wish to reiterate the dangers associated with taking illicit drugs, only recently several people were hospitalised after taking similar illicit drugs," he said.