We investigate the effect of inhomogeneous elastic deformation on the magnetic anisotropy of Ni71.5Fe28.5 wt.% nanocrystalline film. The in-plane controlled strains are induced in the film by bending of a glass substrate which has a thickness step in the middle. Ferromagnetic resonance measurements reveal the existence of the in-plane unidirectional magnetic anisotropy. The anisotropy behavior directly correlates with the calculated strain gradients. We show that this correlation is well explained by the flexomagnetic effect, which establishes the relation between the magnetization and the inhomogeneous strains. The experimental value of the flexomagnetic coefficient for the thin Ni71.5Fe28.5 wt.% film is 1.5×10 -3 T•m.The flexoeffects are electromagnetomechanical effects in which the electric polarization or magnetization exhibits a linear response to inhomogeneous mechanical impact (elastic strain or stress gradient). Among these effects, the most studied one is flexoelectricity. The coupling between electric polarization and strain gradient in crystals was theoretically investigated as early as the 1960s by