Passa al contenuto principale

How to customize gas settings

Does this article need to be translated?

Contribute to the Help Center

Submit translations, corrections, and suggestions on GitHub, or reach out on our Community forums.

For every transaction you send in MetaMask, you'll need to pay gas. For a general explainer, see here.

You can easily customize the gas you pay for each transaction according to your circumstances. For example, sometimes you may want to pay more to help your transaction be processed sooner; other times, you may be happy to wait.

First, let's define the various terms you'll encounter when customizing gas settings:

  • The gas limit

    The gas limit is the maximum amount of gas units you are willing to pay for in order to carry out a transaction or EVM operation.

  • The max priority fee

    The max priority fee goes to the validator, and incentivizes them to prioritize your transaction.

  • The max fee

    The max fee is the total, global amount paid for your transaction: base fee + priority fee.

Remember that gas you pay is not charged or collected by MetaMask, and not something we can control.

informazioni

Using an older version of MetaMask Extension?

These instructions apply to v10.29.0 or newer. In versions older than v10.29.0, you may need to first turn on 'Advanced gas controls' in settings.

When you start to send a transaction, you'll see a pencil icon by the estimated fee details allowing you to edit your gas option:

MetaMask Advanced gas market

Clicking on this button will allow you to choose between three options, 'Low', 'Market', or 'Aggressive'. These describe the amount of gas you're choosing to pay, and have these main implications:

  • 'Low' involves paying less for gas, and most likely waiting longer for your transaction to complete.
  • 'Market' sets your gas to reflect the current market rates.
  • 'Aggressive' enables you to be more forceful with your transaction, and have it completed as soon as possible by paying more.

MetaMask edit gas fee

Hit 'Advanced' to customize gas parameters directly.

Saving your gas settings for reuse

The advanced gas fee settings are network-specific, so you can enjoy a personalized and optimized experience for each network you use.

If you want to reuse the settings you've just configured, make sure to check the box that lets you save your settings as the default. Then, simply click'save' to ensure your gas settings become the default values for future use.

MetaMask advanced gas controls save settings