I have a Pi sitting around on my desk that I have never used. Could I use this to mine some Monero? I don’t pay for my electricity, so there is no cost for me.

  • It's not profitable to run a monero node on a raspberry pi for mining, but it can be used to sync the blockchain and stay up 24/7 so your laptop isn't screaming. Then you can use it to send and receive transactions using a desktop wallet without needing to connect to a (potentially unsafe) remote node. Open source instructions here github.com/seibelj/iCryptoNode and pre-built here
    – seibelj
    Commented Jan 26, 2019 at 18:08

6 Answers 6


I think you would have to do a lot to get a miner running on a pi. The CPU doesn't have much cache, isn’t that strong, and would need the AES-NI instruction set (which not all Pi s have). And it would get a very low H/s anyway. There's a GPU on the pi but I haven't seen much info about using it for mining. However since the power is free it could be fun just to fiddle with it and see what you can get out of it

The Monero project has instructions for Building to Pi


I have my Pi3 mining away on my new pool:

Gulf Coast Mining (XMR)

I've created two "PI" specific ports on the pool to align difficulty:

PPLNS: 2222
SOLO:  2224

(SOLO of course being a long shot lottery but why not!!)

It's hashing at about 10H/s which even at that rate far exceeds any cost of electricity (yearly estimate is $6). It will get warm though if left on 24x7. I have it encased in an aluminum chassis that acts as a heatsink. I would definitely not do it without addressing the heat. It also gets hot enough in my case that small children should be sure to be beyond reach.

I compiled directly on the Pi3, set it up in a screen session and it has yet to have any issues.


  • can you add here some output from yours miner so we can have complete picture regarding Pi3 performances?
    – Amit Vujic
    Commented Dec 21, 2017 at 10:05
  • 1
    If it’s getting that hot it’s using more than $6 a year in energy Commented Dec 21, 2017 at 19:33
  • 2
    The temperature of the unit and the wattage in use have no such connection. At its max, it runs abt 3.5W. It's mean is below that. 3.5W to hours / kwh ~ 285.7hrs or 30.66kwh units per year. At $0.15 k/wh x 30.66 = ~$4.60 a year. My electricity is closer to $0.09 but $0.15 is a fair national cost here in the US
    – user4066
    Commented Dec 21, 2017 at 20:41
  • 1
    When the Pi gets hot it activates a throttling system for the CPU. I thought this would consume more power.. perhaps not. In any case the throttle would likely slow down the miner Commented Dec 23, 2017 at 6:52
  • 1
    Agreed on the throttle and the heatsink chassis does a great job of pulling that heat up off the chips. It currently maxes at 63.9C mining 24x7 on both CPU & GPU. Throttling kicks in at ~82C.
    – user4066
    Commented Dec 23, 2017 at 11:05

I can confirm that @Mark is right though I get a lower hash rate(some compile tweaking maybe and overclock the board):

[2017-12-21 04:53:06] Using JSON-RPC 2.0
[2017-12-21 04:53:06] CPU Supports AES-NI: NO
[2017-12-21 04:53:06] Starting Stratum on stratum+tcp://xmr-us-east1.nanopool.org:14444
[2017-12-21 04:53:06] 4 miner threads started, using 'cryptonight' algorithm.
[2017-12-21 04:53:12] Stratum difficulty set to 120001
[2017-12-21 04:53:56] CPU #2: 1.53 H/s
[2017-12-21 04:53:56] CPU #3: 1.52 H/s
[2017-12-21 04:53:57] CPU #0: 1.51 H/s
[2017-12-21 04:53:58] CPU #1: 1.48 H/s

You do have to configure though as in https://github.com/pooler/cpuminer/issues/72

  • 1
    Just to comment on tweaking & OC ... not something I've done, just a pure compilation. Perhaps it's the choice of miner.
    – user4066
    Commented Dec 21, 2017 at 11:49

I'm working on project focused to provide best-possible RPi3 mining.

Pool used: https://supportxmr.com/

In order to exploit RPi3 hardware at maximum level I'm using Arch Linux. together with my fork of xmrig/xmrig miner - can be found on GitHub

Hashing perfromances are so far between 15-20H/s

  • 1
    15-20 H/s with how much power consumption please?
    – user5733
    Commented Feb 28, 2018 at 23:33

Not worth the trouble. You won’t earn enough to get a payout on any pool I’m aware of. And even if you were to find a pool with basically a zero payout threshold, you’d be earning at most $2.47 a YEAR at current price and difficulty. And that’s with free power and after tweaking to get it up to 10 h/s.

  • Yup, pretty much. Results like this lead me to believe that ASICs completely dominate Monero mining, CPUs are just not worth the trouble at current rates: news.bitcoin.com/… Commented Feb 2, 2021 at 9:54

Yes, you can! It's quite fun to finally see your miner up and running. As you smile at last at your accomplishment, you notice something. Your smile falters.

CPU #0: 1.51 H/s

CPU #1: 1.48 H/s

CPU #2: 1.53 H/s

CPU #3: 1.52 H/s

Damn it, how are you going to pay the electricity bill this month?

Not the answer you're looking for? Browse other questions tagged or ask your own question.