The lateral thermal oxidation process of Al0.98Ga0.02As layers has been studied by transmission electron microscopy. Growing a low-temperature GaAs layer below the Al0.98Ga0.02As has been shown to result in better quality of the oxide/GaAs interfaces compared to reference samples. While the later have As precipitation above and below the oxide layer and roughness and voids at the oxide/GaAs interface, the structures with low-temperature have less As precipitation and develop interfaces without voids. These results are explained in terms of the diffusion of the As toward the low temperature layer. The effect of the addition of a SiO2 cap layer is also discussed.