Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Max Priority Fee Per Gas

Max Priority Fee Per Gas is the portion of a transaction's total gas fee designated as a tip for the validator or block producer, directly incentivizing them to prioritize its inclusion in the next block.
Chainscore © 2026
definition
EIP-1559 FEE MECHANISM

What is Max Priority Fee Per Gas?

A critical parameter in Ethereum's fee market that determines transaction ordering priority and miner/validator compensation.

Max Priority Fee Per Gas is the portion of a transaction fee, denominated in gwei, that a user specifies as a direct tip to the block proposer (miner or validator) for prioritizing their transaction's inclusion. It is a key component of the EIP-1559 fee model, operating alongside the Base Fee. The total fee a user pays per unit of gas is calculated as Base Fee + Min(Max Priority Fee, Max Fee - Base Fee). This mechanism separates the fee burned by the protocol (the base fee) from the optional tip that incentivizes block builders.

When a user submits a transaction, they set a Max Fee Per Gas (the absolute maximum they are willing to pay) and a Max Priority Fee Per Gas. The network's current Base Fee is burned. The effective priority fee is the smaller of the user's specified Max Priority Fee and the difference between their Max Fee and the Base Fee (Max Fee - Base Fee). This design ensures users can set a high Max Fee to guarantee inclusion during volatile periods while controlling their maximum tip. Validators are economically incentivized to order transactions by the size of this priority fee, making it the primary tool for users to expedite their transactions.

Setting an appropriate Max Priority Fee is a strategic decision for users. During periods of low network congestion, a tip of 1-2 gwei may suffice. In high-demand environments, users must increase this tip to outbid others for block space. Wallets and services often provide Gas Estimation APIs that suggest optimal values based on current mempool activity and desired confirmation speed. It's crucial to understand that if the Base Fee rises above the user's Max Fee, the transaction will remain pending or fail, regardless of the priority fee set.

This fee structure creates a more predictable and efficient auction for block space. The Base Fee adjusts algorithmically per block based on network demand, while the Max Priority Fee represents a pure market bid for priority. For validators, the total priority fees from all transactions in a block constitute their direct reward, supplementing the block subsidy and MEV (Maximal Extractable Value) opportunities. This clear separation allows for better fee estimation and reduces the inefficiencies and unpredictability of the legacy first-price auction model.

how-it-works
EIP-1559 MECHANICS

How Max Priority Fee Per Gas Works

An explanation of the Max Priority Fee Per Gas, a critical parameter for transaction ordering and speed in the post-EIP-1559 fee market.

The Max Priority Fee Per Gas is the portion of a transaction's total gas fee that is paid directly to the block proposer (validator) as a tip, incentivizing them to prioritize the transaction's inclusion in the next block. It is set by the user or wallet and is paid on top of the network's Base Fee Per Gas, which is algorithmically determined and burned. This separation of fees into a burned base fee and a miner tip is the core innovation of Ethereum's EIP-1559 upgrade, creating a more predictable and efficient fee market.

When submitting a transaction, a user specifies both a Max Fee Per Gas (the absolute maximum they are willing to pay per unit of gas) and the Max Priority Fee Per Gas. The total effective fee per gas is calculated as min(Max Fee, Base Fee + Max Priority Fee). The priority fee is the variable component that users can adjust to compete for block space. If the base fee rises unexpectedly, the system will first deduct the base fee, and the remaining amount (up to the Max Priority Fee) becomes the actual tip. If Max Fee < (Base Fee + Max Priority Fee), the transaction will be stuck until gas prices fall.

Setting this fee requires estimating network demand. Wallets and services often provide Gas Estimation APIs that suggest an appropriate Max Priority Fee based on recent block history and desired confirmation speed. A higher tip increases the likelihood of quick inclusion in the next 1-2 blocks, while a lower tip may result in delays. During times of low congestion, a minimal tip (e.g., 1-2 Gwei) is often sufficient, whereas during network spikes (e.g., an NFT mint), tips can soar to hundreds of Gwei to outbid other pending transactions.

It is crucial to distinguish this from the legacy Gas Price model. Pre-EIP-1559, users set a single gas price that was entirely paid to miners. Post-EIP-1559, the fee is split, with the base fee being burned (removed from circulation) and only the priority fee going to the validator. This design reduces fee volatility for users and introduces a deflationary mechanism for ETH. The Max Priority Fee is thus the user's direct bid for validator attention within the new economic framework.

