---
title: "Blockchain Pruning — definition | Nuri Glossary"
description: "Deleting old block data once validated, keeping the UTXO set and full validation without the disk cost."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/bitcoin-node-pruning"
---

# Blockchain Pruning

Deleting old block data once validated, keeping the UTXO set and full validation without the disk cost.

## Basically

Pruning lets your Bitcoin node delete old block data after checking it. You save disk space, and your node still checks the whole blockchain itself.

## Key Takeaways

- Blockchain pruning lets a Bitcoin node validate every block from genesis but discard old raw block data afterwards, reducing disk usage from over 700 GB to as little as 7 GB.
- A pruned node keeps the complete UTXO set and enforces all consensus rules exactly like an unpruned node. It is still a full node in every security-relevant sense.
- The trade-off is functionality: pruned nodes cannot serve historical blocks to peers, run a transaction index or rescan old wallet history for newly imported keys.

## What Is Blockchain Pruning?

Blockchain pruning is a storage optimisation in Bitcoin Core. It lets a fully validating node delete old block and undo data from disk after processing that data. Your node still downloads and validates every block since the genesis block and enforces all consensus rules, but deletes the raw data after updating the UTXO set and block index.
The Bitcoin blockchain exceeds 700 GB as of 2026 and grows by roughly 1 GB every few days. Storing the full chain is increasingly impractical on consumer hardware, laptops or low-storage devices. Bitcoin Core 0.11.0 introduced pruning in July 2015 to address this barrier, so you can run a fully validating node with minimal disk space.
A common misconception is that pruning weakens security, but it does not. A pruned node performs the same validation as an archival node during initial block download: it verifies proof-of-work, checks every transaction against consensus rules and builds the complete UTXO set. The only difference comes after validation, when the raw block files are deleted.

## How It Works

Pruning operates on the raw block storage files that Bitcoin Core writes to disk. You need to know what data your node stores to follow the process.
Pruning follows a set sequence during sync and normal operation. Your node applies that sequence whenever pruning is enabled.
BIP 159 defines the 288-block minimum and introduces the NODE_NETWORK_LIMITED service bit. Pruned nodes signal this bit to peers to show that they can serve only recent blocks, not the full chain history.

## What Is Retained

Pruning leaves some data on your node. Your node still holds that data after old blocks are removed.

## What Is Discarded

Pruning removes some data from your node. The discarded data is no longer stored on disk.

## Configuration

Pruning uses the prune parameter in bitcoin.conf or the command line. You can set it in either place.
The minimum value of 550 MiB ensures that the node always retains at least 288 blocks on disk. Actual disk usage may briefly exceed the target in practice to maintain this minimum.
Manual pruning mode (prune=1) was introduced in Bitcoin Core 0.14.0. It lets you prune blocks on demand with the pruneblockchain RPC.
Manual pruning gives you fine-grained control over which blocks to keep. You can archive specific historical ranges while pruning the rest.

## Pruning and Initial Block Download

A pruned node downloads and validates the entire blockchain from genesis during initial block download (IBD), just like an unpruned node. The IBD validation process is identical: every block is checked, every transaction is verified and the UTXO set is built incrementally.
Old block files are deleted as the sync progresses. Bitcoin Core aggressively prunes all eligible files at once rather than deleting one at a time, because each pruning event triggers a flush of the in-memory UTXO cache (-dbcache) to disk. Fewer flushes mean faster sync times.
A pruned node may temporarily use more disk space during IBD than the final pruned size. Blocks accumulate between pruning events, and the UTXO cache uses memory that is periodically flushed to disk.

## Running a Node on Limited Hardware

Limited storage is the most common reason to run a fully validating Bitcoin node with pruning. A Raspberry Pi with a 32 GB SD card, an old laptop or a cloud VPS with minimal disk allocation can all run a pruned node. These setups would require 700+ GB of storage without pruning.

## Desktop Wallets with Full Validation

You can run a pruned node alongside your wallet software if you want a self-custodial wallet with full validation rather than trusting a third-party server. Bitcoin Core's built-in wallet has supported pruned mode since version 0.12.0, giving you the security of full validation without dedicating a terabyte of disk space.

## Network Decentralization

Pruning lowers the hardware requirements for running a full node, which contributes to Bitcoin's decentralisation. More users validating their own transactions means fewer users trusting third-party nodes, strengthening the network's censorship resistance and trustless verification properties.

## Why It Matters

Bitcoin's security model depends on users running their own full nodes to verify transactions independently. The cost of running a full node increases as the blockchain grows. Pruning directly addresses this by keeping the disk requirement manageable regardless of how large the total chain becomes.
Layer-2 solutions like the Spark protocol and the Lightning Network benefit from lightweight full nodes. You still benefit from independently verifying on-chain state when you interact with off-chain protocols. A pruned node provides that verification without the storage overhead.
A pruned node differs from a light client (SPV): SPV clients trust miners to produce valid blocks, while pruned nodes verify everything themselves. Pruning achieves most of the storage savings of SPV without any of the trust assumptions.

## Cannot Serve Historical Blocks

A pruned node cannot relay old blocks to peers syncing the chain. The Bitcoin network depends on archival nodes to serve historical data, so new nodes joining the network may struggle to find peers with the blocks they need during IBD if too many nodes prune. Enough archival nodes exist today in practice, but this remains a collective action concern.

## No Wallet Rescan for Imported Keys

A pruned node will not discover historical transactions when you import a private key or watch-only address. The importwallet, importaddress and importprivkey RPCs are disabled in pruned mode because the historical blocks needed to find past transactions have been deleted.
Bitcoin Core developers are working on solutions to re-fetch pruned blocks from peers on demand. The limitation still affects most users.

## Incompatible with Transaction Index

The -txindex flag builds an index of all transactions for fast lookup via getrawtransaction and requires full block data. Pruning and transaction indexing are mutually exclusive. Applications that need to query arbitrary historical transactions, such as block explorers and analytics tools, must run unpruned nodes.

## Irreversible Without Re-download

Pruned blocks can only be recovered by re-downloading the entire blockchain from the network using the -reindex flag. Switching from pruned to unpruned mode therefore requires a full resync, which can take hours or days depending on hardware and network conditions.

## UTXO Set Growth

Pruning does not reduce the size of the UTXO set, which is stored separately and continues to grow over time. The UTXO set exceeds 11 GB as of 2025. Nodes must store the full UTXO set to validate new transactions even with pruning, so it represents the true minimum storage requirement that pruning cannot reduce.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
