This study examined the relationship between race and racial diversity on social capital in community gardens located in food deserts in the southeastern region of the USA. Using snowball methods, a sample of 52 gardeners who represented 10 community gardens was obtained. Cross‐level regression models were performed using two different aspects of social capital: one’s “sense of community” and the “number of resources” a gardener could obtain from fellow gardeners, as dependent variables. Results indicate that community gardens are excellent vehicles for promoting one’s sense of community regardless of one’s race or a garden’s racial composition. In contrast, community gardens were less likely to increase the number of resources. It took longer and more effort to access a greater number of resources while increased perceptions of racial diversity had a negative relationship with number of resources.