Background and Objectives: Nonalcoholic steatohepatitis is a severe liver disease characterized by excess lipid accumulation (steatosis) and inflammation in the liver. Endoplasmic reticulum stress is considered one of the crucial factors in nonalcoholic steatohepatitis pathophysiology. Rosmarinic acid is a herbal medicine with antioxidant and anti-inflammatory properties. This study aimed to evaluate the effect of rosmarinic acid on reducing the endoplasmic reticulum stress induced by nonalcoholic steatohepatitis in male Swiss-type mice. Methods: The study animals were grouped into four: Saline, rosmarinic acid, nonalcoholic steatohepatitis, and nonalcoholic steatohepatitis-rosmarinic acid. Nonalcoholic steatohepatitis was induced by a diet without methionine-choline for 8 weeks, and rosmarinic acid was injected intraperitoneally daily for 8 weeks in mice. After 8 weeks, the animals were killed, and their liver samples were obtained. Real-time PCR was used for molecular studies. Data analyses were performed by one-way analysis of variance and Tukey's post hoc test. Results: Findings of this study showed that rosmarinic acid alleviated mRNA levels of GRP78, IRE-1, and PERK while increasing the Apo B expression. Conclusion: The results suggest that rosmarinic acid ameliorates endoplasmic reticulum stress parameters, upregulates Apo B expression as a key factor in triglyceride exit from the liver, and thereby improves nonalcoholic steatohepatitis in male Swiss-type mice.