Thin-walled toroidal shells are widely used in the construction During operation, various defects appear on the surface of the shells, in particular, local depressions on the outer and inner surfaces, causing stress concentration in the structure. A three-dimensional spline option of the finite element method was developed to determine the stress-strain state of a toroidal shell with a local deepening on the outer and inner surface. The numerical experiments were carried out. The regularities of the changes in a stress-strain state of the shell with the change in the geometric parameters of the deepening were noted.