Streptococcus gordonii is a member of the viridans streptococci and is an early colonizer of the tooth surface. Adherence to the tooth surface is enabled by proteins present on the S. gordonii cell surface, among which SspB belongs to one of the most well studied cell-wall-anchored adhesin families: the antigen I/II (AgI/II) family. The C-terminal region of SspB consists of three tandemly connected individual domains that display the DEv-IgG fold. These C-terminal domains contain a conserved Ca2+-binding site and isopeptide bonds, and they adhere to glycoprotein 340 (Gp340; also known as salivary agglutinin, SAG). Here, the structural and functional characterization of the C123 SspB domain at 2.7 Å resolution is reported. Although the individual C-terminal domains of Streptococcus mutans AgI/II and S. gordonii SspB show a high degree of both sequence and structural homology, superposition of these structures highlights substantial differences in their electrostatic surface plots, and this can be attributed to the relative orientation of the individual domains (C1, C2 and C3) with respect to each other and could reflect their specificity in binding to extracellular matrix molecules. Studies further confirmed that affinity for Gp340 or its scavenger receptor cysteine-rich (SRCR) domains requires two of the three domains of C123 SspB, namely C12 or C23, which is different from AgI/II. Using protein-protein docking studies, models for this observed functional difference between C123 SspB and C123 AgI/II in their binding to SRCR1 are presented.