Ketoconazole is used for the treatment of serious fungal infections. It may also be used against some yeast and dermatophyte (ringworm) infections.