Liver fibrosis develops from the excessive deposition of extracellular matrix in the liver caused by chronic liver inflammation or various chronic injuries, and it eventually develops into liver cirrhosis. The process of liver fibrosis is closely related to the immune response, and increasing evidence reveals the role of T lymphocytes, including Th1, Th2, Th17, regulatory T cells, and mucosa-associated invariant T cells, in liver fibrosis. These immune cells play antifibrotic or profibrotic roles during fibrosis, and the reversal of fibrosis by targeting immune cells has attracted widespread attention. Activation of hepatic stellate cells, which form the core of fibrosis, is regulated by various immune mediators, including various immune cells and their associated cytokines. Therefore, the mechanism of action elicited by each cell type must be further elucidated to provide a basis for the design of new therapeutic targets. The purpose of this review is to summarize the roles and mechanisms of T lymphocytes and their subsets in liver fibrosis and highlight the biomarkers and potential therapeutic targets associated with these cells.