Deflection of buildings from vertical is a common damage caused by underground mining. Its removal consists in tearing the building apart at the level of one of the storeys, most often in the basement, and then unevenly lifting a part of the building above the tearing plane with the use of piston hydraulic jacks. One of the conditions for a properly carried out rectification is the correct computing of the height of lifting the individual corners of the building. The subject of the article is the deflected from vertical building of large projection (64.0 m × 41.9 m). The building consists of nine dilated segments, which are functionally related. The width of expansion joints between segments is about 10 cm. The deflection from vertical of the building occurred as a result of deformation of the mining area. Due to the significant projection of the building, the deflection of each segment is not the same. It was decided that deflection of the building would be removed by uneven raising of the structure with jacks mounted in the walls. The method of computing the value of uneven raising of the building is presented. In the first step the deflection of each segment was identified. Than the segments were divided into groups, due to their functional solutions. Then, for each group, the average deflection was determined. On the basis of this deflection, the values of uneven raising of each segment were determined. Described procedure made it possible to minimize the number of steps that will appear between the segments. Thanks to this, the building will regain functionality after carrying out the planned renovation.