Understanding XRP Addresses & Keys
Every interaction with the XRP Ledger starts with an address and a key. Understanding how XRPL accounts work — from r-addresses to multi-signing — is essential for securing your assets and using the ledger effectively.
XRP addresses start with "r" (classic) or "X" (X-address format). Your secret key controls your account — lose it and your XRP is gone forever. The XRPL supports regular keys (changeable signing keys) and multi-signing (multiple parties approve transactions). Every account needs a 10 XRP base reserve, plus 2 XRP per object (trust lines, offers).
| Key Facts | |
|---|---|
| Address Format | r-address (classic) or X-address |
| Base Reserve | 10 XRP to activate |
| Owner Reserve | 2 XRP per object |
| Key Algorithm | secp256k1 or Ed25519 |
| Multi-Sign | Up to 32 signers |
| Destination Tags | Required for exchanges |
| Key Recovery | Not possible — back up! |
| Regular Key | Changeable signing key |
How XRP Addresses Work (r-Addresses)
Every account on the XRP Ledger has a unique address that starts with the letter "r", followed by 25-34 alphanumeric characters. This is called a classic address. For example:
The address is derived from your public key using a series of cryptographic hash functions (SHA-256, then RIPEMD-160) and base58 encoding. This process is one-way — you cannot derive a private key from an address. The "r" prefix is an XRPL convention that makes XRP addresses instantly recognizable.
An address is just a mathematical derivation from a key pair. It doesn't become an account on the XRPL until it receives at least 10 XRP (the base reserve). Until funded, the address exists mathematically but not on the ledger.
Secret Keys and Key Pairs
Your XRP account is controlled by a cryptographic key pair: a private key (secret) and a public key. The XRPL supports two cryptographic algorithms:
| Algorithm | Key Format | Details |
|---|---|---|
| secp256k1 | Family seed (s...) | Default — same curve as Bitcoin. Seeds start with 's' |
| Ed25519 | Family seed (sEd...) | Modern, faster signature verification. Seeds start with 'sEd' |
Your family seed (secret key) is typically a string starting with "s", like sn3nxiW7v8KXzPzAqzyHXbSSKNuN9. This seed generates your private key, which generates your public key, which generates your address. Never share your secret key with anyone.
Your secret key is the only way to control your account. If someone obtains your secret key, they can steal all your XRP. If you lose it without a regular key or multi-sign backup, your funds are permanently inaccessible. There is no "forgot password" on the XRPL.
Regular Key Pairs
The XRPL has a unique security feature: regular keys. You can assign a secondary key pair to your account using a SetRegularKey transaction. This regular key can sign transactions on behalf of your account, and — critically — it can be changed or removed at any time.
Key Rotation
If your regular key is compromised, use your master key to set a new one — without changing your address
Cold Storage
Keep your master key offline and use the regular key for daily operations
Revocation
Remove the regular key at any time by sending a SetRegularKey transaction with no key
Multi-Signing on the XRPL
Multi-signing allows you to require multiple parties to authorize a transaction. You create a SignerList with up to 32 signers, each with a weight, and set a quorum threshold. A transaction is only valid when signatures with enough combined weight meet the quorum.
A company treasury requiring 3-of-5 executives to approve outgoing payments.
Distribute signing authority across multiple devices or locations to prevent single points of failure.
DAO-like structures where community members vote on fund allocation through multi-sign quorums.
Set up family members as signers to ensure funds remain accessible if the primary holder is unavailable.
XRPL Account Reserves
The XRP Ledger requires accounts to hold a minimum amount of XRP as a reserve. This serves two purposes: it prevents ledger spam (millions of empty accounts) and ensures accounts can pay transaction fees.
| Reserve Type | Amount | Purpose |
|---|---|---|
| Base Reserve | 10 XRP | Required to activate any XRPL account |
| Owner Reserve | 2 XRP per object | For each trust line, offer, escrow, signer list entry, etc. |
| Example: 3 trust lines | 16 XRP total | 10 base + (3 × 2) owner reserve |
| Example: 3 trust lines + 2 offers | 20 XRP total | 10 base + (5 × 2) owner reserve |
Reserved XRP isn't gone — it's locked in your account. If you remove objects (close trust lines, cancel offers), the corresponding owner reserve becomes spendable again. The base reserve can be recovered by deleting your account (though this is rarely advisable).
X-Addresses vs. Classic Addresses
X-addresses are an encoding format that combines a classic r-address and a destination tag into a single string. They start with "X" on mainnet (or "T" on testnet) and are longer than classic addresses.
| Format | Example | Includes Tag? |
|---|---|---|
| Classic (r-address) | rN7n347...w7Gj9 + tag: 12345 | Separate field |
| X-address | X7gJ5YK8ab...QkS2mR | Encoded in address |
X-addresses solve the destination tag problem by making it impossible to forget — the tag is baked into the address itself. Many wallets and exchanges now support X-addresses, and tools like the XRP Address Codec can convert between formats.
Security Best Practices for XRP Accounts
Back Up Your Secret Key
Write it down on paper and store in multiple secure physical locations. Never store it digitally (screenshots, cloud, email).
Use a Hardware Wallet
For large holdings, use a Ledger or Trezor device. Your keys never leave the device.
Set a Regular Key
Use your master key only for emergencies. Set a regular key for daily transactions and keep the master key in cold storage.
Consider Multi-Signing
For significant holdings, set up multi-sign with keys distributed across locations or trusted parties.
Verify Addresses Carefully
Always double-check the recipient address and destination tag before sending. XRP transactions are irreversible.
Disable Master Key (Advanced)
After setting a regular key or multi-sign, you can disable the master key with AccountSet — but only if you're confident in your backup strategy.
Frequently Asked Questions
Sources
Continue Learning
Secure Your XRP Today
Understanding addresses and keys is the first step to securing your XRP. Get started with a self-custody wallet and take control of your digital assets.
Last updated: February 13, 2026. Written by the AllAboutXRP Editorial Team. Sources: XRPL.org documentation, XRP Address Codec specification.
Get XRP insights delivered weekly
Free weekly newsletter. No spam, unsubscribe anytime.