<p>You  can't mine real Bitcoin on a laptop but you can mine worthless testnet blocks if all you want is to understand a bit more about Bitcoin.</p>
<p>See <a href="https://bitcoin.stackexchange.com/q/114687/13866">When did Bitcoin Core deprecate the mining function?</a></p>
<p>Obviously you probably won't learn anything significant about real-world current-day mainnet mining.</p>

CC BY-SA 4.0
2023-11-22T23:56:59.020Z
2023-11-22T23:56:59.020Z
RedGrittyBrick
<p>You can mine on a laptop, though the probability of finding a valid block would be ~0</p>
<p>Performing a single hash on a valid block header would technically be mining.</p>
<p>You could get the latest block tip hash from a block explorer, figure out how to construct a valid <a href="https://learnmeabitcoin.com/technical/block-header" rel="nofollow noreferrer">block header</a> (you could only add a coinbase transaction as it's for learning) and perform a hash on it (double SHA256).</p>
<p>If the hash comes out at &lt;= the <a href="https://en.bitcoin.it/wiki/Target" rel="nofollow noreferrer">target</a> (also <a href="https://bitcoin.stackexchange.com/questions/23912/how-is-the-target-section-of-a-block-header-calculated?noredirect=1&amp;lq=1">this</a>) then well done, you've found a valid block! Your chance of finding a valid block is:</p>
<p><code>target / size of hash space </code></p>
<p>for <a href="https://learnmeabitcoin.com/technical/target" rel="nofollow noreferrer">block 809493</a> this is</p>
<p>0x00000000000000000004ed7f0000000000000000000000000000000000000000 / 2^256</p>
<p>= 4.0761137170366274e-24</p>

CC BY-SA 4.0
2023-11-23T18:34:13.267Z
2023-11-23T19:08:18.527Z
2023-11-23T19:08:18.527Z
Lee
<p>I would like to mine bitcoin on a laptop, the aim is not to turn a profit but rather learn how mining works without spending money on an ASIC and electricity.  I thought about buying a cheap low TH/s used ASIC but I am concerned that I will purchase a faulty one.  Also I will be mining at home so think an ASIC will be too noisy.  I also was planning to try and use the waste heat to off set my home heating but after some research it all seems to expensive and risky for what will essential be a learning experience.</p>
<p>So my question is can I mine bitcoin on a laptop? I'm not worried about turning a profit, just would like to understand how it all works.  Could I download bitcoin core, run a full node and let it hash away with a near zero chance of winning the block reward but happy in the knowledge I've gone through the process and learnt plenty along the way?</p>

<bitcoin-core><mining-hardware>
From a technical point of view rather than an economical one, is it possible to mine bitcoin on a laptop?
Potential Difference
# From a technical point of view rather than an economical one, is it possible to mine bitcoin on a laptop?

(Asked by: username_0 on 2023-11-22)

I would like to mine bitcoin on a laptop, the aim is not to turn a profit but rather learn how mining works without spending money on an ASIC and electricity. I thought about buying a cheap low TH/s used ASIC but I am concerned that I will purchase a faulty one. Also I will be mining at home so think an ASIC will be too noisy. I also was planning to try and use the waste heat to off set my home heating but after some research it all seems to expensive and risky for what will essential be a learning experience.

So my question is can I mine bitcoin on a laptop? I'm not worried about turning a profit, just would like to understand how it all works. Could I download bitcoin core, run a full node and let it hash away with a near zero chance of winning the block reward but happy in the knowledge I've gone through the process and learnt plenty along the way?

**Tags:** bitcoin-core, mining-hardware


---

## 2 answers

### Answer by username_1 on 2023-11-22. Score: 3

You can't mine real Bitcoin on a laptop but you can mine worthless testnet blocks if all you want is to understand a bit more about Bitcoin.

See [When did Bitcoin Core deprecate the mining function?](https://bitcoin.stackexchange.com/q/114687/13866)

Obviously you probably won't learn anything significant about real-world current-day mainnet mining.


---

### Answer by username_2 on 2023-11-23. Score: 2

You can mine on a laptop, though the probability of finding a valid block would be ~0

Performing a single hash on a valid block header would technically be mining.

You could get the latest block tip hash from a block explorer, figure out how to construct a valid [block header](https://learnmeabitcoin.com/technical/block-header) (you could only add a coinbase transaction as it's for learning) and perform a hash on it (double SHA256).

If the hash comes out at <= the [target](https://en.bitcoin.it/wiki/Target) (also [this](https://bitcoin.stackexchange.com/questions/23912/how-is-the-target-section-of-a-block-header-calculated?noredirect=1&lq=1)) then well done, you've found a valid block! Your chance of finding a valid block is:

`target / size of hash space`

for [block 809493](https://learnmeabitcoin.com/technical/target) this is

0x00000000000000000004ed7f0000000000000000000000000000000000000000 / 2^256

= 4.0761137170366274e-24


---

