The thermal stability of piezoelectricity in lead-free oxides is enhanced up to 300 °C with little loss of 6%. This record-value is achieved by a synergistic effect of shortening the polar ordering range and pinning the polar state in fine-grained oxides.