We show that TFEB induces cholesterol 7α-hydroxylase (CYP7A1) in human hepatocytes and mouse livers and prevents hepatic cholesterol accumulation and hypercholesterolemia in Western diet-fed mice. Here, CYP7A1 is linked to familial hypercholesterolemia.