Lineage transitions are a central feature of prostate development, tumorigenesis and treatment resistance. We discovered that inhibition of mitochondrial pyruvate uptake results in large-scale chromatin remodelling of key lineage-specific genes, antagonizes luminal lineage identity, and alters response to antiandrogen therapy in prostate cancer.