Streptococcus mutans bacteria form a biofilm called plaque that causes oral diseases, including tooth decay. Therefore, inhibition of biofilm formation is essential to maintaining good oral health. The health and nutritional benefits of Cynodon dactylon are well documented, but very little is known about its use to treat against oral diseases. The aim of this study was to detect the adhesion strength of the S. mutans bacterial biofilm in 100 cases in the Rajshahi region and evaluate the inhibitory activity of different compound extracts of C. dactylon on the S. mutans bacterial biofilm by determining the composition of isolated compounds using phytochemical analysis. Nuclear magnetic resonance (NMR) spectroscopy confirmed that three specific compounds from C. dactylon were discovered in this study: 3,7,11,15 tetramethyl hexadec-2-4dien 1-o1, compound 3,7,11,15 tetramethylhexadec-2-en-1-o1 from phytol derivatives, and stigmasterol. Results indicated that the compound of 3,7,11,15-tetramethyl-hexadec-2-en-1-ol exhibited higher antibiofilm activities on S. mutans than those of the other compound extracts. A lower level of minimum inhibitory concentration was exposed by 3, 7, 11,15 tetramethyl hexadeca-2-en-1-o1 (T2) on S. mutans at 12.5 mL. In this case, the compound of 3,7,11,15 tetramethyl hexadec 2en-1-o1 was used, and patients showed a mean value and standard error reduced from 3.42 ± 0.21 to 0.33 ± 0.06 nm. The maximum inhibition was (80.10%) in the case of patient no. 17, with a value of p < 0.05 found for S. mutans to which 12.5 μL/mL ethyl acetate extract was applied. From these findings, it may be concluded that C. dactylon extracts can be incorporated into various oral preparations to prevent tooth decay.