Here, the authors show that TET2–FOXP1 complex mediates demethylation of genes involved in luminal lineage commitment and endocrine response, underlying a role of TET2 loss in endocrine resistant breast cancer. Here, TET2 is linked to breast carcinoma.