No. In the Gaussian integers, choose
Indeed, substituting gives , so is a prime ideal and its contraction is . Put . Modulo , becomes in , so . Therefore
We show that is not an integral element over , using a direct reduction argument. Write , viewed inside . There is a ring homomorphism
which reduces rational coefficients modulo . It is well defined because denominators in are not divisible by , and in . In particular, and .
If satisfied a monic equation over , say
multiplication by would give an equality in :
Applying gives in , a contradiction. Consequently
This exhibits why localization of an integral extension at a prime need not be integral. Localizing both rings by the same multiplicative subset preserves an integral extension, but inverts additional elements, including , whose image at the other prime ideal is zero. The original extension is integral because satisfies the monic equation : the subalgebra generated by finitely many integral elements property applies to .