Quinidine is used to treat abnormal heart rhythms. It is also used to treat malaria. Do not confuse this medicine with quinine, which, although related, has different medical uses. Quinidine is available only with your doctor's prescription.