The interactions among diet, ecology, physiology, and biochemistry affect N and C stable isotope signatures in animal tissues. Here, we examined if ecological segregation among animals in relation to sex and age existed by analyzing the signatures of delta15N and delta13C in the muscle of Western Mediterranean striped dolphins. Moreover, we used a Bayesian mixing model to study diet composition and investigated potential dietary changes over the last two decades in this population. For this, we compared isotope signatures in samples of stranded dolphins obtained during two epizootic events occurring in 1990 and 2007-2008. Mean delta13C values for females and males were not significantly different, but age-related variation indicated delta13C enrichment in both sexes, suggesting that females and males most likely fed in the same general areas, increasing their consumption of benthic prey with age. Enrichment of delta15N was only observed in females, suggesting a preference for larger or higher trophic level prey than males, which could reflect different nutritional requirements. delta13C values showed no temporal variation, although the mean delta15N signature decreased from 1990 to 2007-2008, which could indicate a dietary shift in the striped dolphin over the last two decades. The results of SIAR indicated that in 1990, hake and sardine together contributed to 60% on the diet of immature striped dolphins, and close to 90% for mature striped dolphins. Conversely, the diet of both groups in 2007-2008 was more diverse, as hake and sardine contributed to less than 40% of the entire diet. These results suggest a dietary change that was possibly related to changes in food availability, which is consistent with the depletion of sardine stocks by fishing.