In the present study, TNF-α and IL-1β levels were significantly lower than those of the pancreatitis group as a result of pre-application of melatonin. The gene discussed is IL1B; the disease is pancreatitis.