Sporizole is used to treat serious fungal or yeast infections. Sporizole oral solution is only used to treat oropharyngeal or esophageal candidiasis (thrush, oral thrush). Sporizole capsule is used to treat fungal infections, such as aspergillosis (fungal infection in the lungs), blastomycosis (Gilchrist’s disease), histoplasmosis (Darling’s disease), or onychomycosis (fungal infection in the fingernails or toenails). Sporizole tablet is only used to treat onychomycosis of the toenails. Sporizole works by killing the fungus or yeast and preventing its growth.