The secretion of the hormone melatonin reliably reflects environmental light conditions. Among numerous actions, in seasonal breeders, melatonin may regulate the secretion of the gonadotropins acting via its corresponding receptors occurring in the Pars Tuberalis (PT). However, it was previously found that the secretory activity of the pituitary may be dependent on the immune status of the animal. Therefore, this study was designed to determine the role of melatonin in the modulation of luteinizing hormone (LH) secretion from the PT explants collected from saline- and endotoxin-treated ewes in the follicular phase of the oestrous cycle. Twelve Blackhead ewes were sacrificed 3 h after injection with lipopolysaccharide (LPS; 400 ng/kg) or saline, and the PTs were collected. Each PT was cut into 4 explants, which were then divided into 4 groups: I, incubated with ‘pure’ medium 199; II, treated with gonadotropin-releasing hormone (GnRH) (100 pg/mL); III, treated with melatonin (10 nmol/mL); and IV, incubated with GnRH and melatonin. Melatonin reduced (p < 0.05) GnRH-induced secretion of LH only in the PT from saline-treated ewes. Explants collected from LPS-treated ewes were characterized by lower (p < 0.05) GnRH-dependent response in LH release. It was also found that inflammation reduced the gene expression of the GnRH receptor and the MT1 melatonin receptors in the PT. Therefore, it was shown that inflammation affects the melatonin action on LH secretion from the PT, which may be one of the mechanisms via which immune/inflammatory challenges disturb reproduction processes in animals.