The study of diet may help to predict the consequences of ontogeny and sexual size dimorphism in resource use. Although diet changes are expected in dimorphic species, ontogeny can be a factor in determining the degree of diet variation within a species. We studied large sexually dimorphic predator, the Yellow anaconda Eunectes notaeus, to learn how influences of sex and size on diet might lead to intersexual niche divergence, therefore avoiding intraspecific competition. We tested the consequences of sexual size dimorphism via two foraging metrics: prey size and feeding frequency. To test the consequences of ontogeny on trophic niche metrics, we related changes in feeding frequency and maximum prey size to increase in anaconda body size. Finally, we tested whether diet composition changed between sexes to the point where it could lead to reduced competition. While females (the larger sex) did eat larger prey compared to males, this effect disappeared when we removed the effect of body size. Females ate more frequently than males, even with body size effect was removed. Predator‐prey size ratios were positively affected by maximum prey size, and as expected from foraging theory, did not increase minimum prey size. Feeding frequency did not display any ontogenetic effects. While diet composition varied between sexes, overlap is high. This indicates that variations in resource use as a product of sex‐based differences in size are negligible in Yellow anacondas. Although females feed more frequently, this may be an effect of the greater energetic costs of reproduction. Ontogeny has a positive effect on maximum prey size, though this is a general trend, and has already been demonstrated for several other species. Finally, understanding of sex‐based changes in resource use will be improved if it can be determined whether such phenomena are consequences rather than causes for sexual size dimorphism.