Our findings reveal that Gata6 controls sebaceous gland development and cancer. Here, GATA6 is linked to cancer.