Login
Learn Bitcoin is live in Beta - spot an issue or have a suggestion? We'd love to hear it!
Home Glossary N nLocktime

nLocktime

A field specifying the earliest block height or timestamp at which a transaction can be confirmed.
Share

nLocktime (one word, short for ‘transaction locktime’) works with nSequence fields to determine when a transaction is valid for inclusion in a block. If nLocktime is set to a block height or timestamp in the future, the transaction can’t be confirmed before that point. This is useful for escrow or delayed payout scenarios—though actual enforcement also depends on miner acceptance and the network’s median time. Many wallets default nLocktime to zero for immediate spending, while advanced scripts leverage it for time-based contract logic (together with CHECKLOCKTIMEVERIFY).

Key takeaways
Prevents confirmation before a certain block/time
Used by advanced scripting for timed releases or escrow
Zero or a past value means it’s immediately valid
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!