Viral pneumonia is characterized by inflammation in the lungs triggered by respiratory viruses. Dayuan Yin (DYY), a traditional Chinese medicine formula known for treating infectious diseases, is hypothesized to offer therapeutic benefits in treating viral pneumonia, although its specific molecular impacts remain understudied. This study aimed to evaluate the therapeutic effects of DYY in mitigating HCoV-229E virus-induced pneumonia in mice. This study employed an HCoV-229E virus-infected mouse model to investigate the therapeutic potential and underlying molecular mechanisms of DYY on virus-induced pneumonia. The respiratory function and organ indices post-treatment were assessed. Lung tissue and tracheal lesions were evaluated via immunohistochemistry. Spleen immune cell composition was analyzed using flow cytometry. Inflammatory cytokines and viral loads were quantified using hypersensitive multiplex electrochemiluminescence method and PCR analysis, respectively. The expression levels of MAS1, Ras, Raf1, MEK1/2, and ERK1/2 in lung tissues were determined through western blot analysis. DYY significantly improved respiratory function, and reduced organ pathology in infected mice. It effectively decreased viral loads and inflammatory cytokines such as IL-6, IL-1β, and TNF-α in lung tissues. Enhancements in immune response were evidenced by increased CD4/CD8 ratios in the spleen. DYY also notably upregulated MAS1 protein levels and suppressed the activation of the Ras/Raf1/MEK/ERK signaling pathway. DYY enhanced respiratory function and exerted significant antiviral and immunomodulatory effects in mice infected with the HCoV-229E virus, primarily by modulating MAS1 expression and inhibiting the Ras/Raf1/MEK/ERK pathway.