Total internal reflection occurs when:
Light travels from a denser to a rarer medium at an angle of incidence greater than the critical angle.
When a ray of light travels from denser to rarer medium and angle of incidence is greater than the critical angle, no part of the light is refracted, the light is totally reflected in the same medium and ray is reflected. This is called a Total internal reflection of light.