Fatty acid synthase (FASN) promotes tumor progression in multiple cancers. In this study, we comprehensively examined the expression, prognostic significance, and promoter methylation of FASN, and its correlation with immune cell infiltration in pan-cancer. Our results demonstrated that elevated FASN expression was significantly associated with an unfavorable prognosis in many cancer types. Furthermore, FASN promoter DNA methylation can be used as a tumor prognosis marker. Importantly, high levels of FASN were significantly negatively correlated with tumor immune infiltration in 35 different cancers. Additionally, FASN was significantly associated with tumor mutational burden (TMB) and microsatellite instability (MSI) in multiple malignancies, suggesting that it may be essential for tumor immunity. We also investigated the effects of FASN expression on immunotherapy efficacy and prognosis. In up to 15 tumors, it was significantly negatively correlated with immunotherapy-related genes, such as PD-1, PD-L1, and CTLA-4. Moreover, we found that tumors with high FASN expression may be more sensitive to immunotherapy and have a good prognosis with PD-L1 treatment. Finally, we confirmed the tumor-suppressive effect of mir-195-5p through FASN. Altogether, our results suggested that FASN may serve as a novel prognostic indicator and immunotherapeutic target in various malignancies.