The paper presents a numerical investigation of cracking of masonry wall with openings resulting from the asymmetry sedimentation of foundation. Two causes including end sedimentation and middle sedimentation are considered. The cracking process of the masonry wall with openings can be observed. The results indicate that different cracking patterns can be obtained with different sedimentation locations. Only oblique crack initiates and propagates when sedimentation occurs at end of the wall. A ski slope with the tips of the crack pointed outward can be obtained when sedimentation occurs at the middle of the wall.