What is the account deletion feature on XRPL?
Last updated:
The account deletion feature on the XRP Ledger allows users to permanently delete their XRPL accounts and recover most of the reserve requirement previously locked in those accounts, returning those funds to the user. This feature addresses a long-standing friction point in the XRPL ecosystem where account creation locked XRP in reserve requirements that were inaccessible unless the account remained active. Account deletion provides a way to reclaim these reserves when accounts are no longer needed.
Historically, creating an XRPL account required a base reserve (previously 20 XRP, later reduced to 10 XRP, and most recently to 1 XRP as of recent amendments) that remained locked in the account as long as it existed. Additional reserves were required for each object the account owned—trustlines, offers, escrows, etc. For users who created accounts and then stopped using them, or who created multiple accounts for various purposes, these reserves represented significant amounts of locked, inaccessible XRP. The deletion feature provides an escape hatch, allowing users to close unused accounts and recover most of the locked reserves.
Account deletion was introduced through the DeletableAccounts amendment to the XRPL protocol, which activated in May 2020. This amendment added the AccountDelete transaction type, enabling the functionality across the network. Since activation, any XRPL account meeting specific conditions can be deleted, and the deletion feature is permanent and irreversible—once an account is deleted, the address can never be recreated or reused.
Conditions and requirements for account deletion include account age—the account must be at least 256 ledger versions old (approximately 15 minutes), preventing immediate deletion of newly created accounts. This delay serves anti-abuse purposes, making it costly to spam the network with account creation and deletion. The account must have no owned objects like active trustlines, open offers on the DEX, pending escrows, or payment channels. All such objects must be removed before deletion. The account cannot have outstanding multisignature transactions or other pending operations. A deletion fee applies—currently a special fee higher than standard transactions (approximately 5 XRP, though this can vary) that is burned (destroyed), not paid to validators. This fee serves anti-abuse purposes, making deletion somewhat costly to prevent spam.
The deletion process returns most of the account's XRP balance to a designated destination address, minus the deletion fee. The base reserve is not recoverable—it's essentially the payment for having used the account. However, any balance above the reserve and the deletion fee is returned to you. Any incremental reserves from deleted objects (trustlines, offers, etc.) are also recovered when you remove those objects before deletion.
To delete an XRPL account, follow these steps. First, clean up the account by removing all owned objects—delete all trustlines (except XRP itself, which cannot be removed), cancel all open DEX offers, complete or cancel all escrows and payment channels, and remove any other XRPL objects tied to the account. Prepare a destination address where recovered XRP will be sent—this must be a different, existing XRPL account that you control. Use an XRPL wallet or tool supporting account deletion (XRP Toolkit supports this functionality, as do some other advanced tools). Submit an AccountDelete transaction specifying your account to delete and the destination address for recovered XRP. Pay the deletion fee (burned as part of the transaction). Once confirmed, the account is permanently deleted, and recoverable XRP is transferred to your destination address.
Important warnings and considerations: Account deletion is permanent and irreversible—the deleted address can never be used again for any purpose. Do not delete accounts you might need to receive future payments, as transactions to deleted addresses will fail. Ensure you have recovered all desired XRP and removed all valuable trustlines before deleting. The deletion fee (burned XRP) represents a non-trivial cost, so account deletion only makes economic sense when the recoverable amount exceeds the deletion fee. Never delete an account while you have incoming transactions pending or expected.
Practical use cases for account deletion include cleaning up old test accounts that are no longer needed, recovering reserves from multiple accounts consolidated into fewer accounts, and reclaiming locked XRP when you're exiting the XRPL ecosystem entirely. For users with numerous trustlines, the process of removing them all before deletion can be tedious but necessary.
The account deletion feature represents important progress in XRPL usability, reducing the friction of locked reserves and giving users more control over their XRP holdings.