In practice, transaction builders must ensure the math between Max Fee and Max Priority Fee is sound. A transaction with a Max Fee of 100 Gwei and a Max Priority Fee of 2 Gwei signals a willingness to pay a 2 Gwei tip, but only if the base fee is 98 Gwei or lower. If the base fee is 99 Gwei, the effective tip is reduced to 1 Gwei. If the base fee is 100 Gwei or higher, the effective tip is zero, and the transaction is unlikely to be included until congestion eases.

key-features
EIP-1559 MECHANICS

Key Features of Max Priority Fee Per Gas

The Max Priority Fee is a critical parameter for transaction ordering in the post-EIP-1559 fee market. These features explain its role and strategic use.

01

Definition & Purpose

The Max Priority Fee Per Gas (or miner tip) is the portion of the total transaction fee that is paid directly to the block proposer (validator) as an incentive to include a transaction in the next block. It is set by the user and represents a bid for priority inclusion, separate from the network's base fee which is burned.

02

Interaction with Base Fee

A user's total Max Fee Per Gas is the sum of the Base Fee (determined by the network) and the Max Priority Fee (set by the user). The formula is: Max Fee >= Base Fee + Max Priority Fee. The transaction will only execute if the Max Fee covers the current Base Fee plus the desired tip. Any unused portion of the Max Fee beyond (Base Fee + Priority Fee) is refunded.

03

Transaction Ordering & Speed

Within a block, validators typically order transactions by their priority fee, from highest to lowest. A higher tip increases the likelihood and speed of inclusion. Key scenarios:

  • Next Block Inclusion: High tip to outbid others.
  • Standard Transfer: Moderate tip for routine speed.
  • Backlog Clearing: Low or zero tip for non-urgent transactions when the base fee drops.
05

Max Priority Fee vs. Max Fee

These are distinct but related parameters a user must set.

  • Max Priority Fee: The maximum tip you are willing to pay.
  • Max Fee Per Gas: The absolute maximum total (base fee + tip) you are willing to pay per gas unit. Critical Rule: Your Max Fee must be greater than or equal to the current Base Fee + your Max Priority Fee, or the transaction will be rejected as underpriced.
06

The Zero-Tip Scenario

Setting a Max Priority Fee of zero is valid and means you are not bidding for priority. The transaction will only be included if a validator chooses to add it after the base fee is covered. This is common for non-urgent transactions and can result in long delays or exclusion during periods of high network demand, as validators prioritize tipped transactions.

EIP-1559 FEE BREAKDOWN

Max Priority Fee vs. Other Fee Components

A comparison of the primary fee components in an EIP-1559 transaction, detailing their purpose, recipient, and burn status.

Fee ComponentPurposeWho Receives It?Is It Burned?

Max Priority Fee (Tip)

Incentivizes validators/miners to prioritize your transaction.

Validators / Miners

Base Fee

Covers network congestion costs; algorithmically adjusted per block.

Network (Protocol)

Max Fee Per Gas

Absolute maximum you are willing to pay per gas unit (Base Fee + Tip).

Split between Burn and Validator

N/A

Transaction Fee (Total)

Final cost: (Base Fee + Priority Fee) * Gas Used.

Split between Burn and Validator

N/A

Gas Limit

Maximum computational work units you allow the transaction to consume.

N/A

Legacy Gas Price (Pre-EIP-1559)

Single price per gas unit paid to miners.

Miners

visual-explainer
EIP-1559 FEE STRUCTURE

Visualizing the Fee Breakdown

This section deconstructs the components of an EIP-1559 transaction fee, explaining how the Max Priority Fee Per Gas functions as a critical incentive mechanism within the new fee market.

In the EIP-1559 fee model, the total fee a user pays per unit of gas is the sum of two distinct components: the Base Fee and the Max Priority Fee Per Gas. The Base Fee is algorithmically determined and burned by the protocol, while the Max Priority Fee is a direct tip to the block proposer (validator). This separation creates a predictable base cost for inclusion and a competitive market for transaction ordering. Users set a maxPriorityFeePerGas to incentivize validators to prioritize their transaction within the next block.

