Solana Priority Fee: Get Your Transactions Processed Faster
The Solana priority fee is an optional payment that increases the scheduling priority of your transaction in the current leader's queue. It is calculated based on the compute unit price you specify and the compute unit limit requested.
Priority Fee Formula
Priority Fee = ceil(compute_unit_price Γ compute_unit_limit / 1,000,000) lamports. The compute_unit_price is specified in micro-lamports per compute unit. The default compute_unit_price is 0, meaning no priority fee. To maximize inclusion speed during congestion, set a competitive compute_unit_price using real-time fee estimation APIs.
When Do You Need a Priority Fee?
For routine transfers and low-stakes transactions, the base fee alone is usually sufficient. Priority fees become important during: major NFT launches, token airdrops, high-frequency trading bot execution, and any time the mempool is saturated. During quiet periods, a zero priority fee lands transactions reliably.
How to Set the Right Priority Fee
Use the Solana RPC method getRecentPrioritizationFees to retrieve priority fee data from the last 150 blocks. Set your compute_unit_price at the 75thβ90th percentile of recent successful transactions for the account you are writing to. Over-paying wastes SOL since priority fees are not refunded.
Priority Fee Goes 100% to Validators
Unlike the base fee (which is half burned), priority fees are entirely paid to the block-producing validator. This creates a direct incentive for validators to include higher-priority transactions, making the fee market effective even without a global mempool.
Frequently Asked Questions
What is a good Solana priority fee?
During normal conditions, 1,000β10,000 micro-lamports per CU is typically sufficient. During heavy congestion, competitive rates can reach 100,000+ micro-lamports. Use getRecentPrioritizationFees for real-time guidance.
Does Solana always require a priority fee?
No. The priority fee is fully optional. Most transactions during non-congested periods land successfully with zero priority fee.
Is the priority fee refunded if my transaction fails?
No. Priority fees are non-refundable regardless of transaction outcome.

Related Fee Topics
Base Fee
Every transaction on the Solana blockchain requires a mandatory base fee of 5,000 lamports (0.000005...
Transaction Fee
A Solana transaction fee has two components: a mandatory base fee and an optional priority fee. Unde...
Fee Calculator
Calculate your exact Solana transaction fee before sending. The total fee combines a fixed base fee ...