Itraconazole capsule is used to treat fungal infections, such as aspergillosis (fungal infection in the lungs), blastomycosis (Gilchrist’s disease), or histoplasmosis (Darling’s disease).