Merged Mining
Mining two chains with the same work, so a smaller chain borrows Bitcoin's hashrate.
Basically
Merged mining lets miners use the same work on more than one blockchain. The child chain gains security without extra energy.
Key Takeaways
- Merged mining lets miners secure multiple blockchains with the same proof-of-work computation, with no additional energy, hardware, or operational cost beyond what the parent chain already demands.
- The technique embeds a hash of the auxiliary chain's block header inside the parent chain's coinbase transaction, allowing the child chain to verify the parent's work as its own.
- Real-world deployments include Namecoin and Rootstock (RSK) merged-mined with Bitcoin, and Dogecoin merged-mined with Litecoin, collectively securing billions of dollars in value without separate mining infrastructure.
What Is Merged Mining?
Merged mining, also called auxiliary proof of work or AuxPoW, lets you mine multiple blockchains simultaneously using the same computational work. The blockchain providing the proof of work is the parent chain, such as Bitcoin, and the blockchain accepting that work is the auxiliary chain or child chain. Both chains must use the same hashing algorithm.
Satoshi Nakamoto first proposed the concept on December 9, 2010, in the BitDNS thread on Bitcointalk. Satoshi wrote: "Miners would subscribe to both networks in parallel. They would scan SHA such that if they get a hit, they potentially solve both at once." Two days later, Satoshi clarified: "Independent networks/chains can share CPU power without sharing much else."
Namecoin became the first live implementation when it activated merged mining on October 11, 2011, at block 19,200. Since then, new sidechains and alternative blockchains have used merged mining to build security without fragmenting the existing miner ecosystem.
How It Works
Mining repeats the same hashing process: miners hash candidate block headers until one meets the difficulty target. If the parent and auxiliary chains use the same hash algorithm, a single hash attempt can satisfy either chain's target, or both simultaneously.
The process works in five steps. These steps link the auxiliary block to the parent chain's proof of work.
Coinbase Insertion
The coinbase transaction in every block contains a scriptSig field with arbitrary data, the same field miners use to embed messages or pool identifiers. Merged mining uses this free space to embed the auxiliary chain's block hash.
The insertion follows a specific format. When data extends beyond 20 bytes, four magic bytes (0xfa 0xbe 0x6d 0x6d) signal the start of the merged mining data, followed by the 32-byte auxiliary block hash.
Miners mining multiple auxiliary chains simultaneously construct a Merkle tree with each chain's block hash placed at a deterministic slot. The Merkle root replaces the single block hash in the coinbase. Each chain's slot is determined by its chain ID using a pseudo-random assignment algorithm.
AuxPoW Proof Structure
Miners submitting a valid block to the auxiliary chain provide an AuxPoW proof containing four components. Together, these components link the auxiliary block to the parent chain's work.
The auxiliary chain node verifies this proof by checking that the coinbase contains the correct auxiliary block hash, the Merkle branches are valid, and the parent block header hashes to a value that meets the auxiliary chain's difficulty target. The auxiliary chain never needs to validate the parent chain's transactions or state; it only verifies the proof of work.
Namecoin + Bitcoin
Namecoin, a decentralised DNS system, launched in April 2011 as the first Bitcoin fork and activated merged mining in October 2011 at block 19,200, becoming the first live implementation of AuxPoW. Both chains use SHA-256d. Today, Namecoin benefits from over 50% of Bitcoin's total hashrate, making it one of the most secure alternative blockchains in existence.
Dogecoin + Litecoin
Dogecoin adopted AuxPoW in August 2014 at block 317,337, enabling merged mining with Litecoin because both use the Scrypt algorithm. Before this change, Dogecoin's hashrate fluctuated wildly as miners hopped between the two Scrypt chains; within one month of activation, Dogecoin's mining difficulty increased by roughly 1,500% as Litecoin mining pools began including Dogecoin blocks. By 2019, nearly 90% of Dogecoin's hashrate came from large Litecoin pools.
Rootstock (RSK) + Bitcoin
Rootstock is a Bitcoin sidechain providing EVM-compatible smart contracts, secured primarily through merged mining. As of Q1 2026, approximately 84% of Bitcoin's total hashrate, over 833 EH/s, secures RSK via merged mining, with 93% of observed mining pools actively participating. RSK has also developed several innovations, including fork-aware merge mining and the DECOR block reward sharing protocol; for a deeper analysis, see the Rootstock deep dive.
Comparison to Other Shared-Security Models
Merged mining is not the only way for a blockchain to borrow security from a larger network. Two other prominent models are restaking, used in proof-of-stake ecosystems like Ethereum via EigenLayer, and federated sidechains like the Liquid Network.
Merged mining is the only shared-security model native to proof-of-work systems. Restaking serves a parallel function for proof-of-stake ecosystems, while federated sidechains trade decentralisation for operational simplicity. For a broader comparison of Bitcoin Layer 2 trust models, see the L2 trust model comparison.
Centralization of Auxiliary Chain Mining
A 2017 academic paper, "Merged Mining: Curse or Cure?" by Judmayer et al., found that mining pools in merge-mined cryptocurrencies "have operated at the edge of, and even beyond, the security guarantees offered by the underlying Nakamoto consensus." A mining pool controlling a modest share of Bitcoin's hashrate can control a majority of a much smaller auxiliary chain's hashrate, potentially enabling 51% attacks.
Asymmetric Attack Incentives
Miners attacking an auxiliary chain risk almost nothing on the parent chain. The parent chain's block reward still pays out regardless of what happens on the auxiliary chain. Attacks on auxiliary chains are therefore far cheaper than attacks on standalone chains with equivalent hashrate, because parent chain revenue offsets the attacker's cost.
Blind Mining
Miners may include auxiliary chain block headers without actually validating the auxiliary chain's transactions. This "blind mining" means the proof-of-work stamp of approval does not guarantee transaction validity. Invalid or malicious blocks can receive proof of work if miners are not running full auxiliary chain nodes.
Opt-In Participation
Merged mining is voluntary, so miners must actively configure their software to participate, and not all pools support every auxiliary chain. If a significant portion of parent chain miners opt out, the auxiliary chain's effective security is only a fraction of the parent chain's total hashrate. This dependence on miner cooperation creates an ongoing political and economic dynamic.
Algorithm Lock-In
Both chains must use the same hashing algorithm. A SHA-256 chain cannot merge-mine with a Scrypt chain. If the parent chain ever changes its hash algorithm, which is unlikely for Bitcoin but possible for smaller chains, all auxiliary chains lose their security relationship.
Why It Matters
Merged mining addresses a fundamental challenge in blockchain security: protecting new chains without duplicating the massive energy expenditure that secures established networks. As the Bitcoin mining ecosystem matures and block subsidies decline through halvings, merged mining offers miners additional revenue streams at zero marginal cost, potentially contributing to long-term mining sustainability. For a deeper look at mining economics, see the mining economics analysis.
The technique also plays a growing role in Bitcoin's Layer 2 ecosystem. Sidechains like Rootstock rely on merged mining as their primary security mechanism, and proposals like BIP 301 (Blind Merged Mining) aim to extend the concept further. As Bitcoin's ecosystem expands with sidechains, scaling solutions, and application-specific chains, merged mining remains one of the most energy-efficient approaches to shared security in proof-of-work systems.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.