The study of the interaction between highly charged ions and solid surfaces not only has great significance for basic scientific research such as atomic physics, astrophysics, and high energy density physics but also has promising application prospects in biomedicine, nanotechnology, surface analysis, and microelectronics. In this paper, the intermediate Rydberg states formed during highly charged
${\rm{O}}^{7+}$
and
${\rm{N}}^{6+}$
ions incident on Al surface are studied theoretically by using the two-state vector model. Both the probability of electron capture into different Rydberg states
$\left(n_{A}=2-7\right)$
and the most probable neutralization distances are given. The calculation shows that the larger principal quantum number
$n_{A}$
is relevant to smaller probability. Therefore, the X-rays emitted by
${\rm{O}}^{7+}$
and
${\rm{N}}^{6+}$
ions incident on the Al surface come mainly from the de-excitation of the smaller
$n_{A}$
to the ground state. In order to confirm the calculations, we measured the X-ray emission spectra of
${\rm{O}}^{7+}$
and
${\rm{N}}^{6+}$
ions in collisions with the Al surface in the energy range of 3–20 keV/q. The experiments were performed at an ECR ion source located in Institute of modern physics. We also calculated the transition energies (n
p–1
s) from different high Rydberg states to the ground state by using the FAC code. The center of the measured
KX-ray peak is close to the calculated transition energy from the principal quantum number n = 2 to n = 1, it is consistent with our results obtained by the two-state vector model as well. In addition, we found the experimental
KX-ray yield for
${\rm{O}}^{7+}$
ions incidence at lower energy collisions is almost the same with
${\rm{N}}^{6+}$
ions, but larger at higher energy collisions. When the ion incident kinetic energy is low, the X-ray emission is mainly owing to the decay of “above the surface” hollow atoms. Because of the small difference in the critical distances for the capture of electrons by
${\rm{O}}^{7+}$
and
${\rm{N}}^{6+}$
to form hollow atoms, the X-ray yields produced in both cases are almost the same at low energy collisions. In contrast, as increasing the incident energy, the ions have a long-range in the target, so the contribution from the decay of “above the surface” and “below the surface” hollow atoms need to be considered at the same time.