Our present study suggests that melatonin inhibits autophagy via the PERK-ATF4-Beclin1 pathway to improve the sensitivity of liver cancer cells to sorafenib. This evidence concerns the gene ATF4 and liver cancer.