Urban agriculture is intuitively appealing, but its carbon footprint is unclear. This analysis of case studies in the United States and northern Europe finds that food from urban agriculture is much more carbon-intensive but that circularity, such as by recycling of food waste, on long-used city plots can help urban agriculture outperform conventional agriculture.