ABSTRACT This paper examines the contributions that community gardens can make in achieving Target 7 of UN Sustainable Development Goal (SDG) 11, namely, to ‘provide universal access to safe, inclusive and accessible, green and public spaces’ (UN 2021). The paper focuses on a subset of green and public spaces, namely community gardens, to examine if their features enhance the capacity of public spaces to contribute to achieving target 11.7. In doing so, the paper applies a more expansive definition of ‘inclusive’ than that currently suggested by the target. The paper draws on findings from interviews with participants in several types of community gardens in Australia. The data indicates that community gardens contribute to solving the challenges of UNSDG 11.7, by improving the inclusivity and activation of public spaces through their design features, governance and community involvement. The development of additional target indicators that planners and policy makers can use to measure progress towards meeting the target is an area in need of further research. KEY FINDINGS Community gardens are effective sites for enacting UNSDG 11 Target 7. Community involvement in the design and governance of community gardens contributes to their inclusivity, safety and accessibility as a local public space. Secure tenure, well-chosen locations and sufficient resourcing can improve the ability of community gardens to meet SDG 11 Target 7.