Itraconazole capsule is used to treat fungal infections such as aspergillosis fungal infection in the lungs Blastomycosis Gilchrists disease or histoplasmosis Darlings disease. This capsule is also used to treat onychomycosis fungal infection in the fingernails or toenails.