We discovered that RFX6 could promote the transcription of DTX2 and was regulated by miRNA-542-3p in HCC, which positively affected the tumorigenesis and was involved in T-cell function in HCC. Here, DTX2 is linked to hepatocellular carcinoma.