Together, we conclude that STAT5 activation during pregnancy is sufficient to increase the survival of precancerous cells and to promote their progression to cancer. Here, STAT5B is linked to cancer.