River Logo
Basics Markets Storage Mining Taxes Technology Research
Search
Buy Bitcoin
Glossary

Timelock

1 min read

A timelock allows a Bitcoin transaction to be created such that the recipient of the outputs cannot spend them for a specified time. The amount of time can be specified by either block height or Unix timestamp.

The timelock is specified in a dedicated part of each transaction. However, most transactions simply leave the timelock blank to avoid using this functionality. Timelocks are useful for creating Hashed Timelock Contracts (HTLCs), which drive the Lightning Network.

Related Terms
Lightning Network
The Lightning Network (LN) is a protocol enabling instant, cheap Bitcoin transactions. Still experimental, it shows great promise for scaling Bitcoin.
Learn more.
Block height
Block height is a block's number in the chain, counting up from zero at the genesis block. The current height is the number of blocks in the chain minus one.
Learn more.
Unix timestamp
A Unix timestamp is the number of seconds since January 1, 1970 UTC. Timestamps are used in blocks to ensure that blocks accumulate in a chronological order.
Learn more.
Transaction
A transaction exists as a record of the transfer of bitcoin from one address to another. All transactions are recorded in blocks on the blockchain.
Learn more.
Explore More Terms →

Buy Bitcoin instantly with River today

Buy bitcoin
River Logo

NMLS ID#1906809

© 2026 River Financial Inc. All rights reserved.

River iOS app River Android app

Product

Sign Up Buy Bitcoin Bitcoin Interest Zero Fee DCA Bitcoin Price Private Clients Businesses Rewards

Company

About Careers Areas of Availability Announcements Security Proof of Reserves Partner

Support

Help Center Contact Support Site Status

Social

Social media icon for Twitter Twitter Social media icon for LinkedIn LinkedIn Social media icon for GitHub GitHub

Learn

Bitcoin Basics Bitcoin Markets Bitcoin Storage Bitcoin Mining Bitcoin Taxes Blockchain Technology Bitcoin Glossary

Featured Articles

What Is Bitcoin? Why Does Bitcoin Have Value? How to Buy Bitcoin

River Intelligence

Announcements Newsletter Research Media

Legal

Licenses & Disclosures Privacy Policy Terms of Service