Metronidazole, marketed under the brand name Flagyl among others, is an antibiotic and antiprotozoal medication. It is used either alone or with other antibiotics to treat pelvic inflammatory disease, endocarditis, and bacterial vaginosis. It is effective for dracunculiasis, giardiasis, trichomoniasis, and amebiasis. It is an option for a first episode of mild-to-moderate Clostridium difficile colitis if vancomycin or fidaxomicin is unavailable. Metronidazole is available by mouth, as a cream, and by injection into a vein.