Dashboard →

Recover SOL from Failed Solana Program Deploys

Deploying a Solana program uploads it to a temporary buffer account first. If the deploy fails or is interrupted, that buffer is left on-chain — and because programs are large, it can hold many times more SOL than an ordinary account. That SOL is still yours. This finds the buffer accounts your wallet controls and closes them, returning the rent to you.

Open the console →

The exact total — platform fee plus the real network cost — is quoted in the console before anything is signed.

Why a failed deploy costs you real SOL

A program buffer holds your entire compiled program while it uploads, and the rent to keep it alive scales with its size. That is why a stranded buffer can hold not a fraction of a SOL but several — and a few failed or abandoned attempts can add up to a serious amount sitting idle on-chain, invisible in your normal balance.

Only buffers you control

The app lists buffer accounts whose upgrade authority is your connected wallet, so it only ever surfaces SOL that is genuinely yours to recover. You choose which buffers to close; nothing that belongs to a live, deployed program is touched. Closing a buffer returns its full rent deposit to your wallet.

The command-line way, and why this is easier

Experienced builders can do this with the Solana command-line tool and the "close buffers" command — but it means the CLI installed, your key file to hand, and the right authority flags typed correctly. This does the same thing from a form: connect, see your recoverable buffers, and sign. No terminal, no key files.

This is for programs, not tokens

Keep the two apart. Reclaiming rent from empty token accounts is about coins you used to hold; this is about program deploys that did not finish. They are different account types, and a stranded buffer is usually worth far more SOL than a token account — which is exactly why it is worth checking after any deploy that went sideways.

Questions

How much SOL can a failed deploy lock up?
Much more than a normal account. Because a buffer holds the whole compiled program, its rent scales with program size — often several SOL for a single buffer. A handful of failed attempts can strand a genuinely worthwhile amount.
How is this different from reclaiming rent from token accounts?
Reclaiming token-account rent recovers the small deposits behind tokens you no longer hold. This recovers the much larger rent behind buffer accounts left by program deploys that failed or were interrupted — a different account type, usually far more SOL.
Can I recover a buffer if I lost the original deploy transaction?
Yes. What matters is that your connected wallet is the buffer’s authority, not that you still have the failed transaction. The app finds the buffers your wallet controls and lets you close them.
Do I need the Solana command-line tool for this?
No. The command-line route exists, but it needs the CLI, your key file and the correct flags. Here you connect your wallet, review the buffers you can recover, and sign — no terminal required.