The agricultural land of the Metropolitan Area of Barcelona has been reduced from 20% to 8-9% over the past decades, despite urban gardening being supported by municipal actions. Urban agriculture constitutes a nature-based solution to several societal challenges.