---
title: "Orphan Transaction — definition | Nuri Glossary"
description: "A transaction whose parent has not arrived yet, so it cannot be validated."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/orphan-transaction"
---

# Orphan Transaction

A transaction whose parent has not arrived yet, so it cannot be validated.

## Basically

In plain words, an orphan transaction is a valid transaction that cannot be processed because its parent transaction has not yet been received by the node.

## Key Takeaways

- An orphan transaction references inputs from a parent transaction the node has not yet received. Nodes store these in a temporary orphan pool until the missing parent arrives and both can be validated against the mempool.
- Orphan transactions arise from normal network behavior: propagation delays, out-of-order relay, and CPFP scenarios where a high-fee child outpaces its low-fee parent across the peer-to-peer network.
- Nodes enforce strict limits on orphan pool size and expiry time to prevent denial-of-service attacks where adversaries flood the network with transactions referencing non-existent parents.

## What Is an Orphan Transaction?

An orphan transaction is a Bitcoin transaction that a node receives before receiving one or more of its parent transactions. Every Bitcoin transaction must reference the outputs it spends as inputs. When a node cannot find those referenced outputs in its mempool or in the confirmed blockchain, it cannot validate the transaction. Rather than discarding it outright, the node places it in a separate holding area called the orphan pool.
The term "orphan" describes a transaction that has been separated from its parent: it exists on its own with no verifiable lineage. Once the missing parent transaction arrives and is validated, the orphan is reunited with its ancestry, validated in turn, and promoted to the mempool for inclusion in a future block.
Orphan transactions are distinct from orphan blocks (more accurately called stale blocks), which are valid blocks that lose a propagation race and do not become part of the longest chain. The two concepts share a name but arise from entirely different mechanisms.

## How It Works

When a node receives a new transaction from a peer, it attempts to validate the transaction by looking up each input. If any input references an output that the node has never seen (neither in a confirmed block nor in the mempool), the transaction is flagged as an orphan.

## Why Orphans Occur

Orphan transactions are a natural consequence of how Bitcoin's peer-to-peer network propagates data. Several scenarios produce them:

## Orphan Pool Limits

Bitcoin Core enforces limits on the orphan pool to prevent memory exhaustion. These limits have evolved significantly over time:
In addition to size limits, orphan transactions expire after 20 minutes. If the parent has not arrived within that window, the orphan is evicted on the assumption that the parent is unlikely to appear.

## Eviction Policies

When the orphan pool reaches capacity, the node must evict existing orphans to make room for new ones. Bitcoin Core has used different eviction strategies:

## Orphan Transactions and Package Relay

Package relay is a protocol improvement that directly addresses the orphan transaction problem. Defined in BIP 331, package relay allows nodes to request and validate groups of related transactions together rather than one at a time.
Bitcoin Core v28.0 introduced opportunistic 1-parent-1-child (1p1c) package relay. When a parent transaction is rejected for having too low a feerate, the node checks the orphan pool for a child transaction that pays enough fees to justify accepting both as a package. This enables CPFP through the orphan pool, which is particularly important for Lightning Network anchor outputs where fee bumping through package relay ensures that commitment transactions can be confirmed even during fee spikes.
Bitcoin Core v29.0 further improved orphan handling with multi-peer orphan resolution: nodes now attempt to download missing parents from all peers who announced the orphan, not just the original sender. This increases the likelihood of resolving orphans quickly.

## Use Cases

While orphan transactions are not intentionally created, understanding them is important in several contexts:

## Risks and Considerations


## Denial-of-Service Attacks

The orphan pool has historically been a target for denial-of-service attacks. CVE-2012-3789 exposed two vulnerabilities in early Bitcoin Core versions:
Modern Bitcoin Core versions mitigate these risks through strict per-transaction size limits (100 KB), pool capacity constraints, time-based expiry, and per-peer DoS scoring. The v30.0 redesign specifically targets scenarios where a single malicious peer attempts to churn the orphan pool to disrupt legitimate transaction relay for other peers.

## Mempool Consistency

Different nodes may have different orphan pool contents depending on which transactions they have received and in what order. This means that some nodes may resolve an orphan chain quickly while others take longer, contributing to slight variations in block propagation and mempool state across the network.

## Privacy Implications

The existence of orphan transactions can reveal information about transaction propagation patterns. A node that consistently produces orphans for a specific parent may indicate that it is closer to the child transaction's origin than the parent's, which could be used in transaction graph analysis. The 20-minute expiry window and pool limits help bound how much timing data can be extracted.

## Implications for Layer 2

For the Bitcoin transaction lifecycle, orphan handling is a routine part of network operation. However, for time-sensitive protocols built on top of Bitcoin, orphan delays can matter. Lightning Network channel closes, particularly force closes, rely on transactions reaching the mempool promptly. If a critical transaction becomes orphaned due to network conditions, the delay in resolution could affect HTLC timeout handling. Improvements to orphan resolution in recent Bitcoin Core versions, combined with package relay, help reduce these risks.
This 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.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
