How to Remove a Trustline from Your XRPL Wallet
What Is a Trustline and Why Does It Cost You XRP
Every trustline you open on the XRP Ledger locks up 2 XRP as a reserve. That's not a fee. You don't lose it. But you can't spend it while the trustline exists. Open ten trustlines and 20 XRP sits frozen, unavailable for anything else.
Trustlines are how XRPL handles token relationships. Before your wallet can hold a token, it has to explicitly trust the issuer. That opt-in mechanism is a core part of how the ledger works. The downside is that wallets accumulate trustlines over time, especially if you've experimented with various tokens, claimed airdrops, or interacted with DeFi protocols.
Removing trustlines you no longer need is basic wallet hygiene. It also frees up your reserved XRP.
When You Can and Cannot Remove a Trustline
The ledger won't let you delete a trustline if your balance on that line is anything other than zero. You need to send all of that token back to someone before the trustline becomes removable. If you received an airdrop of a token you don't want, you first need to send those tokens away, then remove the line.
The same rule applies in the other direction. If you owe a balance on the trustline, that needs to be settled first.
A trustline also can't be removed if it has offers associated with it that are still open in the DEX order book. Cancel any open offers for that token pair before attempting to delete the trustline.
Once your balance is zero and no open offers reference the trustline, you're clear to remove it.
How to Remove a Trustline: Step by Step
There are a few ways to do this depending on the tools you use.
Using Xumm (XAMAN)
Xumm, now rebranded as XAMAN, is the most widely used XRPL wallet app. Here's how to remove a trustline through it.
- Open the app and go to your account screen.
- Tap the token you want to remove from your asset list.
- You'll see details for that token. Look for a settings or edit option.
- There should be an option to remove or disable the trustline.
- The app will prompt you to sign a transaction. This transaction sets the trust limit to zero and removes the line.
- Confirm and sign.
If your balance isn't zero, the app will warn you or block the action. Send those tokens away first.
Using a Manual TrustSet Transaction
If you're working directly with the ledger or using a developer tool, you remove a trustline by submitting a TrustSet transaction with a limit amount of 0.
Here's what that transaction looks like in JSON:
{
"TransactionType": "TrustSet",
"Account": "your_wallet_address",
"LimitAmount": {
"currency": "TOKEN_CODE",
"issuer": "issuer_address",
"value": "0"
}
}
Setting the limit to 0 with a zero balance signals to the ledger that you want the trustline removed. The ledger will delete the object from your account, and the 2 XRP reserve gets released back to your spendable balance.
You can submit this through tools like the XRPL.org transaction sender, or via any library like xrpl.js or xrpl-py if you're building something.
Using a Web Wallet Like XRPL.Services
Some web-based tools expose trustline management directly. You connect your wallet, view your trustlines, and delete them from a UI. Always verify the tool is legitimate before connecting your wallet. Stick to well-known services.
The Reserve System: What You Get Back
The XRPL reserve system requires every account to hold a base reserve, currently 10 XRP, plus 2 XRP for each object it owns on the ledger. Trustlines are objects. So are open offers, escrows, and other ledger entries.
When you delete a trustline, you remove one owner reserve. That 2 XRP moves from reserved to available. If you delete five trustlines, you recover 10 XRP. For wallets that have accumulated many lines from airdrops or old projects, this can be meaningful.
The base reserve of 10 XRP is never recoverable unless you delete the entire account, which is a separate process involving an AccountDelete transaction and has its own conditions.
Common Problems and How to Fix Them
Balance isn't zero. You need to send the remaining tokens somewhere. You can send them to the issuer's address, another wallet, or sell them on the DEX. If the token has no liquidity and you can't find a way to send it, you may be stuck with that trustline until you can.
Open offers in the DEX. Go to your open offers and cancel any that involve the token you're trying to remove. In XAMAN this is usually visible under your trading history or open orders.
Wrong issuer address. Each token on XRPL is identified by its currency code plus the issuer address. Two tokens with the same ticker but different issuers are different trustlines. Make sure you're targeting the right one.
Transaction fails with tecNO_LINE_REDUNDANT. This means the trustline either doesn't exist or is already in a state where deletion isn't needed. Double-check the currency code and issuer.
How Rhyzlo Fits Into This
Rhyzlo gives you a clear view of every trustline associated with your XRPL wallet, including ones you may have forgotten about. Instead of hunting through your transaction history to figure out which lines are still active, what balances remain, and which ones are safe to remove, you can see it all in one place.
For anyone managing multiple wallets or auditing a wallet before a transfer, that visibility matters. Trustlines are part of the trust infrastructure of your account, and knowing exactly what you've authorized is the first step to cleaning things up.
A Few Things to Keep in Mind
Removing a trustline is permanent in the sense that the line is gone. If you later want to hold that token again, you'll need to open a new trustline, which costs another 2 XRP reserve. Don't remove trustlines for tokens you actively use.
Also, some tokens require you to go through a specific process to return them to the issuer. Check the project's documentation if you're unsure whether the issuer accepts tokens back.
Finally, if a token's issuer has frozen your trustline, you may not be able to send the balance away. A global or individual freeze set by the issuer can restrict transfers. In that case, you won't be able to clear the balance and remove the line until the freeze is lifted.
Keep Your Wallet Clean
A wallet full of dead trustlines is harder to manage and locks up XRP you could be using. Auditing your trustlines periodically is a simple habit that keeps your account in good shape.
If you want a fast way to see every trustline connected to your XRPL wallet and understand what's safe to remove, visit rhyzlo.com and check your wallet's trust infrastructure today.