What is SegWit?
Segregated Witness (SegWit) is a Bitcoin upgrade activated on August 24, 2017. It solved two critical problems: transaction malleability and block size limitations. SegWit is the reason Lightning Network is possible and why Bitcoin can scale without increasing block size.
The Transaction Malleability Problem
Before SegWit, transaction IDs could be changed (malted) by miners without invalidating the transaction. This broke smart contracts and Layer 2 solutions because they relied on transaction IDs being permanent. SegWit moved the signature data outside the transaction, making IDs permanent.
How SegWit Works
SegWit separates transaction data into two parts:
- Base transaction: Sender, receiver, amount (stays in the block)
- Witness data: Signatures (moved to a separate structure)
This effectively increases block capacity from 1 MB to approximately 4 MB without changing the block size limit. More transactions fit in each block.
SegWit Benefits
- More capacity: 4x more transactions per block
- Lower fees: Less congestion means cheaper transactions
- Lightning enabled: Fixed malleability made Lightning possible
- Backward compatible: Old and new nodes can coexist
SegWit Adoption
- 2017: Activated after contentious debate
- 2018: Slow adoption, many businesses slow to upgrade
- 2020: Major exchanges and wallets adopt SegWit
- 2023: Over 70% of Bitcoin transactions use SegWit
- 2026: Nearly universal adoption
SegWit vs Bitcoin Cash
The SegWit debate led to the Bitcoin Cash fork. One side wanted SegWit (soft fork). The other wanted larger blocks (hard fork). SegWit won because it was backward compatible and did not require a hard fork.
SEBI Disclaimer
This article is for educational purposes only. Cryptocurrency investments are subject to market risks.
The BIP 141 Path
SegWit entered Bitcoin through BIPs 141-143 after years of activation debate. The change details anyone building on Bitcoin should remember:
- Witness discount: signature and script data moved into a separate "witness" section counted at 1 weight unit against data's 4, effectively increasing block weight capacity.
- Commitment: the witness data is committed via a Merkle-style structure, letting old nodes validate the coinbase while new nodes verify signatures.
- Opt-in: the upgrade was backward compatible; transactions could remain legacy, which is why adoption took years rather than a weekend.
Why Malleability Mattered
Before SegWit, transaction IDs changed when signatures changed, allowing third parties to mutate IDs mid-flight. That malleability broke payment channels that depended on a stable transaction ID. SegWit fixed it because witness data is no longer included in the txid hash. The consequence was not cosmetic: Lightning, the layered payment network, needs invariant IDs, and the fix unlocked Basic arrangement channels that legacy paradigm could not support.
Fee-Savings Math
SegWit's financial effect is measurable on any wallet migration:
- A 2-of-3 multisignature wallet drops from roughly 400 to 200 vbytes, a fee cut of 40-50% at the same sat/vB rate.
- Batched sends with many inputs see the same discount regardless of signature count, benefiting exchange cold-address sweeps.
- At 2026 fees, a wallet that sends 10 transactions a month at 250 vbytes saves roughly the equivalent of a coffee per quarter; for institutional sweeplines the same math saves thousands.
Adoption in Numbers
The upgrade was a fleet movement rather than a switch flip:
- 2017-2018: exchanges and wallets adopted at speed because SegWit addresses (bc1) slash their own fees.
- 2021: the vast majority of active addresses used SegWit-native or nested formats, with legacy addresses remaining for old hardware signing flows.
- 2024-2026: nearly all new wallets default to bech32m, with SegWit v0 remaining dominant and v1 (Taproot) growing within ordinal and signet ecosystems.
Taproot and What Came Next
SegWit built the scaffolding that later upgrades stand on:
- Taproot (2021): MAST plus key-path spending, making complex scripts look like single-key spends, a privacy and efficiency leap SegWit made possible by the witness structure itself.
- P2SH-in-P2WSH: the nested form that let payment channels embed in legacy addresses, the practical bridge used by most early multisig services.
- Miniscript and descriptors: modern wallet description languages rely on the taproot/witness framing to describe multi-party scripts safely.
SegWit is the quiet upgrade that saved Bitcoin not by revolution but by infrastructure: it raised block capacity, killed malleability, cut fees and enabled layers. The lesson is durable for anyone building financial rails: the boring change that fixes an underlying assumption is the one that compounds.
Why SegWit Still Matters in 2026
SegWit's block-weight accounting and replayed-tx protection remain the foundation for today's fee environment and Layer 2 batching. Understand that SegWit addresses begin with bc1 and that legacy addresses pay higher fees per output. Whether you trade or hold, recognising SegWit-enabled transactions helps you read mempool fees and estimate settlement costs accurately.