As urbanization increases worldwide, investments in nature‐based solutions that aim to mitigate urban stressors and counter the impacts of global climate change are also on the rise. Tree planting on degraded urban lands—or afforestation—is one form of nature‐based solution that has been increasingly implemented in cities around the world. The benefits of afforestation are, however, contingent on the capacity of soils to support the growth of planted trees, which poses a challenge in some urban settings where unfavorable soil conditions limit tree performance. Soil‐focused site treatments could help urban areas overcome impediments to afforestation, yet few studies have examined the long‐term (>5 yr) effects of site treatments on soils and other management objectives. We analyzed the impacts of compost amendments, interplanting with shrubs, and tree species composition (six species vs. two species) on soil conditions and associated tree growth in 54 experimental afforestation plots in New York City, USA. We compared baseline soil conditions to conditions after 6 yr and examined changes in the treatment effects from 1 to 6 yr. Site treatments and tree planting increased soil microbial biomass, water holding capacity, and total carbon and nitrogen, and reduced soil pH and bulk density relative to baseline conditions. These changes were most pronounced in compost‐amended plots, and the effects of the shrub and species composition treatments were minimal. In fact, compost was key to sustaining long‐term changes in soil carbon stocks, which increased by 17% in compost‐amended plots but declined in unamended plots. Plots amended with compost also had 59% more nitrogen than unamended plots, which was associated with a 20% increase in the basal area of planted trees. Improvements in soil conditions after 6 yr departed from the initial trends observed after 1 yr, highlighting the importance of longer‐term studies to quantify restoration success. Altogether, our results show that site treatments and tree planting can have long‐lasting impacts on soil conditions and that these changes can support multiple urban land management objectives.