<p><strong>The difficulty actually does not continually increase.</strong> It has continued to increase recently because hashing power has continued to increase, causing blocks to be found quicker. <a href="https://bitcoin.stackexchange.com/questions/5838/how-is-difficulty-calculated">Difficulty is calculated</a> by taking into account how long it has taken for the network to create 2016ª blocks and adjusting the difficulty accordingly.</p>

<p>Here's some messing around in a Ruby interpreter to show it:</p>

<pre><code>#two weeks, expressed in seconds
twoweeks = 60 * 60 * 24 * 7 * 2
# =&gt; 1209600
#the current difficulty as of the time of this posting
diff = 7988698.97
# =&gt; 7988698.97
#the difficulty if it took only a week to generate the past 2016 blocks
(diff * twoweeks) / (twoweeks / 2)
# =&gt; 15977397.94
#the difficulty if it took four weeks to generate the past 2016 blocks
(diff * twoweeks) / (twoweeks * 2)
# =&gt; 3994349.485
</code></pre>

<p>A pair of maximums keep the difficulty change from being too abrupt. It can never more than quadruple (four times, 400% of the previous difficulty) or more than quarter (one quarter, 25% of the previous difficulty).</p>

<p><em>ª A bug makes it be actually 2015 in the reference client, but that may be fixed at some point in the future.</em></p>

CC BY-SA 3.0
2013-04-18T05:11:44.607Z
The difficulty has actually gone down before, I can't find a link though.
Nick ODell
CC BY-SA 3.0
2013-04-18T08:02:14.953Z
You mean sipa's Hashrate graph? http://bitcoin.sipa.be/
cdecker
CC BY-SA 3.0
2013-04-18T04:07:34.073Z
2013-04-18T04:07:34.073Z
2017-04-13T12:47:32.940Z
Colin Dean
<p>Bitcoin difficulty increases or decreases for a reason. Which is keeping block mining periods close to 10 minutes. Mining is an investment, which requires a good market and trade-off analysis of mining hardware prices, electricity prices, cooling hardware even labor fees and etc. So if mining is becoming less profitable people chose not to invest in mining. Then difficulty remains stable. So it is not certain that bitcoin difficulty will always increase. </p>

<p>Maybe a better statement is: Bitcoin difficulty will always increase as long as it is profitable to invest in mining.</p>

CC BY-SA 3.0
2017-12-26T09:54:08.347Z
2017-12-26T09:54:08.347Z
Alper Celayir
<p>I know we don't have to worry about this for a very long time, but...</p>

<p>One argument against Bitcoin, and really, digital currencies as a whole, is that, in order to time blocks with reasonable predictability every 10 minutes throughout the life of the system, the resource cost of blocks (e.g. processing power and electricity) increases over time. This system thus assumes that the available processing power will always be increasing and that the cost of electricity necessary to operate that processor will be less than the revenue from block reward plus transaction fees, that mining will be profitable.</p>

<p>If the difficulty never stops increasing, what happens if increased resource costs cause mining to be unprofitable?</p>

<mining-profitability><difficulty><energy-consumption>
Does difficulty ever stop increasing?
Colin Dean
# Does difficulty ever stop increasing?

(Asked by: username_0 on 2013-04-18)

I know we don't have to worry about this for a very long time, but...

One argument against Bitcoin, and really, digital currencies as a whole, is that, in order to time blocks with reasonable predictability every 10 minutes throughout the life of the system, the resource cost of blocks (e.g. processing power and electricity) increases over time. This system thus assumes that the available processing power will always be increasing and that the cost of electricity necessary to operate that processor will be less than the revenue from block reward plus transaction fees, that mining will be profitable.

If the difficulty never stops increasing, what happens if increased resource costs cause mining to be unprofitable?

**Tags:** mining-profitability, difficulty, energy-consumption


---

## 2 answers

### Answer by username_0 on 2013-04-18. Score: 4

The difficulty actually does not continually increase. It has continued to increase recently because hashing power has continued to increase, causing blocks to be found quicker. Difficulty is calculated by taking into account how long it has taken for the network to create 2016ª blocks and adjusting the difficulty accordingly.
Here's some messing around in a Ruby interpreter to show it:
#two weeks, expressed in seconds
twoweeks = 60 * 60 * 24 * 7 * 2
# => 1209600
#the current difficulty as of the time of this posting
diff = 7988698.97
# => 7988698.97
#the difficulty if it took only a week to generate the past 2016 blocks
(diff * twoweeks) / (twoweeks / 2)
# => 15977397.94
#the difficulty if it took four weeks to generate the past 2016 blocks
(diff * twoweeks) / (twoweeks * 2)
# => 3994349.485

A pair of maximums keep the difficulty change from being too abrupt. It can never more than quadruple (four times, 400% of the previous difficulty) or more than quarter (one quarter, 25% of the previous difficulty).
ª A bug makes it be actually 2015 in the reference client, but that may be fixed at some point in the future.

> **Comments:**
> **username_1**: The difficulty has actually gone down before, I can't find a link though.  
> **username_2**: You mean sipa's Hashrate graph? http://bitcoin.sipa.be/  

---

### Answer by username_3 on 2017-12-26. Score: 2

Bitcoin difficulty increases or decreases for a reason. Which is keeping block mining periods close to 10 minutes. Mining is an investment, which requires a good market and trade-off analysis of mining hardware prices, electricity prices, cooling hardware even labor fees and etc. So if mining is becoming less profitable people chose not to invest in mining. Then difficulty remains stable. So it is not certain that bitcoin difficulty will always increase.

Maybe a better statement is: Bitcoin difficulty will always increase as long as it is profitable to invest in mining.


---

