Lead-free K
1–xNa
xNbO
3 thin films, as a candidate for sensors and electromechanical and electrocaloric cooling devices, have increasingly received attention. However, for (111)-oriented films, the relation between phase transitions and electrocaloric effect is not clear. Here, we derive the thermodynamic potential of (111)-oriented thin film ferroelectrics K
1–xNa
xNbO
3 based on the 8
th order polynomial function, and then establish the temperature-misfit strain and out-of-plane stress-in-plane misfit strain phase diagrams and calculate electrocaloric (EC) entropy changes Δ
S and temperature changes Δ
T. This study focuses on mechanical and orientation controls of room-temperature EC effect of K
0.5Na
0.5NbO
3 films, which is critical for environmentally friendly electrocaloric refrigeration applications in practice. Under the stress-free and zero misfit strain conditions, the (111)-oriented K
0.5Na
0.5NbO
3 film in an electric field of 30 MV/m has a maximum EC Δ
T of ~18 K near the rhombohedral ferroelectric-paraelectric phase transition temperature (about 673 K). However, an out-of-plane stress of about –6.7GPa can reduce the optimal operating temperature to room temperature where the K
0.5Na
0.5NbO
3 film has the EC Δ
T of ~7.5 K under the action of applied electric field of 30 MV/m. The present work provides theoretical guidance for exploring the strain engineering and orientation engineering of K
1–xNa
xNbO
3-based thin films with optimized electrocaloric and electromechanical properties.