BackgroundImmunotransmitters (e.g., neurotransmitters and neuromodulators) could orchestrate diverse immune responses; however, the elaborated mechanism by which melatonergic activation governs inflammation remains less defined.MethodsPrimary macrophages, various cell lines, and Pasteurella multocida (PmCQ2)‐infected mice were respectively used to illustrate the influence of melatonergic signalling on inflammation in vitro and in vivo. A series of methods (e.g., RNA‐seq, metabolomics, and genetic manipulation) were conducted to reveal the mechanism whereby melatonergic signalling reduces macrophage inflammation.ResultsHere, we demonstrate that melatonergic activation substantially lessens interleukin (IL)‐1β‐dependent inflammation. Treatment of macrophages with melatonin rewires metabolic program, as well as remodels signalling pathways which depends on interferon regulatory factor (IRF) 7. Mechanistically, melatonin acts via membrane receptor (MT) 1 to increase heat shock factor (Hsf) 1 expression through lowering the inactive glycogen synthase kinase (GSK3) β, thereby transcriptionally inhibiting interferon (IFN)‐γ receptor (IFNGR) 2 and ultimately causing defective canonical signalling events [Janus kinase (JAK) 1/2‐signal transducer and activator of transcription (STAT) 1‐IRF7] and lower IL‐1β production in macrophages. Moreover, we find that melatonin amplifies host protective responses to PmCQ2 infection‐induced pneumonia.ConclusionsOur conceptual framework provides potential therapeutic targets to prevent and/or treat inflammatory diseases associating with excessive IL‐1β production.