Ferroptosis is an iron-dependent regulated necrosis mediated by lipid peroxidation. Cancer cells survive under metabolic stress conditions by altering lipid metabolism, which may alter their sensitivity to ferroptosis. However, the association between lipid metabolism and ferroptosis is not completely understood. In this study, we found that the expression of elongation of very long-chain fatty acid protein 5 (ELOVL5) and fatty acid desaturase 1 (FADS1) is up-regulated in mesenchymal-type gastric cancer cells (GCs), leading to ferroptosis sensitization. In contrast, these enzymes are silenced by DNA methylation in intestinal-type GCs, rendering cells resistant to ferroptosis. Lipid profiling and isotope tracing analyses revealed that intestinal-type GCs are unable to generate arachidonic acid (AA) and adrenic acid (AdA) from linoleic acid. AA supplementation of intestinal-type GCs restores their sensitivity to ferroptosis. Based on these data, the polyunsaturated fatty acid (PUFA) biosynthesis pathway plays an essential role in ferroptosis; thus, this pathway potentially represents a marker for predicting the efficacy of ferroptosis-mediated cancer therapy.