To the main

This guide shows you exactly how to set up a P2Pool node + miner on common hardware (Windows, Linux, macOS, Raspberry Pi) in 2026. We cover both mainnet and testnet (for practice), including the new P2Pool sidechain mode that became default in late 2025.

P2Pool is the only truly decentralized mining pool for Monero (XMR). Unlike traditional pools (MineXMR, Nanopool, SupportXMR, etc.), P2Pool has no central server, no pool operator, no fees taken by a third party, and no single point of failure or censorship risk. Every miner connects directly to other miners in a peer-to-peer network. Blocks are found collectively, and rewards are distributed instantly and fairly according to hashrate contribution — just like solo mining, but with much lower variance.

In March 2026 P2Pool remains the gold standard for privacy-preserving, trustless Monero mining. With Monero’s tail emission (0.6 XMR/block forever) and RandomX CPU-mining algorithm, even modest home hardware can still participate meaningfully without trusting anyone else with your hashrate or payouts.

Why Mine on P2Pool in 2026?

  • Zero trust — no pool can steal your rewards, censor you, or log your IP
  • Instant payouts — no waiting for pool minimums; rewards arrive in every block you help find
  • Privacy — no pool knows your real hashrate or wallet address
  • Low variance for small miners — share work with thousands of peers
  • Supports network decentralization — helps keep Monero mining distributed

Downsides compared to centralized pools:

  • Slightly higher variance (but much better than solo)
  • Requires running a full Monero node (or connecting to a trusted one)
  • Setup takes ~30–60 minutes the first time

Hardware Recommendations 2026

Setup TypeCPU ExampleHashrate (approx.)Power DrawCost (2026)Recommended?
Budget / BeginnerRyzen 5 5600X / 5800X8–12 kH/s80–120 W$150–$250Yes
Mid-rangeRyzen 7 5800X3D / 7700X12–18 kH/s100–150 W$300–$450Great
High-end homeRyzen 9 7950X / Threadripper25–40 kH/s200–300 W$600+Overkill
Low-power 24/7Raspberry Pi 5 8GB + USB miners0.5–2 kH/s10–20 W$100–$200Fun only
Old laptop/desktopi7-10700 / Ryzen 5 36004–8 kH/s60–100 WFree/cheapYes

Minimum: Any modern CPU with ≥4 cores and AVX2 support (most CPUs since ~2015). Best price/performance: Ryzen 5000/7000 series (especially 5800X / 7700).

Software Requirements

  • Monero daemon (monerod) — latest release (v0.18.3.x or newer)
  • P2Pool — latest release (v4.x.x or newer)
  • XMRig — miner (latest stable release)
  • Operating system — Windows 10/11, Ubuntu 22.04/24.04, macOS, Raspberry Pi OS

Step-by-Step Setup: P2Pool + XMRig (Most Common 2026 Method)

1. Install Monero Full Node (monerod)

Windows

  1. Download latest CLI wallet from https://www.getmonero.org/downloads/
  2. Extract to C:\Monero\
  3. Run monerod.exe once — it creates C:\Users\YourName\.bitmonero\
  4. Let it sync (may take 2–7 days on HDD; 1–3 days on SSD)

Linux (Ubuntu/Debian)

Bash
sudo apt update && sudo apt install -y build-essential cmake pkg-config libssl-dev libzmq3-dev libunbound-dev libsodium-dev libminiupnpc-dev libunwind-dev liblzma-dev libreadline-dev libpgm-dev qttools5-dev-tools libhidapi-dev libusb-1.0-0-dev libprotobuf-dev protobuf-compiler

wget https://downloads.getmonero.org/cli/monero-linux-x64-v0.18.3.4.tar.bz2
tar xjf monero-linux-x64-*.tar.bz2
sudo mv monero-x86_64-linux-v*/monerod /usr/local/bin/

Run: monerod --detach

Raspberry Pi 5 (Ubuntu 64-bit) Follow the same Linux steps. Use an NVMe SSD for storage. Sync time: 7–14 days.

2. Install P2Pool

Windows

  1. Download latest P2Pool release from https://github.com/SChernykh/p2pool/releases
  2. Extract to C:\P2Pool\
  3. Create a shortcut or run from cmd: p2pool.exe --wallet YOUR_MONERO_WALLET_ADDRESS

Linux / macOS / Pi

Bash
git clone --recursive https://github.com/SChernykh/p2pool.git
cd p2pool
make -j$(nproc)
sudo cp p2pool /usr/local/bin/

Run: p2pool --wallet 4... --host 127.0.0.1

Common launch flags (add to command line) --mini → use the mini sidechain (lower variance for small miners) --no-cache → disable hashrate cache (better privacy) --stratum 0.0.0.0:3333 → expose stratum port for external miners --host 127.0.0.1 → connect to local monerod

3. Configure & Run XMRig to Mine on P2Pool

Download XMRighttps://xmrig.com/download (latest stable)

Basic config.json (create in XMRig folder)

JSON
{
    "autosave": true,
    "cpu": true,
    "opencl": false,
    "cuda": false,
    "pools": [
        {
            "algo": "rx/0",
            "url": "127.0.0.1:3333",
            "user": "YOUR_MONERO_WALLET_ADDRESS",
            "pass": "x",
            "keepalive": true,
            "tls": false
        }
    ]
}

Run XMRig

  • Windows: double-click xmrig.exe
  • Linux: ./xmrig

You should see hashrate reporting and shares being accepted.

Quick Start Summary (Most Common 2026 Setup)

  1. Run monerod (sync the blockchain)
  2. Run p2pool --wallet YOUR_ADDRESS --mini (or without --mini)
  3. Run XMRig pointed at 127.0.0.1:3333
  4. Monitor: http://127.0.0.1:37889/local_stats (P2Pool dashboard)
  • --host 127.0.0.1 + --stratum 0.0.0.0:3333 → mine from multiple machines
  • --no-cache → maximum privacy (no hashrate cache)
  • --bg-mining → enable background mining in browser (low hashrate)
  • --wallet YOUR_ADDRESS+WORKER → label rigs in stats
  • Use --tls and --stratum with a domain if exposing externally

Monitoring & Troubleshooting

  • P2Pool dashboard: http://127.0.0.1:37889/local_stats
  • XMRig log: look for “accepted” shares
  • Common issues:
    • “No connection” → monerod not running or wrong RPC bind
    • Low hashrate → wrong algo (must be rx/0)
    • High rejected shares → bad overclock or wrong pool URL

Expected Earnings 2026

With tail emission (0.6 XMR/block ≈ $200–$210 at $350/XMR), even small miners can get frequent tiny payouts.

Example (mid-2026, ~$350/XMR):

  • 10 kH/s rig ≈ 0.0008–0.0015 XMR/day (~$0.28–$0.52/day)
  • 20 kH/s ≈ $0.55–$1.00/day

Payouts are very frequent (every few hours to days) thanks to thousands of peers.

Conclusion

Running a P2Pool node + miner is the purest, most private way to mine Monero in 2026. No pool operator, no fees to middlemen, no trust required. It’s more technical than cloud mining or centralized pools, but the sovereignty and privacy gains are unmatched.

Start small: get monerod syncing, add P2Pool, point XMRig, and watch your first shares come in.

Your hashrate. Your rules. No one else’s node.

Happy mining! Run your own node. Decentralize Monero. Stay private.