The transfer of calcium from mother to milk during lactation is poorly understood. In this report, we demonstrate that parathyroid hormone-related protein (PTHrP) production and calcium transport in mammary epithelial cells are regulated by extracellular calcium acting through the calcium-sensing receptor (CaR). The CaR becomes expressed on mammary epithelial cells at the transition from pregnancy to lactation. Increasing concentrations of calcium, neomycin, and a calcimimetic compound suppress PTHrP secretion by mammary epithelial cells in vitro, whereas in vivo, systemic hypocalcemia increases PTHrP production, an effect that can be prevented by treatment with a calcimimetic. Hypocalcemia also reduces overall milk production and calcium content, while increasing milk osmolality and protein concentrations. The changes in milk calcium content, milk osmolality, and milk protein concentration were mitigated by calcimimetic infusions. Finally, in a three-dimensional culture system that recapitulates the lactating alveolus, activation of the basolateral CaR increases transcellular calcium transport independent of its effect on PTHrP. We conclude that the lactating mammary gland can sense calcium and adjusts its secretion of calcium, PTHrP, and perhaps water in response to changes in extracellular calcium concentration. We believe this defines a homeostatic system that helps to match milk production to the availability of calcium.