Chloroquine active pharmaceutical ingredient is used to prevent and treat malaria. It is also used to treat amebiasis. Chloroquine phosphate is in a class of drugs called antimalarials and amebicides. It works by killing the organisms that cause malaria and amebiasis.