To clarify seismic force to buildings and foundations, an effect of dynamic soil and structure interaction is very important. The seismic force to buildings and foundations is influenced by characteristics of both soil deposits and buildings. To investigate the effects of vibration of soil deposits and buildings, a scaled model of building, foundation, and soil deposit is set up on a shaking table. Through analyzing difference between response of foundation without buildings, and surface grounds under the steady state excitation, the horizontal response of foundation is less that of ground surface. This tendency is large with frequency. As one of parameters, there are three kinds of buildings that are 8, 11 and 15 stories models. Under combinations of soil deposits and building properties, seismic forces are compared. The building response is very large when a resonant frequency of building is near to that of soil deposit. The bending moment of piles are affected by not only a base shear of buildings but a displacement of surface ground