The influence of the positive and negative defocusing on lensless ghost imaging are investigated.
The analytical expression describing PSF of ghost imaging with defocusing effect is derived.
The influence from the negative defocusing is bigger than that from the positive defocusing.