Codex

What is a liquidity lock (LP lock)?

A liquidity lock is a rule enforced by code: the tokens that represent a trading pool’s money are locked away or burned, so the person who created the pool cannot take that money out. It is one of the most useful checks against a liquidity-pull rug pull, but it is not the only check you need.

Scan a token All guides

Last updated Oct 26, 2026

How a trading pool works

A new token can only be traded if there is a pool: a smart contract that holds the token and a second asset, such as SOL, ETH, BNB or a stablecoin. Buyers put the second asset in and take tokens out; sellers do the opposite. The amount of money in the pool is the liquidity.

Whoever puts money into the pool receives liquidity-pool tokens, called LP tokens: a receipt for their share. Hand the receipt back and the share comes out of the pool together with its money. For a brand-new token the creator usually provides nearly all of the pool, so the creator holds nearly all of the receipts.

If the creator keeps the receipts in an ordinary wallet, they can pull the whole pool out at any moment. The price collapses and nobody else can sell for anything meaningful. That is a liquidity pull, the best-known kind of rug pull.

Locked, burned or neither

StateWhat it means
LockedThe LP tokens are held by a locking contract until an unlock date. Nobody can pull the pool before that date. When the date passes, the owner of the lock can withdraw, or extend the lock.
BurnedThe LP tokens are sent to an address that nobody controls, or destroyed. The pool’s money can never be withdrawn, by anyone. This is permanent.
NeitherThe LP tokens sit in a normal wallet. The owner can pull the pool at any time.

What to look at

  • The share. What percentage of the LP tokens is locked or burned? Closer to 100% is better. A lock on only part of the pool leaves the rest open.
  • The end date. A lock that ends next week protects you for a week. Longer locks give more time, and burned liquidity gives permanent protection.
  • The main pool. A token can have several pools. The lock that counts is the one on the pool that holds most of the money and most of the trading.
  • Later additions. Liquidity that is added after a lock was made is not covered by it.
  • The size of the pool. A fully locked pool of a few hundred dollars still cannot absorb real selling. Lock and size are separate checks.

Different kinds of pools

Simple pools hand out ordinary LP tokens, which can be locked or burned. Pools with concentrated liquidity, such as Uniswap v3 style pools, represent each position by an NFT instead, so a lock works on that position. Some launchpads do not use an ordinary pool at first: while a token is still on its launchpad’s bonding curve, there is no regular pool yet and nothing to lock, and Codex treats such a token as not yet graduated.

What a lock does not protect against

  • An open mint authority: new tokens can be created and sold into a locked pool. (Mint authority guide)
  • A honeypot, a blacklist, or a tax that can be raised.
  • Insiders selling a large holding. The pool’s money stays in the pool, but the price still falls.
  • A lock that expires, or one that its owner extends only when it suits them.

That is why Codex looks at the lock together with the other checks. (Rug pull guide)

How Codex treats it

The share of the liquidity that is locked or burned is part of the Trust score. In the Codex score, liquidity that is hardly locked or burned keeps a token in the Extremely risky band, and the more of it is locked or burned, the higher the best possible score. When the share cannot be found, that costs points too. Methodology →

Paste a contract address into Token Search & Risk Scan to see the share for a token.

Quick answers

Is burned liquidity better than locked liquidity?

Burned liquidity can never be withdrawn, so the risk of a liquidity pull on that pool is gone for good. A lock only lasts until its end date. Neither protects against the other kinds of rug pull.

What percentage of the liquidity should be locked?

There is no single safe number. The higher the share and the longer the lock, the smaller this one risk. Codex shows the exact share so that you can judge it together with the other checks.

Can a lock be removed early?

With a standard time-lock contract, no: the contract holds the LP tokens until the date. Terms differ between locking services, so check the rules of the one that holds the lock.

Where can I see whether liquidity is locked?

In the result of a Codex scan, and on the pages of the locking service or the block explorer for the pool’s LP token.