Independent review. This site is not the official website and is not affiliated with, endorsed by, or operated by the wallet vendor reviewed here. Never enter your seed phrase or private keys on any third-party site.

Gas Fees, EIP-1559 & Priority Fees in MetaMask

Try Tangem secure wallet →

Quick summary

This guide explains how metamask gas fees work after EIP-1559, how the metamask eip-1559 UI maps to on-chain fields, and how to control the metamask priority fee when a transaction needs to move fast. I use MetaMask daily for swaps, staking interactions and on-chain experiments. I’ll show concrete steps you can follow on desktop and mobile, and point to recovery and troubleshooting guides when fees go wrong.

screenshot: metamask gas edit screen

How EIP-1559 changed gas (under the hood)

EIP-1559 split the old single gas price into two main pieces: a block-level base fee that is burned, plus a miner (validator) tip commonly called the priority fee. Transactions now include two inputs: maxFeePerGas and maxPriorityFeePerGas.

  • Base fee: set by the chain per block and burned.
  • Priority fee (tip): goes to the validator that includes your transaction.
  • Max fee: your upper bound to cover base + tip during spikes.

Why does this matter? Because MetaMask shows fields labeled "Max fee" and "Max priority fee." What you enter directly controls how likely miners are to accept your transaction during congestion. If your maxFee is too low compared with the base fee, the node will reject the transaction at broadcast time (or it won't be mined). Simple math matters here.

Try Tangem secure wallet →

How MetaMask calculates and displays fees (metamask gas estimation)

MetaMask gets fee suggestions from the RPC node it's connected to. The extension or mobile app will offer presets like "Low / Market / Aggressive" and let you open an advanced editor to change values.

What to expect from MetaMask's gas estimation:

  • It estimates gas limit (how much gas the action will use), not the fee per unit.
  • It suggests priority fee values in gwei. Those are volatile.
  • The estimator can be wrong when the RPC node is slow or the network is congested.

Tip: if estimates look stale, switch RPC (or add a custom RPC) — see add-custom-network for how to add an alternative node.

How to set the MetaMask priority fee — step by step (desktop & mobile)

The steps below show the safe way to change priority fees when you need a transaction to confirm quickly.

Desktop (extension)

  1. Fill the transaction and click "Confirm". The confirmation popup shows fee presets.
  2. Click "Edit" next to the suggested fee.
  3. Choose "Advanced" to reveal Max fee and Max priority fee fields.
  4. Increase the Max priority fee (tip) to move your transaction up the queue. Also raise Max fee to cover the higher base fee if needed.
  5. Confirm the edit and send.

If the transaction is already pending, use the activity list, select the pending tx, and use "Speed up" (resends with same nonce and higher fees) or "Cancel" (sends a zero-value tx with same nonce). See stuck-pending-transactions.

Mobile (iOS / Android)

  1. Start the transaction and tap confirm.
  2. Tap the fee preview then "Edit" or "Advanced".
  3. Adjust Max priority fee and Max fee in gwei.
  4. Save and send.

Mobile UI varies by version. If you don't see an advanced option, open the transaction from activity after sending and use Speed up / Cancel.

But remember: increasing the priority fee only raises the tip — if Max fee is lower than the chain's base fee, the tx will still be rejected.

Common EIP-1559 pitfalls and real mistakes I made

I once sent a contract interaction with a too-low priority fee during a mempool spike. It sat pending for hours. I ended up using "Speed up" and paid twice what I should have (annoying and avoidable). Live networks spike unpredictably. Expect variance.

Other mistakes:

  • Setting the gas limit far too high (wasting potential fee if a contract misbehaves).
  • Approving unlimited token allowances and later needing to revoke — link: how-to-revoke-approvals.

These are practical, common errors. I learned to double-check advanced fields and to test small amounts when interacting with unknown contracts.

Layer 2 and MetaMask: where the gas savings actually happen (metamask l2 gas savings)

Adding supported Layer 2 networks (L2s) to MetaMask reduces per-transaction fees because those networks batch or compress transactions off-chain. MetaMask will display the native token fee for the L2 (for example, ETH on some rollups).

  • Add networks via add-optimism-arbitrum or add-polygon.
  • Remember: bridging assets to L2 costs gas — sometimes that bridge fee outweighs savings for small transfers.

And yes, L2 gas models vary. Some L2s follow an EIP-1559-style fee; others use different mechanics. Always check the target network's docs before assuming universal savings.

Practical gas optimization tips (metamask gas optimization)

  • Use L2s for frequent trading or micro-transactions.
  • Time non-urgent actions for low-traffic windows (weekends or off-peak hours). Simple but effective.
  • For non-urgent approvals or metadata-only txs, lower the priority fee and accept longer confirmation time.
  • When swapping, the built-in aggregator can save you opening external DEXs — see built-in-swap. But watch slippage and gas combined.
  • If MetaMask's estimator seems off, manually set a higher Max fee and priority fee rather than repeatedly resending.

Small, deliberate changes save money over months. What I've found: a single well-timed batch of actions can save more gas than fiddling with micro-optimizations.

Security notes: approvals, phishing and transaction tricks

Gas edits don't change what a transaction does. They only change how fast it will be mined. A malicious dApp can still present a contract call that drains funds while asking for low gas. Always inspect the contract and purpose before approving.

Account abstraction and smart-contract wallets can offer gasless or sponsored transactions through relayers (session keys, batched transactions). MetaMask can interact with those contracts, but gas sponsorship depends on the dApp and relayer, not on MetaMask itself. See account-abstraction to learn more.

Quick comparison: MetaMask vs other wallet approaches (gas handling)

Feature MetaMask (extension + mobile) Mobile-first software wallets Hardware wallets (cold)
EIP-1559 fields editable Yes Usually yes Yes (via companion app)
Manual priority fee control Yes (advanced) Varies Varies
L2 support Yes (add networks) Varies Varies
Speed up / cancel pending txs Yes Varies Limited (depends on UX)
Convenience for swaps High (built-in aggregator) High Lower (more steps)
Security for private keys Hot wallet = less secure Hot wallet = less secure Highest (private keys offline)

This table is about gas handling, not an overall endorsement. Each approach has trade-offs.

Who this wallet is for — and who should look elsewhere

Who it's for:

  • Active DeFi users who need fine control of fees and network switching.
  • People who want a mix of extension and mobile access.

Who should look elsewhere:

  • Users prioritizing maximum security over convenience (consider hardware wallets; see hardware-best-practices).
  • People who want built-in fiat on-ramps or custodial custody — this is a non-custodial software wallet.

FAQ

Q: Is it safe to keep crypto in a hot wallet?

A: Hot wallets are convenient but carry higher risk than hardware wallets. Keep only working balances in a hot wallet and larger holdings in cold storage. See backup-and-recovery-options.

Q: How do I revoke token approvals?

A: Use the guide: how-to-revoke-approvals. Revoke infinite allowances and set single-use approvals for unknown dApps.

Q: What happens if I lose my phone?

A: If you have your seed phrase, you can restore to another device. If not, funds are lost. Store your seed phrase offline and follow backup-and-recovery-options.

Q: Why did my transaction fail despite a high max fee?

A: If maxFee < baseFee at the time of inclusion, a node will reject it. Also, failing contract logic can consume gas and revert. See transaction-troubleshooting.

Conclusion & next steps (CTA)

Controlling metamask gas fees comes down to understanding EIP-1559 fields, trusting good gas estimates, and using L2s when you need cheap, frequent transactions. If you're unsure, practice on small amounts and use the editor to set Max priority fee before committing.

Read step-by-step guides next: Set up MetaMask on desktop, Set up on mobile, and Speed up or cancel stuck transactions. If token approvals are part of your workflow, bookmark how-to-revoke-approvals.

And one last practical note: double-check advanced fee fields before you hit confirm. Small checks avoid expensive mistakes.

Try Tangem secure wallet →