Significant differences in median values of SP-A, IL-1β, TNF-α, IFN-γ, IL-18, IL-17A, IL-33, IL-13, and CXCL8 were found among all the groups studied, suggesting that these cytokines play a role in the local inflammatory processes of histoplasmosis and pneumocystosis. This evidence concerns the gene TNF and pneumocystosis.