A finite element model capable of predicting the temperature history, evolution of microstructure and residual stresses in the quenching process is presented. Proposed model was integrated into Msc. Marc software via user subroutines. Verification of the model was performed by X-ray diffraction residual stress measurements on a series of steel cylinders quenched. (C)2010 Journal of Mechanical Engineering. All rights reserved.