We report a sensitive technique to study domain rearrangement in ferroelectric thin films using in situ second harmonic generation ͑SHG͒ measurements. The following film system on a MgO substrate was studied: KNbO 3 ͑110͒ʈ120 Å SrTiO 3 ͑100͒ʈMgO͑100͒. From x-ray diffraction, four possible domain variants in the film growth plane were determined to be KNbO 3 ͓110͔ʈSrTiO 3 and MgO͓001͔, ͓001͔, ͓010͔, or ͓010͔ denoted as variants Xϩ, XϪ, Y ϩ and Y Ϫ, with area fractions A Xϩ , A XϪ , A Y ϩ and A Y Ϫ , respectively, in the film growth plane. The SHG signal ͑532 nm͒ from the films generated by a transmitted fundamental beam of 1064 nm was measured and theoretically correlated to the area fractions of different domain variants in the film. The magnitude and signs of net area fractions ͑A Xϩ ϪA XϪ ͒ and (A Y ϩ ϪA Y Ϫ ͒ were determined as a function of external field applied along the MgO͗001͘ direction in the film growth plane. No remnant poling was observed in KNbO 3 films after application and removal of external fields up to 10 kV/cm at room temperature. We propose mechanisms to correlate this behavior to the pinning of domain wall motion by low angle grain boundaries in KNbO 3 .