Guide · VASP · 11 min read

Which exchange-correlation functional should I use in VASP, and when do I need DFT+U?

Checked against the docs · VASP wiki · Last checked 12 November 2026 · Spot a mistake? Tell us

Short answer

Choose the functional for your system and the property you need, from what the literature on similar systems used, and from what you can afford: GGAs such as PBE (GGA = PE) and PBEsol (GGA = PS) are cheap, meta-GGAs such as r2SCAN (METAGGA) cost a little more, and hybrids such as HSE06 (LHFCALC = .TRUE.) cost orders of magnitude more. DFT+U (LDAU = .TRUE.) adds an on-site interaction for localized d or f electrons, which GGAs often describe badly; total energies with different U values cannot be compared.

What is an exchange-correlation functional?

DFT writes the energy of the electrons as a sum of terms. All of them are known exactly except one: the exchange-correlation energy, the part that accounts for how electrons avoid each other. The VASP wiki says it plainly: the accuracy of what you calculate depends strongly on the approximation you choose for it. That approximation is the functional.

Hundreds have been proposed. The wiki sorts them into families, each adding something to the one before:

  • LDA (local density approximation) uses only the electron density at each point.
  • GGA (generalized gradient approximation) adds the gradient of the density. PBE and PBEsol are GGAs.
  • Meta-GGA adds the kinetic-energy density (or the Laplacian of the density). SCAN and r2SCAN are meta-GGAs.
  • Hybrid functionals replace part of the GGA exchange with Hartree-Fock exchange. PBE0 and HSE06 are hybrids.

Two add-ons sit on top of any of these: DFT+U, an extra interaction on the d or f electrons of chosen atoms, and a van der Waals correction for dispersion forces, which semilocal and hybrid functionals leave out (see How do I add van der Waals corrections?). For the idea behind all of this, see What is DFT?

How do I choose?

The wiki gives two criteria, and no single answer:

  • Appropriate for the system and the property. Some functionals were built with no particular property in mind; others specifically for van der Waals interactions, strongly correlated systems or band gaps. The wiki's advice is to choose according to what the literature reports for your kind of system.
  • Affordable. Hybrids and many-body methods cost orders of magnitude more than semilocal functionals (LDA, GGA, meta-GGA). Before committing, try a smaller cell with a lower cutoff and fewer k-points, then scale up and watch how the time and memory grow. If it is out of reach, use a cheaper method; for strongly correlated systems, the wiki notes, DFT+U may be as reliable as the much more costly hybrids.

Whatever you choose, use the same functional for every run you compare: relaxation, static run, dynamics and the reference runs of an energy difference.

What does the wiki say each functional is for?

FunctionalFamilyWhat the wiki saysINCAR
LDA (Perdew-Zunger)LDANearly exact for the homogeneous electron gas, but in general quite inaccurate for real systems and rarely used nowadays.GGA = CA
PBEGGAThe GGA most commonly used in solid-state physics, and still widely used, in particular for geometry optimization.GGA = PE
PBEsolGGAListed in the GGA table as "revised PBE for solids". The wiki's Schottky-barrier how-to relaxes silicon with PBEsol "to get the correct lattice parameter" before an HSE06 band structure.GGA = PS
SCANMeta-GGAMeta-GGAs like SCAN can be more accurate than GGAs and more broadly applicable, and are still fast enough for very large systems. SCAN itself may lead to numerical instabilities.METAGGA = SCAN
rSCAN, r2SCANMeta-GGARegularized versions of SCAN, numerically more stable, which should give similar results. r2SCAN is available from VASP 6.2.0.METAGGA = RSCAN or R2SCAN
PBE0HybridWhat LHFCALC = .TRUE. gives when nothing else is set: 25% Hartree-Fock exchange (AEXX = 0.25) at all distances.LHFCALC = .TRUE.
HSE06Hybrid (range-separated)Hartree-Fock exchange only at short range. The wiki calls short-range hybrids like HSE06 preferable for periodic solids, because they converge faster with the number of k-points.LHFCALC = .TRUE., GGA = PE, HFSCREEN = 0.2
HSEsolHybrid (range-separated)The same construction on PBEsol.LHFCALC = .TRUE., GGA = PS, HFSCREEN = 0.2
MBJMeta-GGA potentialA potential only, with no matching energy, aimed at band gaps or magnetic moments. It gives no forces, so nothing can relax.see the METAGGA page

If you set nothing, VASP uses the functional the POTCARs were made with: the LEXCH line inside each POTCAR (PE, PBE, for the PBE sets). The wiki says the PAW potentials transfer to other functionals quite well, so you can choose freely in the INCAR, despite the prominent warning VASP prints. Never edit LEXCH in the POTCAR: VASP needs it to correct the energy inside the PAW spheres.

From VASP 6.4.3, the XC tag can set any linear combination of LDA, GGA and meta-GGA functionals.

What does a meta-GGA need?

Three things, from the METAGGA page:

  • POTCARs with the core kinetic-energy density. Almost all recent ones have it; some, such as O_GW, do not. Check with:

    Terminal
    grep kinetic POTCAR

    POTCARs without core electrons (H, He, Li_sv, Be_sv and their _GW variants) return nothing and can still be used with every meta-GGA.

  • LASPH = .TRUE., which the wiki strongly recommends for accuracy: it includes the non-spherical contributions inside the PAW spheres.

  • Patience with convergence. If the electrons do not converge, the wiki suggests converging with PBE first and starting the meta-GGA run from that WAVECAR, and trying ALGO = A, which is often more stable, especially with vacuum in the cell.

