The tripartite motif (TRIM) protein family is composed of a variety of proteins with E3 ubiquitin ligase activity. These proteins are involved in different cell processes and play a role in the host immune response to viral infection. The proteins of TRIM family can exert antiviral activity by enhancing host innate immune response or directly degrading viral proteins. In some cases, some viruses can use TRIM family proteins to regulate cytokine expression to promote their infections. This article reviews the research progress in the role of TRIM family proteins in viral replication and the related mechanisms, aiming to provide a reference for studying the mechanism of viral infection.