What is cryptocurrency mining?
Cryptocurrency mining is the process of using computer hardware to perform hash calculations in a blockchain network that uses Proof of Work (PoW), helping record transactions, produce new blocks and maintain network security. Participants are called miners. In Bitcoin, for example, miners can receive newly issued bitcoin and fees from transactions in a block once their submitted block meets the rules and is adopted by the network.
Mining’s core functions
Mining is not only about issuing new coins. It also serves transaction recording and network security.
Writing transactions to the ledger. Miners collect and check pending transactions, then organize them into a block. A block is a batch of transactions and related data. New blocks follow existing ones to form a continually updated blockchain.
Making records more expensive to rewrite. Producing a block that meets the requirements takes computational work. To rewrite history already adopted by the network, an attacker must redo the relevant work and catch up with the blocks the network continues adding. This requires substantial computing power, making transaction history harder to tamper with. Other computers in the network—nodes—still validate blocks independently: computational expenditure cannot make a transaction that breaks the rules valid.
Issuing new coins under the rules and providing incentives. On Bitcoin, new coins are issued through the block subsidy, while fees come from transfers of existing bitcoin. Together, they form the block reward, providing an economic incentive for miners to commit equipment and electricity. Other networks may allocate rewards differently.
How does mining work?
Using Bitcoin as an example, mining can be divided into five steps:
Collect and check transactions. The mining system obtains transactions not yet included in a block and checks signatures, amounts and whether the funds have already been spent, among other conditions.
Build a candidate block. Selected transactions are organized into a new block ready for submission, including a special transaction that claims rewards under the rules.
Calculate repeatedly. Mining machines continually adjust candidate data and hash the block header. The header contains summary information about the block; hashing converts this data into a numerical result. The machine must find a result no greater than the network’s target, which usually takes many attempts.
Broadcast the result. After finding a qualifying result, the mining system sends the block to other network nodes. Nodes are computers running the network software, and independently check whether the transactions, rewards and computational result are valid.
The block is adopted, and mining continues. Once a valid block is adopted into the current chain, miners can receive rewards under the rules and continue competing for the next block. If multiple valid branches appear at once, the network’s rules determine which branch is adopted.
Checking whether transactions are valid and repeatedly computing hashes are separate tasks in this workflow. Hash calculations are used to compete to produce blocks. For the mechanism, see Proof of Work.
Hash rate measures the rate of hash calculations per unit of time. Miners may mine independently or join a mining pool. A pool organizes the hash rate of multiple miners and distributes revenue according to contributions and its settlement scheme. It usually measures contributions through work shares submitted by miners: these results meet the pool’s lower difficulty threshold, but most are insufficient to become a block accepted by the whole network. Pool participation can reduce the revenue volatility of finding blocks independently, but does not create a higher theoretical chance of producing blocks with the same hash rate.
What equipment does mining require?
The required hardware depends on the network’s algorithm. Bitcoin mining typically uses ASIC miners. An ASIC is a chip designed for a specific type of calculation and can efficiently perform the corresponding hash computations. Some other Proof-of-Work networks can use graphics cards and other hardware; one device is not suitable for every network.
Beyond the mining machine, supporting operating conditions are needed:
Power equipment and reliable electricity: A continuous supply that meets the machine’s requirements; power supplies and wiring must handle the equipment’s load.
Cooling and premises: Operating equipment produces heat and needs ventilation or other cooling facilities. Noise and space also affect site selection.
Network connectivity: It enables receipt of transactions and new blocks and timely submission of results. Unstable connectivity may leave a machine working on an outdated task.
Mining software: It connects to a node or pool, obtains computational tasks, assigns work to devices and submits results. An associated wallet or payment address receives revenue.
Equipment comparisons need to consider both hash rate and power consumption: computational speed and electricity used during operation. Machines with the same hash rate may differ in electricity consumption, stability and maintenance costs.
Main risks and challenges
Electricity, equipment and maintenance costs
Mining revenue needs to cover electricity, cooling, repairs, pool fees and equipment depreciation. Buying a mining machine does not guarantee recovering its cost, even if it operates normally. Higher power consumption and higher electricity prices generally increase ongoing operating costs.
Changes in coin prices and rewards
The same quantity of rewards converts to less money when the coin’s price falls. Bitcoin’s block subsidy also declines through halving, while fee revenue changes with transaction demand. A subsidy eventually reaching zero does not shut down mining at the protocol level. The issuance schedule alone cannot establish how much hash rate future fees will support.
Hash rate competition and revenue volatility
If a device’s hash rate is unchanged, additional hash rate from other miners reduces its relative share. Bitcoin also adjusts difficulty periodically based on previous block times to keep the average block interval near the target. Finding a valid result is random: operating equipment for longer does not mean the next block is certain to be yours.
Equipment failures and operational risks
High temperatures, power failures, equipment faults or network interruptions reduce productive uptime and may create repair and safety costs. New generations of mining machines can also erode the cost advantage of older devices.
Joining a pool also involves its fees, settlement rules and the operator’s ability to pay. Cloud mining usually means paying to use hash rate operated by someone else, so purchasers depend on the provider actually supplying it and fulfilling the contract. Advertised returns cannot replace verification of real operations.
Energy and regulatory requirements
Whether mining can operate in a location also depends on local requirements concerning electricity, premises, noise, taxes and related business activities. These differ by region and can change. A protocol permitting participation does not mean mining machines can be installed at any site without further requirements.
Understanding mining therefore requires considering network mechanisms, equipment investment and actual operating conditions together—not just how many token rewards might be received.
Related terms
Explore Bitcoin, Proof of Work, block rewards and Bitcoin halving, or return to the crypto glossary.
References
Digital Assets subject to volatility and not insured. Not financial/investment advice. Not all products and services offered in all regions. Exclusions and T&Cs apply.
© 2026 OKX. This article may be reproduced or distributed in its entirety, or excerpts of 100 words or less of this article may be used, provided such use is non-commercial. Any reproduction or distribution of the entire article must also prominently state: “This article is © 2026 OKX and is used with permission.” Permitted excerpts must cite to the name of the article and include attribution, for example “Article Name, [author name if applicable], © 2026 OKX.” Some content may be generated or assisted by artificial intelligence (AI) tools. No derivative works or other uses of this article are permitted.









