For synthetic aperture radar (SAR) imaging, a stepped-frequency chirp signal is widely used to obtain ultrahigh range resolution. There are mainly two challenges in the stepped-frequency SAR imaging. One is the subbands synthesis, and the other is the estimation and compensation of amplitude and phase errors of the subbands caused by the radar system and the propagation. An imaging approach for the airborne squinted sliding-spotlight SAR with stepped-frequency chirps is proposed to achieve ultrahigh two-dimensional (2-D) resolution. Due to the squint angle, a Doppler centroid shift is introduced and then a modified space-variant compensation method for the range difference between the subbands is realized via multiplying a phase ramp in the 2-D frequency domain. Moreover, a range-dependent phase gradient autofocus algorithm based on raw data is proposed to estimate and compensate the residual phase error after the internal calibration. Afterward, the frequency-domain synthetic bandwidth method is used to complete the bandwidth synthesis. Finally, the extended Omega-K algorithm is applied to focus the synthesized data. The simulation results and the real data processing results prove the validity of the proposed approach.