Login
Learn Bitcoin is live in Beta - spot an issue or have a suggestion? We'd love to hear it!
Home Glossary C CheckLockTimeVerify (CLTV)

CheckLockTimeVerify (CLTV)

An opcode (OP_CLTV) allowing a transaction output to remain unspendable until a set block height or timestamp.
Share

CLTV, introduced by BIP-65, is like a timed lockbox for your BTC. You specify a future block height or timestamp in the script. Until the blockchain reaches that time, the funds cannot be spent.

This feature enables use cases such as time-locked escrows or delayed payouts. For instance, you might schedule a payment to become spendable next month, or enforce a holding period in a contract. CLTV opened the door to more sophisticated scripting and layer-2 applications, paired with OP_CSV for relative locktimes (BIP 68/112).

Key takeaways
Locks outputs until a specific future block/time is reached
Useful for time-based contracts or payment channels
Helps enable advanced scripting alongside OP_CSV
Learn Bitcoin visual
Learn how to

Be Your Own Bank

Be Your Own Bank teaches you how to securely store and manage your Bitcoin, giving you full control over your finances. Unlock the power of self-custody and financial sovereignty, so you can confidently operate without intermediaries.

Take the Survey
30 sec
Free
Suggest a Term

Have a term to suggest? Enter it below and help us expand our vocabulary!