How to Mine Monero (XMR) in 2026

CPU mining with XMRig, P2Pool setup, profitability analysis, and how to sell your mined XMR for cash without KYC. The most private way to acquire Monero.

CPUMining Algorithm
0.6 XMRBlock Reward
~2 minBlock Time
0%P2Pool Fees

Why Mine Monero?

Monero mining is unique in cryptocurrency. While Bitcoin requires warehouse-sized operations with specialized ASIC machines, Monero can be mined on any regular computer. This is by design.

The Privacy Advantage of Mining

Mining is the most private way to acquire any cryptocurrency. You create fresh XMR from nothing — no exchange, no counterparty, no KYC, no transaction history. The coins appear in your wallet with zero connection to any identity. Combined with P2Pool (decentralized, no registration), mining gives you Monero that is maximally private from creation.

Mining vs Buying

AspectMiningBuying (P2P)Buying (Exchange)
PrivacyMaximum (self-created)High (cash, no KYC)Low (KYC required)
SpeedSlow (days-weeks for meaningful amounts)Fast (minutes-hours)Fast (minutes)
CostElectricity onlyMarket + premiumMarket + fees
CounterpartyNoneThe traderThe exchange
KYCNoneNone (P2P cash)Full identity

How Monero Mining Works: RandomX

Monero uses RandomX, a proof-of-work algorithm purpose-built for CPUs. It was activated in November 2019 and is designed to:

Why CPU Mining Matters

Bitcoin mining is controlled by a handful of industrial operations in China, Texas, and Iceland. You need a $2,000+ ASIC that does nothing except mine. Monero mining runs on the computer you already own — the same one you browse the web and write emails on. This keeps the network truly decentralized.

Step-by-Step: Mine Monero with XMRig + P2Pool

  1. Set up a Monero wallet. Download Feather Wallet (recommended) or the official Monero GUI. Create a new wallet and back up your 25-word seed phrase securely. You’ll need your wallet address for mining payouts.
  2. Download XMRig. Get it from github.com/xmrig/xmrig. Choose the version for your OS. Verify the SHA-256 checksum. Antivirus may flag it as a “miner” — this is a false positive. XMRig is open-source and safe.
  3. Download and run P2Pool. Get it from github.com/SChernykh/p2pool. P2Pool needs a local Monero node (monerod) or a public remote node. For beginners, use a remote node:
    ./p2pool --host node.monerodevs.org --wallet YOUR_WALLET_ADDRESS --mini

    Use --mini if your hashrate is under 10,000 H/s (most desktop CPUs). Remove --mini for high-hashrate rigs.

  4. Point XMRig to P2Pool. Once P2Pool is running, start XMRig pointed at your local P2Pool instance:
    ./xmrig -o 127.0.0.1:3333

    XMRig auto-detects your CPU and optimizes thread count. Your hashrate will stabilize within 30–60 seconds.

  5. Wait for your first payout. On P2Pool mini, expect your first payout within 24–72 hours depending on hashrate. Payouts go directly to your wallet — no pool operator handles your funds. Monitor your address at mini.p2pool.observer.
  6. Optimize. Tune CPU threads (leave 1–2 for system use), enable huge pages for 10–20% performance boost, and ensure good cooling. Run ./xmrig --print-platforms to check hardware detection.

CPU Hashrate Comparison (2026)

CPUHashrate (H/s)Power (W)Daily XMR*
AMD Ryzen 9 7950X~20,000~170W~0.006
AMD Ryzen 7 7700X~13,000~105W~0.004
AMD Ryzen 5 5600X~8,500~65W~0.0025
AMD EPYC 7742~44,000~225W~0.013
Intel i7-13700K~10,500~125W~0.003
Intel i5-12400~6,500~65W~0.002
Apple M2 Pro~5,500~30W~0.0016

*Approximate at network hashrate ~3 GH/s and XMR price ~$300. Values fluctuate with difficulty.

