# Just-In-Time (JIT) Liquidity
Source: https://coinweb.com/wiki/just-in-time-liquidity/
Type: wiki | Publisher: Coinweb.com (Independent Web3 Research Platform)
Author: Suchet Salvesen (Economist, Author & Financial Analyst)
Fact-Checked By: David Liebowitz (DeFi & Protocol Fact-Checker)
Last Updated: 2026-11-29
## Quick Definition
Just-In-Time (JIT) liquidity is an on-chain MEV strategy in concentrated-liquidity AMMs where a market maker adds deep liquidity immediately before a large swap and withdraws it in the very same block.

## Key Takeaway
JIT liquidity uses atomic MEV bundles to insert concentrated liquidity right before a large DEX trade and remove it right after within one block—giving swappers tighter execution while capturing most of the swap fee from passive LPs.

What Is Just-In-Time (JIT) Liquidity?

 Just-In-Time (JIT) liquidity is a specialized DeFi market-making technique enabled by concentrated liquidity automated market makers such as Uniswap v3 and v4. Instead of leaving capital passively locked in a pool for weeks, a JIT market maker monitors pending swaps, adds massive liquidity into the exact single price tick required by an incoming trade, earns the vast majority of that swap's fee, and immediately burns the position within the same block.

Step-by-Step Anatomy of a JIT Block Bundle

 
 
 Detection: A searcher spots a large pending swap (for example, $1.5M USDC → ETH) with sufficient slippage tolerance.

 
 Mint (Tx 1): The JIT bot submits a transaction adding tens of millions of dollars of single-tick concentrated liquidity right at the current pool price.

 
 Target Swap (Tx 2): The trader's swap executes against the newly deepened tick, suffering minimal price impact .

 
 Burn & Hedge (Tx 3): Immediately after the swap in the same atomic bundle, the bot withdraws its liquidity plus 80%–99% of the swap fee and hedges its inventory delta on a centralized exchange.

 

 
 
 

 Participant 
 Effect of JIT Liquidity 
 Net Trade-Off 
 

 
 
 

 Large DEX Swappers 
 Deeper single-tick depth lowers slippage 
 Generally positive execution improvement 
 

 

 Passive LPs 
 Fee share diluted during the largest trades 
 Reduced fee yield without reducing impermanent loss 
 

 

 JIT Market Makers 
 High fee capture with 1-block inventory risk 
 Requires sophisticated MEV bidding & CEX hedging 
 

 
 

Why JIT Matters for DeFi Market Structure

Unlike malicious sandwich attacks that deliberately worsen a trader's execution price, JIT liquidity acts as a reverse sandwich that typically improves the swapper's fill price. The controversy lies with passive liquidity providers: if JIT bots consistently capture the fees on large institutional-sized swaps while passive LPs absorb toxic arbitrage flow on normal blocks, passive pools become less profitable. Next-generation DEX designs—including Uniswap v4 hooks and intent-based auctions—experiment with dynamic fees and lockup minimums to balance active JIT fills with healthy passive liquidity.

Explore leading decentralized trading venues in our best decentralized crypto exchanges comparison .
## Frequently Asked Questions
### Is Just-In-Time liquidity the same as a sandwich attack?
No. A sandwich attack moves the price against the trader to extract value, whereas JIT liquidity injects extra depth at the active tick—typically giving the trader better execution and lower slippage.

### Does JIT liquidity hurt passive liquidity providers?
In the short term, JIT dilutes passive LPs' fee share on large swaps within that block, though it also shields passive LPs from some adverse price movement on large directional trades.

### Which blockchains see the most JIT liquidity?
Ethereum mainnet (Uniswap v3) accounts for the largest historical share of JIT liquidity due to mature MEV block-builder auctions and deep whale order flow.
