Toll-like receptor 9 (TLR9) is a key sensor of CpG-rich DNA motifs, orchestrating host defense but also contributing to chronic inflammation, autoimmunity, and cancer progression when dysregulated. Selective small-molecule antagonists of TLR9 hold significant therapeutic promise; however, existing candidates exhibit off-target activity, suboptimal pharmacokinetics, and safety liabilities. Here, we employed an integrated computational-experimental strategy to discover and characterize novel TLR9 inhibitors. Machine learning-based QSAR classifiers were combined with molecular docking, pharmacophore modeling, and molecular dynamics simulations to predict active scaffolds and refine ligand candidates. This approach prioritized two compounds, TRin7 and TRin8, based on favorable binding free energies, stable receptor engagement, and key pharmacophoric features. In vitro, both compounds selectively suppressed CpG ODN2395-induced cytokine production (TNF-α, IL-6, MCP-1, and IL-8) in murine RAW264.7 macrophages and human Daudi cells, without affecting other TLR pathways, and did not cause significant toxicity even under extended treatment conditions. Mechanistic studies demonstrated that TRin7 and TRin8 directly disrupted TLR9-CpG DNA binding and inhibited downstream NF-κB and MAPK signaling, resulting in reduced COX2 and NOS2 expression. Comparative analyses indicated that TRin7 exhibited slightly greater potency, consistent with its lower binding free-energy profile in MM/PBSA calculations. Collectively, these findings establish TRin7 and TRin8 as promising small-molecule antagonists of TLR9 and highlight the utility of integrating machine learning with structural modeling and cellular validation in rational drug discovery.