Profitability: Is It Worth It?

The Honest Answer

If you’re mining Monero purely for profit, you need cheap electricity (<$0.10/kWh). At typical residential rates ($0.15–0.30/kWh), most CPUs break even or lose money. But profit isn’t the only reason to mine:

Quick Profitability Check

Use this rough formula:

Daily XMR ≈ (your_hashrate / network_hashrate) × 720 blocks × 0.6 XMR Daily profit = (Daily XMR × XMR_price) - (CPU_watts × 24h × electricity_rate / 1000)

Example: Ryzen 7 7700X (13,000 H/s) at $0.10/kWh and $300/XMR:

Mining Pools: P2Pool vs Traditional

FeatureP2PoolTraditional PoolSolo Mining
Fees0%1–3%0%
DecentralizedYesNo (pool operator)Yes
KYC/RegistrationNoneUsually noneNone
PayoutDirect to walletPool holds fundsDirect to wallet
Min Hashrate~1,000 H/s (mini chain)AnyVery high needed
Payout FrequencyEvery block share foundVaries (PPLNS, PPS)Very rare
Censorship RiskNonePool can censor TXNone

Recommendation: Use P2Pool. Zero fees, no registration, decentralized, and payouts go directly to your wallet. The Monero community strongly recommends P2Pool over traditional pools. If your hashrate is under 10,000 H/s, use P2Pool mini.

Tail Emission: Why Monero Mining Never Ends

Unlike Bitcoin (which halves rewards until they reach zero around 2140), Monero has tail emission: a permanent reward of 0.6 XMR per block (~every 2 minutes). This means:

Selling Your Mined XMR

Once you’ve mined some Monero, you might want to convert it to fiat. The most private options:

  1. P2P cash trades — Sell directly to a buyer for EUR/USD cash. Platforms: Haveno DEX, XMRBazaar, OpenMonero. Maximum privacy.
  2. No-KYC instant exchanges — Swap XMR for BTC/stablecoins via Trocador, ChangeNow. Then cash out via BTC ATM or P2P.
  3. Accept XMR for goods/services — Use your XMR directly. Many vendors accept Monero (Monerica directory).

Sell Your Mined Monero for EUR Cash

I buy XMR for EUR via cash by mail (EU-wide) and face-to-face (SW Germany: Frankfurt, Stuttgart, Mannheim, Heidelberg, Karlsruhe, Freiburg, Strasbourg). 683 trades, 454 partners, 100% feedback. Escrow available via Haveno.

Seller’s Guide →

Optimization Tips

Frequently Asked Questions

Can I mine Monero with my regular computer?

Yes. Monero’s RandomX algorithm is designed for CPUs. Any modern processor (AMD Ryzen, Intel Core) works. GPU and ASIC mining are intentionally inefficient.

Is Monero mining profitable in 2026?

With electricity under $0.10/kWh and a modern CPU, yes. At $0.15+/kWh, most CPUs break even. Many miners value the KYC-free acquisition more than raw profit.

What is P2Pool?

A decentralized mining pool with zero fees, no registration, and direct wallet payouts. Two chains: main (>10K H/s) and mini (<10K H/s). The recommended way to mine Monero.

How do I sell mined Monero?

P2P cash trades (Haveno, XMRBazaar, OpenMonero), no-KYC exchanges (Trocador), or spend directly with Monero-accepting vendors. See: How to Sell Monero for Cash.

What’s the best CPU for Monero mining?

AMD Ryzen 9 7950X (~20K H/s), Ryzen 7 7700X (~13K H/s), or Ryzen 5 5600X (~8.5K H/s). AMD dominates due to large L3 cache. EPYC/Threadripper for serious operations.

Is mining bad for the environment?

Monero mining uses regular CPUs (65–170W) vs Bitcoin ASICs (3,000–3,500W). Network power is estimated at 1–5 MW vs Bitcoin’s 10,000+ MW. Far more efficient.

Related Guides