We experimentally demonstrate a three-dimensional (3D) ghost imaging method based on period diffraction correlation imaging.Compared with conventional ghost imaging, our method can easily retrieve the images of different focal planes.Due to the correlation between the disturbed object beam and the reference beams which do not pass through any scattering, the clear images can be periodically obtained in the uncovered zones even through a scattering medium.The analysis of the 3D imaging resolution reveals that the proper resolution for actual demand can be achieved by designing our devices.The implementation of this experiment is quite simple and low-cost.It facilitates the practical applications of ghost imaging.