Electrical instruments and devices contained in cabinets for controlling nuclear power plants require seismic qualification; likewise, in-cabinet response spectrum (ICRS) is necessary. Gupta et al. (1999) suggested the Ritz method, where rocking, frame bending, and plate bending behaviors of cabinets are considered, as a method for determining ICRS. This research proposes a method to determine the rocking stiffness of cabinets, which represents its rocking behavior. The cabinet is fixed on mounting frames and is connected to the base concrete by anchors. When horizontal excitation is applied to the cabinet, the mounting frames at anchors are locally deformed, the mounting frames are bent, and then rocking in the cabinet becomes evident. A method to determine equivalent vertical spring stiffness representing the local deformation of the mounting frames at anchors is then proposed. Subsequently, the rocking stiffness of this mounting frame is calculated upon assumption of the mounting frame as an indeterminate beam.