By comparing DEGs of melatonin with 5-FU-resistance related genes, we found that melatonin could downregulate the expression levels of resistance-related genes, such as TS in GC patients and ATR, CHEK1, MYC and BAX in CRC patients. The gene discussed is BAX; the disease is colorectal carcinoma.