The liver is an immune organ that plays a vital role in the detection, capture, and clearance of pathogens and foreign antigens that invade the human body. During acute and chronic infections, the liver transforms from a tolerant to an active immune state. The defence mechanism of the liver mainly depends on a complicated network of intrahepatic and translocated immune cells and non-immune cells. Therefore, a comprehensive liver cell atlas in both healthy and diseased states is needed for new therapeutic target development and disease intervention improvement. With the development of high-throughput single-cell technology, we can now decipher heterogeneity, differentiation, and intercellular communication at the single-cell level in sophisticated organs and complicated diseases. In this concise review, we aimed to summarise the advancement of emerging high-throughput single-cell technologies and re-define our understanding of liver function towards infections, including hepatitis B virus, hepatitis C virus,Plasmodium, schistosomiasis, endotoxemia, and corona virus disease 2019 (COVID-19). We also unravel previously unknown pathogenic pathways and disease mechanisms for the development of new therapeutic targets. As high-throughput single-cell technologies mature, their integration into spatial transcriptomics, multiomics, and clinical data analysis will aid in patient stratification and in developing effective treatment plans for patients with or without liver injury due to infectious diseases.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12929-023-00945-z.