Cortisol is essential to milk synthesis; however, different acute stressors and the exogenous administration of adrenocorticotropic hormone (ACTH) decrease milk yield. Therefore, the effect of cortisol on milk yield and its influence on the survival of mammary epithelial cells have not been fully elucidated. In this context, the objective of this study was to evaluate the effect of cortisol on the expression of growth hormone receptor (GHR), insulin-like growth factor type 1 (IGF1), insulin-like growth factor type 1 receptor (IGF1R), insulin-like growth factor-binding protein 3 and 5 (IGFBP3 and IGFBP5), BAX, and BCL2 genes on the proliferation and apoptotic rates of mammary epithelial cells, and on milk yield in Saanen goats. In the present study, 3 experiments were conducted: (1) comparing the in vivo effects of first milking, vaccination, vermifugation, preventive hoof trimming, and the administration of ACTH or a placebo on cortisol release in dairy goats; (2) studying the in vivo effects of immediate increases in cortisol on the mammary gland of lactating goats; and (3) studying the in vitro effects of a prolonged increase in cortisol on mammary epithelial cells obtained from lactating goats. Cortisol release by goats increased significantly after ACTH administration compared with that observed after a placebo, and the cortisol profiles after first milking, vaccination, vermifugation, hoof trimming, and ACTH administration were similar. However, there was no effect of the immediate increase in cortisol in vivo on IGF-1 release, milk yield, milk quality, or the apoptosis and proliferation rates, nor was there any effect on the expression of the target genes. Furthermore, no interaction was observed between IGF-1 and cortisol in either the in vivo or in vitro experiments. However, the addition of cortisol in vitro significantly increased the expression of the GHR and IGF1R genes, which stimulate cell proliferation, and the BAX gene, which causes apoptosis. These contrasting results can explain why cortisol did not change the rates of proliferation or apoptosis in epithelial cells. Indeed, cortisol supplementation in vitro did not change the number or apoptotic rate of epithelial cells over the course of 5 d. Finally, further studies must be performed to understand the effect of cortisol on the expression of the GHR, IGF1R, and BAX genes by epithelial cells and the roles of these genes in milk synthesis during early lactation.