Free radical is a marker in various inflammatory diseases. The antioxidant effect protects us from this damage, which also plays an essential role in preventing inflammation. Inflammation protects the body from biological stimuli, and pro-inflammatory mediators are negatively affected in the immune system. Inflammation caused by LPS is an endotoxin found in the outer membrane of Gram-negative bacteria, which induces immune cells to produce inflammatory cytokines such as cyclooxygenase-2 (COX-2) and inducible nitric oxide synthase (iNOS). Based on this, the antioxidant and anti-inflammatory effects of plant extracts were investigated. First, the main phenolic compounds for the five peaks obtained from Stachys Affinis Extract (SAE) were identified. The antioxidant effect of each phenolic compound was confirmed through HPLC analysis before and after the competitive binding reaction between DPPH and the extract. Afterward, the anti-inflammatory effect of each phenolic compound was confirmed through competitive binding between COX2 and the extract in HPLC analysis. Lastly, the anti-inflammatory effect of SAE was confirmed through in vitro experiments and also confirmed in terms of structural binding through molecular docking. This study confirmed that phenolic compounds in SAE extract have potential antioxidant and anti-inflammatory effects, and may provide information for primary screening of medicinal plants.