the problem of protecting buildings and structures from vibrations of natural and artificial nature is im-portant for modern construction. One of such modern methods of protection is seismic pads. The purpose of this work was to study the effect of adding a layer of granular metamaterial under a slab foundation on the vibration of a building under the influence of seismic shear waves (S-waves). To achieve this objective, the finite element method (FEM) was used in combination with Cam-Clay models. The FE model consists of a ten-story superstructure rested on the slab foundation, under which there is a layer of granular metamateri-als. 16 models were created taking into account changes in the values of these parameters (pad thickness; density; cohesion; critical state strength parameter (M); Young's modulus-Poisson's ratio). The dynamic analysis performed using the software package Abaqus/CAE showed the effectiveness of granular met-amaterials in their ability to dissipate seismic energy and significantly reduce vibration transmitted from the ground to the building.