This article covers how Ethereum gas fees work after the Dencun upgrade, and the concrete techniques — from timing your transactions to choosing the right layer — that reduce what you pay. If you've ever stared at a $14 fee to move $50 of tokens and wondered what you're doing wrong, this is the explanation that answers that.

What Gas Actually Is

Every action on Ethereum — sending tokens, swapping on a DEX, minting an NFT — requires computation from the network's validators. Gas is the unit that measures how much computation your transaction needs. You don't pay gas directly; you pay for gas in ETH. The total fee is: gas units used × price per gas unit. The price per unit fluctuates based on network demand, which is why the same swap can cost $2 on Tuesday morning and $30 on Wednesday afternoon.

  • Gas is measured in tiny fractions of ETH called gwei (one gwei = 0.000000001 ETH)
  • A simple ETH transfer uses ~21,000 gas units. A complex DeFi interaction might use 200,000+
  • Since EIP-1559 (August 2021), each transaction has a base fee that the network sets algorithmically, plus an optional priority fee (tip) you offer validators to process your transaction faster
  • The base fee is burned — removed from circulation — not paid to validators. Only your tip goes to them
  • When blocks are more than 50% full, the base fee rises. When they're under 50% full, it falls

What this means practically: You control two things — when you transact (which affects the base fee) and what tip you offer (which affects speed). Everything else in this guide builds on those two levers.

Why 2025 Is Different: Post-Dencun Ethereum

The Dencun upgrade (March 2024) introduced blob transactions — a new, cheaper way for Layer 2 networks to post data back to Ethereum mainnet. This didn't reduce gas on Ethereum's base layer directly. What it did was make Layer 2s dramatically cheaper to operate, which slashed fees on those networks by 90–99% in many cases. If your 2025 gas strategy doesn't account for this, you're optimizing the wrong layer.

  • Layer 2 transaction fees dropped from dollars to fractions of a cent for many operations after Dencun
  • Ethereum mainnet gas fees still fluctuate based on demand — Dencun didn't change L1 pricing mechanics
  • The Pectra upgrade (May 2025) further expanded blob capacity, pushing L2 costs even lower
  • The practical effect: most routine transactions no longer need to happen on mainnet at all

What this means practically: The single biggest gas optimization in 2025 isn't a trick — it's using a Layer 2 for anything that doesn't specifically require mainnet security.

By the numbers
2024
the dencun upgrade march
90
which slashed fees those
99%
slashed fees those networks
2025
tworks many cases your

Technique 1: Move to a Layer 2

A Layer 2 (L2) is a separate blockchain that processes transactions off Ethereum mainnet but inherits its security by posting compressed proofs back to it. The major ones — Arbitrum, Optimism, Base, zkSync — handle the same tokens and DeFi protocols you'd use on mainnet, at a fraction of the cost.

1. Bridge your assets — Use the native bridge of your target L2 (e.g., bridge.arbitrum.io). Native bridges are slower but trust-minimized. Third-party bridges are faster but add smart contract risk. Start with small amounts.

2. Verify contract addresses — Tokens on L2s have different contract addresses than mainnet. Use the L2's official token list or a block explorer like Arbiscan to confirm you're interacting with legitimate contracts.

3. Transact normally — Once on an L2, your wallet (MetaMask, Rabby, etc.) works the same way. Swaps, lending, transfers — all function identically, just cheaper.

What this means practically: A token swap that costs $8 on mainnet might cost $0.01–$0.10 on an L2. For most users, this is the only optimization that matters.

Technique 2: Time Your Mainnet Transactions

