Cerebral infarction (CI), a common cerebrovascular disease worldwide, is caused by unknown factors common to many diseases, including hypokalemia, respiratory diseases, and lower extremity venous thrombosis. Tianma Gouteng (TMGT), a traditional Chinese Medicine (TCM) prescription, has been used for the clinical treatment of CI. In this study, high-performance liquid chromatography (HPLC) fingerprint analysis was used to detect and identify major chemical constituents of TMGT. TCMSP and BATMAN-TCM databases were used to screen for active TMGT constituent compounds, while the GeneCards database was used to screen for protein targets associated with CI. Next, GO and KEGG enrichment analysis of these core nodes were performed to determine the identities of key associated biological processes and signal pathways. Meanwhile, a total of six possible gene targets of TMGT, including NFKBIA, PPARG, IL6, IL1B, CXCL8, and HIF1A, were selected for further study using two cellular models of CI. For one model, PC12 cells were treated under oxygen and glucose deprivation (OGD) conditions to generate an OGD cellular model of CI, while for the other model, BV2 cells were stimulated with lipopolysaccharide (LPS) to generate a cellular model of CI-associated inflammation. Ultimately TMGT treatment increased PPARγ expression and downregulated the expression of p-P65, p-IκBα, and HIF-1α in both OGD-induced and LPS-induced cell models of CI. In addition, molecular docking analysis showed that one TMGT chemical constituent, quercetin, may be a bioactive TMGT compound with activity that may be associated with the alleviation of neuronal damage and neuroinflammation triggered by CI. Moreover, additional data obtained in this work revealed that TMGT could inhibit neuroinflammation and protect brain cells from OGD-induced and LPS-induced damage by altering HIF-1α/PPARγ/NF-κB pathway functions. Thus, targeting this pathway through TMGT administration to CI patients may be a strategy for alleviating nerve injury and neuroinflammation triggered by CI.