In this paper, due to the effect of the rainbow gravity, the thermodynamic phenomena and phase structure of Schwarzschild black hole surrounded by a spherical cavity in the extended phase space are investigated. We first use the rainbow function that have been proposed by Amelino-Camelia et al. to derive the modified Hawking temperature in a spherical cavity with the radius rc. Then, by defining the effective thermodynamic volume as V = 4πr 3 c 3 and its conjugate pressure as P = −∂E/∂V with the thermal energy E , we extend the phase space of the rainbow Schwarzschild black hole in a cavity. Finally, the critical behavior, thermodynamic stability and phase transition of the rainbow Schwarzschild black hole surrounded by a spherical cavity in the extended phase space are discussed. It finds that rainbow gravity has a very significant effect on the thermodynamic phenomena and phase structure of the black hole. It prevents the black hole from total evaporation and leads to a remnant with a limited temperature but no mass. Furthermore, when the temperature or pressure is smaller than the critical quantities, the system undergoes two Hawking-Page-like phase transitions, two second-order phase transitions, and one first-order phase transition, which is quick different from the original case. In particular, our results demonstrate that the thermodynamic behavior and phase transition of the rainbow SC black hole surrounded by a cavity in the extended phase space is quite similar to that of the R-N AdS black hole.