Oncogene activation and loss of tumor suppressor function changes the metabolic activity of cancer cells to drive unrestricted proliferation. Moreover, cancer cells adapt their metabolism to sustain growth and survival when access to oxygen and nutrients is restricted, such as in poorly vascularized tumor areas. We show here that p53-deficient colon cancer cells exposed to tumor-like metabolic stress in spheroid culture activated the mevalonate pathway to promote the synthesis of ubiquinone. This was essential to maintain mitochondrial electron transport for respiration and pyrimidine synthesis in metabolically compromised environments. Induction of mevalonate pathway enzyme expression in the absence of p53 was mediated by accumulation and stabilization of mature SREBP2. Mevalonate pathway inhibition by statins blocked pyrimidine nucleotide biosynthesis and induced oxidative stress and apoptosis in p53-deficient cancer cells in spheroid culture. Moreover, ubiquinone produced by the mevalonate pathway was essential for the growth of p53-deficient tumor organoids. In contrast, inhibition of intestinal hyperproliferation by statins in an Apc/KrasG12D-mutant mouse model was independent of de novo pyrimidine synthesis. Our results highlight the importance of the mevalonate pathway for maintaining mitochondrial electron transfer and biosynthetic activity in cancer cells exposed to metabolic stress. They also demonstrate that the metabolic output of this pathway depends on both genetic and environmental context. SIGNIFICANCE: These findings suggest that p53-deficient cancer cells activate the mevalonate pathway via SREBP2 and promote the synthesis of ubiquinone that plays an essential role in reducing oxidative stress and supports the synthesis of pyrimidine nucleotide.