Start swap

How to Atomic Swap Bitcoin to Monero: 2026 Guide

Side · · 14 min read · 9 views

How to Atomic Swap Bitcoin to Monero: 2026 Guide

In the first quarter of 2026, the COMIT atomic swap network processed more than 14,800 trustless Bitcoin-to-Monero swaps according to public dashboards aggregated by the Monero Outreach team — a 38% jump over the same window in 2025. The driver was simple: each new wave of centralized-exchange delistings (Kraken EU in 2024, OKX EU in 2024, Binance in select jurisdictions throughout 2025) sent another cohort of holders looking for a way to convert BTC into Monero without ever surrendering custody. An atomic swap delivers exactly that — a direct, peer-to-peer trade that either completes in full or refunds both parties — but the workflow is famously unforgiving for newcomers. This tutorial walks through the 2026 version of the process end-to-end, calls out the failure modes that account for most "stuck swap" support tickets, and explains when a managed alternative like MoneroSwapper makes more sense than running a maker/taker pair yourself.

If you have never used CLI tools, exported a private key, or waited eight hours for a Bitcoin transaction to clear, read the entire guide before downloading anything. Atomic swaps are powerful but unforgiving, and the design assumes you understand what each step costs you in time, fees, and risk.

Why Bitcoin↔Monero Atomic Swaps Exist

Atomic swaps were proposed by Tier Nolan in 2013, but the cryptographic primitive needed to make them work across heterogeneous chains — one with Bitcoin-style scripting, the other with Monero's view-key model — was only published in 2020 by the COMIT team alongside the Farcaster Project. The breakthrough was the adaptor signature: a Schnorr-style signature variant that reveals a Monero spend key the moment it is published on the Bitcoin chain, atomically tying together two events on two different ledgers.

The result is a swap with three guarantees: neither party can run off with both halves of the trade, neither party can stall indefinitely without losing their lock collateral, and the entire process is observable on-chain after the fact. There are no oracles, no escrow operators, no federations, and no know-your-customer step.

  • Trustless settlement: the protocol's correctness does not depend on the counterparty's honesty — only on the soundness of the cryptography and the liveness of the two chains.
  • Privacy from the destination side: once the Monero leg settles, the funds are inside RingCT and benefit from the same ring signature, stealth address, and Bulletproofs protections as any other Monero output.
  • No deposit address reuse: each swap derives a fresh Bitcoin output and a fresh Monero subaddress, eliminating the address-clustering footprint that taints centralized-exchange withdrawals.
  • Censorship resistance: the maker-taker discovery layer runs over the COMIT rendezvous protocol or libp2p, so blocking the swap requires blocking the underlying networks themselves.

