If you have a decent desktop or a homelab box sitting idle, “can I just mine some crypto on it” is a fair question. The honest answer in 2026 is: yes, on exactly one coin worth taking seriously, for a few dimes to a couple of dollars a day, and only if your electricity is cheap. This guide is the math and the method, from the hardware side, with none of the “passive income” fantasy.

The bottom line, up front

  • The coin is Monero (XMR). Its RandomX algorithm is the one major mining algorithm deliberately designed to run best on ordinary CPUs. Almost everything else worth mining now needs ASICs or GPUs.
  • The money is small. A high-end Ryzen earns roughly $0.60–$0.80/day in XMR at a ~$200 price, before power. Net profit is measured in cents unless your electricity is very cheap.
  • The electricity rate decides everything. Below ~$0.08/kWh it is worth running; above ~$0.17/kWh you are paying to mine.
  • Never buy hardware to do this. The payback on a bought rig runs past five years. Mine on a machine you already own and would keep anyway.
  • The real risk is malware, not money. Mining software is one of the most abused categories on the internet. Getting the download wrong is how people lose far more than they ever mine.

If that is enough for you, great — that restraint is the whole point. If you want to actually do it well, here is the rest.

What CPU mining is (and why it still exists)

Most crypto mining abandoned CPUs over a decade ago. Bitcoin moved to purpose-built ASICs, and GPU mining dominated everything else until Ethereum — the coin that made graphics cards worth buying by the pallet — switched to proof-of-stake and stopped being mined at all. That should have been the end of the CPU miner.

It was not, because of one deliberate design choice. Monero uses an algorithm called RandomX, built specifically to be ASIC-resistant and CPU-friendly. It works by generating random program code and forcing miners through large, unpredictable memory-access patterns — exactly the workload a general-purpose CPU with a big cache is built for, and exactly what a fixed-function ASIC circuit is bad at. Per reputable 2026 mining coverage, no dedicated Monero ASIC meaningfully beats a well-tuned CPU, and GPUs generally lose to CPUs on a hash-per-watt basis for RandomX.

That single design decision is why CPU mining is a real, if niche, thing in 2026 — and why the chips that win are the same big-cache processors that win at gaming.

Is CPU mining profitable? The actual math

Here is the whole calculation. There is no magic in it, which is the point.

Daily profit = (your XMR per day × XMR price) − (watts ÷ 1000 × 24 × your $/kWh)

Work a real example — a Ryzen 9 7950X, one of the strongest home mining CPUs, tuned to about 27 KH/s, which earns roughly 0.0035 XMR/day. At an illustrative $200 XMR price that is about $0.70/day of revenue, and the chip draws about 170W while doing it (≈ 4.08 kWh/day):

Your electricity rateDaily power costDaily net profit
$0.05 / kWh$0.20$0.50
$0.10 / kWh$0.41$0.29
$0.15 / kWh$0.61$0.09
$0.17 / kWh$0.69$0.01 (break-even)
$0.20 / kWh$0.82−$0.12 (loss)

Two things fall out of that table. First, the electricity rate is the entire game — the same machine is a modest earner or a money-loser depending only on what you pay per kilowatt-hour. The break-even here is about $0.17/kWh; the U.S. residential average ($0.184/kWh as of May 2026, per EIA) now sits just past that line, which is why grid-power mining loses money in most US states and “it depends where you live” is the real answer.

Second, buying hardware to mine is a bad trade. At $0.29/day net, a $600 machine takes over 2,000 days — more than five years — to pay for itself, and that is before the XMR price or network difficulty moves against you. Mining only makes sense on a capable CPU you already own and would keep running anyway. On this site we are big fans of turning an old gaming PC into a homelab server; letting spare cycles on that box mine a little XMR is a reasonable use of hardware you already paid for. Buying a box for it is not.

These numbers are illustrative and move constantly. XMR price and network difficulty change daily, so plug your own CPU, wattage, and power rate into a live Monero mining calculator (CoinWarz and MoneroOcean both publish one) before you commit. Treat any single day’s figure as a snapshot, not a promise.

Which CPUs actually mine well

RandomX rewards three things: cores, L3 cache, and memory bandwidth. That is an unusual profile — it means the chips built for high-end gaming and workstation loads are also the best miners, and that cache can matter as much as core count.

  • Enthusiast (≈25–31 KH/s): AMD Ryzen 9 7950X / 7950X3D / 9950X. The top of the home range.
  • Mid-range (≈10–15 KH/s): six-to-eight-core Ryzen and recent Intel Core chips — this is where most people’s existing desktop lands.
  • Budget / SBC (≈1–5 KH/s): older CPUs and Raspberry-Pi-class boards. Real, but the earnings are rounding error.

Because RandomX leans on cache and RAM, fast dual-channel memory genuinely helps — this is one of the few consumer workloads where your DDR5 kit choice shows up in the result — and AMD’s stacked-cache X3D chips punch above their core count. The same Ryzen 7 7800X3D that tops gaming charts for its cache is, for the same reason, an efficient little RandomX miner. If you want exact per-model numbers, the XMRig benchmark page and the community Monero Benchmarks site list tuned hashrates by CPU.

How to mine Monero, safely

