Most concentrated liquidity education focuses on range width, fee tiers, and loss versus rebalancing (LVR). There is a quieter tax that only shows up when a large swap hits your pool: someone else can mint a tight position in the same block, soak a slice of that swap’s fee, then burn before you ever notice. That pattern is just-in-time (JIT) liquidity.
This guide explains what JIT is on Uniswap v3 (and why v4 keeps the same fee-share logic), what Uniswap Labs and later academic papers actually measured, how it differs from classic sandwiching, and what passive LPs on Base and Arbitrum should watch. Soft product note only: vault-style LP that stays in range without charging depositors an extra swap fee on upkeep does not magically cancel MEV — but understanding fee dilution helps you read “APR” screens with clearer eyes. Nothing here is financial advice.
What just-in-time liquidity actually is
Uniswap Labs’ research post defines JIT as a special LP strategy where an agent:
- Sees a (usually large) pending swap,
- Mints concentrated liquidity immediately before that swap — often in a single tick the trade will cross,
- Lets the swap execute and collects a pro-rata share of the pool fee, then
- Burns the position immediately after (Uniswap Labs: Just-In-Time Liquidity on the Uniswap Protocol, September 9, 2022).
On Ethereum mainnet that sandwich of mint → swap → burn is typically delivered as an atomic bundle (historically via Flashbots-style relays). Fees in Uniswap CL pools are paid to active liquidity in the ticks the swap crosses, proportional to each position’s liquidity share. Temporarily inflate that share and you temporarily own more of the fee — without holding the inventory risk overnight.
That is different from a classic sandwich that frontruns and backruns the trader with opposing swaps. JIT attacks the fee pie of resting LPs while often improving the trader’s execution by deepening the book for one block.
How rare is JIT — and why the myth persists
Public intuition wildly overstated JIT’s footprint. Uniswap Labs reported that in a Twitter poll about the share of v3 liquidity supplied by JIT, the most common answer was “over 40%,” while only 16.5% correctly answered “less than 1%” (same Uniswap Labs post, Sept 9, 2022).
Their May 5, 2021–July 18, 2022 sample found:
- A little over 8,000 JIT attempts (about 8,287 identified; 57 failed to provide liquidity),
- JIT filling roughly ~0.3% of liquidity demand versus ~$600B of Uniswap v3 volume in the same window,
- Concentration: one address supplied over 95% of JIT liquidity, and the top ten pools held ~95% of JIT volume (USDC–WETH 5 bps alone over half).
So JIT is not “most of Uniswap.” It is a selective, capital-heavy play against large flow in deep pools — exactly where passive LPs also park the most capital.
What later measurements say about fee dilution
Xiong et al. studied Ethereum Uniswap v3 over a 20-month window and identified 36,671 JIT events with about 7,498 ETH of profit in aggregate. They report that JIT is largely a whale game (one bot ~92% of profit), requires liquidity that is on average ~269× the swap size, and shows a mean ROI near 0.007%. For resting LPs, the same paper finds average liquidity-share dilution of ~85% during attacked swaps, while liquidity takers got about 0.139% better execution on average (Xiong, Wang, Knottenbelt, Huth — Demystifying Just-in-Time (JIT) Liquidity Attacks on Uniswap V3, Cryptology ePrint 2023/973).
A 2025 formal model (AFT 2025 / arXiv) goes further on mechanism design. Trotti et al. model transaction-level JIT optimization in concentrated liquidity market makers and, fitting strategies to real CLMM data, estimate that strategically deployed JIT can erode average passive LP profits by up to ~44% per trade when the JIT budget is large — while reducing trader slippage. They also find many observed JIT agents under-optimize price impact and could raise earnings by up to ~69% on short windows if they priced impact correctly (Trotti, Tang, El-Azouzi, Fanti, Menasché — Strategic Analysis of Just-In-Time Liquidity Provision in Concentrated Liquidity Market Makers, arXiv:2509.16157, Sept 2025; also LIPIcs AFT 2025).
Read those percentages carefully. The Uniswap Labs work answers “how much of total volume?” (tiny). The dilution papers answer “when a JIT event hits your swap, how much of that fee share moves?” (can be large). Both can be true at once.
JIT vs LVR — related, not the same
LVR is the continuous cost of being the resting book against informed or arbitrage flow over time. JIT is a discrete, same-block redistribution of the fee (and sometimes price-impact surplus) on individual large swaps. A pool can have low average JIT incidence and still show meaningful LVR. Our LVR guide covers the continuous case; treat JIT as the burst tax on top of that baseline.
Why JIT shows up where it does
Fixed costs dominate. Mint + burn gas, MEV auction tips, and hedging inventory on another venue (CEX or another DEX) only pencil out when the middle swap is large. Uniswap Labs noted that over half of their sample JIT events supplied more than $100,000 of liquidity each, and that JIT clustered in mid fee tiers (especially 5 bps and 30 bps) rather than 1 bp pools where hedging costs often erase the edge (Uniswap Labs, Sept 9, 2022).
They also derive a useful trader-side bound under simplifying assumptions: optimally implemented JIT should not deliver price improvement larger than about twice the pool fee rate, because otherwise a competing searcher would prefer a pure backrun. Empirically most of their tested JIT swaps respected that bound — traders still benefited, but not unboundedly.
| Dimension | What research reports | Passive LP takeaway |
|---|---|---|
| Share of all volume | ~0.3% of liquidity demand in Uniswap Labs’ 2021–2022 window | Do not assume “half your fees are JIT’d” |
| When an event hits | ~85% average share dilution (Xiong et al.); up to ~44% profit erosion in modeled large-budget cases (Trotti et al.) | Large-swap fee spikes can be shared away |
| Who wins | Few bots; whale capital; traders get better fills | Resting LPs subsidize execution quality |
| Where it clusters | Top pools, mid fee tiers, huge notional | Deep ETH/stable books are the hunting ground |
Base, Arbitrum, and Uniswap v4 — what changes for LPs
Most detailed public JIT datasets are Ethereum-mainnet heavy. That does not mean L2s are immune — it means you should not paste mainnet percentages onto Base or Arbitrum without new measurement. Still, the mechanics travel:
- Same fee-share math. Uniswap v3-style concentrated liquidity on Base and Arbitrum still pays fees pro-rata to active liquidity in crossed ticks. A same-block mint that sits in those ticks dilutes you the same way.
- Different mempool / sequencer reality. Classic public-mempool Flashbots JIT is an Ethereum story. On L2s, ordering and private flow rules differ by sequencer and era. Expect the shape of opportunistic liquidity (short-lived, flow-aware positions) more than a one-to-one copy of 2022 mainnet bot counts.
- Gas flips the economics. Cheap mint/burn on Base and Arbitrum lowers the fixed cost of short-lived liquidity. That can widen who can afford active strategies — not only pure same-block JIT, but also high-frequency rebalancing that looks “JIT-adjacent” over minutes rather than one block. Our vault rebalancing guide covers the maintenance side of that spectrum.
- Uniswap v4 hooks. v4 keeps concentrated liquidity and generalizes customization. Research already flags hooks and bundling as tools that can make reactive liquidity more programmable (Trotti et al., 2025). For LPs, that means reading hook docs for a pool is part of fee-risk diligence — see our Uniswap v4 hooks LP guide.
- Aerodrome on Base. Slipstream-style CL on Base adds gauge/emissions layers on top of swap fees. JIT-style fee dilution still matters for the swap-fee slice; the emissions slice is a separate game (Aerodrome Slipstream stake vs fees).
A practical checklist for passive LPs
- Separate incidence from severity. “JIT is rare in aggregate” and “this whale swap’s fee was diluted” are compatible. Judge pools by both volume quality and how often your large-fee days look thinner than the notional suggests.
- Watch the fattest books. Research concentrates JIT in top pairs and mid fee tiers. If you LP thin long-tail pools, classic LVR and inventory risk usually dominate JIT.
- Do not celebrate a single huge fee candle blindly. If a block printed an outsized swap through your ticks, ask whether active liquidity briefly spiked. Explorers and pool analytics that show liquidity around the trade help more than headline APR.
- Widen vs tighten with eyes open. Ultra-narrow bands around spot maximize fee density when you are alone in the tick — and maximize dilution when a JIT wallet parks on top of you for one swap.
- Price active competition into Cover Value. Fees must still cover inventory/LVR costs after dilution. See Cover Value explained.
- On Base/Arbitrum, track strategy speed — not just “JIT yes/no.” Cheap gas enables many flavors of short-horizon liquidity. Your edge is knowing whether you are the resting book or competing with reactive capital.
How this connects to managed vault LP
Passive NFT LPs cannot out-bundle professional searchers. What they can do is avoid pretending every fee dollar in a pool’s volume × fee-tier formula is theirs. Managed vaults that keep liquidity maintained through volatility change the inventory and range problem; they do not erase pro-rata fee sharing with whoever is active in the tick when a whale trades. QuantumPools’ direction — vault LP with snuggle-style maintenance and no extra swap fee charged to depositors on routine upkeep — is about reducing the human cost of staying in range, not claiming a private mempool. Use JIT literacy to read net fee capture more honestly, whether you mint your own position or deposit into a vault.
Bottom line
Just-in-time liquidity is concentrated liquidity used as a same-block MEV instrument: mint, take fee share, burn. Uniswap Labs showed it was a tiny slice of total v3 liquidity demand (~0.3% in their 2021–2022 sample) yet highly concentrated in top pools (Sept 9, 2022). Later Ethereum measurements and formal models show that when JIT does fire, passive LPs can lose a large fraction of that trade’s fee share (Xiong et al., 2023; Trotti et al., 2025), while traders often get better fills. On Base and Arbitrum the exact bot census differs, but the fee-share math does not. Price your LP strategy for a market where resting liquidity competes with reactive capital — then decide if manual ticks or maintained vault exposure fits how you want to hold that risk.