User Guide to Semiempirical Tight Binding
This user guide focuses on the semiempirical quantum mechanical methods GFNn-xTB, their descendants, and corresponding composite schemes as implemented in the xtb (extended tight binding) program package.
We provide a number of detailed guides dealing with common tasks that can
be performed easily with the xtb program.
All guides are usually structured the same way, starting with some simple
examples using only the command line and the default settings, followed
by a troubleshooting section.
Detailed inputs are provided in a ready-to-use fashion to solve some
more special but still common tasks with xtb together with some
insights into the theory used behind the scenes.
Quick Links
Recent developments, news, and publications
2026-11-05: xtb version 6.8.0 released by Thomas Froitzheim
We are happy to release a new version of
xtb. This release combines new features with extensive bug fixes and numerical consistency improvements. As a result,xtb6.8.0 introduces small changes to calculated energies compared to previous releases: differences in absolute total energies can reach the mEh range, particularly for large systems, but the impact on relative energies is generally negligible (e.g., WTMAD2 on GMTKN55 changes by less than 0.0002 kcal/mol for GFN0–GFN2 compared toxtb6.7.1). Furthermore, the nativextband tblite implementations are now fully consistent (< 1e-10 Eh deviations), preparing the complete transition totblitein the next releases.Major updates include expanded tblite integration (supporting solvation models, electric fields, localized orbitals, docking, ONIOM, and periodic GFN1/GFN2 calculations). Hessian calculations now support the O1NumHess algorithm and include several improvements to vibrational analysis and thermochemistry. GFN-FF has been reparameterized for lanthanides, extended to actinides, and improved in topology handling and stability. Docking, ONIOM, and molecular dynamics now feature improved constraint handling. In addition, the C-API supports solvent-model selection and Hessian access, and we have improved the build system and extended platform support (Linux x86_64 and aarch64, macOS x86_64 and arm64, and Windows x86_64). Numerous performance optimizations and bug fixes accelerate SCF, gradient, and integral evaluations while reducing memory usage and improving OpenMP parallelization and numerical reliability.
2024-07-23: xtb version 6.7.1 released by Albert Katbashev
We are happy to release a bugfix version of
xtb. Please note that due to the deprecation of the currently used MSVC C++ compiler, the Windows version is 6.7.1pre. The compilation excluded C-API tests for xtb and CPCM-X and used the previous version of dftd4 (v3.4.0). In the next release, we will likely fully switch to the icx-cl compiler.Many thanks to Sebastian Ehlert (@awvwgk), Igor S. Gerasimov (@foxtran), and Thomas Rose (@Thomas3R) for contributing to this release. Special thanks to Marcel Stahn (@MtoLStoN), who made the compilation of the Windows version possible.
2024-03-04: xtb version 6.7.0 released by Albert Katbashev
We are happy to release a new version of
xtb. This version introduced several powerful features and enhancements, including the new CPCM-X solvation model, support for periodic boundary conditions in GFN-FF, and an implementation of dipole moments within the GFN-FF framework. A range of computational methods was added or refined, such as the Dimer Projection (DIPRO) method, PTB (Density Tight-Binding) potential, and support for Raman activity calculations with user-defined wavelength and temperature. External-driver optimization was improved through automatic writing of updated coordinate files and better output formatting. Users also gained access to new features like the sandwich potential model, total-atom constraints, and COSMO file output in TM convention.Many thanks to Benedict Bädorf (@benbaed), Sebastian Ehlert (@awvwgk), Joel Einbinder (@JoelEinbinder), Julia Kohn (@demonic-daisy), Marcel Müller (@marcelmbn), Christoph Plett (@cplett), Thomas Rose (@Thomas3R), Marcel Stahn (@MtoLStoN), and Jinzha Zeng (@njzjz) for contributing to this release.
2022-05-15: xtb version 6.5.0 released by Sebastian Ehlert
We are happy to release a new version of
xtbwith exciting new features. First of all, we improved the user-friendliness of the error messages in the geometry reader by adopting our IO-library, which is already in wide use in dftd4, gcp and other projects. No more invalid input provided obscure error messages, but actual pointers on what went wrong with the input.We also improved the capability of existing geometry readers to keep up to date with the parent programs, for example we now support the
$eht charge=0 unpaired=0line to set the system charge and number of unpaired electrons, which was added in a Turbomole 7.5. Furthermore, we are happy to have now support for QChem molecule files (.qchem), FHI-aims geometry inputs (geometry.in) and QCSchema formatted JSON (.json).2021-12-13: DFTB+ version 21.2 released by Sebastian Ehlert
A new version of DFTB+ is now available with support for the xTB methods. Due to the integration in DFTB+ most of the features available for the DFTB Hamiltonian can be readily used with the xTB Hamiltonians as well, including periodic calculations with k-point sampling, geometry optimizations, molecular dynamics and frequency calculations. Both GFN1-xTB and GFN2-xTB are available for the DFTB+ version 21.2 at the moment.
Furthermore, we integrated parts the battle-proven rational function optimizer from
xtb --optinto DFTB+ to allow fast and robust geometry optimizations both for molecular and periodic systems. Preliminary tests show an order of magnitude improvements in the convergence compared with the previous default (c.f. dftbplus#862).
See the news archive for all posts.
xTB in Other Quantum Chemistry Programs
The xTB-methods are now officially available in other quantum chemistry programs!
in Orca 4.2 an IO-based interface to the
xtbbinary is availableAMS 2019 implements GFN1-xTB in their DFTB module
the entos program implements GFN1-xTB (also available in the web interface)
the computational chemistry framework cuby4 supports
xtbTurbomole does support GFN1-xTB and GFN2-xTB since version 7.4
QCEngine supports calculations with the
xtbAPIthe GMIN, OPTIM, and PATHSAMPLE global optimization tools provide an
xtbinterfaceCP2K has a GFN1-xTB implementation since version 7.1
DFTB+ support GFN1-xTB and GFN2-xTB since version 21.2
We missed your project here? No problem, just give us a hint at the mailing list or open an issue at GitHub.
Quickstart
Guides
- Singlepoint Calculations
- Properties
- Geometry Optimization
- Exploration of the potential energy surface (PES)
- Implicit Solvation
- Calculation of Vibrational Frequencies
- Molecular Dynamics Simulations
- Meta-Dynamics Simulations
- ONIOM
- DIPRO
- Reaction Path Methods
- Growing String Method
- Periodic Boundary Conditions
- External Potentials and Embedding
- GFN-Force-Field (GFN-FF)
- PTB
- Spin-polarization
- C API to the extended tight binding program
- Python Integration for the xtb API
- Community resources
Submodules
ENSO
CENSO
QCxMS