MetaMask Gas Fees: How to Understand and Reduce Them (2026)

Gas fees are one of the most confusing parts of using MetaMask and Ethereum. New users often get blindsided by a $40 fee for a simple token swap. Experienced users waste money by overpaying when the network is quiet. This guide explains exactly how gas works, how MetaMask estimates fees, and every practical method to pay less.

What Is Gas? The Simple Explanation

Every action on the Ethereum blockchain — sending ETH, swapping tokens, minting an NFT — requires computation. Validators who process your transaction need to be paid for that computation. Gas is the unit that measures how much computation your transaction requires.

Think of it like this: gas is the fuel your transaction burns. A simple ETH transfer burns 21,000 units of gas. A complex DeFi interaction might burn 200,000 units or more. The gas unit cost (measured in gwei) fluctuates with network demand. Your total fee is:

Total Fee = Gas Units Used × Gas Price (in gwei)

What Is Gwei?

Gwei is a denomination of ETH. One gwei equals 0.000000001 ETH (one billionth of ETH). When gas prices are “30 gwei,” each unit of computation costs 30 gwei.

  • 1 ETH = 1,000,000,000 gwei
  • 1 gwei = 0.000000001 ETH
  • At $3,000 ETH price, 1 gwei = $0.000003

A 21,000 gas transfer at 30 gwei = 630,000 gwei = 0.00063 ETH ≈ $1.89. The same transfer at 100 gwei = 2,100,000 gwei = 0.0021 ETH ≈ $6.30.

How EIP-1559 Changed Gas (Base Fee + Priority Fee)

Before 2021, gas pricing was a simple auction: you set a gas price and miners chose high-paying transactions. EIP-1559 introduced a two-part system that MetaMask uses today.

Base Fee

The base fee is set by the protocol itself, not by you. It adjusts automatically based on how full the previous block was:

  • If the last block was more than 50% full, the base fee rises (up to 12.5% per block)
  • If less than 50% full, the base fee falls

The base fee is always burned (permanently removed from circulation). You cannot pay less than the base fee — your transaction will simply not be included.

Priority Fee (Tip)

The priority fee (also called the “miner tip” or “max priority fee”) goes directly to the validator who includes your transaction. This is your incentive payment. During low congestion, 1–2 gwei is sufficient. During high congestion like a major NFT mint, 50+ gwei may be needed.

Max Fee

The max fee is the absolute maximum you’re willing to pay per gas unit. MetaMask sets this automatically, but you can override it. You’ll never pay more than the max fee, and you’ll usually pay less:

Actual Fee = Base Fee + Priority Fee (as long as both are below your max fee)

Any difference between your max fee and (base fee + priority fee) is refunded.

How MetaMask Estimates Fees

When you initiate a transaction, MetaMask queries the current network conditions and suggests a gas price. It presents three options:

Setting Use Case Speed
Low Non-urgent, can wait hours 30+ minutes
Market Most transactions 1–5 minutes
Aggressive Time-sensitive, NFT mints Under 30 seconds

MetaMask pulls data from multiple sources including the Ethereum gas oracle and recent block data to determine these estimates. The estimates update in real time — if you leave the confirmation window open for a few minutes, the suggestion may change.

Why MetaMask’s Estimates Are Sometimes Wrong

MetaMask estimates based on recent blocks. But gas prices can spike suddenly — a major NFT drop or market crash can triple gas in seconds. If you submitted with “Market” settings during a sudden spike, your transaction may hang as pending.

The Three Gas Settings in MetaMask

Low

Sets your max fee close to the current base fee with a minimal priority fee. This works fine when the network is quiet. If gas prices rise after you submit, your transaction may wait in the mempool for hours or even days until prices drop back to your limit.

Market

MetaMask’s recommended setting for most transactions. Sets a priority fee that should get you included within a few blocks (typically 1–3 minutes). This is the right choice for most swaps, transfers, and DeFi interactions.

Aggressive