The most common implementation today is XMR↔BTC by the COMIT/Farcaster team, distributed as the swap binary for makers and the asb binary for takers (with names that confuse newcomers — we'll clarify them in the setup section). UnstoppableSwap ships a graphical wrapper around the same protocol and accounts for the majority of taker volume in 2026.

Prerequisites: What You Need Before You Start

An atomic swap is not difficult, but it does have non-negotiable preconditions. Skipping any of these is the single biggest cause of failed swaps in the support logs published by UnstoppableSwap and the Monero community.

Hardware and Operating System

You need a machine that can stay online uninterrupted for at least four hours — ideally a workstation, a small NUC, or a Raspberry Pi 5 with an SSD. The swap protocol has timeouts measured in Bitcoin blocks, and a laptop that suspends mid-swap can land you in the refund path instead of the happy path. Linux (Ubuntu 24.04 LTS or Debian 12) is the most-tested platform; macOS works but occasionally lags behind on the binary release cycle; Windows works through UnstoppableSwap's installer but bring patience for the first sync.

Bitcoin Side

You need a watch-only or signing Bitcoin wallet capable of producing a P2WSH or P2TR output to a script address. UnstoppableSwap ships with an embedded Electrum-backed wallet that handles this for you, so you only need to fund it from your existing BTC holdings before starting. If you prefer to drive the BTC leg from Sparrow or Bitcoin Core, you can — but you accept responsibility for paying the correct miner fee and broadcasting the refund transaction if needed.

Monero Side

You need a destination address — a primary address or a subaddress, your choice — and the corresponding mnemonic seed stored offline. The Monero is delivered directly to the address you specify; the swap process does not require you to run a Monero node, but doing so gives you instant verification and substantially better privacy than relying on a remote node. Monero GUI 0.18.x or the Feather Wallet 2.7.x are both fine; ledger and Trezor hardware wallets work for the final destination but not as part of the swap mechanism itself.

Network

You need a stable connection with at least the ability to keep a TCP socket open for an hour at a time. The swap negotiates over the COMIT rendezvous network; if you are behind a strict NAT, expect to enable Tor inside UnstoppableSwap, which is the recommended configuration in 2026 anyway for privacy reasons.

Never start an atomic swap from a wallet you cannot recover from seed within five minutes. A swap that times out two blocks before you have a recovery path open will become a five-hour exercise in command-line Bitcoin script execution.

Step-by-Step: Your First BTC→XMR Atomic Swap

The walkthrough below assumes UnstoppableSwap 1.0.0-rc.18 or later, released in February 2026. The same logical steps apply to the headless swap CLI; the GUI just removes a few command invocations. Numbers are in lowercase satoshis (sats) and piconero where relevant.

  1. Install UnstoppableSwap. Download the signed binary from the official site, verify the GPG signature against the published maintainer key (do not skip this), and run it. On first launch it will scaffold a wallet directory and ask whether to enable Tor. Choose yes.
  2. Fund the embedded Bitcoin wallet. The app generates a deposit address; send slightly more BTC than the swap amount to cover the on-chain fees and the lock transaction. A typical swap consumes around 8,000–14,000 sats in miner fees across the lock and redeem transactions. Wait for one confirmation before continuing.
  3. Set your destination Monero address. Paste either your primary address or a freshly generated subaddress. The wallet never stores your view key or spend key — only the destination — so a typo here means the XMR lands in someone else's wallet permanently. Triple-check.
  4. Pick a maker from the public registry. UnstoppableSwap polls a list of online makers and shows their offer price (usually within 0.5–1.5% of the FixedFloat or Kraken spot reference), the minimum and maximum trade size, and their uptime. Filter by price and minimum size; ignore makers with less than 30 days of uptime history.
  5. Initiate the swap. The client opens a libp2p connection to the maker, exchanges the spend-key shares and locks the agreed Bitcoin amount in a 2-of-2 multisig with a refund timelock. From this moment a countdown starts; do not close the app or sleep the machine.
  6. Wait for the maker's Monero lock. The maker observes your BTC lock on-chain, then publishes a Monero transaction to a 2-of-2 stealth address that only the joint key can spend. This usually takes 10–20 minutes depending on the maker's Monero-side fee.
  7. Reveal and redeem. Your client publishes an adaptor signature that lets the maker take the BTC; the same publication mathematically reveals the share of the Monero spend key that lets you sweep the XMR. The Monero sweep is automatic. Total wall-clock time for a healthy swap is 30–90 minutes.
  8. Verify the destination. Open your Monero wallet and check the incoming transaction. It will appear unlocked after 10 Monero confirmations (roughly 20 minutes). Cross-reference the transaction ID with the swap log.

If at any point your client crashes, do not panic — relaunch it from the same wallet directory and it will resume from the last protocol step. The cryptographic state is on disk; only the network session is ephemeral.

Atomic Swap vs Centralized Swap Service: Honest Comparison

An atomic swap is not the right tool for every job. The table below is the comparison I use when advising friends, and the take-home is: atomic swaps win on trust assumptions, lose on UX and speed, and tie on price for trades above $500.

Dimension Atomic Swap (DIY) MoneroSwapper / FixedFloat / SimpleSwap
Custodial risk None — fully non-custodial Low — funds pass through swap service briefly
KYC requirement Never None on standard flow; possible on amber/red AML hits
Time to settlement 30–90 min typical, 4h worst case 15–40 min typical
Minimum trade size Often 0.001 BTC (≈ $70) As low as $20 equivalent
Maximum trade size Bound by maker liquidity (usually 0.5 BTC) Higher caps; some services to 50 BTC
Fees (effective) 0.5–1.5% maker spread + on-chain 0.5–1.0% spread, no extra miner fees on user side
Technical skill required Moderate — must understand timelocks Minimal — paste and click
Mobile-friendly No — desktop only as of 2026 Yes — works on phone browser
Recovery on failure Automatic refund, sometimes manual Customer support intervention

The honest rule of thumb: use an atomic swap when you have time, technical confidence, and a strong threat model against custodial intermediaries. Use a privacy-respecting swap service like MoneroSwapper when you need predictability, a mobile workflow, or a trade size that exceeds available maker liquidity. Both are non-KYC; the difference is who briefly holds your coins during the trade.

Failure Modes and How to Recover

Roughly one in twenty swaps hits a non-happy-path branch in 2026. None of these are catastrophic if you respond correctly, but each requires a different procedure. The list below covers the four scenarios that account for nearly every support ticket.

The Maker Goes Offline After You Lock BTC

Your Bitcoin is locked in a 2-of-2 multisig with a refund timelock — typically 72 Bitcoin blocks (≈ 12 hours) before the cancel timelock opens and another 72 blocks before the punish timelock. If the maker disappears, simply wait. After the cancel timelock, your client will automatically broadcast a cancel transaction that returns the BTC to a refund address you control. You lose only the miner fees, not the principal.

You Crash During the Monero Sweep

This is the most common ticket. If your client closes after the maker has published Monero but before you have swept it, restart the client; it will rediscover the unspent output using the joint key and finish the sweep. If the client cannot find the output (rare, but possible on a fresh install), use the manual recovery procedure: import the spend key share into a new Monero wallet, scan from the appropriate block height, and the funds will appear.

Bitcoin Fee Estimation Was Wrong

If you set the fee too low and your lock transaction is not mined within the negotiation window, the maker may abandon the swap. Use replace-by-fee (RBF) to bump the fee; both UnstoppableSwap and Sparrow support this. Never start a swap during a period of extreme mempool congestion (>200 sat/vB) unless you are prepared to pay aggressively.

The Address You Pasted Was Wrong

There is no recovery from this. The Monero will land at the address you provided, and Monero's view-key model means only the holder of the corresponding spend key can sweep it. Always paste, never type. Always verify the first and last six characters match. Consider using a QR code from a trusted device for high-value swaps.

Practical Example: Sweeping 0.05 BTC to XMR in March 2026

To make this concrete: on March 14, 2026, the price of XMR was $172 and BTC was $103,400. A trader wanting to convert 0.05 BTC (≈ $5,170) to XMR opens UnstoppableSwap, sees three makers offering BTC/XMR in the 0.05 BTC range with effective rates between 29.5 XMR and 29.9 XMR per 0.05 BTC. He selects the maker quoting 29.8 XMR — a 0.9% premium over Kraken's mid-market reference, which seems steep but is exactly the cost of avoiding KYC and custody.

The Bitcoin lock transaction takes 18 minutes to confirm at 24 sat/vB (he paid 3,800 sats in miner fees). The Monero lock appears 12 minutes after that. The redeem-reveal step takes 14 minutes. Total elapsed time: 1 hour and 4 minutes. The XMR appears in his Feather wallet, ten confirmations roll past, and he closes UnstoppableSwap. Total fees paid: 3,800 sats on the Bitcoin side, roughly 0.0001 XMR on the Monero side, and the 0.9% spread embedded in the maker quote. Compared with a 1.0% spread plus a 0.0005 BTC withdrawal fee on a typical centralized exchange, the atomic swap saved him about $40.

The same trader, for a 0.5 BTC trade, would have found fewer maker quotes (liquidity thins above 0.2 BTC) and might have chosen MoneroSwapper or FixedFloat instead — neither of which require KYC at that size and both of which complete in under 30 minutes. The decision tree is not ideological; it is operational.

FAQ

Is a Bitcoin-Monero atomic swap actually anonymous?

The Monero leg inherits RingCT, ring signature, and stealth address protection from the moment of receipt, so the destination is private by construction. The Bitcoin leg, however, leaves the same on-chain footprint as any other Bitcoin transaction — the lock output is publicly visible and tied to the address you sent from. If your Bitcoin had a known origin (a centralized exchange, for example), chain analysis can see that you used those coins for an atomic swap. Privacy improves once funds are inside Monero; it does not retroactively scrub Bitcoin history.

Why is it called "atomic"?

"Atomic" in the database sense — the swap either commits fully on both chains or reverts fully on both. There is no state in which one side has been paid and the other has not, assuming both timelocks are respected. The cryptographic atomicity comes from the adaptor signature, which couples the BTC redeem transaction to the revelation of the XMR spend key share.

Can I run a maker (sell XMR for BTC) and earn the spread?

Yes. The same UnstoppableSwap binary runs in maker mode, sometimes called the Automated Swap Backend (ASB). You quote a price, lock up Monero collateral, and serve takers. Returns in 2026 are modest (annualized 4–8% on capital deployed) and you bear the risk of being offline during a swap or holding inventory through a price swing. Most active makers run on dedicated servers behind Tor or via VPS.

What happens if the Bitcoin network is congested?

You will pay higher miner fees on both the lock and the redeem transactions, and the swap will take longer because each confirmation step takes longer. The protocol is robust to congestion — timelocks are measured in blocks, not minutes — but you must set fees high enough that your transactions are mined before the cancel timelock. As a rule, do not initiate an atomic swap when the mempool exceeds 150 MB of unconfirmed transactions.

Are atomic swaps legal where I live?

In most jurisdictions, swapping crypto you already own for other crypto you intend to hold is not a regulated activity for the user; whether the maker is regulated depends on local money-transmitter rules. In the EU, MiCA does not directly cover peer-to-peer atomic swaps as of 2026, but tax reporting still applies — each swap is a disposal of BTC and an acquisition of XMR for tax purposes. In the United States, the same holds under IRS guidance. Consult a local tax professional for your situation; this guide is not legal advice.

Can I do an atomic swap from a hardware wallet?

Not directly as of early 2026. The protocol requires signing adaptor signatures, which Ledger and Trezor firmware do not yet support natively. You can fund the embedded UnstoppableSwap wallet from a hardware wallet, perform the swap, and then send the resulting XMR to a hardware-wallet-controlled Monero address. This keeps long-term storage on the hardware device without requiring it to participate in the swap protocol itself.

Conclusion

Bitcoin-to-Monero atomic swaps are the closest thing we have in 2026 to a trustless, no-KYC bridge between the largest cryptocurrency and the most private one. They are not magic: they cost more than centralized exchanges, take longer than swap services, and carry a learning curve that has stranded more than one impatient user in the refund path. But for the right trade size — say, anything between 0.005 and 0.2 BTC where you have time and want zero counterparty exposure — they are the cleanest tool available. Master the workflow once on a small test amount before committing serious capital.

For trades outside that sweet spot, or when you need a mobile workflow, a privacy-respecting custodial swap like MoneroSwapper handles the same BTC→XMR conversion in under half an hour without KYC, no account, no email, and no logs retained beyond what is needed to complete the trade. The right answer is rarely ideological; it is whichever tool fits the size, timeline, and threat model of the specific swap in front of you.

Share this article

Related Articles

Ready to Swap?

Anonymous Monero Exchange

No KYC • No Registration • Instant Swaps

Exchange Now