How to Mine Monero with P2Pool in 2026: Setup Guide
How to Mine Monero with P2Pool in 2026: Setup Guide
In January 2026, P2Pool crossed 600 MH/s of sustained network hashrate for the first time, putting roughly 22% of the entire Monero network behind a peer-to-peer sidechain with no operator, no signup, and no withdrawal threshold. That number alone explains why solo miners, privacy advocates, and small farms keep abandoning centralized pools: P2Pool pays every share directly from the coinbase transaction, so funds never sit in a third party's wallet. If you have a modern AMD or Intel CPU and a stable internet connection, you can join that sidechain tonight — and the Monero you mine can be swapped, stored, or routed through MoneroSwapper without ever touching a custodial account.
This guide walks through the full 2026 setup: choosing between the main and mini sidechains, syncing a Monero node, configuring P2Pool, pointing XMRig at it, and tuning the result so you do not burn electricity for stale shares. Every command shown was tested against P2Pool v4.4 and monerod v0.18.4.x — the releases active in Q1 2026 after the FCMP++ readiness patches landed.
Why P2Pool Beats Centralized Pools in 2026
Monero's mining landscape changed permanently after the 2024 RandomX tuning patch and the 2025 push toward FCMP++. Hashrate spiked, ASIC resistance held, and centralized pools like SupportXMR and Nanopool consolidated more than 60% of the network at one point — a worrying figure for a chain whose threat model is anchored in fungibility and decentralization. P2Pool was originally launched by SChernykh in 2021 to solve exactly that problem, and four years later it is the only pool architecture that does not require trust in an operator.
Here are the concrete advantages a 2026 miner gets by running P2Pool instead of a regular stratum pool:
- No custody risk: Coinbase outputs go straight to your wallet address. A pool operator cannot freeze, lose, or exit-scam your balance because there is no balance — only block rewards split across the sidechain by share weight.
- No minimum payout: Traditional pools hold dust below 0.003 XMR; P2Pool pays whatever you earned on every found block, often within minutes for active miners on the mini sidechain.
- Privacy by default: You never sign up, never give an email, never tie a worker name to KYC. Your Monero address is the only identifier, and outputs are protected by RingCT and stealth addresses like any other Monero transaction.
- Network decentralization: Every P2Pool node verifies and propagates Monero blocks, so each miner running P2Pool effectively also runs a full node — strengthening the chain instead of leaning on it.
- Censorship resistance: There is no API endpoint to block, no payout server to subpoena, no operator to lean on. The pool is a sidechain gossiped over the same P2P layer as Monero itself.
The trade-off is operational: you must run more software, sync a blockchain, and accept that a small share of your hashrate goes to "uncle" blocks on the sidechain. For most hobbyist miners that is a more than fair exchange.
How P2Pool Actually Works Under the Hood
P2Pool is a sidechain — its own merge-mined chain of share blocks that runs in parallel with Monero. Every 10 seconds on the main chain (or every 10 seconds on the mini, depending on which you join), a new sidechain block is found by one of the participating miners. That block contains a list of all the recent shares from all participants, weighted by difficulty. When any miner on the sidechain solves a real Monero block, the coinbase transaction is constructed to pay each address in proportion to its PPLNS window share.
The mechanism that makes this trustless is the coinbase template itself. P2Pool calculates the exact outputs that the Monero block must contain — one per active miner — and the share-finder must include that template verbatim or the share is invalid. There is no operator picking who gets paid; the rules are enforced by the sidechain's consensus.
Main Sidechain vs Mini Sidechain vs Nano
There are now three sidechains to choose from in 2026, after the Nano sidechain launched in late 2024 for very small miners:
| Sidechain | Min recommended hashrate | Share time | Notes |
|---|---|---|---|
| Main | 50 kH/s+ | ~10 s | For mid-to-large farms; bigger PPLNS window, smoother variance. |
| Mini | 2 kH/s – 50 kH/s | ~10 s | The sweet spot for desktop CPU miners. Lower difficulty, faster payouts. |
| Nano | under 2 kH/s | ~10 s | For laptops and SBCs; introduced 2024 to absorb very small miners. |
If you have a Ryzen 9 7950X pushing 18–22 kH/s, the mini sidechain is the correct choice. A modern laptop doing 1–2 kH/s belongs on Nano. Running on the main sidechain with a desktop CPU means you will rarely meet the share threshold and your effective payout will fall.
Hardware and Software You Need
Monero's proof-of-work, RandomX, is designed around general-purpose CPU instructions and large amounts of L3 cache. The result is that the best miners in 2026 are still consumer CPUs, not ASICs and not GPUs. Here is what actually matters when sizing a rig:
- CPU choice: The Ryzen 9 7950X, 9950X, and Threadripper 7970X dominate the efficiency charts. AMD's large L3 cache (64 MB on the 7950X, 128 MB on Threadripper 7970X) feeds RandomX's 2 MB scratchpad per thread without thrashing main memory.
- RAM: You need at least 2 MB of L3 per active thread plus 2 GB of system RAM per 1 MB of huge-page allocation. Eight-channel DDR5 helps Threadripper, but for a 7950X a fast 2x16 GB DDR5-6000 kit is plenty.
- Huge pages enabled: Linux performs 10–20% better with 1 GB huge pages or 2 MB huge pages reserved. On Windows you have to grant the "Lock pages in memory" right to the mining process.
- Storage for monerod: An SSD with at least 250 GB free. Monero's pruned blockchain sits around 110 GB in early 2026; running unpruned will keep you future-proof through the FCMP++ era.
- Network: 5 Mbps symmetric is enough. P2Pool is bandwidth-light but latency-sensitive — under 100 ms to several sidechain peers is ideal.
- Cooling: RandomX is brutal on CPUs because every thread is busy on integer and floating-point pipes simultaneously. A 360 mm AIO or a high-end air cooler is realistic for a sustained 24/7 load on a top-tier consumer chip.
On the software side you need three binaries: monerod (the Monero daemon), p2pool (the sidechain client), and xmrig (the miner). All three are open source, reproducible from GitHub, and signed by their maintainers — verify the GPG signatures before running them on a machine that holds funds.
Never download P2Pool, monerod, or XMRig from a search-engine ad. Fake mining binaries with built-in wallet stealers have been one of the most common Monero-targeting malware vectors since 2023, and the pattern has not slowed.
Step-by-Step Setup for 2026
The instructions below assume Ubuntu 24.04 LTS or Debian 13. Adjust paths for macOS or Windows, but the command-line flags are identical. The whole flow takes 30 minutes of active work plus several hours of background blockchain sync.
- Create a fresh Monero wallet. Use the official GUI, Feather, or the CLI to generate a new primary address. Never reuse an address you publish elsewhere — your payout address is visible on the sidechain to every peer, and although Monero outputs themselves are private, linking a known address to your mining activity is poor opsec. Write the 25-word mnemonic seed down on paper.
- Download and verify binaries. Fetch monerod from getmonero.org, P2Pool v4.4 from the SChernykh/p2pool GitHub release page, and XMRig v6.22+ from xmrig.com. Verify each archive's SHA-256 against the signed hashes file, then verify that hashes file against the maintainer's GPG key.
- Start monerod in pruned or full mode. Launch with
./monerod --zmq-pub tcp://127.0.0.1:18083 --disable-dns-checkpoints --enable-dns-blocklist --out-peers 32 --in-peers 64. The ZMQ publisher is the channel P2Pool uses to receive block templates in real time. Wait for the daemon to fully synchronize — this can take 4–12 hours on first run depending on disk and connection. - Reserve huge pages. On Linux, run
sudo sysctl -w vm.nr_hugepages=3072for a 16-thread miner, or write the value to/etc/sysctl.conffor persistence. On Windows, edit Local Security Policy and add your user to "Lock pages in memory". - Launch P2Pool against the mini sidechain. The command is
./p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS --mini --rpc-port 18081 --zmq-port 18083 --loglevel 2. Replace YOUR_PRIMARY_ADDRESS with the wallet you generated in step 1. P2Pool will sync the sidechain in a few minutes — much faster than monerod. - Point XMRig at P2Pool. Edit
config.jsonso the pool entry is{"url": "127.0.0.1:3333", "user": "x", "keepalive": true, "tls": false}. P2Pool exposes a local stratum on port 3333 and ignores the username because your wallet was already registered when you launched p2pool. - Start XMRig and verify shares. Run
./xmrigand watch the console for "accepted" share messages. Within a minute or two you should see your effective hashrate stabilize and shares being submitted to P2Pool. The P2Pool log will mirror those shares as "SHARE FOUND" entries. - Monitor and tune. Open
https://p2pool.observer/miner/YOUR_ADDRESSto see your share weight, payout history, and estimated daily reward on the sidechain. Adjust thread count in XMRig if your CPU is over-temperature or if hashrate is below the expected per-core baseline for your model.
If you ever need to liquidate part of your mining output for a different asset — paying rent in BTC, topping up a Lightning wallet, or rotating into stablecoins — MoneroSwapper handles the swap without a custodial account, preserving the no-KYC chain your P2Pool setup just produced.
Tuning, Troubleshooting, and Realistic Expectations
The most common 2026 P2Pool support questions still come down to the same handful of issues. Diagnosing them quickly saves days of bad payouts.
"My hashrate looks fine but I'm not earning anything"
Check that your shares are reaching the sidechain, not just XMRig. Look at the p2pool console for "SHARE FOUND" — these are what count. If XMRig shows accepted shares but P2Pool shows none, your local stratum is misconfigured. Often this is because XMRig is set to a difficulty too high for your hashrate; set "rig-id": "" and "pass": "x+10000" in the pool entry to request a lower starting difficulty.
"I see lots of orphan shares"
Orphans on the sidechain happen when two miners find a share at nearly the same time and the network picks one. Some loss is normal, but more than 5% suggests your latency to other P2Pool peers is too high. Increase --out-peers on P2Pool to 32 and make sure your monerod is fully synced and not stuck on a fork.
"My CPU temperatures spike during mining"
RandomX is one of the heaviest steady-state CPU workloads known. If you cannot maintain under 85°C on package temperature, reduce thread count by one or two and the efficiency curve will usually improve anyway — a thermally throttled core mines worse than a stable core.
Realistic earnings in early 2026
At a network hashrate of 2.8 GH/s and a Monero price hovering between US$160 and US$210 across Q1 2026, a Ryzen 9 7950X at 21 kH/s earns roughly 0.0019 XMR per day, before electricity. At US$0.12/kWh and a sustained 180 W package power, you spend about US$0.52/day in electricity and gross around US$0.36 in XMR — so a single 7950X miner is slightly unprofitable on pure energy, but break-even or positive if you already pay for the box for other reasons (gaming, compilation, video work). Threadrippers and dual-socket EPYC rigs change the math dramatically, but capex is high. P2Pool is most attractive to people who would have been running their hardware anyway and want their idle cycles to produce a private, censorship-resistant asset rather than nothing.
FAQ
Do I need to run a full Monero node to use P2Pool?
Yes. P2Pool depends on the local monerod for block templates over ZMQ and for verifying new Monero blocks as they arrive. You can run a pruned node to save about 50 GB of disk space, but you cannot point P2Pool at a remote public node — the protocol assumes a direct, low-latency ZMQ channel on the same machine or LAN.
Can I mine Monero with a GPU on P2Pool?
Technically yes — XMRig supports CUDA and OpenCL — but RandomX is deliberately CPU-friendly and GPU hashrate per watt is much worse than CPU. In practice no serious P2Pool miner uses GPUs in 2026. Your graphics card is better off idle.
Is P2Pool anonymous?
Your payout address is broadcast to every sidechain peer, so it is not private at the network layer. However, the actual Monero outputs you receive are protected by RingCT, stealth addresses, and Bulletproofs like any other Monero transaction, so anyone reading the chain cannot see how much you have earned or where you spent it. For maximum privacy, do not reuse the mining address for anything else and route node traffic over Tor or a VPN.
How small can my hashrate be and still earn on P2Pool?
On the Nano sidechain, even a few hundred H/s — a Raspberry Pi 5 or an old laptop — can register shares and earn occasional payouts. The catch is that variance is enormous at that scale; expect days or weeks between any visible payout. Mini is the realistic floor for steady drips of XMR.
What happens to my earnings if I stop mining?
Anything already paid is yours — it is in your wallet as soon as the corresponding Monero block confirms. There is no balance held on the sidechain. The only thing you lose by stopping is your remaining weight in the active PPLNS window, which decays over a few hours.
Will FCMP++ break P2Pool when it activates?
No. P2Pool maintainers have been tracking FCMP++ since the testnet rollout and v4.x is already compatible. There will be a recommended version bump on the night of the hard fork, just as there was for Bulletproofs+ and view tags in earlier upgrades. Subscribe to the SChernykh/p2pool releases page and you will be notified well before activation.
Bringing It Together
P2Pool is the closest thing Monero has to native solo mining without the variance — a sidechain that rewards every share, holds no custody, and reinforces the decentralization that makes XMR worth mining in the first place. Setting it up in 2026 takes one afternoon of patient blockchain syncing and a few config files, and once it is running it asks for nothing except a stable internet connection and a clean cooling loop.
Once your wallet starts filling with newly minted Monero, the next question is what to do with it. Holding is fine; spending is fine; rotating into a different asset without leaving a KYC paper trail is also fine, and that is exactly the use case MoneroSwapper was built for. Whatever path you take, the Monero you mine on P2Pool started its life with no operator, no signup, and no third-party permission — and that is the whole point.
🌍 Read in