Embedments of foundations influence the safety of buildings supported by piles during earthquakes. Dynamic centrifuge tests were conducted to investigate the influence of soil liquefaction beneath foundations to seismic earth pressures acting on embedment. The following conclusions were obtained: (1) liquefaction of soil layer beneath the foundation reduces the seismic earth pressure acting on embedment; (2) the existence of non-liquefied layer beneath the foundation reduces the effect of liquefaction on seismic earth pressure; (3) hysteresis damping factor is not influenced by the liquefaction of soil layers beneath the foundation.