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 in MetaMask

Try Tangem secure wallet →

Gas Fees & EIP-1559 in MetaMask


Overview: What EIP-1559 changed

EIP-1559 redesigned how Ethereum gas fees are priced. Instead of a single auction-style gas price, each block has a base fee (burned) plus a priority fee (a tip paid to the validator). Transactions declare two EIP-1559 fields: maxFeePerGas and maxPriorityFeePerGas. MetaMask exposes these fields in its UI so you can control how much you pay in total and how much goes to validators as a tip.

Why care? Because the base fee is unpredictable and can spike quickly during congestion. Setting sensible priority fees helps your transaction confirm faster without wildly overpaying. I've learned that by experience — I once bumped a priority fee too high during a mempool rush and regretted it.


How MetaMask shows gas fees and priority fees

MetaMask presents gas choices with simple presets (slow / average / fast) and an Edit option for advanced control. On EIP-1559 chains these presets translate to ranges of maxFee and maxPriorityFee. The extension and mobile app share core behavior, but the extension typically exposes more granular controls by default.

Screenshot: MetaMask gas fee edit dialog (placeholder)

Try Tangem secure wallet →

Table: Quick feature comparison (Desktop vs Mobile vs Hardware via MetaMask)

Feature Extension (Desktop) Mobile app Hardware wallet via MetaMask
EIP-1559 fields shown (maxFee / priority) Yes (advanced) Yes (Edit) Yes (MetaMask calculates; signs with device)
Speed up / Cancel UI Yes Yes (simpler) Yes (signing on device required)
Custom RPC / L2 support Yes Yes Yes
Gas presets (slow/avg/fast) Yes Yes Yes

Note: gas estimation accuracy depends on the RPC you use. See the troubleshooting section below and see add-custom-network if you want to point MetaMask at a specific RPC.


Step-by-step: Set custom gas in MetaMask (extension)

  1. Create or open the transaction in MetaMask. When the confirmation screen appears, click Edit next to the suggested gas fee.
  2. Choose "Advanced" (or "Manual") to see max fee and max priority fee fields.
  3. Enter values in gwei. Example: set maxPriorityFeePerGas = 2 gwei and maxFeePerGas = 100 gwei (this caps your total spend).
  4. Optionally adjust the Gas Limit if the dApp suggests a custom limit.
  5. Confirm the transaction and monitor it in the activity tab.

Tip: If you’re unsure what numbers to use, pick the "slow" preset for non-urgent calls and leave the defaults for swaps that need speed. But be careful — too-low settings can leave a transaction pending.


Step-by-step: Set custom gas in MetaMask (mobile)

  1. Tap the pending transaction to open details and tap Edit (or "Edit fee").
  2. Pick a preset or choose manual to set max fee and priority fee.
  3. Tap Confirm to send the updated transaction.

Mobile UI is streamlined. In my experience the mobile app is faster for quick edits but sometimes hides advanced values behind extra taps. And that can be a benefit if you prefer simplicity.


Speed up, cancel, or replace a stuck transaction

MetaMask supports replacing a pending transaction by sending a new transaction with the same nonce and a higher fee (Replace-By-Fee style behavior for EIP-1559). Steps:

  1. Find the pending transaction in MetaMask activity.
  2. Click Speed Up to re-send the same transaction with a higher fee. Or select Cancel to send a 0-value transaction with the same nonce (this replaces the original so it won't execute).
  3. Confirm the new transaction and wait.

What if Speed Up/Cancel isn't available? You can manually send a raw transaction with the same nonce and higher gas fees (advanced). This is how I recovered once when the UI options were limited.


Practical ways to reduce gas fees (including L2s)

  • Use Layer 2 networks for frequent swaps or micro-transactions (L2 gas savings MetaMask). Many L2s have much lower per-transaction gas fees. See layer2-networks and gas-fees-l2 for setup details.
  • Time your transactions for off-peak hours when base fees drop.
  • Lower your maxPriorityFeePerGas for non-urgent transactions (save on tip while accepting slower confirmation).
  • Batch operations in a smart contract wallet or use account abstraction approaches if you make many small transactions (this trades complexity for lower aggregate fees).

But remember: cheaper doesn't always mean safer. Cross-chain bridges and some L2 bridges add complexity and different trust assumptions. Read guides like bridges-crosschain before moving funds.


Gas estimation accuracy & troubleshooting

MetaMask’s gas estimation comes from RPC nodes and on-chain state. If the RPC you’re using is slow or returning stale data, estimations will be off. Symptoms include transactions that stay pending or transactions that pay far more than expected.

Checklist when gas estimates look wrong:

  • Switch to a different RPC in Settings (or add a custom RPC via add-custom-network).
  • Try a different preset (sometimes "fast" will clear a stuck mempool transaction).
  • Increase the priority fee slightly if blocks are filling.

I've had cases where a popular dApp caused a sudden gas spike and the default suggestion lagged behind the mempool. That cost me extra gas (lesson learned). So monitor the network during big drops or launches.


Security tips and common mistakes I’ve made

  • Don’t set an absurdly high maxFeePerGas just to be safe — you can overpay. MetaMask won't charge the full max unless needed, but mistakes happen.
  • Watch dApps that auto-populate high gas. Always open the MetaMask confirmation screen and check the values yourself.
  • Revoke token allowances regularly (see token-approvals-revoke and revoke-approvals). I approved an unlimited allowance once and had to revoke it quickly.
  • Back up your seed phrase (recovery phrase) safely — see backup-recovery-seed. What happens if you lose your phone? Read lost-phone-recovery.
  • For large balances, pair MetaMask with a hardware wallet (connect-ledger) so signing happens on-device while MetaMask handles the gas UI.

Who this guide is for — and who should look elsewhere

Who this helps:

  • Users who send occasional on-chain transactions and want to control fees.
  • Traders who need to set priority fees for timely swaps in in-wallet swaps (see in-wallet-swap).
  • Builders who add custom RPCs and connect L2 networks.

Who might look elsewhere:

  • Users who never touch DeFi and only need cold storage should consider hardware-first workflows or custodial options for different tradeoffs.
  • If you prefer fully automated fee optimization without manual settings, some wallet interfaces and service providers offer different UX choices.

FAQ

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

A: Hot wallets trade convenience for a higher attack surface. For everyday use and small balances they’re fine if you follow security best practices (strong passwords, recovery phrase backup, hardware for large funds). See backup-recovery-seed for recovery options.

Q: How do I revoke token approvals?

A: Use a revoke tool or wallet UI to view and revoke allowances. See token-approvals-revoke for step-by-step instructions. I recommend revoking approvals you no longer need.

Q: What happens if I lose my phone?

A: You can restore MetaMask on a new device with your seed phrase (recovery phrase). If you lost that phrase, funds are unrecoverable. Read lost-phone-recovery and backup-recovery-seed.


Conclusion & next steps

EIP-1559 changed how fees are priced and gave users more control over priority fees and total cost. MetaMask surfaces those controls across its extension and mobile app, and you can set custom gas, speed up or cancel stuck transactions, and reduce costs by using L2s or lower priority fees for non-urgent calls. What I’ve found: a little attention to gas settings saves money over time, and pairing MetaMask with a hardware wallet makes higher-value operations safer.

Ready to adjust your settings? If you don’t yet have MetaMask installed, follow the relevant setup guide: Install MetaMask extension or Install MetaMask mobile app. For L2 fee details see gas-fees-l2 and layer2-networks. If you want to tighten approvals after changing fees, see token-approvals-revoke.

And remember: always preview transactions before signing. Small steps reduce avoidable costs.

Try Tangem secure wallet →