rn Please consult your physician before taking any medication. Brand name: Sporanox Generic name: Itraconazole Why is Sporanox prescribed? Sporanox capsules are used to treat three types of serious fungal infection: blastomycosis, histoplasmosis, and aspergillosis. Blastomycosis can affect the lungs, bones, and skin. Histoplasmosis can affect the lungs, heart, and blood. Aspergillosis can affect the lungs, kidneys, and other organs. The drug is also prescribed for onychomycosis, which infects the toenails and fingernails. Additionally, Sporanox is used against fungal infections in people with weak immune systems, such as AIDS patients. Sporanox oral solution is used to treat candidiasis (fungal infection) of the mouth, throat, and gullet (esophagus), and for other fungal infections in people with weakened immunity and fever. Sporanox may also be used for purposes other than those listed in this medication guide.