What does a hybrid need?

  • The switch and the flavor. LHFCALC = .TRUE. alone gives PBE0. Add GGA = PE and HFSCREEN = 0.2 for HSE06; the List of hybrid functionals page has the input for each one. HFSCREEN works only with GGA = PE, PS or CA.
  • PBE POTCARs, which the wiki recommends in general for hybrids.
  • A suitable electronic algorithm. The LHFCALC page recommends ALGO = Damped (with TIME = 0.5, reduced if it does not converge) or ALGO = All; ALGO = Normal can also work. It warns against ALGO = Fast, which is not properly supported and prints no warning.
  • ISIF = 2 if you need the stress. With LHFCALC = .TRUE. the default is ISIF = 0, so no stress is computed.
  • Time. Start small, as the wiki advises, before the full cell.

When do I need DFT+U?

LDA and GGA often fail for materials with localized d or f electrons, also called strongly correlated: the wiki names unrealistic one-electron energies and too small magnetic moments as the usual signs, and antiferromagnetic NiO as the classic example. DFT+U treats those electrons on chosen atoms with an extra on-site interaction, and the wiki presents it as a cheap alternative to hybrids for such systems.

The LDAU page's typical setup, for a cell with a transition metal first and another species second:

INCAR
LDAU     = .TRUE.
LDAUTYPE = 2          ! Dudarev's simplified approach, the default
LDAUL    = 2 -1       ! add U on d states (l = 2) of species 1; -1 = none on species 2
LDAUU    = 7.00 0.00  ! U in eV, per species
LDAUJ    = 1.00 0.00  ! J in eV, per species
LMAXMIX  = 4

The values 7 and 1 eV are the wiki's illustration, not a recommendation. What each line means:

  • One value per species (not per atom) for LDAUL, LDAUU and LDAUJ.
  • LDAUTYPE picks the variant: 1 is Liechtenstein's rotationally invariant form, 2 (the default) Dudarev's simplified one, 4 is like 1 without exchange splitting, and 3 is the linear-response approach used to compute U.
  • LMAXMIX = 4 for d elements (6 for f) often speeds convergence, and is strictly required for a band structure that reads a DFT+U CHGCAR (see band structures and DOS).
  • LASPH = .TRUE. The LASPH page calls it essential for accurate energies and band structures of f elements, 3d elements and transition-metal oxides, in particular with DFT+U, hybrids, meta-GGAs or vdW-DF.

Where U comes from. The wiki names three routes: the constrained random-phase approximation, the linear-response approach (LDAUTYPE = 3), or, as in many applications, fitting U to experimental data.

Energies with different U cannot be compared. The LDAUTYPE, LDAUU and LDAUJ pages all warn that the total energy depends on U and J, so energies from runs with different U or J (or different U − J in Dudarev's approach) are not meaningfully compared. This matters for any energy difference that mixes runs with and without U; see How do I compute a formation energy?

How do I check what my run used?

Read VASP's own record. OUTCAR opens with a summary of the input it used:

Terminal
grep -E "GGA|METAGGA|LHFCALC|HFSCREEN|AEXX|LDAU|LASPH" OUTCAR

Check the POTCARs. grep TITEL POTCAR lists the potentials (for example PAW_PBE Ti_pv 07Sep2000); grep LEXCH POTCAR the functional each was made with.

Test the cost before the production run, as the wiki advises: a smaller cell, a lower cutoff and fewer k-points first.

Compare with the literature on your kind of system. That is where the wiki sends you for the choice itself; reproduce a published number for a known material with your settings before trusting a new one.

What goes wrong with functionals?

MistakeWhat you would seeWhat to do
Mixing functionals across runs you compareEnergy differences between runs on different energy surfaces.One functional for the whole series.
Editing LEXCH in the POTCARWrong energies: VASP uses it to correct the PAW spheres.Leave the POTCAR alone; set GGA, METAGGA or XC in the INCAR.
A meta-GGA with a POTCAR lacking the kinetic-energy densityThe METAGGA page requires the information for every meta-GGA that depends on the kinetic-energy density; it does not say whether VASP stops or warns without it, so do not count on an error.grep kinetic POTCAR; choose a potential that has it.
A meta-GGA, DFT+U or hybrid run without LASPH = .TRUE.Less accurate energies, especially for d and f elements and oxides.LASPH = .TRUE.
ALGO = Fast with a hybridPoor convergence, with no warning printed.ALGO = Damped or All.
Expecting a stress from a hybrid runNo stress: the default is ISIF = 0.ISIF = 2.
HFSCREEN with a functional other than PE, PS or CANo screened version exists for the others.Use one of those three.
Comparing energies with different UMeaningless differences, the wiki warns.Same U and J in every run you compare.
LDAUL, LDAUU or LDAUJ with one value per atomVASP expects one per species; the wiki does not say what it does with the wrong count, so do not count on an error.One value per species.
A DFT+U band structure with the default LMAXMIXBands that differ from the self-consistent run, often by a lot.LMAXMIX = 4 (d) or 6 (f).

In Set up, the potentials come from your lab's own POTCAR library, from the functional folder you name there. Edit the whole INCAR takes the tags on this page, such as GGA, METAGGA, LHFCALC or the LDAU set, and Verlet writes them into the run's INCAR as you left them. Compare runs then lists every setting that differs between two runs, so a functional that changed between them shows at once. Everything above works without it.