In the presented work a closed analytical expression is obtained that describes the critical photon orbits in the equatorial plane of a spinning Kerr black hole (BH). A significant difference in the behavior of photons with prograde and retrograde directions of rotation is shown. The photons with prograde rotation exhibit an exponential increase in the deflection angle together with the number of rotations around the BH as its spin parameter increases. The number of rotations exceeds 103 when spin parameter of the BH reaches 0.999. At the same time this value decreases insignificantly for reverse rotating photons and is less than that for the non-spinning Schwarzschild BH. The transition to a zero spin limit made it possible to determine the number of photon rotations along the critical trajectory for such BHs.