A mandatory delay between queuing a sensitive change, such as a program upgrade or a parameter change, and executing it. The delay gives users time to review the change or exit.
Why it matters
A timelock limits what a compromised or careless admin key can do, because every sensitive change becomes visible before it takes effect. Users and partners treat it as a sign of mature operations.
What to check
- Ask which actions go through the timelock and how long the delay is.
- Ask who can cancel a queued change, and whether the timelock itself can be bypassed or upgraded.
How it works in practice
A change is first queued with a time, then anyone can see it, and only after the delay has passed can it be executed. A cancel path lets the owners stop a change that was queued by mistake.
On Solana a timelock is usually part of a governance or multisig setup that controls the upgrade authority and key parameters.
Common mistakes
- Setting a delay so short that users cannot react in time.
- Leaving a second admin path that skips the timelock.
- Queuing changes without telling the community where to watch for them.
Related terms
- Upgrade authorityThe key allowed to replace a deployed program’s code.
- MultisigA wallet that requires approval from several signers before executing a transaction.
- ProgramSolana’s term for a smart contract: executable code deployed to an account.
- Audit (smart contract audit)An independent security review of a program at a specific commit, usually by a specialised firm, that reports vulnerabilities and recommendations before launch.
Guides
- Solana program upgrade authority: how to secure it with a multisigWho should hold a Solana program upgrade authority, how to move it to a multisig, when to add a timelock or make the program immutable, and the mistakes to avoid.
- How to choose a Solana smart contract auditor: a practical checklistWhat actually matters when picking a Solana auditor: Anchor and native Rust experience, methodology, scope, timelines, red flags in quotes and what a good report looks like.
Describe your project in plain English. Smart Match suggests verified Solana providers with a reason for each match. Free for teams.
Get matched →