The influence of the dipolar interaction on the surface magnetostriction is presented. The ferromagnetic film is considered as a set of discrete atomic dipoles neatly ordered in the film. This consideration was limited to simple ferromagnets of high symmetry as body centered cubic (bcc) and face centered cubic (fcc) with [001] axis perpendicular to the plane of the film.