As the counterpart of classical theorems on cycles of consecutive lengths due to Bondy and Bollobás in spectral graph theory, Nikiforov proposed the following open problem in 2008: What is the maximum C $C$ such that for all positive ε
<
C $\varepsilon \lt C$ and sufficiently large n $n$, every graph G $G$ of order n $n$ with spectral radius ρ(
G
)
>
MathClass-open⌊
n
2
4
MathClass-close⌋ $\rho (G)\gt \sqrt{\lfloor \frac{{n}^{2}}{4}\rfloor }$ contains a cycle of length ℓ $\ell $ for each integer ℓ
∈[3
,(C
−
ε
)
n
] $\ell \in [3,(C-\varepsilon )n]$. We prove that C
≥
1
4 $C\ge \frac{1}{4}$, improving the existing bounds. Besides several novel ideas, our proof technique is partly inspired by the recent research on Ramsey numbers of star versus large even cycles due to Allen, Łuczak, Polcyn, and Zhang, and with aid of a powerful spectral inequality. We also derive an Erdős–Gallai‐type edge number condition for even cycles, which may be of independent interest.