Error · VASP · 5 min read

Your highest band is occupied at some k-points! ... you have included TOO FEW BANDS!!

Example
|      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 (the MAGMOM page's default, NIONS * 1.0). The administrator explained in 2008 that the default NBANDS is 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); setting MAGMOM to 2 or 3 per Fe atom cleared the warning.
  • Negative MAGMOM values, 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 default NBANDS was computed from the signed MAGMOM values instead of their absolute values, "often resulting in too few bands and possible crashes with misleading error messages". It affects only the automatic NBANDS with ISPIN = 2 or LNONCOLLINEAR = .TRUE.; the workaround is to set NBANDS yourself. The 6.6.0 Changelog lists the fix: "NBANDS was reduced if the net magnetic moment is negative."
  • Systems that need many empty bands. The NBANDS page 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 NBANDS set by hand that is too small for the system.

What should I try, in order?

  1. 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.
  2. For a spin-polarized run, set MAGMOM to a realistic starting moment per atom, as the 2008 answer did. See Set up a magnetic calculation.
  3. If any MAGMOM value is negative and your VASP is older than 6.6.0, set NBANDS yourself, the Known issues workaround. Tell a bug from a mistake covers how to find your version.
  4. 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.
  5. Expect VASP to adjust it. In parallel runs VASP increases NBANDS until it divides evenly among the processes (or the NCORE and KPAR groups), so OUTCAR may show more bands than you set. The NBANDS page 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.

Updated
12 November 2026
Applies to
VASP 5.4 and 6.x
Source check
Checked against the docs, 12 November 2026

Where can I read more?

The VASP wiki:

The VASP forum:

What was this page checked against?

Checked against the VASP wiki and the VASP forum, 12 November 2026. Every statement about VASP was read against these pages (with the date each was last edited): NBANDS (3 September 2025), MAGMOM (11 June 2026), Troubleshooting electronic convergence (24 March 2026), ALGO (23 June 2026), Known issues (12 November 2026) and the Changelog (3 September 2026). Forum posts are cited as forum posts, not as documentation: the administrator's answers of 5 and 7 May 2008. The warning's text is quoted from a user's post of 23 January 2013, and its 2008 wording from a user's post of 29 April 2008. Every link on this page was opened.

The docs give no answer on whether results from a run that printed this warning can be used, or on how far above the default to raise NBANDS for an ordinary spin-polarized run; both are worded cautiously on this page and are with an expert reviewer.