In the present study, centrifuge tests for small-scale specimens were performed to investigate the dynamic soil pressure of the basement of buildings subjected to seismic ground motions. To investigate the effect of the embedded depth of basement, a deep basement model fixed to rock (model 1) and a shallow basement model embedded in soil (model 2) were tested. The soil pressures acting at the front wall (Dynamic soil pressure, DSP) and back wall (Soil pressure at back wall, BSP) were measured. Under the Northridge earthquake (with PGA(b) = 0.33 g), DSP of Model 1 (fixed based model) reached 100 kPa showing an increasing linear distribution from bottom to top. The DSP profile was similar to the profile of relative displacement between the basement and soil. Interestingly, BSP decreased to 0 as a gap occurred between the soil and basement wall. On the other hand, in the case of model 2 with a smaller depth, the relative displacement between the basement and soil was smaller due to the influence of flexible base. As a result, DSP (<20 kPa) was smaller and BSP was greater than those of the deep basement model fixed to rock. The tested soil pressures were compared with the predictions of existing models.