Sets a high priority fee to compete with other transactions in the mempool. Use this when:

  • Minting a limited NFT where speed matters
  • Making an arbitrage trade
  • The network is congested and you need certainty
  • You’re cancelling or speeding up a stuck transaction

How to Manually Edit Gas in MetaMask

For full control, click “Advanced” on the gas estimation screen.

Step 1: Click “Market” on the confirmation screen, then select “Advanced”

Step 2: You’ll see three fields:

  • Max base fee: The maximum base fee you’ll accept (in gwei)
  • Priority fee: Your tip to the validator (in gwei)
  • Gas limit: The maximum gas units to use
  • Step 3: Set your values. For a simple ETH transfer:

    • Gas limit: 21,000 (never change this for simple transfers)
    • Priority fee: 1–2 gwei during low congestion
    • Max base fee: Current base fee + 10–20% buffer

    Step 4: Click “Save” and proceed with the transaction.

    Setting Gas Limit

    Never lower the gas limit below what a transaction actually needs. If your transaction runs out of gas mid-execution, it fails — and you still pay for the gas used up to that point. Only raise or lower gas limits if you understand exactly what you’re doing.

    For complex contract interactions, MetaMask may suggest 150,000–300,000 gas. Adding a 10–20% buffer above the estimate is good practice to avoid out-of-gas failures.

    When Are Gas Fees Lowest?

    Gas prices follow predictable patterns because most Ethereum activity comes from people in the US and Europe during their waking hours.

    Time (UTC) Typical Gas Level
    00:00 – 06:00 UTC Lowest (US and Europe asleep)
    06:00 – 10:00 UTC Rising (Europe waking up)
    13:00 – 20:00 UTC Peak (US active hours)
    20:00 – 24:00 UTC Declining

    Day of week: Weekends (especially Sunday UTC morning) are typically 30–50% cheaper than weekday peaks.

    Tools to monitor gas:

  • Etherscan Gas Tracker — shows current gas, history, and predictions
  • GasNow — real-time mempool data
  • ETH Gas.watch — alerts when gas drops below your threshold
  • Using Layer 2 Networks to Avoid High Gas Fees

    The single most effective way to reduce fees is to use an Ethereum Layer 2 network. L2s process transactions off the main chain and post compressed data to Ethereum, sharing the base layer security at a fraction of the cost.

    Network Typical Gas Fee Speed Compatible With
    Ethereum Mainnet $2–$50+ 12 seconds Everything
    Arbitrum One $0.05–$0.30 2–5 seconds Most DeFi
    Optimism $0.05–$0.30 2–5 seconds Most DeFi
    Base $0.01–$0.10 2–5 seconds Growing DeFi
    Polygon PoS $0.001–$0.01 2–5 seconds Wide support
    zkSync Era $0.05–$0.20 5–15 seconds Growing

    Adding an L2 to MetaMask

  • Go to Settings → Networks → Add Network
    • Select from MetaMask’s pre-verified network list (Arbitrum, Optimism, Base, Polygon are all there)
    • Or manually enter the RPC details from the official network documentation
    • Bridge ETH from mainnet using the network’s official bridge

    Once you’re on an L2, all your interactions with that network’s dApps cost a fraction of mainnet fees.

    Gas Fee Comparison by Common Action

    Action Mainnet Gas Arbitrum Gas Polygon Gas
    Send ETH/native token $1–$5 $0.05–$0.15 $0.001
    ERC-20 token transfer $2–$15 $0.10–$0.30 $0.005
    Uniswap token swap $10–$50 $0.20–$0.80 $0.01
    NFT purchase (OpenSea) $15–$80 $0.30–$1.00 $0.02
    Approve token spend $5–$25 $0.10–$0.40 $0.005
    Add liquidity $20–$100 $0.40–$1.50 $0.02

    Prices vary significantly with ETH price and network congestion.

    How to Cancel or Speed Up a Stuck Transaction

    If you submitted a transaction with too low a gas price, it sits in the mempool as “pending.” MetaMask provides two options:

    Speed Up

    Click the pending transaction in MetaMask, then click “Speed Up.” MetaMask submits a new transaction with the same nonce but a higher gas price. The higher-paying version gets picked up first, effectively replacing the original.

    Cancel

    Click the pending transaction, then click “Cancel.” This submits a zero-value transaction to yourself with the same nonce and a higher gas price. Once the cancel transaction is mined, the original is dropped.

    Important: There is no guarantee a cancel works. If your original transaction gets mined before the cancellation, the original goes through. Speed up and cancel only work while the transaction is still pending in the mempool.

    Manual Cancel via Nonce Override

    If MetaMask’s cancel button fails:

  • Go to Settings → Advanced → Customize transaction nonce and turn it on
    • Send any transaction (0 ETH to yourself works)
    • Manually set the nonce to match the stuck transaction’s nonce
    • Set a high gas price
    • Submit — this replaces the stuck transaction

    Tips to Consistently Pay Less Gas

    Batch actions where possible. Some DeFi protocols let you combine approvals and swaps in one transaction. Uniswap v3 and many aggregators like 1inch do this automatically.

    Use gas tokens during low-fee periods. Some advanced users mint gas tokens (like GST2 or CHI) when gas is cheap and burn them when gas is expensive, receiving a partial ETH refund. This is increasingly niche but still works.

    Avoid peak hours. Moving a transaction from 3 PM EST to 3 AM EST can save 50–70% on gas during normal market conditions.

    Use a gas tracker with alerts. Set an alert on ETH Gas.watch or Etherscan to notify you when gas drops below a threshold you’re comfortable with.

    Use L2s for routine activity. Keep only what you need for imminent mainnet activity on mainnet. Move the rest to Arbitrum or Base for cheaper DeFi.

    Check for gasless transaction options. Some dApps (like Uniswap’s permit2 system) allow token approvals without spending gas by using EIP-712 signatures instead.


    FAQ

    What is a “gas limit” in MetaMask?

    The gas limit is the maximum number of gas units your transaction is allowed to use. If a transaction completes using less gas than the limit, you’re refunded the difference. If it hits the limit before completing, it fails and you lose the gas spent up to that point.

    Why did MetaMask charge me more gas than shown?

    MetaMask shows an estimate, not a guarantee. The actual gas used depends on the state of the blockchain at the exact moment your transaction executes. Complex DeFi interactions can use varying amounts depending on the current state of liquidity pools, price feeds, and other variables.

    Can I set 0 gwei priority fee?

    Technically yes, but your transaction may wait a very long time. Validators prioritize transactions with higher tips. During low congestion, 1 gwei is usually enough. During high congestion, 0 gwei transactions may sit for days.

    What happens to my ETH if a transaction fails?

    You lose the gas used up to the failure point. You do not lose the ETH or tokens you were trying to send — those are returned to your wallet. Only the gas payment is non-refundable after consumption.

    Is it safe to edit gas settings manually?

    Yes, adjusting priority fee and max base fee is safe. The only risk is setting them too low (transaction stays pending) or setting the gas limit too low (transaction fails out of gas). Never lower the gas limit below the amount a transaction actually requires.

    How do I know what gas limit to set for a custom contract interaction?

    Use Etherscan’s “Read Contract” or simulate the transaction first. Most MetaMask users should leave the gas limit at MetaMask’s suggestion and add 10–20% buffer for complex interactions. Developers can use tools like Tenderly or Hardhat to get exact estimates.

    Do gas fees change the amount of ETH I receive?

    No. Gas fees come out of your ETH balance separately. If you’re swapping 1 ETH for USDC, you receive the full swap output and the gas fee is deducted on top from your ETH balance. If you don’t have enough ETH to cover both the transaction value and the gas, the transaction will fail.


    Related guides:

  • MetaMask Snaps: What They Are and How to Use Them
  • How to Add a Custom Network to MetaMask
  • MetaMask vs Rabby Wallet: Which Is Better in 2026?
  • Ethereum Layer 2 Networks: Complete Comparison (2026)

  • Posted

    in

    ,

    by

    Comments

    Leave a Reply

    Your email address will not be published. Required fields are marked *