The evolution of microstructure in Al and Cu thin film lines during electromigration has been studied using a transmission electron microscopy. Grain boundary migration was found to be critically involved in the electromigration induced hillock formation that can be described as a three-dimensional growth of a single grain.