Terminal deoxynucleotidyl transferase (TdT), also known as DNA nucleotidylexotransferase (DNTT) or terminal transferase, is a specialized DNA polymerase expressed in immature, pre-B, pre-T lymphoid cells, and acute lymphoblastic leukemia/lymphoma cells. TdT adds N-nucleotides to the V, D, and J exons of the TCR and BCR genes during antibody gene recombination, enabling the phenomenon of junctional diversity. In humans, terminal transferase is encoded by the DNTT gene. As a member of the X family of DNA polymerase enzymes, it works in conjunction with polymerase λ and polymerase μ, both of which belong to the same X family of polymerase enzymes. The diversity introduced by TdT has played an important role in the evolution of the vertebrate immune system, significantly increasing the variety of antigen receptors that a cell is equipped with to fight pathogens. Studies using TdT knockout mice have found drastic reductions (10-fold) in T-cell receptor (TCR) diversity compared with that of normal, or wild-type, systems. The greater diversity of TCRs that an organism is equipped with leads to greater resistance to infection. Although TdT was one of the first DNA polymerases identified in mammals in 1960, it remains one of the least understood of all DNA polymerases. In 2016–18, TdT was discovered to demonstrate in trans template dependant behaviour in addition to its more broadly known template independent behaviour TdT is absent in fetal liver HSCs, significantly impairing junctional diversity in B-cells during the fetal period. Generally, TdT catalyses the addition of nucleotides to the 3' terminus of a DNA molecule. Unlike most DNA polymerases, it does not require a template. The preferred substrate of this enzyme is a 3'-overhang, but it can also add nucleotides to blunt or recessed 3' ends. Further, TdT is the only polymerase that is known to catalyze the synthesis of 2-15nt DNA polymers from free nucleotides in solution in vivo. In vitro, this behaviour catalyzes the general formation of DNA polymers without specific length.