The Max Priority Fee Per Gas is the primary tool users have to influence transaction speed. When network demand is high, validators are economically motivated to select transactions with the highest tips to maximize their rewards. If this fee is set too low, a transaction may be delayed across multiple blocks until a validator includes it. Crucially, this tip is paid on top of the mandatory Base Fee. The actual priorityFee paid is the minimum of the user's maxPriorityFeePerGas and the difference between the total maxFeePerGas and the current block's Base Fee.

Visualizing this, a transaction with a maxFeePerGas of 150 gwei and a maxPriorityFeePerGas of 10 gwei, entering a block with a Base Fee of 100 gwei, would result in a total cost of 110 gwei. The validator receives the full 10 gwei tip. However, if the Base Fee rose to 145 gwei, the same transaction would only have 5 gwei remaining from its total max fee (150 - 145). The validator would then receive only 5 gwei as the effective tip, as it is the lower of the user's max tip (10 gwei) and the remaining fee space.

This structure provides key benefits: fee predictability through the Base Fee, explicit competition for block space via the tip, and protection against overpayment through the maxFeePerGas cap. Wallets and users must strategically balance these two values—setting a maxPriorityFeePerGas high enough for timely inclusion while ensuring the maxFeePerGas is sufficient to cover potential Base Fee increases before the transaction is mined.

ecosystem-usage
MAX PRIORITY FEE PER GAS

Ecosystem Usage and Strategies

The Max Priority Fee Per Gas is a critical parameter for managing transaction inclusion speed and cost in EIP-1559 fee markets. These strategies detail how users and applications optimize its value.

01

Purpose and Core Function

The Max Priority Fee Per Gas is a tip paid directly to the block proposer (validator) to incentivize them to include a transaction in the next block. It is the primary mechanism for expressing transaction priority in a post-EIP-1559 fee market, separate from the base fee which is burned.

  • Determines Inclusion Speed: A higher tip increases the likelihood of immediate inclusion.
  • Paid to Validator: Unlike the base fee, this fee is not burned and rewards the network operator.
02

Dynamic Estimation Strategies

Wallets and applications use various methods to estimate an optimal Max Priority Fee, balancing cost against urgency.

  • Historical Percentile Analysis: Tools like the eth_feeHistory API analyze recent tip amounts for included transactions to suggest a competitive value (e.g., the 70th percentile).
  • Network Congestion Signals: Estimators monitor pending transaction pools (mempool) and base fee trends to adjust recommendations dynamically.
  • User-Predefined Tiers: Many wallets offer 'Slow', 'Standard', and 'Fast' options, which map to different tip multipliers.
03

Application-Specific Tuning

Different types of on-chain activities require distinct priority fee strategies to optimize for success and cost.

  • DeFi Arbitrage & Liquidations: These time-sensitive transactions often use aggressive tipping (e.g., 2-5x the standard rate) to guarantee inclusion in the very next block and capture value.
  • NFT Mints & Drops: During high-demand events, users may submit transactions with extremely high tips to outbid others, leading to tip bidding wars.
  • Regular Transfers & Settlements: Non-urgent transactions can use the minimum viable tip, often relying on estimators or a small fixed multiplier.
04

Wallet & RPC Provider Role

Infrastructure providers abstract complexity by building fee estimation directly into their services.

  • Default RPC Endpoints: Services like Infura, Alchemy, and public RPCs provide fee estimation APIs that return suggested maxPriorityFeePerGas.
  • Wallet Integration: Wallets (MetaMask, Rabby) call these estimators and present simplified options to users, often caching results to improve UX.
  • Customization: Advanced users can override automatic estimates to manually set the tip, which is crucial for complex MEV strategies or during network instability.
05

Interaction with Max Fee Per Gas

The Max Priority Fee must be set in conjunction with the Max Fee Per Gas, which is the absolute maximum a user is willing to pay total.

  • Fee Cap Relationship: Max Fee Per Gas = Base Fee + Max Priority Fee Per Gas. The transaction will only execute if the current base fee is less than (Max Fee - Max Priority Fee).
  • Refund Mechanism: If the base fee is lower than expected, the user pays (Base Fee + Priority Fee) and the unused portion of the max fee is refunded.
  • Setting Parameters: Users must ensure the max fee is high enough to cover anticipated base fee increases during pending period.
