The uniaxial compression tests are conducted for the specimens with single pre-existing flaw. Numerical simulations using PFC (Particle Flow Code) are carried out to investigate the localization phenomenon. The formation and evolution of deformation localization are studied with PFC models, including the one of intact and different flaw inclination. The dips change from 0 ̊ to 75 ̊. Based on the simulation results, the effects of pre-existing flaw on the macro shear zone are analyzed. Compared with the intact specimen, the deformation localization is more likely to occur in the pre-flawed specimen, because the flaws accelerate the development of localization phenomenon. The flaw advances the micro-crack emergence and accelerates their increase. It is also found that the flaw inclination has an effect on the formation and evolution of the shear zone. By affecting the distribution of micro-cracks, the flaw changes the macro shear zone of specimens.