Recruitment of monocytes and epigenetic silencing of intratumoral CYP7B1 primarily contribute to the accumulation of 27-hydroxycholesterol in breast cancer.