In this longitudinal study we explore how changes in food environments have shaped the acquisition and consumption of wild foods among people living near forests. Our study conceptually improves food environment frameworks by including evidence on changes in wild food consumption. We used data collected in both the dry and rainy seasons in 2009 and 2021/2022 in four villages in the East Usambara Mountains, Tanzania. Across data collections, we conducted qualitative interviews, focus groups and repeated household surveys, including questions on dietary intake, food sources, agricultural practices, and use of wild resources. We found that the proportion of people who collected wild foods within the past seven days had declined from 90 to 61% in the dry season and from 99 to 72% in the wet season. The main reasons were 1) decreased availability caused by, for example, loss of biodiversity, 2) lack of access due to government forest regulations, and 3) increased desirability towards marked-based foods. Our results show how changes in both availability, access and desirability of wild foods have shifted dietary choices from wild foods towards cultivated and purchased foods. Also, we see less widespread consumption of sentinel food groups such as dark green leafy vegetables. Our results highlight the need for an additional dimension in existing food environment frameworks: “Legal access to wild resources” that would cover access to wild foods. This dimension is important as loss of legal access and declining consumption can have negative dietary implications, since the most commonly consumed wild foods, such as leafy vegetables, are nutritionally important.