The influence of spontaneous generated coherence (SGC) on the Goos–Hänchen (GH) shift in the reflected light is presented. A weak probe light is incident on a cavity containing three-level gaseous atomic medium consist of 85Rb atoms. The atom–field interaction follows electromagnetically induced transparency configuration, and the SGC modifies the dispersion and absorption properties of a system [Y. Niu and S. Gong, Phys. Rev. A 73, 053811 (2006)]. The SGC enhances the Kerr nonlinearity which leads to giant negative and positive GH shifts in the reflected light. Further, the control of negative and positive GH shifts is achieved via manipulation of probe field detuning.