Guide · VASP · 10 min read

How do I add van der Waals corrections (IVDW) in VASP?

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

Short answer

Semilocal and hybrid functionals leave out London dispersion, so wherever dispersion matters, such as between the layers of graphite, they cannot be applied reliably. Add a correction with IVDW (for example IVDW = 11 or 12 for DFT-D3, 20 for Tkatchenko-Scheffler, 202 for many-body dispersion) or use a nonlocal vdW-DF functional (LUSE_VDW = .TRUE.), check that it has parameters for your functional, and use the same choice in every run whose energies you compare.

What does a van der Waals correction add?

London dispersion is a weak, long-range attraction between atoms, which the wiki's figures draw as interactions between fluctuating dipoles. Between the layers of graphite it is what a plain functional misses, as the numbers below show.

The VASP wiki is direct about it: semilocal functionals (LDA, GGA such as PBE, meta-GGA) and hybrid functionals do not include London dispersion, so they cannot be applied reliably to systems where it plays an important role. The fix is to add a dispersion term to the functional's energy. VASP offers three kinds:

  • Atom-pairwise corrections: a sum over pairs of atoms, each pair attracting with a strength that falls off with distance and is damped at short range. DFT-D2, DFT-D3, DFT-D4 and Tkatchenko-Scheffler are of this kind. Chosen with IVDW.
  • Many-body dispersion: includes interactions among three, four or more atoms at once, not only pairs. Also chosen with IVDW.
  • Nonlocal vdW-DF functionals: a correlation term computed from the electron density at pairs of points. Chosen with LUSE_VDW and the matching GGA.

For the families of functionals underneath, see Which functional should I use?

When do I need one?

Layered materials. The wiki's graphite examples put numbers on it. With PBE alone, the lattice constant along the stacking direction comes out at 8.84 Å against 6.71 Å measured, and the binding between layers is about 1 meV per atom, against a reference value of 0.048 eV per atom from the random-phase approximation (RPA, a more expensive method). With the Tkatchenko-Scheffler correction, the wiki's example finds 6.66 Å.

Molecules on surfaces. The wiki carries parametrizations made for exactly this: the Tkatchenko-Scheffler page offers one (LTSSURF) designed for organic molecules adsorbed on metal surfaces, and the dDsC page cites a study of hydrocarbons adsorbed on Pt(111). The wiki gives no rule for when an adsorbate needs a correction; computing the adsorption energy with and without one shows how much it matters for your system.

Anything else held together by dispersion, by the wiki's own criterion: wherever London dispersion plays an important role, a functional without it cannot be trusted.

Forces, stress and dynamics too. Every IVDW method adds its term to the energy, the forces and the stress tensor, so relaxations, molecular dynamics and finite-difference vibrations all include it. It is not available for phonons from density-functional perturbation theory.

Which correction should I use?

The IVDW methods, with the version each first appeared in:

IVDWMethodKindFrom VASPWhat the wiki notes
1 or 10DFT-D2 (Grimme)Pairwise5.2.11The wiki recommends the more accurate DFT-D3 instead. Defaults only for elements H to Xe.
11DFT-D3, zero dampingPairwise5.3.4Dispersion coefficients depend on each atom's surroundings.
12DFT-D3, Becke-Johnson dampingPairwise5.3.4The same, with a different damping function.
13DFT-D4Pairwise6.2 (external package)Needs VASP built with the DFT-D4 library.
15DFT-D3 from the simple-DFT-D3 libraryPairwise6.6.0 (external package)More damping variants.
2 or 20Tkatchenko-SchefflerPairwise5.3.3Coefficients from the electron density, so they follow the chemical environment.
21Tkatchenko-Scheffler, iterative HirshfeldPairwise5.3.5
4dDsCPairwise5.4.1
202Many-body dispersion (MBD@rsSCS)Many-body5.4.1
263MBD with a fractionally ionic modelMany-body6.1.0
14The libMBD libraryPairwise and many-body6.4.3 (external package)Much faster than VASP's own Tkatchenko-Scheffler and MBD (analytical forces); the wiki strongly recommends it where available.

IVDW = 0, the default, adds nothing. The old LVDW = .TRUE. is obsolete and now sets IVDW = 1.

Match the correction to your functional. The parameters are fitted per functional:

  • DFT-D3 (IVDW 11, 12) has default parameters for PBE, RPBE, revPBE and PBEsol, for TPSS, M06-L and SCAN, for B3LYP and PBE0, and for Hartree-Fock. With any other functional you must set them yourself (VDW_S6, VDW_S8, VDW_SR or VDW_A1, VDW_A2); the DFT-D3 page links Grimme's list of parametrized functionals.
  • DFT-D2 has damping defaults for PBE, BP, revPBE, PBE0, TPSS and B3LYP; with any other functional VDW_S6 must be set.
  • MBD (IVDW = 202) has a default for its free parameter only with PBE, PBE0, HSE06, B3LYP and SCAN.

