Large-eddy simulations of tip clearance cavitating flow between a National Advisory Committee for Aeronautics 0012 hydrofoil and the endwall have been performed to investigate the effects of cavitation on vortical structures, turbulence statistics and hydrofoil performance within the tip clearance region. The wall-adapting local eddy-viscosity model is employed to compute the subgrid-scale stress, and the Zwart-Gerber-Belamri cavitation model is used to predict the cavitating flow. The simulation results show that cavitation has insignificant effects on the tip clearance flow structures and the wandering motion of the tip leakage vortex (TLV). Detailed analysis of turbulence statistics indicates that the turbulent kinetic energy and pressure fluctuation inside the TLV core are significantly increased under the effect of cavitation. In addition, it is found that cavitation enhances the unstable wall-normal motion of the TLV, leading to the enhancement of turbulence near the TLV core. The hydrofoil performance affected by cavitation is also investigated, showing that the lift and drag forces acting on the hydrofoil is substantially reduced due to the cavitation.