Type 3 fimbriae are adhesive organelles found in enterobacterial pathogens. The fimbriae promote biofilm formation on biotic and abiotic surfaces; however, the exact identity of the receptor for the type 3 fimbriae adhesin, MrkD, remains elusive. We analyzed naturally occurring structural and functional variabilities of the MrkD adhesin from Klebsiella pneumoniae and Escherichia coli isolates of diverse origins. We identified a total of 33 allelic variants of mrkD among 90 K. pneumoniae isolates and 10 allelic variants among 608 E. coli isolates, encoding 11 and 9 protein variants, respectively. Based on the level of accumulated silent variability between the alleles, mrkD was acquired a relatively long time ago in K. pneumoniae but recently in E. coli. However, unlike K. pneumoniae, mrkD in E. coli is actively evolving under a strong positive selection by accumulation of mutations, often targeting the same positions in the protein. Several naturally occurring MrkD protein variants from E. coli were found to be significantly less adherent when tested in a mannan-binding assay and showed reduced biofilm-forming capacity. Functional examination of the MrkD adhesin in flow chamber experiments determined that it interacts with Saccharomyces cerevisiae cells in a shear-dependent manner, i.e., the binding is catch-bond-like and enhanced under increasing shear conditions. Homology modeling strongly suggested that MrkD has a two-domain structure, comprising a pilin domain anchoring the adhesin to the fimbrial shaft and a lectin domain containing the binding pocket; this is similar to structures found in other catch-bond-forming fimbrial adhesins in enterobacteria.