The simulation of simultaneous diffusion and precipitation of a chemical element during internal oxidation phenomena is presented here, from X-FEM method. This technique seems to be really appropriate when solubility products are very low, or even almost null. In this case, a precipitation front appears and should be properly represented by the numerical simulation. The X-FEM method is then of strong interest, since it allows to know precisely the position of the front all the time of simulation, without remeshing.