security-considerations
MAX PRIORITY FEE PER GAS

Security and Economic Considerations

The max priority fee is a critical parameter for transaction inclusion and network security, directly influencing user costs and validator incentives in a post-EIP-1559 fee market.

01

Definition and Purpose

The max priority fee per gas (or maxPriorityFeePerGas) is the maximum amount of gas fee a user is willing to pay directly to the block producer (validator) as a tip, on top of the network's base fee. It is the primary mechanism to incentivize validators to prioritize and include a transaction in the next block.

  • Purpose: Compensates validators for their work and computational resources.
  • Key Distinction: This fee is not burned (unlike the base fee); it is paid directly to the block proposer.
02

Transaction Stuck? Fee Too Low

If your max priority fee is set too low relative to network demand, validators have no economic incentive to include your transaction. It may remain in the mempool indefinitely or be dropped.

  • Common Issue: Users often underestimate this during periods of high congestion.
  • Solution: Wallets and block explorers provide fee estimation tools that suggest appropriate priority fees based on current mempool activity to ensure timely inclusion.
03

Fee Market Dynamics and MEV

The priority fee is a core component of Ethereum's fee market. During high demand, users compete by bidding higher tips, which can lead to fee spikes.

  • MEV Connection: Searchers and bots often pay exorbitant priority fees (sometimes 100+ ETH) to ensure their arbitrage or liquidation transactions are included in a specific block position, a practice central to Maximal Extractable Value (MEV).
  • Economic Effect: This competition can price out regular users, creating a tiered access system to block space.
04

Security Implications: Validator Incentives

A healthy, competitive priority fee market is crucial for network security. It ensures validators are adequately compensated for their operational costs and the opportunity cost of not performing MEV.

  • Incentive Alignment: Sufficient rewards prevent validator apathy and help secure the chain against attacks like long-range reorganizations.
  • Centralization Risk: If priority fees are consistently too low, smaller validators may become unprofitable, potentially leading to increased centralization among large, cost-efficient operators.
06

Related Concepts: Base Fee vs. Priority Fee

It's essential to distinguish the two components of the total gas fee in EIP-1559:

  • Base Fee (burned): The minimum fee per gas required for a transaction, algorithmically adjusted per block based on network congestion. This fee is destroyed (burned).
  • Priority Fee (tip): The additional fee per gas paid to the validator. This is the maxPriorityFeePerGas.
  • Total Fee: maxFeePerGas = Base Fee + Max Priority Fee. The transaction pays the base fee + min(priority fee, maxFeePerGas - base fee).
ETHEREUM GAS

Common Misconceptions About Max Priority Fee

Max Priority Fee is a critical parameter for transaction ordering on Ethereum, but it's often misunderstood. This glossary clarifies its distinct role from the base fee, its interaction with the total gas price, and common pitfalls in its estimation.

The Max Priority Fee Per Gas is the maximum amount of gas a user is willing to pay on top of the Base Fee to incentivize a validator (formerly miner) to include their transaction in a block. The Base Fee is the mandatory, algorithmically determined fee that is burned, while the priority fee is the optional tip paid directly to the block producer. The total gas price for a transaction is calculated as: Total Gas Price = Base Fee + Max Priority Fee. A common misconception is that the priority fee is the total cost; in reality, it's only the tip component.

MAX PRIORITY FEE PER GAS

Frequently Asked Questions (FAQ)

Essential questions and answers about the Max Priority Fee Per Gas, a critical parameter for controlling transaction speed and cost on Ethereum and other EIP-1559 networks.

The Max Priority Fee Per Gas is a parameter in an EIP-1559 transaction that specifies the maximum amount of gas the user is willing to pay as a tip, or priority fee, directly to the block proposer (validator) to incentivize them to include the transaction in the next block. It is the primary mechanism for users to bid for faster transaction inclusion, separate from the base fee which is burned by the protocol. The actual priority fee paid is the difference between the total max fee per gas and the current base fee, capped by this user-set maximum.

Key Points:

  • Measured in gwei.
  • Paid directly to the validator.
  • Determines transaction ordering within a block (higher tips get priority).
  • Part of the total gas cost: Total Cost = (Base Fee + Priority Fee) * Gas Used.
ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Max Priority Fee Per Gas: Definition & Role in Ethereum | ChainScore Glossary