Previous studies of overwintering migratory birds in neotropical environments have found that species co-occur in the same habitats despite high diet overlap. Hence, discovering subtle diet differences within habitats can help explain patterns in bird species diversity. The Yucatan Peninsula in Mexico is an important region for overwintering migratory birds, but little is known about how habitat differences in food resources contribute to bird diversity. To address the knowledge gap, we compared the degree of overlap in the diet of all terrestrial migratory birds within and between mangrove and tropical dry forests on the Yucatan Peninsula’s northern coast. We collected data on the consumption of food items through direct observation of birds feeding on four transects in each habitat every week (12 weeks) during the non-breeding season (i.e., overwinter, December-February). We recorded 19 species, 15 species in mangrove and 15 species in forest, with 11 of those found in both habitats. In both habitats, diet overlap was high. However, species present only in the tropical dry forest had less overlap than species occurring in both habitats, indicating that diet specialization might restrict the range of habitats that a species can occupy. On the other hand, species present only in the mangrove had similar diet overlap to species present in both habitats. The diet variation that did exist was greater within than between habitats possibly due to intraspecific diet differences among different geographic locations. Although small, within-habitat diet differences might be key to allowing species to coexist locally in the Yucatan, thus supporting studies demonstrating a similar mechanism in other neotropical regions. More generally, the information we provide on bird diet can be used to discover whether threats like anthropogenic development precipitate species loss via altering the resource base upon which birds rely.