Abstract. According to climate model simulations, the changing altitude of middle and high clouds is the dominant contributor to the positive global mean longwave cloud feedback. Nevertheless, the mechanisms of this longwave cloud altitude feedback and its magnitude have not yet been verified by observations. Accurate, stable, and long-term observations of a metric-characterizing cloud vertical distribution that are related to the longwave cloud radiative effect are needed to achieve a better understanding of the mechanism of longwave cloud altitude feedback. This study shows that the direct measurement of the altitude of atmospheric lidar opacity is a good candidate for the necessary observational metric. The opacity altitude is the level at which a spaceborne lidar beam is fully attenuated when probing an opaque cloud. By combining this altitude with the direct lidar measurement of the cloud-top altitude, we derive the effective radiative temperature of opaque clouds which linearly drives (as we will show) the outgoing longwave radiation. We find that, for an opaque cloud, a cloud temperature change of 1 K modifies its cloud radiative effect by 2 W m−2. Similarly, the longwave cloud radiative effect of optically thin clouds can be derived from their top and base altitudes and an estimate of their emissivity. We show with radiative transfer simulations that these relationships hold true at single atmospheric column scale, on the scale of the Clouds and the Earth's Radiant Energy System (CERES) instantaneous footprint, and at monthly mean 2° × 2° scale. Opaque clouds cover 35 % of the ice-free ocean and contribute to 73 % of the global mean cloud radiative effect. Thin-cloud coverage is 36 % and contributes 27 % of the global mean cloud radiative effect. The link between outgoing longwave radiation and the altitude at which a spaceborne lidar beam is fully attenuated provides a simple formulation of the cloud radiative effect in the longwave domain and so helps us to understand the longwave cloud altitude feedback mechanism.