The rates of indium mass transport between the wetting layer, the quantum dots, and the capping layer are derived from the indium distributions probed by cross-sectional scanning tunneling microscopy of the In 0:5 Ga 0:5 As=GaAs quantum dot system. During capping, a lateral backsegregation from the quantum dots toward the wetting layer is found, reversing the Stranski-Krastanov growth mode during quantum dot formation. This lateral back-segregation critically affects the resulting indium distribution in the wetting layer, the apparent segregation coefficients as well as the quantum dot shape. Furthermore, the strain effect on the segregation coefficient is quantified. V