Abstract Crassostrea rhizophorae is a euryhaline oyster that inhabits mangrove areas, which are widely distributed along the Brazilian coast. The aim of this study was to investigate the effects of salinity (9, 15, 25, and 35 ppt) on the activities of glutathione S-transferase (GST), glucose 6-phosphate dehydrogenase (G6PDH), catalase (CAT), and acetylcholinesterase (AChE) in the digestive gland of this species after exposure to diesel oil for 7 days at nominal concentrations of 0.01, 0.1, and 1 ml L −1 and after depuration for 24 h and 7 days. GST activity increased in a diesel oil concentration-dependent manner at salinities 25 and 15 ppt and remained slightly elevated even after depuration periods of 24 h and 7 days. No changes were observed in the activities of G6PDH, CAT, and AChE in the oysters exposed to diesel and depurated. Based on these results, GST activity in the digestive gland of C. rhizophorae might be used as a biomarker of exposure to diesel oil in sites where the salinity is between 15 and 25 ppt, values usually observed in mangrove ecosystems.