In order to investigate the antibacterial mechanism of tea polyphenols and theaflavins against oral cariogenic bacteria, the pH value of the culture medium, the number of bacteria adhering to the smooth glass tube wall, and the electrical conductivity value within 10 h were measured, respectively. The effects of four concentrations of tea polyphenols and theaflavins below the MIC value were studied on acid production, adhesion, and electrical conductivity of oral cariogenic bacteria. The live/dead staining method was used to observe the effects of four concentrations of tea polyphenols and theaflavins below the MIC value on the biofilm formation of oral cariogenic bacteria under a laser scanning confocal microscope. With the increase in concentrations of tea polyphenols and theaflavins, the acid production and adhesion of the cariogenic bacteria gradually decreased, and the conductivity gradually increased. However, the conductivity increase was not significant (p < 0.05). Compared with the control group, the 1/2MIC and 1/4MIC tea polyphenols and theaflavins treatments significantly reduced the biomass of the cariogenic biofilm (p < 0.05). The confocal laser scanning microscope showed that the integrated optical density of green fluorescence of the cariogenic biofilm gradually decreased with the increase in agent concentration after the action of tea polyphenols and theaflavins.