When you must use mainnet — bridging, interacting with a protocol that only exists on L1, or dealing with large amounts where you want maximum security — timing matters. Gas prices follow predictable patterns tied to when the most users are active.

  • Weekends (Saturday and Sunday UTC) consistently show lower average gas prices than weekdays
  • Early morning UTC (roughly 01:00–07:00) tends to be cheapest — US users are asleep, European users haven't started yet
  • NFT mints, airdrop claims, and major DeFi events cause unpredictable spikes that can last minutes or hours
  • Tools like [ultrasound.money](https://ultrasound.money) and [etherscan.io/gastracker](https://etherscan.io/gastracker) show real-time and historical gas data
  • Most wallets let you set a max fee — the ceiling you're willing to pay. Your transaction waits until the base fee drops below it, then executes

What this means practically: Waiting 6–12 hours for a non-urgent mainnet transaction can cut your fee by 50% or more. Set a max fee at the low end of recent ranges and let it fill when demand dips.

By the numbers
01
weekdays early morning utc
00
eekdays early morning utc
07
days early morning utc
00
early morning utc roughly

Technique 3: Batch and Consolidate

Batching means combining multiple operations into a single transaction. Each transaction on Ethereum carries a fixed overhead of ~21,000 gas just to exist, regardless of what it does. Fewer transactions = less overhead.

  • Some protocols offer native batching: Uniswap's "multicall" lets you approve and swap in one transaction
  • Smart contract wallets like Safe (formerly Gnosis Safe) can batch arbitrary operations — approve three tokens and execute three swaps as a single on-chain action
  • If you're claiming rewards from multiple DeFi positions, check if the protocol supports multi-claim functions before doing them one by one
  • ERC-4337 (account abstraction) wallets — a newer standard that lets wallets behave like smart contracts — often include native batching and can even let you pay gas fees in tokens other than ETH

What this means practically: If you do five things on-chain per week, batching them into two transactions saves roughly 60% of the fixed overhead gas. This adds up.

Technique 4: Optimize How Your Wallet Handles Gas

Your wallet's default gas settings are usually conservative — they overpay to ensure your transaction goes through quickly. That's reasonable for emergencies, but wasteful for routine activity.

  • Switch your wallet's gas estimation to "low" or "slow" for non-urgent transactions. The transaction takes longer but costs less.
  • Never leave gas settings on "aggressive" or "fast" as your default. This is the single most common source of overpayment.
  • Use the "custom" gas option to manually set your max base fee and priority fee. A priority fee of 0.01–0.05 gwei is sufficient for most non-urgent mainnet transactions in 2025.
  • If a transaction is stuck (pending for too long), you can "speed it up" by resubmitting with the same nonce (transaction sequence number) and a higher fee. Every major wallet supports this.

What this means practically: Spending 30 seconds adjusting gas settings before confirming a transaction can save $1–$10 per transaction on mainnet. Over a year of active use, that's real money.

By the numbers
0.01
fee and priority fee
0.05
priority fee priority fee
2025
most non urgent mainnet
30
what this means practically

Technique 5: Choose Protocols That Are Gas-Efficient

Not all smart contracts are created equal. Some protocols have optimized their code to use less gas for the same operation. This is invisible to most users but directly affects your fees.

  • Uniswap v4 (launched late 2024) uses a "singleton" contract design that reduces gas for swaps by roughly 30% compared to v3
  • Newer token standards like ERC-1155 (which handles multiple token types in one contract) are cheaper to transfer than separate ERC-20 or ERC-721 tokens
  • Aggregators like 1inch or Cowswap can route your trade through the most gas-efficient path, though their own overhead sometimes negates the savings on small trades
  • When two protocols offer the same service, compare the gas estimate your wallet shows before confirming. The difference can be 2–3x

What this means practically: Protocol choice is a gas decision. Before committing to a platform, check what a typical transaction costs. The cheapest option isn't always obvious.

Quick Recap

  • Use a Layer 2 for routine transactions. Post-Dencun, L2 fees are negligible. This is the highest-impact change you can make.
  • Time your mainnet transactions for off-peak hours and set a max fee you're comfortable with. Let the network come to you.
  • Batch operations where possible, and use wallets or protocols that support multicall or account abstraction.
  • Adjust your wallet's gas defaults away from "fast" — you're almost certainly overpaying if you haven't.