Crypto / Evergreen
Bitcoin timelocks restrict when spending conditions can succeed
A Bitcoin timelock can delay transaction eligibility or constrain spending through script conditions, using block height or time-related rules depending on the construction.
A timelock controls eligibility under specified conditions; it does not promise execution at an exact calendar moment.
The distinction that matters
A Bitcoin timelock can delay transaction eligibility or constrain spending through script conditions, using block height or time-related rules depending on the construction. Bitcoin transactions consume previously created unspent transaction outputs, commonly called UTXOs, and create new outputs with their own spending conditions. The network does not simply subtract a number from a conventional account. Inputs identify earlier outputs; authorization data satisfies their conditions; outputs define the next allocation.
How the mechanism works
Absolute and relative locks express different ideas: a shared point in chain history versus a delay measured from the relevant output's confirmation context. This structure explains change, consolidation, and why a transaction can involve several inputs even when the payment is directed to only one recipient. The referenced outputs must exist and remain unspent, the signatures and scripts must satisfy applicable rules, and the new transaction must not create value beyond its inputs. Wallet software automates much of this construction, but that automation can hide meaningful choices.
A worked situation
Consider this hypothetical situation: A hypothetical arrangement requires an output to wait a defined number of blocks after confirmation before one recovery path becomes usable. The recovery path depends on the chain's progress and the precise script, rather than on a wall-clock reminder inside the owner's wallet application.
Where interpretation can fail
Timelocks do not guarantee that a miner will include the transaction immediately when it becomes eligible, and some constructions allow an alternative spending path. Identify which branch of the script is being exercised and whether the lock is absolute or relative before describing the funds as frozen. A timelock controls eligibility under specified conditions; it does not promise execution at an exact calendar moment.
The wider technical implication
Relative locks can be useful for recovery arrangements because the delay begins from a transaction's position in chain history rather than from a fixed future date chosen long beforehand. Absolute locks suit conditions tied to a common height or time reference. In either case, the transaction still needs valid signatures, available inputs, and sufficient economic incentive for inclusion after eligibility begins. A timelock also does not prevent an alternative branch of a script from spending earlier if the script explicitly permits it. The full set of spending paths determines whether a claimed lock actually restricts every possible movement.
A global perspective
Bitcoin transaction rules are network rules. Merchant acceptance, refunds, accounting treatment, and legal payment finality can depend on separate local agreements or laws.
Sources & further reading
Bitcoin Developer Guide — Transactions ↗Bitcoin Developer Guide — Payment processing ↗Sources checked Oct 27, 2026. Educational examples. Historical observations are attributed to their sources. No affiliation with cited organizations.
Make the idea stick.
Mark complete when you are ready. Reaching the end alone does not mark a lesson complete.
What assumption in this guide would change the result in a different situation? Revisit the example and explain that change in your own words.
Explore crypto →