In seismic exploration, received seismic signals usually experience absorption during their propagation. However, seismic migration algorithms seldom take into account seismic absorption in their implementations. We have investigated the blurring effect in migrated images that occurs when using a regular migration algorithm to migrate those seismic data with absorption. The blurring functions can be calculated using a numerical method; and for layered media, a fast algorithm exists for updating the blurring function from one time step to another. The deblurring process is formulated as a problem of multidimensional nonstationary deconvolution. We use a least-squares inverse scheme to remove the absorption blurring effect and in turn refocus migrated images. The refocusing algorithm is stable, and convergence is achieved with a few iterations at each wavenumber. Experiments on synthetic and real data show that our refocusing technique is valid when compensating for seismic absorption after migration.