Preclinical studies have indicated that Angong Niuhuang Pills (ANP) reduce cerebral infarct and edema volumes. This study aimed to investigate whether ANP safely reduces cerebral infarct and edema volumes in patients with moderate to severe acute ischemic stroke. This randomized, double-blind, placebo-controlled pilot trial included patients with acute ischemic stroke with National Institutes of Health Stroke Scale (NIHSS) scores ranging from 10 to 20 in 17 centers in China between April 2021 and July 2022. Patients were allocated within 36 h after onset via block randomization to receive ANP or placebo (3 g/day for 5 days). The primary outcomes were changes in cerebral infarct and edema volumes after 14 days of treatment. The primary safety outcome was severe adverse events (SAEs) for 90 days. There were 57 and 60 patients in the ANP and placebo groups finally included respectively for modified intention-to-treat analysis. The median age was 66 years, and the median NIHSS score at baseline was 12. The changes in cerebral infarct volume at day 14 were 0.3mL and 0.4mL in the ANP and placebo groups, respectively (median difference: -7.1mL; interquartile range [IQR]: -18.3 to 2.3 mL, P=0.30). The changes in cerebral edema volume of the ANP and placebo groups on day 14 were 11.4mL and 4.0mL, respectively (median difference: 3.0 mL, IQR: -1.3 to 9.9 mL, P=0.15). The rates of SAE within 90 days were similar in the ANP (3/57, 5%) and placebo (7/60, 12%) groups (P=0.36). Changes in serum mercury and arsenic concentrations were comparable. In patients with large artery atherosclerosis, ANP reduced the cerebral infarct volume at 14 days (median difference: -12.3 mL; IQR: -27.7 to -0.3 mL, P=0.03). ANP showed a similar safety profile to placebo and non-significant tendency to reduce cerebral infarct volume in patients with moderate-to-severe stroke. Further studies are warranted to assess the efficacy of ANP in reducing cerebral infarcts and improving clinical prognosis. Clinicaltrials.gov, No. NCT04475328.