Inflammatory response plays important roles in both tumorigenesis and carcinogenesis. In this study, secondary metabolite compounds from Lactococcus lactis subsp. lactis (Lac3) were analyzed by LC-MS and the potential inhibition activity against the COX-2 receptor was screened through molecular docking and molecular dynamics (MD) analysis. Anti-inflammatory agents, mofezolac and ibuprofen, were used as positive control ligands. The result indicates a potential COX-2 inhibitor of 5-[(4-Amino-6-morpholin-4-yl-1,3,5-triazin-2-yl)amino]-2- methylbenzenesulfonate, which has a hydrogen bond on the active site Tyr385 of COX-2 with affinity energy of –9.0 kcal/mol. Moreover, another candidate of COX-2 inhibitor, designated as 3-Indolepropionic acid binds hydrogen on the important residue Ser530 of COX-2, with an affinity energy of –6.9 kcal/mol. To confirm the binding specificity, molecular docking analysis was also performed against COX-1. The binding stability and flexibility were confirmed using MD simulations. In addition, the toxicity and solubility of the potential ligands were predicted according to Lipinski’s rules and BOILED-Egg modeling. The 5-[(4-Amino-6-morpholin-4-yl- 1,3,5-triazin-2-yl)amino]-2-methylbenzenesulfonate shows the propensity for passive absorption through the gastrointestinal tract, whereas 3-Indolepropionic acid shows a high probability of blood-brain barrier penetration. In conclusion, this study identified potential compounds through molecular docking analysis which can be developed as COX-2 inhibitors.