Solana Epoch Countdown
Live countdown to the next Solana epoch boundary. Shows current epoch number, slot progress, estimated time remaining, and what happens at the transition.
Current epoch info
| Metric | Source |
|---|---|
| Epoch number | getEpochInfo → epoch |
| Slots completed | getEpochInfo → slotIndex |
| Total slots in epoch | getEpochInfo → slotsInEpoch |
| Estimated time remaining | Calculated from slot time × remaining slots |
What happens at epoch boundaries
| Event | Description |
|---|---|
| Staking rewards | Rewards distributed to delegators and validators |
| Stake activation | New stake delegations become active |
| Stake deactivation | Deactivated stake becomes withdrawable |
| Leader schedule | New leader schedule generated for next epoch |
| Commission changes | Validator commission updates take effect |
Epoch timing
Epoch length: 432,000 slots
Target slot time: 400ms
Target epoch duration: ~2 days, 2 hours
Actual duration: varies (typically 2–3 days)
Actual epoch duration depends on average slot time. When slots are faster than 400ms, epochs are shorter. When slots are slower (network congestion), epochs take longer.
Querying epoch info
const epochInfo = await connection.getEpochInfo();
console.log("Current epoch:", epochInfo.epoch);
console.log("Progress:", `${epochInfo.slotIndex} / ${epochInfo.slotsInEpoch}`);
console.log("Percentage:", ((epochInfo.slotIndex / epochInfo.slotsInEpoch) * 100).toFixed(1) + "%");
const remainingSlots = epochInfo.slotsInEpoch - epochInfo.slotIndex;
const estimatedSeconds = remainingSlots * 0.4;
const hours = Math.floor(estimatedSeconds / 3600);
const minutes = Math.floor((estimatedSeconds % 3600) / 60);
console.log(`Estimated time remaining: ${hours}h ${minutes}m`);
FAQ
Why do epoch boundaries matter for staking? Staking state changes (delegation, deactivation, reward distribution) only take effect at epoch boundaries. If you delegate stake mid-epoch, it activates at the start of the next epoch.
How accurate is the countdown? The countdown estimates time based on the target 400ms slot time. Actual slot times vary, so the real epoch boundary may arrive slightly earlier or later than estimated.
How many epochs per year? Approximately 182 epochs per year at the target epoch duration of ~2 days. The actual number varies slightly based on network slot times.
Data powered by Supanode RPC
Updated: