DFTB+

Density-functional tight binding: approximate DFT with a good cost-to-accuracy ratio.

Tool 023 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

DFTB+, open-source tool for fast methods: semi-empirical and tight-binding: Density-functional tight binding: approximate DFT with a good cost-to-accuracy ratio.

What DFTB+ is

DFTB+ implements density-functional tight binding (DFTB), an approximation to DFT in which the Hamiltonian is assembled from pre-tabulated two-centre integrals and a repulsive potential stored in Slater-Koster files for each pair of elements. Self-consistent charge corrections (DFTB2) and third-order terms (DFTB3) restore charge transfer and improve hydrogen-bonded and charged systems. The result is an electronic-structure method that treats thousands of atoms in molecular dynamics, provided parameter sets exist for the elements involved.

Input is an HSD (human-friendly structured data) file, dftb_in.hsd, referencing a geometry in gen, XYZ or VASP format and a Slater-Koster set such as mio, 3ob or matsci from dftb.org. Outputs include energies, forces, band structures, charges and trajectories. Periodic systems with k-points, spin polarisation, spin-orbit coupling, DFT+U-type corrections, dispersion corrections, linear-response and real-time TDDFTB, non-equilibrium Green's function transport and molecular dynamics are available. The xTB Hamiltonians are reachable through tblite, and ASE, a Python API and the i-PI socket interface connect it to other tools.

The quality of results depends on the Slater-Koster parameter set, and coverage of element pairs is uneven.

Features

What it is for

Verified facts

FamilyFast methods: semi-empirical and tight-binding
Language or basisFortran
Repositoryhttps://github.com/dftbplus/dftbplus (GitHub)
LicenceNo licence detected by GitHub; read the repository before reuse
Main language on GitHubFortran
Last commit2026-11-27
Latest release26.1 (2026-11-20)
Stars445 on 2026-11-28
Open issues and pull requests93 on 2026-11-28
Repository created2017-06-02
Verified2026-11-28 by MolForge's checking script, against the host's API

Where DFTB+ fits

For screening many structures or treating very large systems at a fraction of the DFT cost.

It is the first place to look when you want screening many structures very fast.

Our comments on DFTB+

MolForge does not run DFTB+ in production. This page is a verified pointer, not a review: the facts above come from the repository on the date shown, the description is ours, and we make no claim about accuracy or speed that we have not measured. If you maintain DFTB+ and something here is wrong or out of date, write to hello@molforge.ai and we will correct the source file.

Test status

Not tested by MolForge. To check DFTB+ yourself: clone the repository, follow the installation section of its README, and run the test suite the project ships before trusting a result; the last-commit date and the open issue count above tell you how alive the project is.

Questions people ask

Where do I get Slater-Koster parameters for DFTB+?
From dftb.org, which hosts sets such as mio (organic and biological molecules), 3ob (for DFTB3), matsci (materials) and pbc (solids), each with documentation of covered elements and intended use. Parameters for a missing element pair must be generated, for example with the Slater-Koster generation tools published alongside the code, which is a research task in itself.
How is DFTB+ different from xTB?
Both are tight-binding methods. DFTB relies on element-pair-specific Slater-Koster files derived from DFT, so coverage depends on available parameter sets, while GFN-xTB uses element-specific global parameters covering most of the periodic table. DFTB+ is a broad solid-state and dynamics programme with k-points, transport and real-time TDDFTB; xtb is a molecular tool with optimisation, metadynamics and solvation workflows. DFTB+ can also run the xTB Hamiltonians.
Can DFTB+ do excited states?
Yes. Linear-response TDDFTB in the Casida formulation gives excitation energies and oscillator strengths, and real-time TDDFTB propagates the density matrix under external fields for absorption spectra and electron dynamics with Ehrenfest coupling to the nuclei. The REKS ensemble method is also available for strongly correlated excited states.
What input format does DFTB+ use?
An HSD file, a block-structured text format with nested braces, typically named dftb_in.hsd. It names the geometry file (gen, XYZ or VASP POSCAR), the Hamiltonian and its parameter files, k-points, and the driver for optimisation or dynamics. Output goes to detailed.out, band.out and other files that the dptools scripts convert for plotting.
Where is the DFTB+ source code?
At https://github.com/dftbplus/dftbplus (GitHub). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
Is DFTB+ still maintained?
The last commit was pushed on 2026-11-27 and the latest tagged release is 26.1 from 2026-11-20; the repository had 93 open issues and pull requests on 2026-11-28.
Does MolForge use DFTB+?
No. MolForge runs nine of the hundred tools in this directory (RDKit, OpenMM, AutoDock Vina, Open Babel, MDTraj, pymbar and NGL, plus PySCF and xTB in MFsig); DFTB+ is listed because of its place in fast methods: semi-empirical and tight-binding, not because we run it.

Guides that explain the methods

Other tools in fast methods: semi-empirical and tight-binding