© 2020 European Association for Structural Dynamics. All rights reserved.When there is an optimal damper application issue, superstructure models are installed and strongly connected to the ground. However; there is no consideration of the ground influences. Within this current research, the influence of sandy soil relative density upon damper issues has been analysed. Assessment has been carried out upon the optimal distribution of viscous dampers along with the influence of sandy soil relative density on the structural dynamic response for the n-storey shear building model. The soil-structure model governing equation has also been derived and the Fourier Transformation is used to present the frequency domain equations. An optimized procedure, which is the Steepest Direction Search Algorithm (SDSA), is applied. Minimization of the objective function, which is the base moment behaviour of structure stated within the frequency domain, is done. The fundamental mode response of structural model has been considered and the El Centro (NS) earthquake ground acceleration record is used to conduct the time history analyses. Investigation has been carried out for the sandy soil relative density influence upon the optimal design of structure responses along with the total damper capacity variation influence applied within the optimization level. Since the optimal design alters due to the base moment, the sandy soil influences have been assessed thoroughly. As compared to no damper at all case, the damped system has taken place with low base moment. At a rigid level, the structural response is lower as compared to a different sandy soil relative density. The structural response is enhanced after dampers are added based on proposed objective function. Furthermore, the damaging influence created by the poor ground conditions has also been reduced.