Rocking shallow foundations interrupt the seismic transmission path from the base of the structure and possess advantages, such as effective seismic isolation, self-resetting capabilities post-earthquake, and low costs. A numerical model of the rocking shallow foundation was developed in OpenSees (version: Opensees 3.5.0) based on field test data using numerical simulation. The effect of different parameters (column height, foundation sizes, top mass, and soil softness and stiffness) on the seismic response characteristics of rocking shallow foundations is investigated, and the seismic response characteristics of rocking shallow foundations are analyzed under the action of sinusoidal waves of different frequencies and various seismic wave types. The results of the study show that, as the height of the column increases, the bending moment decreases and settlement decreases; as the size of the foundation increases, the bending moment increases and settlement increases; as the mass of the top increases, the bending moment increases and settlement increases; and as the soil becomes softer, the bending moment decreases, and settlement increases. Inputting a sine wave that matches the structure’s natural oscillation frequency may induce resonance. This phenomenon can significantly amplify the structure’s vibrations; thus, it is essential to avoid external excitation frequencies that coincide with the foundation’s natural oscillation frequency. Under seismic loading, the rocking shallow foundation can mitigate the bending moment in the superstructure. When the displacement ratio remains within −0.5 to 0.5 percent, the foundation settlement is minimal. However, when the absolute displacement ratio exceeds 0.5 percent, the soil exhibits plastic deformation characteristics, resulting in increased foundation settlement. This study is an important contribution to the improvement of seismic performance of buildings and an important reference for improving seismic design standards and practices for buildings in earthquake-prone areas. In the future, the seismic response characteristics of rocking shallow foundations under bidirectional seismic action will be investigated.