A microscopic mechanism of the outdiffusion-induced domain inversion i
n KTiOPO4 crystals near the Curie point without applying an external e
lectric field is developed. It is described in terms of a built-in ele
ctric field, for reasons of a gradient of donorlike centers. The predi
cted dominant role of the n-type charges is proved by experimental obs
ervations.