The recent discovery of superconductivity in infinite layer thin films and bulk Ruddlesden–Popper nickelates has stimulated the investigation of other predicted properties of these materials. Among them, the existence of magnetism-driven ferroelectricity in the parent compounds RNiO3 (R = 4f lanthanide and Y) at the onset of the Néel order, TN, has remained particularly elusive. Using diffraction techniques, we reveal here the existence of magnetostriction at TN in bulk YNiO3 single crystals. Interestingly, the associated lattice anomalies ...