The invention provides a lab device for evaluating the hi-pressure and hi-temperature cementing quality of mud cakes, which essentially comprises a hi-temp and hi-pressure vessel 19, a simulated wellhole 13, an intermediate container 22, a heating and a cooling system, a pressure source and a pressure system, a data acquisition controller 23, a computer 30 and an output equipment 31. The function of the invention is to simulate the in-well pressure and temperature condition, realize such continuous experimental operations as well-hole type filtering of drilling fluid, rinsing and replacing of drilling fluid, injecting of well-solidifying fluid and curing of well-solidifying fluid, etc., simulate and evaluate the impact of in-well drilling fluid and the existing of mud cake on the cementing quality of the interface of the well-solidifying fluid, evaluate the flushing effects of different flushing fluids on circular space, measure the shearing and cementing strength of the interface between the flushing fluid and the circular space, measure the hydraulic cementing strength of the interface between the flushing fluid and the circular space, and provide experimental data for the optimal selection and engineering design for the drilling fluid and well-solidifying fluid in well drilling in oil field.