In this paper, the effect of electric boundary conditions on Mode I crack propagation in ferroelectric ceramics is studied by using both linear and nonlinear piezoelectric fracture mechanics. In linear analysis, impermeable cracks under open circuit and short circuit are analyzed using the Stroh formalism and a rescaling method. It is shown that the energy release rate in short circuit is larger than that in open circuit. In nonlinear analysis, permeable crack conditions are used and the nonlinear effect of domain switching near a crack tip is considered using an energy-based switching criterion proposed by Hwang et al.(Acta Metal. Mater.,1995). In open circuit, a large depolarization field induced by domain switching makes switching much more diffcult than that in short circuit. Analysis shows that the energy release rate in short circuit is still larger than that in open circuit, and is also larger than the linear result. Consequently,whether using linear or nonlinear fracture analysis, a crack is found easier to propagate in short circuit than in open circuit, which is consistent with the experimental observations of Kounga Njiwa et al.(Eng. Fract. Mech., 2006).