Using anomalous x-ray diffraction around the MnK absorption edge we determined the density of Mn interstitials and its changes during annealing of epitaxial layers of (Ga,Mn)As.