The solid-state phase transitions of KNO3 were studied at atmospheric pressure in the temperature range 303 to 533 K by synchrotron X-ray powder diffraction. The detectors used were (i) a curved position-sensitive detector and (ii) a moving imaging-plate system built for time-, temperature-and wavelength-dependent powder diffraction. On heating, the transition from o~-KNO3 to /3-KNO3 occurs at 401 K. On cooling with a cooling rate of 7 K min -l, the transition from fl-KNO3 to "y-KNO3 was observed at 388 K. The phase transition from "y-KNO3 to c~-KNO3 occurred at temperatures that strongly depended upon the cooling rate. With a high cooling rate of 15 K min -l from 403 to 303 K, the "y-KNO3 phase was obtained as a pure phase at 303 K, but it was eventually transformed to c~-KNO3 at this temperature, and the phase transition at 303 K was complete within 15 min. With a slow cooling rate of 0.5 K min -l from 403 to 303 K, the h'-KNO3 phase was formed at 391 K and transformed at 370 K to o~-KNO3. With a cooling rate of 7 K min -1 from 403 to 303 K, the 3,-KNO3 phase transformed to o~-KNO3 in a temperature range between 377 and 353 K. The two phases could exist simultaneously in temperature ranges that were apparently dependent upon the thermal history of the sample. The unit-cell parameters of "y-KNO3 from 383 K to room temperature are reported.