Our present study suggests that melatonin inhibits autophagy via the PERK-ATF4-Beclin1 pathway to improve the sensitivity of liver cancer cells to sorafenib. The gene discussed is BECN1; the disease is liver cancer.