For the square-root singularity shear stress found at the tip of a rigid line inhomogeneity (an anti-crack) in piezoelectric media, one possible way of releasing high strain energy is to initiate a micro-crack at the inhomogeneity tip. In our current study, a dislocation pileup model for micro-crack initiation at the inhomogeneity tip is proposed based on Zener–Stroh crack initiation mechanism. An interesting and important physical result that emerges from the analysis is that the critical stress intensity factor for the anti-crack (the line inhomogeneity) can be related to the fracture toughness of a conventional Griffith crack in the same material. Analytical results further show that under mechanical loading, the critical stress and electric displacement intensity factors of an anti-crack are only related to the corresponding intensity factors of stress and electric displacement of the crack, respectively. While if the anti-crack is under displacement loading (with net dislocation pile-up at the inhomogeneity tip), the critical stress and electric displacement intensity factors of an anti-crack depend on both of the total mechanical dislocations b T and electricity dislocations b D .