Foam cells are dysfunctional, lipid-laden macrophages associated with chronic inflammation of infectious and non-infectious origin. For decades, the paradigm underlying foam cell biology has been based on atherogenesis, a disease in which macrophages are cholesterol-enriched. Our previous work showed that foam cells in tuberculous lung lesions surprisingly accumulate triglycerides, suggesting multiple modalities of foam cell biogenesis. In the present study, we used matrix-assisted laser desorption/ionization mass spectrometry imaging to assess the spatial distribution of storage lipids relative to foam-cell-rich areas in murine lungs infected with the fungal pathogenCryptococcus neoformansand in human papillary renal cell carcinoma resection tissues. We also analyzed neutral lipid content and the transcriptional program of lipid-laden macrophages generated under corresponding in vitro conditions. The in vivo data were consistent with in vitro findings showing thatC. neoformans-infected macrophages accumulated triglycerides, while macrophages exposed to human renal cell carcinoma-conditioned medium accumulated both triglycerides and cholesterol. Moreover, macrophage transcriptome analyses provided evidence for condition-specific metabolic remodeling. The in vitro data also showed that although bothMycobacterium tuberculosisandC. neoformansinfections induced triglyceride accumulation in macrophages, they did so by different molecular mechanisms, as evidenced by different sensitivity of lipid accumulation to the drug rapamycin and the characteristics of macrophage transcriptome remodeling. Collectively, these data demonstrate that the mechanisms of foam cell formation are specific to the disease microenvironment. Since foam cells have been regarded as targets of pharmacological intervention in several diseases, recognizing that their formation is disease-specific opens new research directions of biomedical significance.