Are Diflucan and Flagyl the Same Thing? Diflucan (fluconazole) and Flagyl (metronidazole) are used to treat different kinds of infections. Diflucan is an antifungal medication prescribed to treat Candida fungal infections of the mouth, vagina, esophagus, lungs, urinary tract, abdomen, and other organs.