We studied Goos–H?nchen (GH) shifts on a reflective phase-gradient-produced metasurface. Their analytical solutions were achieved for both TE and TM polarizations utilizing the generalized Snell’s law. The calculated results show that the GH shifts are evidently affected by phase gradients and incid