Background: One of common disorders is peptic ulcers. There is a greater risk of ulcers after using indomethacin (IND). Astaxanthin (ASX) possesses antioxidant and anti-inflammatory properties. Objective: The goal was to evaluate ASX's gastroprotective effect in IND-related stomach ulcers. Material and Methods: Rats were divided into: control, ulcer, and ulcer+ASX. Gastric Nrf2 and HO-1 gene expression, gastric PH, gastric PGE2, MDA, SOD, TNF-α, IL-1β, IL-10, and gastric ulcer index values were all evaluated. Gastric tissue was also subjected to histopathologic and COX2 immunohistochemical analyzes. Results: IND increased gastric MDA, TNF-α, IL-1β, and gastric COX2 immunoreaction & decreased gastric PH values, gastric SOD, gastric IL-10, gastric PGE2, as well as gastric gene expression of Nrf2 and HO-1. ASX significantly reduced the alterations in stomach tissue brought on by IND. Conclusion: Through its antioxidant, anti-inflammatory, properties as well as via upregulating the Nrf2/HO-1 pathway, ASX provides gastroprotective advantages in rats with IND-induced ulcers.