In mammals, TLR5 functions as a homodimer to recognize bacterial flagellin on the cytomembrane. The current investigations reveal the existence of two types of TLR5, a membrane-bound PmTLR5M, and a soluble variant PmTLR5S, in lamprey (Petromyzon marinus). Although both PmTLR5M and PmTLR5S can bind flagellin, only PmTLR5M is capable of eliciting a proinflammatory response, whereas PmTLR5S can detect the flagellin and facilitate the role of PmTLR5M in early endosomes. The trafficking chaperone UNC93B1 enhances the ligand-induced signaling via PmTLR5M or the combination of PmTLR5M and PmTLR5S. PmTLR5M recruits MyD88 as an adaptor. Furthermore, chimeric receptor studies demonstrate the indispensability of the intradomain of PmTLR5M in effective activation of the proinflammatory pathway upon flagellin stimulation, and the combination of PmTLR5S with a singular intradomain in both homodimer and heterodimer ectodomain arrangements can very significantly augment the immune response. Furthermore, the flagellin binding sites between PmTLR5M and PmTLR5S are conserved, which are essential for ligand binding and signal transduction. Moreover, investigations on N-linked glycosylation modifications reveal that the N239 site in PmTLR5M and PmTLR5S plays a switch role in both flagellin binding and immune responses. In addition, PmTLR5M exhibits the high-mannose-type and complex-type N-glycosylation modifications; however, PmTLR5S shows exclusive complex-type N-glycosylation modification. The key N239 site demonstrates complex-type N-glycosylation modification. The findings address the function and mechanism of TLR5 in ligand recognition, subcellular localization, and signaling pathway in lowest vertebrate and immune system transition species, highlight the regulatory role of N-glycosylation modification in TLRs, and augment immune evolutionary research on the TLR signaling pathway.