Four pieces, in order. Do them in this order and you avoid every common beginner mistake.

  1. A Monero wallet. Get an address to be paid into first. The official GUI/CLI wallet from getmonero.org is the reference; a reputable hardware or mobile wallet also works. You only need the receiving address to start.
  2. A pool (or P2Pool). Solo mining a single CPU will realistically never find a block, so you join a pool and earn a steady share. SupportXMR and MoneroOcean are the common centralized pools; P2Pool is the decentralized option that keeps mining trustless and is the community’s preferred choice for network health. You point your miner at the pool and paste your wallet address.
  3. The miner: XMRig. This is the standard RandomX miner. Download it only from the official XMRig GitHub releases page, and read the safety section below before you run anything.
  4. Tune and monitor. Enable large/huge pages and set thread count for your chip (XMRig’s docs and its --randomx guidance cover this), then watch temperatures and the pool dashboard for your accepted shares. A CPU pinned at 100% for days runs hot — make sure cooling and your power supply are actually up to a sustained 24/7 load, which is a different thing from a gaming spike.

The part that actually matters: don’t get owned

This is where CPU mining hurts people, and it has nothing to do with profit.

  • Mining software is a top malware category. XMRig is legitimate and open-source, but it is also the miner attackers bundle into cracked games, “free” tools, and drive-by installs to quietly mine on other people’s machines. That reputation is earned.
  • Only use official sources. Download XMRig from its official GitHub releases and verify the published checksum. Never run a build from a random forum post, a YouTube description, or anything advertising “double hashrate,” “AV-bypass,” or “no-fee unlocked” — those are the exact lures used to ship wallet-stealers.
  • Expect an antivirus flag on the real binary. Because the genuine miner is so widely abused, Windows Defender and most AV tools flag even the legitimate XMRig as riskware or a “coin miner.” That is expected. Whitelist it only after you have verified you downloaded the real thing yourself — do not blindly disable protection because a “guide” told you to.
  • Watch the thermals and the bill. Sustained all-core load is a real stress test. Confirm your cooling holds and that mining a few dimes a day is not quietly adding dollars to your power bill.

The honest verdict: who should, and who shouldn’t

Do it if: you already own a capable CPU, your electricity is cheap (roughly $0.10/kWh or less), and you see it as slowly accumulating a bit of a genuinely private coin and supporting a network you like — not as income. Running it on a homelab box you keep on anyway, especially in winter when the heat is not wasted, is the sweet spot.

Skip it if: you would need to buy hardware, your power is expensive, or you are expecting meaningful money. The five-year payback and cents-per-day margins are real, and no amount of tuning changes the arithmetic. There is no shame in concluding the honest answer is “not worth it for me” — for a lot of people it is, and knowing that before you install anything is the win.

Either way, mine the math first. That is the one step that never depends on the price.

Frequently asked questions

Is CPU mining profitable in 2026?
Marginally, and only under specific conditions. A tuned high-end desktop CPU like a Ryzen 9 7950X earns roughly $0.60 to $0.80 per day mining Monero at a ~$200 XMR price, and draws about 170W. After electricity you net roughly $0.50/day at $0.05/kWh, about $0.29/day at $0.10/kWh, and you cross into a loss above roughly $0.17/kWh. So it is profitable if your power is cheap and you already own the hardware, and it is not a business. Always check a live calculator before starting because the XMR price and network difficulty move constantly.
What is the best CPU for mining?
For Monero’s RandomX algorithm, high-core-count AMD Ryzen chips with large L3 cache lead: a Ryzen 9 7950X or 9950X tunes to roughly 25 to 31 KH/s. RandomX is memory-hard and cache-sensitive, so cache size and fast dual-channel RAM matter as much as raw core count, which is why chips with stacked cache do disproportionately well per watt. A mid-range six-to-eight-core CPU lands around 10 to 15 KH/s. Do not buy a CPU specifically to mine, the payback math does not work; mine on a capable chip you already own.
Should I buy a rig just to mine with a CPU?
No. At about $0.29/day net profit, a $600 dedicated machine takes over 2,000 days, more than five years, to pay for itself, before you count the price and difficulty swings that can erase the margin entirely. CPU mining only makes economic sense on hardware you already own and would keep anyway, ideally when the room needs heating and power is cheap. If you are buying hardware to earn, mining is the wrong plan.
Is mining software like XMRig safe, or is it malware?
XMRig itself is legitimate open-source software, but it is also the single most abused miner: attackers bundle it into cracked apps and drive-by installs, so antivirus tools flag even the real binary as a ‘riskware’ or ‘coin miner’ detection. Only download it from the official GitHub releases page, verify the checksum, and never run a build that promises ‘double hashrate’ or comes from a random forum link. Those are how people get their wallets drained. Expect a false-positive AV flag on the genuine binary and whitelist it only after you have verified the source yourself.
Which coins can you actually mine with a CPU?
Monero (XMR) is the serious answer: its RandomX algorithm is deliberately built for general-purpose CPUs and resists ASICs and GPUs. A few smaller coins are also CPU-friendly, notably DERO (AstroBWT) and Verus Coin (VerusHash), but they have thinner liquidity and higher risk. Bitcoin, Ethereum, and most large coins cannot be meaningfully CPU-mined: Bitcoin needs ASICs, and Ethereum moved to proof-of-stake and is not mined at all anymore. For a beginner on a CPU, it is Monero or nothing serious.

Evidence ledger

Last updated
Methodology
This guide was written and edited by Lowell K. Wood IV in St. Louis County, MO. Specs and prices verified against vendor and project documentation current on the date above. Full editorial standard: methodology.
Update log
  • 2026-08-18 — Last reviewed and updated.
Corrections
Spotted an error or a stale number? Email hello@techfuelhq.com. Confirmed corrections are added to the update log above.

About the author

Written by Lowell K. Wood IV, who builds and runs TechFuelHQ from St. Louis, Missouri.