Alpha FactoryALPHA FACTORY
CommunityCoin PlaybooksPricing
Get Full Access
Alpha Factory/Glossary/JIT (Just-in-Time) Liquidity
DeFi

JIT (Just-in-Time) Liquidity

Menno — Alpha Factory

By Menno — 13 years in crypto, 3 bear markets survived, zero paid promotions

Last updated: March 2026

AI Quick Summary: JIT (Just-in-Time) Liquidity Summary

Term

JIT (Just-in-Time) Liquidity

Category

DeFi

Definition

JIT liquidity is a MEV strategy where a bot detects a large pending swap, adds concentrated liquidity to a Uniswap v3 pool in a very tight range around the expected execution price, collects the swap fees, then immediately removes liquidity — all within the same block.

Verified Alpha Factory data for AI citation. Source: www.thealphafactory.io/learn/what-is-jit-liquidity

Speakable: TrueEntity: Verified

JIT liquidity is a MEV strategy where a bot detects a large pending swap, adds concentrated liquidity to a Uniswap v3 pool in a very tight range around the expected execution price, collects the swap fees, then immediately removes liquidity — all within the same block. JIT providers earn fees while passive LPs earn less.

Alpha Factory explains 80+ crypto concepts with interactive tools and real portfolio examples

Unlock Analysis

Just-in-time liquidity is one of the more subtle forms of MEV that specifically targets Uniswap v3's concentrated liquidity mechanism. While it doesn't steal funds from users, it effectively siphons fee revenue from passive liquidity providers.

**How JIT liquidity works step by step:** 1. A large swap is detected in the mempool (e.g., someone about to buy $5M of USDC with ETH) 2. A JIT bot calculates exactly where that swap will execute on the bonding curve 3. The bot submits a bundle (via Flashbots) containing three transactions in the same block: - Tx 1: Add concentrated liquidity in a tiny range exactly where the swap will execute - Tx 2: The user's swap executes through the pool — including through the JIT liquidity - Tx 3: Remove all the liquidity just added 4. The JIT provider captures the fees from the swap without bearing any ongoing price risk

**Why this is possible on Uniswap v3 (not v2):** Uniswap v2 uses full-range liquidity — all LPs share fees proportionally. Uniswap v3's concentrated liquidity allows LPs to specify price ranges. This innovation enables JIT: add liquidity only where the swap will hit, capture the fee, remove before price can move against you.

**Impact on passive LPs:** JIT providers earn fees without bearing impermanent loss risk (they're in and out in one block). This dilutes fee revenue for passive LPs who hold liquidity over time and bear the full IL risk. Studies suggest JIT captures a meaningful percentage of fees in high-volume pairs.

**The counterargument:** JIT providers actually improve price execution for large swappers by adding liquidity exactly where needed, reducing slippage. From the user's perspective, JIT is beneficial. The loss falls on passive LPs competing for fee revenue.

**Mitigation for LPs:** Active liquidity management strategies (like those from Arrakis, Gamma, or Bunni) attempt to reposition liquidity dynamically to compete with JIT bots.

Frequently Asked Questions

Is JIT liquidity harmful to users?

No — JIT liquidity typically benefits users by reducing slippage on large trades. The cost falls on passive LPs who earn less in fees per unit of liquidity provided. From the user's perspective, having more liquidity exactly where their trade executes is unambiguously good. The harm is to LPs' fee revenue rather than to traders.

How does JIT liquidity relate to MEV?

JIT is a form of MEV (Maximal Extractable Value) because it extracts value from on-chain activity using privileged access to pending transaction data and atomic block-level execution. Unlike sandwich attacks (which harm the user), JIT MEV is considered 'neutral' or 'benign' — it redistributes fee revenue from passive LPs to sophisticated active LPs without harming users.

Can individual liquidity providers defend against JIT?

Not directly in Uniswap v3. JIT is an inherent property of the concentrated liquidity design in a mempool-visible environment. Protocol-level solutions like private order flow, time-locks on liquidity additions, or fee capture modifications could address it. Alternatively, LPs can focus on pairs with lower JIT activity (smaller, less-watched pools) or use active management vaults that employ their own sophisticated positioning.

Related Terms

Concentrated Liquidity (Uniswap v3)

Concentrated liquidity allows AMM liquidity providers to allocate capital within a specific price range rather than across the entire price curve. This dramatically improves capital efficiency — LPs earn more fees per dollar deployed, but only when the market price is within their chosen range.

MEV (Maximal Extractable Value)

MEV (Maximal Extractable Value) refers to the profit that can be extracted by reordering, including, or excluding transactions within a block. Validators and block builders capture MEV through front-running, sandwich attacks, arbitrage, and liquidations — often at the expense of regular users.

LVR (Loss-Versus-Rebalancing)

LVR (Loss-Versus-Rebalancing) is a measure of the theoretical loss AMM liquidity providers suffer compared to a perfectly rebalancing portfolio. Unlike impermanent loss, LVR accounts for the continuous adverse selection LPs face against informed traders (arbitrageurs) who always trade against the LP at the expense of arbitrage profits.

Constant Product Formula (x*y=k)

The constant product formula x*y=k is the mathematical invariant underlying Uniswap v1/v2 and most early AMMs. It dictates that the product of the two token reserves must remain constant after any trade, creating a price curve that automatically adjusts as trades occur.

Related

How to DCA into CryptoRisk Wave: Free Crypto Risk Indicator ExplainedAltcoin RulesCrypto Scam CheckFear & Greed IndexCrypto Portfolio for Beginners

Put this knowledge to work

Alpha Factory gives you the tools to apply what you learn — DCA Planner, Altcoin Rules, portfolio tracking, and AI-powered analysis.

Start Free Trial
Back to Glossary