We observed that melatonin treatment transiently increased IgG and IgM levels in cows with subclinical mastitis before levels were reduced toward normal. The gene discussed is CD40LG; the disease is mastitis.