Timelock
A condition making a spend invalid until a height or a time is reached. Nothing happens at the deadline; a transaction every node would have rejected simply becomes acceptable, and whoever holds it may then broadcast it.
Four mechanisms implement it. The transaction’s own lock-time field and the OP_CHECKLOCKTIMEVERIFY opcode express an absolute point; the sequence field and OP_CHECKSEQUENCEVERIFY express an interval measured from the moment the coin being spent was confirmed.
The two forms differ in who is bound. A field is chosen by whoever builds the transaction and constrains nobody; an opcode sits in the output’s script, so the spender must satisfy it. Contracts need the second, and they work indirectly — the opcode forces the spender to declare a lock-time the network then refuses to mine early.
Relative locks reset whenever coins move, which is correct and routinely surprising: a wallet consolidating inputs can silently restart a delay somebody was depending on.
What a timelock cannot do is guarantee the transaction will confirm when the delay expires. A pre-signed transaction carries the fee it was signed with, possibly years earlier, and the hardest problem in vault and channel design is attaching fresh money to a stale transaction.
Where this comes up
Used in
Nearby terms
- UTXO
- Private Key
- Digital Signature
- Full Node
- Mempool
- Confirmation
- Fee Market
- Hash Rate
- Difficulty Adjustment
- Consensus Rules
- Lightning Network
- Multisignature
- Proof of Work
- Output Descriptor
- Partially Signed Transaction
- Coinbase Transaction
- Reorganisation
- Dust
- Weight Unit
- Replace-by-Fee
- Witness
- Taproot
- Schnorr Signature
- Soft Fork
- Hard Fork
- Merkle Root
- Derivation Path
- Cold Storage
- Block Header
- Segregated Witness
- Stale Block
- Watch-Only Wallet
- Coin Control
- Pruning
- Nonce
- Difficulty Target
- Change Output
- Address Reuse
- Light Client
- Mining Pool
- Script
- Assumeutxo
- Seed Phrase
- Covenant
- Sidechain
- Fee Rate
- Signature Hash
- Inscription
- Hot Wallet
Reviewed Nov 2026