Tkatchenko-Scheffler, MBD and dDsC (IVDW 2 or 20, 202, 4) need, according to their pages:

  • POTCARs from the PAW dataset version 52 or later;
  • a dense FFT grid: the wiki strongly recommends PREC = Accurate and says to avoid PREC = Low;
  • elements from the first six rows of the periodic table except the lanthanides, which is where their free-atom data stops; for Tkatchenko-Scheffler and MBD you can supply the values yourself (VDW_ALPHA, VDW_C6, VDW_R0).

For MBD the wiki adds that, because dispersion is long-ranged, the energy's convergence with the number of k-points should be checked carefully.

A nonlocal vdW-DF functional is a different route: set LUSE_VDW = .TRUE. with the exchange part it was built for. For optPBE-vdW, the wiki's input is:

INCAR
GGA      = OR
AGGAC    = 0.0
LUSE_VDW = .TRUE.
LASPH    = .TRUE.

AGGAC = 0.0 switches off the GGA part of the correlation, so that only LDA is used for the local correlation, as the GGA page explains. The wiki recommends LASPH = .TRUE. with every vdW-DF, because these functionals give less spherical densities. The ordinary PBE or LDA POTCARs can be used. Before VASP 6.4.3, the IVDW_NL = 1 kernel needs the file vdw_kernel.bindat copied into the run folder, or generating it takes hours; from 6.4.3 it takes about two minutes. Some vdW-DF functionals give noisy energies that slow electronic convergence; the wiki suggests PREC = Accurate if ALGO = All fails.

How do I write it in the INCAR?

A pairwise correction is one line on top of your usual settings. For DFT-D3 with Becke-Johnson damping on PBE:

INCAR
GGA  = PE      ! or leave it out with PBE POTCARs
IVDW = 12      ! DFT-D3(BJ); its parameters for PBE are built in

The wiki's graphite example uses Tkatchenko-Scheffler:

INCAR
IVDW       = 20
LVDW_EWALD = .TRUE.
PREC       = Accurate

LVDW_EWALD = .TRUE. computes the lattice sum by Ewald summation instead of a sum over pairs within a cutoff radius, as the DFT-D2 page describes. The LVDW_EWALD page names the pairwise schemes it applies to: DFT-D2, DFT-ulg and the Tkatchenko-Scheffler method. Its default is .FALSE..

Cite the method's papers: the DFT-D3 and vdW-DF pages ask for them by name.

How do I know the correction is doing its job?

Check that VASP read it. OUTCAR opens with VASP's reading of your input:

Terminal
grep -E "IVDW|LUSE_VDW|GGA" OUTCAR

Compare against a known number for a similar system. The wiki's graphite series shows why one number is not enough:

Graphite, from the wikiInterlayer binding (eV per atom)
PBE aloneabout 0.001
PBE + Tkatchenko-Scheffler (IVDW = 20)0.083
PBE + many-body dispersion (IVDW = 202)0.050
RPA reference0.048

The Tkatchenko-Scheffler correction gives a good interlayer distance and still overestimates the binding strongly; the wiki puts that down, at least in part, to the missing many-body terms. A correction that fixes the structure does not automatically fix the energy. Test the quantity you will report.

Check the k-points with the correction on. The MBD page asks for a careful k-point check because dispersion is long-ranged; see How do I test convergence?

What goes wrong with van der Waals corrections?

MistakeWhat you would seeWhat to do
No correction for a layered materialLayers too far apart and bound far too weakly (graphite with PBE: 8.84 Å against 6.71 Å).Add a correction or a vdW-DF functional.
Comparing energies from runs with and without the correctionThe correction is part of the total energy, so the difference mixes two energy surfaces.The same IVDW (or vdW-DF) in every run you compare.
DFT-D3 with a functional it has no defaults forParameters that do not belong to your functional.Set them from Grimme's list, or use a functional with defaults.
DFT-D2 by habitAn older, less accurate method.DFT-D3, as the wiki recommends.
Tkatchenko-Scheffler or MBD with old POTCARsThey need PAW dataset version 52 or later.Use a newer POTCAR set.
Tkatchenko-Scheffler, MBD or dDsC with PREC = LowAn FFT grid too coarse for the method.PREC = Accurate.
An element outside the first six rows (or a lanthanide) with TS or MBDNo built-in free-atom data.Set VDW_ALPHA, VDW_C6 and VDW_R0.
vdW-DF without AGGAC = 0.0The GGA correlation stays on, which the GGA page says should in principle be turned off.Copy the wiki's input for your vdW-DF.
Trusting a correction because the structure is rightThe energy can still be off, as graphite with TS shows.Check the quantity you report.
Expecting a correction in phonons from perturbation theoryIVDW corrections are not available there.Finite differences instead.

In Set up, Edit the whole INCAR takes IVDW, or LUSE_VDW with its GGA and AGGAC, on top of any preset, and Verlet writes them into the run's INCAR. Tags with a digit in their name, such as VDW_S6 or PARAM1, cannot be set there yet; add them to the INCAR in the run's folder on the cluster. Compare runs then shows two runs side by side, every setting that differs and each run's last energy, which is how you check a run with the correction against one without. Everything above works without it.