The paper studies the possibility of attenuating the wave intensity on the surface of a half-space by installing a barrier based on the solution of a three-dimensional problem of the dynamic theory of partially saturated poroelasticity using the boundary element method. The basic idea of using a wave barrier is to create an obstacle to the propagation of surface waves over the territory occupied by structures or constructions. Open or unfilled trenches can be effective when organizing this method of protection. In the paper, numerical modeling is performed using the boundary element method based on the combined use of boundary integral equations of the direct approach of the three-dimensional isotropic theory of poroelasticity and the integral Laplace transform. To describe the poroelastic medium, the Biot model of a poroelastic material in the case of partial saturation is used. The solution in the time domain is obtained using a method based on quadrature formulas for calculating the convolution integral and referred to hereinafter as the step method. The problem of the action of a dynamic load on a deformable partially saturated poroelastic half-space with a vertical barrier in the form of a trench is considered. To assess the efficiency of wave damping by a barrier on the surface of a half-space, the amplitude reduction factor is calculated for different values of the saturation coefficient of the poroelastic material of the half-space, geometric dimensions of the barrier and boundary conditions. Graphs and maps of the amplitude reduction factor are provided. The simulation results show that the presence of a barrier in the form of a trench leads to a decrease in the Rayleigh wave amplitude at points located behind the trench, for all considered values of the parameters under study. It is also shown that the condition of permeability or impermeability of the trench boundary does not have a noticeable effect on its properties in reducing the intensity of surface waves. The results obtained can be useful for developing effective methods for protecting buildings and structures from dynamic effects.