Hepatocellular carcinoma (HCC) is one of the most lethal tumor types worldwide. Glycosylation has shown promise in the study of tumor mechanisms and treatment. The glycosylation status of HCC and the underlying molecular mechanisms are still not fully elucidated. Using bioinformatic analysis we obtained a more comprehensive characterization of glycosylation of HCC. Our analysis presented that high glycosylation levels might correlate with tumor progression and poor prognosis. Subsequent Experiments identified key molecular mechanisms for ST6GALNAC4 promoting malignant progression by inducing abnormal glycosylation. We confirmed the contribution of ST6GALNAC4 to proliferation, migration, and invasion in vitro and in vivo. Mechanistic studies revealed that ST6GALNAC4 may be induced abnormal TGFBR2 glycosylation, resulting in the higher protein levels of TGFBR2 and TGF\documentclass[12pt]{minimal}
				\usepackage{amsmath}
				\usepackage{wasysym} 
				\usepackage{amsfonts} 
				\usepackage{amssymb} 
				\usepackage{amsbsy}
				\usepackage{mathrsfs}
				\usepackage{upgreek}
				\setlength{\oddsidemargin}{-69pt}
				\begin{document}$$\beta$$\end{document}βpathway increased activation. Our study also provided a further understand of immunosuppressive function of ST6GALNAC4 through T antigen-galectin3+ TAMs axis. This study has provided one such possibility that galectin3 inhibitors might be an acceptable treatment choice for HCC patients with high T antigen expression.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12967-023-04191-7.