Quick overview
MetaMask implements EIP-1559 and exposes editable gas fields so you can manage gas fees in everyday DeFi activity. This article explains what EIP-1559 means inside the MetaMask UI, how the wallet estimates gas (and where that can go wrong), how to set a priority fee in MetaMask, and how to benefit from L2 gas savings. I tested real transactions on mainnet and on a couple of popular Layer 2 networks. I’ll explain my test steps so you can run the same checks yourself.
How EIP-1559 works in MetaMask (short primer)
EIP-1559 splits what used to be a single "gas price" into two key values: the base fee (algorithmically set by the network and burned) and the priority fee (a tip to miners/validators). MetaMask shows these as editable fields when you choose the advanced gas editor: "Max fee" and "Priority fee." You can think of Max fee as the ceiling you're willing to pay, and Priority fee as the incentive that speeds inclusion.
Why does this matter? Because changing the priority fee affects how quickly a miner/validator picks your transaction (and thus affects cost), while the base fee (out of your control) determines the minimum per-block charge.
Step-by-step: view and change MetaMask gas settings
Below are the steps I used while testing; follow them to reproduce.
Extension (desktop) steps
- Open MetaMask and start a transaction (send or swap).
- Click "Edit" next to the estimated fee in the confirmation screen.
- Choose "Advanced" to see Max fee and Priority fee fields.
- Adjust Priority fee (in gwei) or Max fee as needed, then confirm.
Mobile steps
- Start the transaction in the MetaMask mobile app.
- On the confirmation screen tap the fee summary.
- Tap "Advanced options" (or similar) to reveal Priority fee and Max fee.
- Change values and submit.
And yes, the labels differ slightly between app versions. But the core fields you’ll edit are the same.
Gas estimation in MetaMask: how I tested it (so you can replicate)
Methodology (replicable):
- Environment: desktop extension connected to the default RPC, and mobile app connected to the same account.
- Test actions: 1) a small ETH transfer, 2) an ERC-20 swap via the built-in swap aggregator, 3) a token approval and revoke flow.
- Steps: perform each action three times with different priority fee settings (low/medium/high). Record confirmation times and gas used using a public block explorer.
What I found (summary): MetaMask's gas estimation generally aligns with recent block base fees plus a suggested priority fee. But if the RPC node lags or the network is spiking, estimations can be off and your tx may be slow or require a speed-up.
Note: if you use a custom RPC, repeat these steps with the custom RPC selected to see how its estimations compare.
Priority fee MetaMask: when to bump, how much, and replacement transactions
When should you increase the priority fee? When a transaction is time-sensitive (e.g., front-running a trade) or when a long mempool backlog appears (confirmations slow).
How much? There’s no fixed number. For routine transfers during quiet periods, a low priority fee (1–3 gwei on mainnet historically) may work. During congestion, you might set 10–50+ gwei. (Values change — always check current network conditions.)
How to speed up or cancel a stuck transaction:
- Use the "Speed Up" option in MetaMask to send the same transaction with a higher priority fee.
- Use "Cancel" to attempt a zero-value replacement with a higher fee that overrides the stuck tx.
I ran a stuck-tx test: I first submitted a swap with a low priority fee, waited 3 blocks, then used Speed Up with a 3x priority fee. The replacement mined in the next block. Your experience may vary.
L2 gas savings with MetaMask (practical notes)
Layer 2 networks dramatically reduce base fees because they batch transactions or use different consensus. To use L2 gas savings in MetaMask:
- Add the L2 network via add-networks-custom-rpc or use a built-in network entry like add-polygon-to-metamask.
- Bridge assets to that L2 using a trusted bridge (remember cross-chain bridge risks).
- Transact on the L2 and compare gas. You’ll usually see much lower priority fee needs.
L2s save gas, but watch out: bridging itself costs mainnet gas and can be slow.
Practical tips to reduce gas fees (quick wins)
- Time your transactions (lower demand windows).
- Batch actions when possible (approve once for multiple trades). But be cautious with unlimited token approvals — revoke when done (token-approvals-and-revoke).
- Use MetaMask swaps (aggregator) to compare routes in one place (metamask-swaps-and-dex-aggregator).
- Move frequent activity to L2s to lower per-transaction gas.
| Tip |
When to use |
| Lower priority fee |
Non-urgent transfers during quiet periods |
| Higher priority fee |
Time-sensitive DeFi actions |
| L2 transactions |
Frequent swaps and small-value transfers |
Security risks and common mistakes related to gas
- Setting a very high Max fee will only charge what's needed, but the UI can be confusing; check the final confirmation carefully.
- Replacing transactions (speed up/cancel) uses more gas; don’t spam replacements.
- Malicious dApps can craft transactions that require excessive gas via loops; always review call details before approving.
If you’re unsure about an approval, revoke it later. See token-approvals-and-revoke.
Mini comparison: extension vs mobile gas controls
| Feature |
Extension (desktop) |
Mobile |
| Advanced gas editor (Max/Priority) |
Yes (clear, larger UI) |
Yes (smaller, sometimes nested) |
| Speed up / Cancel |
Yes |
Yes |
| Quick visibility of historical gas |
Easier on desktop |
Available but compact |
(If you want a broader comparison of form factors, see which-form-factor-mobile-vs-extension.)
FAQ
Q: Is it safe to keep crypto in a hot wallet like MetaMask?
A: Hot wallets are convenient for daily DeFi. They are less secure than hardware wallets for large balances. Consider hardware for long-term storage and a software wallet for day-to-day trading.
Q: How do I revoke token approvals?
A: Use a revoke tool or the approvals screen in MetaMask (or connect to a revoke UI) to remove unlimited allowances. See token-approvals-and-revoke.
Q: What happens if I lose my phone?
A: Restore with your seed phrase on another device. Keep the seed phrase offline and safe. See backup-and-recovery-seed-phrase.
Who this wallet is for / who should look elsewhere
Who MetaMask suits: active DeFi users who need a multi-chain, EVM-compatible hot wallet with editable gas controls and built-in swapping. It’s practical for people moving between mainnet and L2s and interacting with dApps via extension or mobile.
Who might look elsewhere: users who prioritize maximum security for large holdings (consider hardware-first workflows) or users who need native support for non-EVM networks (see guides like solana-and-metamask-compatibility).
Conclusion & next steps
MetaMask gives you EIP-1559 controls and editable priority fees, which means you can tailor gas settings for speed or savings. I tested the behavior across networks and showed how to reproduce the checks. Want practical walkthroughs? Continue with the step-by-step setup guides and swap tips: install-metamask-chrome, metamask-swaps-and-dex-aggregator, and add-networks-custom-rpc.
And if you want to dig deeper into transaction recovery, see cancel-and-replace-transaction. But remember: always practice with small amounts first.