Leptin is an autocrine and paracrine factor which affects the development and function of mammary gland. The purpose of this study was to investigate the presence and regulatory effect of leptin in Chinese Guan Zhong dairy goat mammary gland from the virgin state to involution. The protein expression and localization of leptin and its long form receptor (OB-Rb) were detected by western blot and a confocal laser scanning microscope. Explants were cultured to detect the impacts of leptin on mammary gland, western blot was used to research leptin signal transduction pathway in pregnancy, lactation and involution. Leptin and amounts of OB-Rb protein were high throughout the virgin stage and at the beginning of pregnancy, lower at mid-pregnancy and throughout lactation, then higher at involution. Immunofluorescence performed with the anti-leptin and anti-leptin receptor antibody showed labelling located in adipose, epithelial cells, or extracellular matrix at different stages. The localization of leptin and OB-Rb revealed that leptin induced the expression of OB-Rb specifically and controlled the development and physiological function of the mammary gland by binding to OB-Rb. Leptin stimulated the proliferation and differentiation of ductal epithelial cells in pregnancy by JAK-MAPK signal pathway, enhanced the amount of β-casein in cultured lactating mammary gland by JAK-STAT5 signal pathway, made the mammary duct disappear and induced apoptosis of mammary epithelial cells and mammary gland restitution by JAK-STAT3 signal pathway in involution. Overall, this study demonstrated the importance and complexity of leptin and OB-Rb during mammary gland development and provides a valuable resource for future research in this area.