Error · VASP · 5 min read
Your highest band is occupied at some k-points! ... you have included TOO FEW BANDS!!
| Your highest band is occupied at some k-points! Unless you are |
| performing a calculation for an insulator or semiconductor, without |
| unoccupied bands, you have included TOO FEW BANDS!! Please increase |
| the parameter NBANDS in file INCAR to ensure that the highest band |
| is unoccupied at all k-points. It is always recommended to |
| include a few unoccupied bands to accelerate the convergence of |
| molecular dynamics runs (even for insulators or semiconductors). |
| Because the presence of unoccupied bands improves wavefunction |
| prediction, and helps to suppress 'band-crossings.'That is the text of the warning as a user posted it on the VASP forum in January 2013, from VASP 5.2.12, where it appeared at the end of each ionic step. VASP prints it inside a box under a large "WARNING" banner, left out here. A 2008 post shows the same text with small differences in wording.
Checked against the docs · VASP wiki and VASP forum · Last checked 12 November 2026 · Spot a mistake? Tell us
Short answer
VASP needs at least one empty band above the occupied ones, and in your run the highest band is occupied at some k-points, so it warns. For a spin-polarized run, first give MAGMOM realistic starting moments (the default band count assumes 1 per atom); otherwise raise NBANDS. Before VASP 6.6.0, negative MAGMOM values could also cause it, through a known bug.
What does this warning mean?
VASP describes the electrons with a fixed number of bands (the Kohn-Sham orbitals), set by NBANDS. The NBANDS page says that, as a minimum, VASP requires all occupied states plus one empty band, "otherwise, a warning is given". This is that warning: at some k-points, even the highest band VASP computes holds electrons, so there may be occupied states it is not computing at all.
The empty bands matter even though they add nothing to the energy. The NBANDS page explains that with the iterative solvers VASP uses, the bands at the top of the set converge much more slowly than the lowest ones, so a sufficiently large NBANDS is important; the wiki's troubleshooting page adds that if those last bands are occupied, convergence is likely to fail.
The warning does not stop the run. The wiki does not say whether results from such a run can be used; it does say the highest bands should be empty and that convergence is likely to fail when they are occupied, so fix the cause and rerun before you trust the results.
What usually causes it?
The NBANDS page gives the default as the larger of two numbers: half of (NELECT + 2), rounded, plus the larger of NIONS/2 and 3; or 3/5 of NELECT, where NELECT is the number of valence electrons and NIONS the number of atoms. In a spin-polarized run it is increased to account for the starting magnetic moments. The forum's administrator said in 2008 that the default "usually is more than sufficient", so when it is not, look for one of these:
- Starting moments that are too small. Without
MAGMOM, every atom starts with a moment of 1 in a spin-polarized run (theMAGMOMpage's default,NIONS * 1.0). The administrator explained in 2008 that the defaultNBANDSis then estimated for a moment of 1 μB per atom, which may not leave enough spin-up bands when the real moments are much larger (the case was bulk iron); settingMAGMOMto 2 or 3 per Fe atom cleared the warning. - Negative
MAGMOMvalues, before VASP 6.6.0. The Known issues page lists a bug (22 August 2025; noticed in 5.4.4, fixed in 6.6.0): the defaultNBANDSwas computed from the signedMAGMOMvalues instead of their absolute values, "often resulting in too few bands and possible crashes with misleading error messages". It affects only the automaticNBANDSwithISPIN = 2orLNONCOLLINEAR = .TRUE.; the workaround is to setNBANDSyourself. The 6.6.0 Changelog lists the fix: "NBANDSwas reduced if the net magnetic moment is negative." - Systems that need many empty bands. The
NBANDSpage says some transition metals with open f shells may need far more bands than the default, up to NELECT/2 + 2·NIONS, and the troubleshooting page says the default is often insufficient for systems with f orbitals or with meta-GGA functionals. - An
NBANDSset by hand that is too small for the system.
What should I try, in order?
- Check the bands in
OUTCAR. The troubleshooting page's advice: look at the occupations of the highest bands; there should be some with zero occupation at every k-point. - For a spin-polarized run, set
MAGMOMto a realistic starting moment per atom, as the 2008 answer did. See Set up a magnetic calculation. - If any
MAGMOMvalue is negative and your VASP is older than 6.6.0, setNBANDSyourself, the Known issues workaround. Tell a bug from a mistake covers how to find your version. - Raise
NBANDS. The wiki recommends the default, NELECT/2 + NIONS/2, as "a safe choice in most cases"; open f shells may need up to NELECT/2 + 2·NIONS. To test, it suggests a few runs at fixed potential (ICHARG = 12) with an increasing number of bands, starting from NELECT/2 + NIONS/2, until an accuracy of 10⁻⁶ is reached in 10 to 15 iterations. The wiki gives no amount above the default for an ordinary spin-polarized run; that test settles it for your system. - Expect VASP to adjust it. In parallel runs VASP increases
NBANDSuntil it divides evenly among the processes (or theNCOREandKPARgroups), soOUTCARmay show more bands than you set. TheNBANDSpage also notes that RMM-DIIS (ALGO = Fast) is more sensitive to the number of bands than the default Davidson solver.
Monitor shows the job's log, where this warning appears, and Explain this error, in the Inspector, gathers the log's last lines for Ask Verlet, showing you the exact text before anything is sent. Everything on this page works without it.