official-stockfish /Stockfish
A free and strong UCI chess engine
★ 17,398⑂ 3,153👁 262⑃ 5,843● 1,104▤ 17
+14
Daily
17,398
stars
3,153
forks
262
watchers
5,843
prs
1,104
issues
17
releases
README
[![Stockfish][stockfish128-logo]][website-link]
Stockfish
A free and strong UCI chess engine.
[Explore Stockfish docs »][wiki-link]
[Report bug][issue-link]
·
[Open a discussion][discussions-link]
·
[Discord][discord-link]
·
[Blog][website-blog-link]
[![Build][build-badge]][build-link]
[![License][license-badge]][license-link]
[![Release][release-badge]][release-link]
[![Commits][commits-badge]][commits-link]
[![Website][website-badge]][website-link]
[![Fishtest][fishtest-badge]][fishtest-link]
[![Discord][discord-badge]][discord-link]
Overview
[Stockfish][website-link] is a free and strong UCI chess engine derived from
Glaurung 2.1 that analyzes chess positions and computes the optimal moves.
Stockfish does not include a graphical user interface (GUI) that is required
to display a chessboard and to make it easy to input moves. These GUIs are
developed independently from Stockfish and are available online. Read the
documentation for your GUI of choice for information about how to use
Stockfish with it.
See also the Stockfish [documentation][wiki-usage-link] for further usage help.
Files
This distribution of Stockfish consists of the following files:
[README.md][readme-link], the file you are currently reading.
[Copying.txt][license-link], a text file containing the GNU General Public
License version 3.
[AUTHORS][authors-link], a text file with the list of authors for the project.
[src][src-link], a subdirectory containing the full source code, including a
Makefile that can be used to compile Stockfish on Unix-like systems.
a file with the .nnue extension, storing the neural network for the NNUE
evaluation. Binary distributions will have this file embedded.
Contributing
__See Contributing Guide.__
Donating hardware
Improving Stockfish requires a massive amount of testing. You can donate your
hardware resources by installing the [Fishtest Worker][worker-link] and viewing
the current tests on [Fishtest][fishtest-link].
Improving the code
In the [chessprogramming wiki][programming-link], many techniques used in
Stockfish are explained with a lot of background information.
The [section on Stockfish][programmingsf-link] describes many features
and techniques used by Stockfish. However, it is generic rather than
focused on Stockfish's precise implementation.
The engine testing is done on [Fishtest][fishtest-link].
If you want to help improve Stockfish, please read this [guideline][guideline-link]
first, where the basics of Stockfish development are explained.
Discussions about Stockfish take place these days mainly in the Stockfish
[Discord server][discord-link]. This is also the best place to ask questions
about the codebase and how to improve it.
Compiling Stockfish
Stockfish has support for 32 or 64-bit CPUs, certain hardware instructions,
big-endian machines such as Power PC, and other platforms.
On Unix-like systems, it should be easy to comTop issues
#3635[RFC] Considerations for "Skill Level"37 comments · 2021-07-31#5175Winning evaluation with tablebases in cursed win28 comments · 2024-04-14#6213Stockfish Prioritizing E-Cores on Hybrid CPU Architectures22 comments · 2025-08-04#7221Stockfish reports a too short mate21 comments · 2026-10-12#5174Stockfish needlessly hangs the queen16 comments · 2024-04-14#6481Wrong evaluation for wrong color bishop.13 comments · 2025-12-17#6356Stockfish with UCI_LimitStrength can't checkmate RK vs K13 comments · 2025-10-13#7280Stockfish misses threefold repetitions when there are castling rights but castling is illegal12 comments · 2026-11-02
Discussions
#7298Would Fishtest allow one STC test of this combined test1757 NNUE build against master?1 comments · 2026-11-09#7297Question about using the Stockfish name and logo in chess videos1 comments · 2026-11-09#7291Better strength limiting0 comments · 2026-11-08#7278Game0 comments · 2026-11-02#7277GPLv3 clarification — Stockfish.js Web Worker and proprietary Android application0 comments · 2026-11-02#7244Using Stockfish-labelled positions to train a new engine's NNUE: any guidance?1 comments · 2026-10-21#7231Repetition Bug1 comments · 2026-10-17#7219Add Pragma Chess to the GUIs in "Download and usage"?0 comments · 2026-10-11
Latest release
Stockfish 19 sf_19 2026-09-05Today, we have the pleasure of announcing Stockfish 19, a new major release. As always, you can freely download it at [stockfishchess.org/download][1] and use it as a drop-in replacement in the [GUI of your choice][2] to benefit from stronger play and more accurate analysis. Whether you can spare hours or days of CPU time, your help matters for the ongoing development of Stockfish. Find out how you can contribute at [stockfishchess.org/get-involved][3]. Join our [Discord server][4] to get in touch with the community of developers and users of the project! Quality of Chess Play In tes