We study some properties of the extended phase space of a quantum-corrected Schwarzschild black hole surrounded by a perfect fluid. In particular we demonstrate that, due to the quantum correction, there exist first and second order phase transitions for a certain range of the state parameter of the perfect fluid, and we explicitly analyze some cases. Besides that, we describe the efficiency of this system as a heat engine and the effect of quantum corrections for different surrounding fluids.