What is Segregated Witness (SegWit)? How it works and its impact on Bitcoin transactions
What is SegWit?
SegWit (short for Segregated Witness) is a Bitcoin protocol upgrade launched in 2017. It reorganized how transaction data is stored by separating digital signatures (the "witness" data) from the main transaction block.
This change effectively increased the number of transactions that could fit in a block — improving capacity without raising Bitcoin's 1 MB block size limit. It also solved a vulnerability called transaction malleability, which helped enable advanced features like the Lightning Network.
How it works
- Before SegWit: Transaction data and signatures were stored together, taking up more space.
- After SegWit: Signatures are stored separately, reducing the size of the main block data.
- More transactions per block: This makes block space usage more efficient, lowering fees.
- Enables scaling solutions: Fixing malleability allows for off-chain protocols like Lightning.
Why SegWit matters in crypto
- Increases Bitcoin's effective transaction throughput.
- Reduces average transaction fees.
- Improves security by fixing transaction malleability.
- Enables advanced payment channels and scaling layers.
SegWit vs non-SegWit transactions
| Feature | SegWit Transaction | Legacy Transaction |
|---|---|---|
| Data structure | Signatures stored separately | Signatures stored within main block data |
| Capacity | Higher — more transactions per block | Lower — less efficient block usage |
| Fee efficiency | Lower fees | Higher fees |
| Malleability risk | Eliminated | Still possible |
How SegWit is used today
- Sending Bitcoin with lower fees using SegWit addresses.
- Opening Lightning Network channels for fast, low-cost payments.
- Enabling more secure multi-signature wallets.
- Participating in SegWit-optimized exchanges and apps.
FAQs
- Do I need a SegWit-compatible wallet to use SegWit?: Yes — wallets must support SegWit addresses (e.g., starting with "bc1" or "3").
- Does SegWit change Bitcoin's total supply?: No — it only changes how transaction data is stored.
- Is SegWit mandatory?: No — it's optional, but widely adopted for fee and efficiency benefits.