Both the reflection inside a hemisphere solid immersion lens (SIL) and the reflection inside the gap between the SIL and the optical recording medium are considered. The near-field SIL imaging theory for high numerical aperture is developed by using the vector diffraction and thin-film optics. Numerical results show that the spot size, Strehl ratio, and sidelobe intensity have an oscillatory behavior with the change of thickness of the air gap, which results from the interference effect of the transmitted field. We find that for smaller spot size, the Strehl ratio is smaller but the sidelobe intensity is larger. A certain thickness of air gap is useful for optical storage, which is less than 63 nm for the system in the simulated examples.