The influence of anodic oxide on the electron concentration near the Ga2O3–n-GaAs interface is studied. The coordinate distribution of electrons is obtained as a function of anodizing voltage, duration of treatment of oxide films in oxygen plasma, temperature, and annealing time. A decrease in the electron concentration in a semiconductor after deposition of anodic oxide is accounted for by the appearance of Ga vacancies which act as acceptors in gallium arsenide.