The Lamb shift results from the coupling of an atom to vacuum fluctuations of quantum fields, so corrections are expected to arise when the spacetime is curved since the vacuum fluctuations are modified by the presence of spacetime curvature. Here, we calculate the curvature-induced correction to the Lamb shift outside a spherically symmetric object and demonstrate that this correction can be remarkably significant outside a compact massive astrophysical body. For instance, for a neutron star or a stellar mass black hole, the correction is similar to 25% at a radial distance of 4GM/c(2), similar to 16% at 10GM/c(2) and as large as similar to 1.6% even at 100GM/c(2), where M is the mass of the object, G the Newtonian constant, and c the speed of light. In principle, we can look at the spectra from a distant compact super-massive body to find such corrections. Therefore, our results suggest a possible way of detecting fundamental quantum effects in astronomical observations.