What Is CGMiner? Open-Source ASIC Mining Software
CGMiner is open-source mining software that connects ASIC and FPGA miners to pools over Stratum, with pool failover and hashrate and temperature reports.
Definition
CGMiner is open-source cryptocurrency mining software that connects mining hardware to a blockchain network or mining pool. It is best known for Bitcoin mining and for supporting advanced control of ASIC and FPGA miners, with older versions also used for GPU mining.
Miners use CGMiner to manage devices, submit proof-of-work shares, monitor performance, and adjust settings from a command-line interface. It is a practical tool rather than a wallet, exchange, or mining pool.
How It Works
CGMiner runs on a computer or controller connected to mining hardware. The miner enters pool details, worker credentials, and device settings, then CGMiner communicates with the pool using mining protocols such as Stratum.
The mining pool sends work to CGMiner. CGMiner passes that work to the connected hardware, which repeatedly tests nonces and hashes block header data. When the hardware finds a result that meets the pool’s share target, CGMiner submits it back to the pool.
The software also reports useful operating data, including hash rate, accepted shares, rejected shares, device temperature, fan speed, hardware errors, and pool connection status. Depending on the hardware, CGMiner can also help tune clock speeds, voltage, fan behavior, and other performance settings.
Because CGMiner is command-line based, it is often used by experienced miners who want direct control and scriptable configuration. It can be run locally, started automatically on boot, or managed through remote monitoring tools in larger mining setups.
Why It Matters
CGMiner matters because mining hardware is only useful when it can receive work, process hashes efficiently, and submit valid results reliably. Mining software is the layer that coordinates that process, and CGMiner became one of the most widely recognized tools in that role.
Its open-source design made it important for miners who wanted transparency, flexibility, and hardware-level control. It also helped establish many expectations miners still have today: clear performance reporting, pool failover, device tuning, and support for specialized mining equipment.
For modern Bitcoin mining, many ASIC manufacturers provide their own firmware or management software, but CGMiner remains historically significant and is still relevant in some custom, older, or specialized setups. Understanding CGMiner helps explain how mining software fits between a miner, their hardware, and the network.
Related Terms
FAQ
What is CGMiner?
CGMiner is open-source cryptocurrency mining software that connects mining hardware to a blockchain network or mining pool. Best known for Bitcoin mining, it offers advanced control of ASIC and FPGA miners, and older versions were also used for GPU mining. It is a command-line tool, not a wallet, exchange or pool.
How does CGMiner work?
CGMiner runs on a computer or controller connected to mining hardware and talks to a pool through protocols such as Stratum. It passes the pool’s work to the hardware, submits results that meet the share target, and reports hash rate, accepted and rejected shares, temperature, fan speed, hardware errors and pool status.
Is CGMiner still used for Bitcoin mining?
CGMiner is still relevant in some custom, older or specialized setups, although many ASIC manufacturers now ship their own firmware or management software for modern Bitcoin mining. It remains historically significant because it helped set expectations miners still have, such as clear performance reporting, pool failover, device tuning and support for specialized hardware.