The iteration procedure for elimination of the smoothing error occurring when phase unwrapping from its principal value by the least-square method is described. As is shown by the example of a synthesized aperture radar interferogram, even two applications of the least-square method are sufficient for total elimination of the error.