According to the results of strain measurements, a kinematically hardening body model is used to describe the process of elastic-plastic deformation of 1X18H9T steel. Special attention is paid to the processes occurring in the surface layers. The model takes into account the increasing tightness of shear deformations deep into the material. The increase in the stress of the plastic flow in depth is described by a second-order polynomial. The main parameters of the surface effect were determined experimentally and by calculations using the method of reduction coefficients in the process of successive approximations: depth, coefficient of hardening of the material, stresses of plastic flow on the surface and inside the material. It is shown that in order to study the near-surface effect by the strain gauge method, it is necessary to give preference to bending tests of samples rather than stretching. The presence of the surface effect explains the following facts: the destruction of the sample during the tensile test does not begin from the surface, but from the inside, the origin of fatigue cracks occurs under the surface, the surface effect practically does not affect the deformed state of the elastic body, but very strongly affects the stress state at the surface.