₿₿₿Bitcoin Horizon
Dashboard
Skip to content
  1. Home
  2. ›
  3. Glossary

SegWit (Segregated Witness)

A Bitcoin protocol upgrade activated in August 2017 that separates (segregates) transaction signature data (witness) from the transaction data. SegWit fixed transaction malleability and effectively increased block capacity.

Definition

A Bitcoin protocol upgrade activated in August 2017 that separates (segregates) transaction signature data (witness) from the transaction data. SegWit fixed transaction malleability and effectively increased block capacity.

Explanation

Segregated Witness was one of the most consequential upgrades in Bitcoin's history. It solved a longstanding bug called transaction malleability — the ability to alter a transaction's ID before confirmation without invalidating it. This bug had prevented reliable construction of multi-step transaction protocols and was a prerequisite blocker for the Lightning Network.

SegWit also introduced a new way to measure block size using weight units instead of raw bytes. By discounting witness data (signatures), SegWit effectively increased the block capacity from 1 MB to approximately 4 MB of weight, or roughly 2-2.5 MB of actual data in practice. This capacity increase was achieved through a soft fork — a backward-compatible change that didn't require all nodes to upgrade simultaneously.

The upgrade was the resolution of the contentious block size wars that divided the Bitcoin community from 2015 to 2017. One faction wanted a simple block size increase (hard fork), while the other favored SegWit's more conservative approach. SegWit's activation via the UASF (User Activated Soft Fork) demonstrated that Bitcoin's rules are ultimately determined by node operators, not miners. Today, SegWit transactions account for the vast majority of all Bitcoin transactions, and the upgrade remains the foundation for ongoing protocol development.

Key Takeaways

  • •Separated signature data from transactions, fixing the malleability bug
  • •Increased effective block capacity from 1 MB to approximately 4 MB weight
  • •Enabled the Lightning Network by making transaction IDs immutable
  • •Activated in August 2017 after the contentious block size wars

Frequently Asked Questions

Before SegWit, it was possible to modify a transaction's signature in a way that changed its transaction ID without invalidating the transaction itself. This meant you couldn't reliably reference an unconfirmed transaction by its ID, which broke protocols that chained transactions together — most critically, the Lightning Network.

SegWit replaced the 1 MB block size limit with a 4 million weight unit limit. In practice, this allows blocks of roughly 2-2.5 MB depending on the transaction mix. Blocks full of SegWit transactions can process significantly more payments than the old 1 MB limit allowed.

While not strictly required, SegWit addresses (starting with bc1q for native SegWit or bc1p for Taproot) offer lower transaction fees because witness data is discounted. Most modern wallets default to SegWit addresses. There's no practical reason to use legacy addresses unless interacting with very old software.

Related Terms

Block Reward
The amount of new Bitcoin awarded to miners for successfully adding a block to the blockchain. The reward started at 50 BTC per block and is cut in half approximately every four years through the halving process.
Cold Storage
A method of storing Bitcoin offline, disconnected from the internet, to protect against hacking and theft. Hardware wallets and paper wallets are common forms of cold storage.
Halving
An event that occurs approximately every four years (every 210,000 blocks) where the Bitcoin block reward is cut in half. Halvings reduce the rate of new supply entering the market and have historically preceded major bull runs.
Mining
The process of using computational power to validate transactions and add new blocks to the Bitcoin blockchain. Miners are rewarded with newly minted Bitcoin (the block reward) plus transaction fees.
Node
A computer running Bitcoin software that validates transactions and blocks, enforces consensus rules, and relays data across the network. Running a full node is the most sovereign way to interact with Bitcoin.
Private Key
A secret cryptographic key that proves ownership of Bitcoin and authorizes transactions. Losing your private key means losing access to your Bitcoin permanently. It should never be shared with anyone.
← Back to Glossary