Pinning of the contact line and gas oversaturation explain the stability of single surface nanobubbles. In this article, we theoretically show that the pinning also suppresses the Ostwald ripening process between neighboring surface nanobubbles, thus explaining why in a population of neighboring surface nanobubbles different radii of curvature of the nanobubbles can be observed.