XMRig Setup Guide (2026)

The standard Monero CPU mining software — download, configure, mine
TL;DR: XMRig is the #1 Monero miner. Download from GitHub, set your wallet address, point at P2Pool mini (127.0.0.1:3333), run it. Earns XMR with your CPU — the most private way to acquire Monero (no exchange, no KYC, no counterparty).

Quick Start

1. Download — Official releases: github.com/xmrig/xmrig/releases. Verify GPG signature or SHA-256 checksum. Your antivirus will flag it — false positive (cryptojacking botnets use modified XMRig).

2. Configure — Edit config.json:

{
  "pools": [{
    "url": "127.0.0.1:3333",
    "user": "YOUR_MONERO_ADDRESS",
    "pass": "x",
    "keepalive": true,
    "tls": false
  }],
  "cpu": {
    "enabled": true,
    "huge-pages": true,
    "max-threads-hint": 75
  },
  "donate-level": 1
}

3. Run./xmrig (Linux/Mac) or xmrig.exe (Windows). Watch for speed 10s/60s/15m output.

Pool Options

ModeURLFeeMin HashrateNotes
P2Pool mini127.0.0.1:33330%AnyDecentralized, run locally
P2Pool main127.0.0.1:33330%~50 KH/sHigher difficulty, faster shares
MoneroOceangulf.moneroocean.stream:101280%AnyAlgo-switching, auto XMR payout
SupportXMRpool.supportxmr.com:33330.6%AnyEstablished pool
HashVaultpool.hashvault.pro:800.9%AnyGlobal servers
Solo127.0.0.1:180810%~1 MH/sRun local monerod, very rare finds

CPU Hashrate Benchmarks

CPUHashrateL3 CacheCores/Threads
AMD Ryzen 9 7950X~25,000 H/s64 MB16C/32T
AMD EPYC 7742~44,000 H/s256 MB64C/128T
Intel i7-13700K~12,000 H/s30 MB16C/24T
AMD Ryzen 7 5800X~10,000 H/s32 MB8C/16T
AMD Ryzen 5 5600X~7,500 H/s32 MB6C/12T
Intel i5-12600K~7,000 H/s20 MB10C/16T
Apple M2 Pro~4,500 H/s16 MB12C
Intel i5-10400~4,000 H/s12 MB6C/12T

RandomX needs 2 MB L3 cache per thread. AMD Ryzen dominates because of large L3. GPU mining is not profitable for Monero — RandomX is deliberately CPU-optimized.

Optimization Tips

Huge Pages: Enable for 20-30% hashrate boost. Linux: sudo sysctl -w vm.nr_hugepages=1280. Windows: run as Administrator. XMRig shows HUGE PAGES: 100% when working.

Thread count: Use max-threads-hint: 75 for mining while using the computer, 100 for dedicated mining. Each thread needs 2 MB L3 cache.

MSR mod (Linux): sudo ./xmrig on first run enables MSR register tweaks for 5-15% boost on some Intel CPUs. Requires root.

Power: Undervolt your CPU. Mining is power-limited — reducing voltage saves electricity without reducing hashrate. Use Ryzen Master (AMD) or ThrottleStop (Intel).

Antivirus False Positives

Every antivirus flags XMRig because cryptojacking malware uses it. The official build from GitHub is safe. Solutions:

Windows Defender: Settings → Virus Protection → Exclusions → add the XMRig folder.

macOS: System Preferences → Security → Allow anyway.

Linux: No issues. Most distros don't run AV by default.

Never download XMRig from random websites. Only github.com/xmrig/xmrig. Verify checksums.

XMRig + P2Pool = Maximum Sovereignty

Mining is the most private way to get Monero. No exchange, no KYC, no counterparty. Just your CPU and electricity.

P2Pool mini is the recommended pool — zero fees, decentralized, pays directly to your wallet. Supports the network.

Want to sell mined XMR for EUR? arnoldnakamura — 683 trades, 100% feedback.