A robust multilevel preconditioner for the time-harmonic Maxwell equation with high wave number is presented in this paper. We choose a stable continuous interior penalty finite element method as a coarse correction space and design different smoothers for the indefinite algebraic system in different mesh levels. The multilevel method is performed as a preconditioner in the outer GMRES iteration. To give quantitative insight of our algorithm we use local Fourier analysis to analyze the convergence property of the proposed multilevel method. Numerical results are presented to confirm the efficiency of our multilevel method.