Close Account
Every SPL or Token-2022 account you have ever opened holds a rent deposit in SOL, locked for as long as the account exists. How much depends on the account’s size and on the network’s rent rate when the account was opened, so the scan reads the exact amount for each row. Close Account scans a wallet, closes the accounts you no longer need so their rent comes back to you as SOL, and can instead withdraw just the surplus from accounts opened before the network lowered rent, leaving them open with their tokens in place.
Close Account j.tools/en/tools/close-account
Open toolPlatform fee
5% of successfully reclaimed rent; in Withdraw Excess Rent mode, 5% of the excess withdrawn
Network fee, rent and transaction value are separate.
When this tool fits
#when-this-tool-fits- You trade tokens or memecoins and have piled up empty accounts, each still holding its rent deposit. Fifty of them add up to a real amount of SOL.
- You want to tidy a single connected wallet and pull its idle rent back into SOL.
- You manage a set of operational wallets and want to scan and close across all of them in one pass.
- An account has a small leftover balance you want gone, and you want to burn it and close the account together.
- You are winding down a wallet and want to release every account’s rent before you stop using it.
- You still hold tokens in accounts opened before the network lowered rent, and want the SOL above today’s minimum back without closing anything.
Before you start
#before-you-start- For Wallet Scan mode, a connected wallet (how to connect). The reclaimed rent returns to it.
- For Multi Wallet mode, valid private keys, one per line, no duplicates, up to 1000. Wallets you imported in Claim Center in the same tab can be used instead, without pasting their keys again.
- A connected wallet is also required when it pays gas or is set as the rent destination. A dedicated gas option needs a funded fee-payer key, and a custom rent destination needs a valid public address.
- Whoever pays the network fee needs some SOL. The “Each Wallet” gas option fails for a wallet that holds zero SOL.
Use only short-lived operational wallets; never enter a seed phrase or a long-term wallet key.
How to use it
#how-to-use-it-
Choose a scan mode
Pick Wallet Scan to work on the connected wallet only, or Multi Wallet to paste one private key per line. Click Scan Accounts.
-
Review the scanned rows
Each row shows the token, its balance, the rent it holds and its status. Empty accounts come pre-selected. Keep Close Mode on Only Empty to close zero-balance accounts only, or switch to Burn & Close if leftover balances should be burned first. To keep every account open and take only the SOL above today’s rent, switch to Withdraw Excess Rent.
-
Pick gas and destination, then close
In Multi Wallet mode, choose Gas Paid By (Connected Wallet, Each Wallet, or Dedicated Wallet) and Reclaimed Rent To (Connected Wallet, Each Owner, or Custom Address). Check the summary: selected rent, the platform fee and the estimated network fee. Click Close Selected Accounts. In Withdraw Excess Rent mode the button reads Withdraw Excess Rent with the amount, and a window shows the excess, the fee, the network fee and what you receive before you approve.
Key settings
#key-settings- Mode: Wallet Scan works on the connected wallet only. Multi Wallet scans and closes across the wallets whose private keys you paste, one per line, up to 1000.
- Close Mode: Only Empty closes zero-balance accounts. Burn & Close burns any leftover balance first, then closes, and requires a confirmation dialog before burning. Withdraw Excess Rent keeps every account open and moves only the SOL above today’s rent-exempt minimum.
- Gas Paid By (Multi Wallet): Connected Wallet sponsors all fees, so imported wallets need no SOL. Each Wallet makes every imported wallet pay its own fee. Dedicated Wallet uses a separate pasted fee-payer key for all gas.
- Reclaimed Rent To (Multi Wallet): Connected Wallet consolidates all reclaimed rent to the connected wallet. Each Owner returns rent to each owning wallet. Custom Address sends it to a public address you paste. The same choice applies to withdrawn excess.
- Fee-Payer Wallet Key: The private key of a funded wallet that pays all gas. Shown only when Gas Paid By is set to Dedicated Wallet.
- Filters: A free-text filter across account, token, mint, and wallet, plus Closable Only and Selected Only toggles, and Select Visible / Clear Visible bulk actions. Rows sort by rent, highest first. In Withdraw Excess Rent mode, With Excess Only shows just the accounts holding more than today’s rent, and rows sort by excess.
- Per-row selection and status: Every scanned account is a row with a checkbox, balance, plan, and an Idle / Success / Failed status. Empty accounts are pre-selected. Non-empty ones must be selected deliberately.
- Withdraw Excess Rent rows: Each account shows its token balance, the SOL it holds, today’s rent for its size and the excess. Accounts that hold tokens and have an excess start ticked. Empty accounts start unticked, because closing them returns all of their rent. Wrapped SOL accounts, frozen accounts and accounts that cannot be acted on are not offered. A row reads Rent not read when the network did not price that account size, and then offers no excess.
- Withdraw Excess Rent summary: Scanned Accounts, With Excess, Withdrawable Excess, Today’s Rent (standard account), Comes to Your Wallet, and Transactions / Approvals.
Fees and costs
#fees-and-costs| Cost | Amount |
|---|---|
| J Tools platform fee | 5% of successfully reclaimed rent; 5% of the withdrawn excess in Withdraw Excess Rent mode |
| Solana network fee | Paid to validators during the transaction; shown in the live summary. |
| Rent and transaction value | Shown separately when required; not part of the platform fee. |
The fee is a SOL transfer inside the same transaction as the close or the withdrawal, so a transaction that does not land charges nothing. In Withdraw Excess Rent mode it is 5% of that transaction’s excess in whole lamports, rounded down, the figure the confirm window shows.
How to use it
- Choose a scan mode
- Review the scanned rows
- Pick gas and destination, then close
How it works
Close instructions are built rent returns to you
- Token accounts scanned for each wallet SPL + Token-2022
- Empty accounts preselected, sorted by rent amount = 0
- Optional: Burn & Close burns leftovers first Burn
- Gas paid by the wallet you chose fee payer
- Accounts closed in batches CloseAccount
- Rent goes to the destination you chose rent read per account
- Platform keeps 5% of reclaimed rent 5%
Accounts closed, rent back as SOL mainnet
How it works
#how-it-works- Closing. A close sends the account’s whole rent deposit back as SOL and removes the account. The explainer behind How it works quotes today’s rent per account, read from the chain.
- Withdrawing the excess. The network has lowered the rent an account needs, but an account opened before a cut still holds the old deposit. Withdraw Excess Rent uses the token program’s own withdraw-excess instruction on each account: the surplus goes to the destination you chose, and the account keeps exactly today’s minimum, its tokens untouched. Token-2022 accounts work the same way.
- Read twice. Today’s rent is read from the network for each account size when you scan and again right before sending. If it changed in between, the run uses the new figure; an account with nothing left to withdraw is dropped and says so.
- Result window. A withdrawal run ends in a window that shows what reached your wallet, the platform fee, the network fee and the net amount, with each transaction marked as landed, not landed or not sent. Download report saves a CSV of the run, and Retry the remaining … accounts sends again for the accounts that did not land.
Practical tips
#practical-tips- For many wallets, set Gas Paid By to Connected Wallet and Reclaimed Rent To to Connected Wallet to sweep all the rent into one place in a single pass, even when the owning wallets hold no SOL.
- Keep a balance you actually want? Move it out first with Multi Sender, then close the now-empty account, rather than reaching for Burn & Close.
- To burn tokens without closing the account, use Burn Tokens instead.
- If the network lowers rent again, the same accounts hold a new excess, and you can withdraw it here again.
- Claim Center counts empty-account rent and excess rent for your wallet, and its rent card opens this page on the matching mode with the scan already running.
Before you sign
#before-you-signCheck the live summary before signing. The app is the current source of truth for amount, fee and route.
Common issues
#common-issues- A wallet has no SOL for gas. In “Each Wallet” gas mode, a wallet with zero SOL cannot pay its own fee and that row fails. Switch Gas Paid By to Connected Wallet or Dedicated Wallet so a funded wallet sponsors the fees.
- Invalid or duplicate key. Multi Wallet mode flags each pasted line. Remove invalid or repeated entries before scanning.
- Closed an account you still wanted. Closing only releases rent and never destroys a held balance under “Only Empty”. If you used Burn & Close on a row with a balance, that burn is permanent and the balance is gone for good.
- Some rows failed. Use Retry Failed to re-run only those rows. Network congestion is a common cause and a retry often clears it.
- A row is marked Frozen, Withheld fees or Foreign close authority. That account cannot be closed as it is. A frozen account has to be unfrozen by the token issuer, and an account whose close authority belongs to another wallet can only be closed by that wallet. A Token-2022 account that still holds withheld transfer fees shows a Collect withheld fees link to Token-2022 Tax Collector. Once those fees are withdrawn, the account can close.
- No excess shows, or rows read Rent not read. Today’s rent could not be read from the network, so those accounts offer nothing yet. Scan again in a moment.
- Some withdrawals did not land. The result window names them, and nothing was charged for them. Press Retry the remaining … accounts to send them again.
Related tools
#related-toolsHelp
#helpThe tool on this page
Close Account
j.tools/en/tools/close-account
- Platform fee
- 5% of successfully reclaimed rent; in Withdraw Excess Rent mode, 5% of the excess withdrawn
- Network fee, rent and transaction value are separate.
© 2026 J Tools