Police say an investigation into two pharmacy burglaries led investigators to the men who were staying at a motel in Wattle Grove.
In the room, police allegedly found pseudoephedrine-based medications, a large quantity of cold and flu tablets and other drug making materials.
A 31-year-old Gosnells man and a 30-year-old Gosnells man have been charged with two counts of aggravated burglary and attempting to manufacture methylamphetamine.
A 29-year-old Gosnells woman, who was also in the motel room at the time, was charged with breaching her bail.