Electromigration-induced stress distributions in 200 mu m long, 10 mu m wide aluminum conductor lines in 1.5 mu m SiO2 passivation layers have been investigated in real time using synchrotron-based white-beam x-ray microdiffraction. The results show that a steady-state linear stress gradient along the length of the line developed within the first few hours of electromigration and that the stress gradient could be manipulated by controlling the magnitude and the direction of the current flow. From the current density dependence of the steady-state stress gradient, the effective valence Z* was determined to be 1.6 at 260 degrees C. From the time dependence of the transient-state stress gradient, the effective grain boundary diffusion coefficient D-eff was estimated to he 8.2 X 10(-11) cm(2)/s at 260 degrees C using Korhonen's stress evolution model [M. A. Korhonen, P. Borgesen, K. N. Tu, and C.-Y. Li, J. Appl. Phys. 73, 3790 (1993)]. Both Z* and D-eff values are in good agreement with the previously reported values. (C) 1998 American Institute of Physics.