How to Safely Overclock Raspberry Pi 4 (2024)

Raspberry Pi 4 and the latest Raspberry Pi 400 share the same Broadcom BCM2711 processor with four Cortex-A72 cores. However, the Pi 4 is clocked at 1.5GHz and the Pi 400 can go up to 1.8GHz. So it’s clear that the processor onboard here is capable of operating at a higher clock speed. But due to heat management on the smaller board, the Pi Foundation has limited its clock speed. So if you have a cooler and a heatsink, you can overclock Raspberry Pi 4 to 2GHz and improve the performance significantly. On that note, let’s learn how to overclock Raspberry Pi 4.

Guide to Overclocking Raspberry Pi 4

In this guide, we have demonstrated the steps to overclock Raspberry Pi 4 from 1.5GHz to 2GHz, both on Raspberry Pi OS and Windows 11/ 10. We have also included a few things you should keep in mind before overclocking the CPU on your Raspberry Pi 4 board. You can expand the table below and move to any section at your convenience.

Table of Contents

Notable Points to Remember Before You Overclock Raspberry Pi 4

Before we delve into the steps to overclock the Raspberry Pi 4, it’s strongly recommended to install a heatsink and a cooler on your Raspberry Pi. As you overclock the CPU, it gets hot, and I mean, really hot. In some instances, it can touch temperatures up to 70-degree Celsius, which is not good for the computer board.

On top of that, using an overclocked board without a cooler is counter-productive. As the temperature rises, the CPU throttles, and you will face freezing issues. The performance will, in fact, be worse than the board with a 1.5GHz base clock. So yeah, if you want to use an overclocked Raspberry Pi 4 for longer and want a performance boost, make sure you get a cooler and a heatsink.

A word of caution, the two methods explained below are safe and will work as intended if you have a cooler and a heatsink. We will not be responsible for any damage that may be caused to your Raspberry Pi due to overclocking.

Overclock Raspberry Pi 4 to 2GHz Using Raspberry Pi OS

I am assuming you have already set up your Raspberry Pi 4 with Raspberry Pi OS. If you haven’t done it yet, go through our tutorial on how to set up Raspberry Pi without a monitor or Ethernet cable. After that, follow the steps below:

1. First, open the Terminal and run the below command to update all the packages and dependencies.

sudo apt update && sudo apt upgrade -y
How to Safely Overclock Raspberry Pi 4 (1)

2. Next, run the below command to upgrade the distro to the latest version. This process will take considerable time, so keep patience.

sudo apt dist-upgrade
How to Safely Overclock Raspberry Pi 4 (2)

3. Having done that, we need to update the Raspberry Pi firmware to the latest version so we can overclock the Raspberry Pi 4. If the Terminal reads – “rpi-update is already the newest version”, you are good to go. In case it updates the firmware, you need to reboot your Raspberry Pi by typing the command – sudo reboot.

sudo apt install rpi-update

4. Once you restart your Raspberry Pi 4, it’s time to overclock it from 1.5GHz to 2GHz. Open the Terminal and run the below command. It will allow us to modify the config file through the GUI Geany editor.

sudo geany /boot/config.txt
How to Safely Overclock Raspberry Pi 4 (4)

5. Now, a Geany window will open up. Here, scroll down and look for #arm_freq=800. We need to modify this line. First, remove the # from the line to enable the command. After that, change the arm-freq value from 800 to 2000.

This is the step that will increase the clock speed of your Raspberry Pi 4 board to 2GHz. You also need to add a line to increase the voltage, which I have shown below. Basically, the config file should look something like this.

over_voltage=6arm_freq=2000
How to Safely Overclock Raspberry Pi 4 (5)

6. In case you want to overclock the GPU as well, add the below line to the config file. Now, save the file and close the Geany editor.

over_voltage=6arm_freq=2000gpu_freq=750
How to Safely Overclock Raspberry Pi 4 (6)

7. Restart your Raspberry Pi, and this time, it should boot up with the overclocked CPU and GPU. To test the numbers, open two instances of the Terminal and run the below commands in each of the Terminal windows. One will let you monitor the CPU clock speed in real-time, and another will display the current temperature.

Note: If your Raspberry Pi does not boot up after overclocking, follow our fix in the next section below.

  • Monitor CPU Clock Speed
watch -n1 vcgencmd measure_clock arm
  • Measure Temperature
watch -n1 vcgencmd measure_temp
How to Safely Overclock Raspberry Pi 4 (7)

8. Now that we have set up our monitoring system, let’s run sysbench to see if the Raspberry Pi 4 hits the 2GHz clock speed. To do so, you need to install sysbench on your Raspberry Pi by executing the below command. Press “y” to allow the installation.

sudo apt install sysbench
How to Safely Overclock Raspberry Pi 4 (8)

9. Next, execute the below command to run the sysbench test. When you run this command, you will notice that the CPU clock speed has touched 2GHz. In my case, I have not installed a heatsink and a cooler for demo purposes. And well, you can see that the temperature hovers around 68-degree Celsius, which is not normal in this situation. However, we strongly advise you to install a heatsink and a cooler on your Raspberry Pi 4 if you want to use the overclocked board for a longer time.

sysbench --num-threads=8 --test=cpu --cpu-max-prime=20000 run

10. To give you some numbers, the base-clocked Raspberry Pi 4 (1.5GHz) took around 15 seconds to complete the sysbench test. Whereas the overclocked 2GHz Raspberry Pi 4 only took 10 seconds. You will also find a vast difference in performance while exporting videos and while playing videos in the browser, thanks to the overclocked GPU.

How to Safely Overclock Raspberry Pi 4 (10)

11. If you want to disable the overclocked CPU and GPU on Raspberry Pi, run the below command again to open the Config file.

sudo geany /boot/config.txt
How to Safely Overclock Raspberry Pi 4 (11)

12. Move to the same section where you modified the values earlier. Here, add # to all the new lines and save the file. This will disable the commands, and your Raspberry Pi will load with the default clock speed after a reboot.

How to Safely Overclock Raspberry Pi 4 (12)

Raspberry Pi 4 Not Booting After Overclocking? Here is the Fix!

If the Raspberry Pi 4 is not booting after you overclock the CPU and GPU, you will need a PC to revert the changes in the config file. Here is how you can do it.

1. First, remove the SD card from the board and insert it into your Mac or Windows PC. Open the SD card on your PC (will be called “boot” in File Explorer) and find the config.txt file. It will be in the root directory itself.

How to Safely Overclock Raspberry Pi 4 (13)

2. Open the file using Notepad and add # to all the modified commands and save the file. Now, plug the SD card into the board, and your Raspberry Pi 4 will boot with the default clock speed (1.5GHz) this time around. Then, you can follow the steps in the section above to try and overclock the board again. Or, you can use your Windows computer, as detailed in the next section.

How to Safely Overclock Raspberry Pi 4 (14)

Overclock Raspberry Pi 4 to 2.1GHz Running Windows 11/ 10

1. We assume you have already followed our in-depth guide on how to install Windows 11/10 on Raspberry Pi. If not, you can use the linked guide to set up Windows on ARM on Raspberry Pi.

2. Next, download the Boot partition mount utility from the link here. It will let you access the config file. You can do this on Windows on Raspberry itself or a separate PC. You will have to plug in the SD card to make the changes.

3. Now, unzip the file and open the folder. Here, open WoR-Boot-Mounter.

How to Safely Overclock Raspberry Pi 4 (15)

4. After that, select the SD card where you have installed Windows on Raspberry and click “Mount“.

How to Safely Overclock Raspberry Pi 4 (16)

5. Next, click on “View contents“.

How to Safely Overclock Raspberry Pi 4 (17)

6. Here, you will find the “config.txt” file. Open it using Notepad.

How to Safely Overclock Raspberry Pi 4 (18)

7. Now, add the below lines based on your cooling system. I would suggest stable overclocking if you have a decent cooling system. If you do not have a cooling system, none of these changes will allow Raspberry Pi to even boot.

  • Stable Overclocking
over_voltage=6
arm_freq=2147
gpu_freq=700
  • Medium Overclocking
arm_freq=2300
gpu_freq=750
gpu_mem=32
over_voltage=14
force_turbo=1
  • Extreme Overclocking (Freezing issues and might be dangerous)
initial_turbo=60
over_voltage=15
arm_freq_min=100
arm_freq=2350
gpu_freq=800
gpu_mem=512

8. Once you have added the commands, the config file will look like this. Now, save the config file and restart your Raspberry Pi.

How to Safely Overclock Raspberry Pi 4 (19)

9. Now, you will find that your Raspberry Pi is overclocked to 2.1GHz if you have chosen stable overclocking.

How to Safely Overclock Raspberry Pi 4 (20)

Overclock Raspberry Pi 4 and Improve Performance

So that is how you can improve the performance of your Raspberry Pi 4 by overclocking the CPU and GPU. As we have mentioned above, the Raspberry Pi 4 handles overclocking pretty well, as the ARM Cortex-A72 is quite a capable core. However, you need a heatsink and a cooler if you intend to use the board for a longer duration without any thermal throttling issues. Anyway, that’s all from us. If you want to build an audio streaming device with Raspberry Pi, follow our linked guide. And if you have any questions, do let us know in the comment section below.

How to Safely Overclock Raspberry Pi 4 (2024)

FAQs

How much can you safely overclock the Raspberry Pi 4? ›

Overclocking to 2.3 GHz

And it will invalidate your warranty. The maximum you can achieve with the Raspberry Pi 4 (4 GB) and Compute Module 4 (1 GB) is 2.275 MHz.

What is the maximum CPU frequency for Raspberry Pi 4? ›

700 MHz is the default. This boosts the speed of the processor (CPU) in the Raspberry Pi 4 Model B from the default 1.5GHz to 2.0GHz.

Is overclocking a Raspberry Pi worth it? ›

The result of that 3.0 GHz overclock? A marginally-improved Geekbench 6 score of 1662, versus 1507 with no OC. To achieve that 10% speedup, it ate up about 20% more power, so efficiency-wise, it's not worth it.

What is the processor speed of Raspberry Pi 4? ›

The Raspberry Pi 4 uses a Broadcom BCM2711 SoC with a 1.5 GHz (later models: 1.8 GHz) 64-bit quad-core ARM Cortex-A72 processor, with 1 MB shared L2 cache.

What is the safe limit for overclocking? ›

If your computer becomes unstable, increase the CPU voltage setting in your BIOS controls. It's usually 1.25 or Auto by default — try bumping it up to 1.4 or 1.5. By increasing voltage and multipliers one by one, you'll eventually find the maximum overclock on your system.

How much can I safely overclock my CPU? ›

Pushing the voltage too high can damage your processor as well, so proceed with caution. Only make small adjustments at a time. Ryzen 1000 and 2000 CPUs are mostly safe at voltages at or below 1.4 volts, but if you have a Ryzen 3000 or newer CPU, you'll want to stay at 1.3 volts or less.

Should I overclock my Raspberry Pi 4? ›

Overclocking Is Always Risky

The clock speed of your Raspberry Pi is set to a maximum of 1.8 GHz for a reason. At that speed, it's stable and unlikely to crash. Higher speeds also generate more heat, so if you're going to overclock your Raspberry Pi 4, make sure that your setup has sufficient cooling.

How to overclock CPU Raspberry Pi 4? ›

Alternatively, place your Raspberry Pi inside a case designed to manage its CPU temperature.
  1. Place Raspberry Pi 4 in the stand so it sits vertically. ...
  2. Edit the config.txt settings to overclock Raspberry Pi 4.
  3. The watch vcgencmd command is used to keep an eye on the current CPU speed.
Feb 4, 2020

Which Raspberry Pi has powerful CPU? ›

Raspberry Pi 5 features the Broadcom BCM2712 quad-core Arm Cortex A76 processor @ 2.4GHz, making it up to three times faster than the previous generation.

How to speed up Raspberry Pi 4? ›

Slow Raspberry Pi? 11 Tips for Better Speed and Performance
  1. Connect a Reliable Power Supply. ...
  2. Employ a Lightweight Operating System. ...
  3. Ditch the Bloatware. ...
  4. Disable JavaScript. ...
  5. Overclock (But Keep It Cool) ...
  6. Use a High Performance microSD Card. ...
  7. Don't Abuse Your SD Card. ...
  8. Run From USB/HDD.
Aug 20, 2018

How to check if Raspberry Pi is overclocked? ›

Restart your Raspberry Pi, and this time, it should boot up with the overclocked CPU and GPU. To test the numbers, open two instances of the Terminal and run the below commands in each of the Terminal windows. One will let you monitor the CPU clock speed in real-time, and another will display the current temperature.

Is the Raspberry Pi 4 discontinued? ›

Raspberry Pi 4 Desktop Kit will remain in production until at least January 2026 (source) – note this is a kit containing a Pi 4, power supply, HDMI cables, etc.

Is there a GPU in Raspberry Pi 4? ›

GPU. The Broadcom BCM2711 SoC features an upgraded GPU compared to previous iterations of Raspberry Pi, going from the VideoCore IV clocked at 400 MHz to the VideoCore VI clocked at 500 MHz.

How fast is Raspberry Pi 4 WiFi? ›

On Speedtest, the two were closer but the Pi 4 was still ahead, getting 80 Mbps down and 85 Mbps up to the Pi 5's 71 and 63 Mbps.

What is the CPU speed limit for Raspberry Pi? ›

CPU clock rate management
Raspberry PiMaximum CPU clock rateBoot CPU clock rate
Zero1000 MHz700 MHz
Zero 21000 MHz600 MHz
3 Model B1200 MHz600 MHz
3 Model A+/B+1400 MHz600 MHz
4 more rows

Is it safe to run a Raspberry Pi 4 24 7? ›

Yes, Raspberry Pi can handle 24/7 run time when used with proper linear power supply which must be regulated through DC adapter or any good quality battery supply. Components or other electronics parts won't get fried until and unless you provide wrong power supply or more voltage than recommended.

Top Articles
Latest Posts
Article information

Author: Jeremiah Abshire

Last Updated:

Views: 6253

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Jeremiah Abshire

Birthday: 1993-09-14

Address: Apt. 425 92748 Jannie Centers, Port Nikitaville, VT 82110

Phone: +8096210939894

Job: Lead Healthcare Manager

Hobby: Watching movies, Watching movies, Knapping, LARPing, Coffee roasting, Lacemaking, Gaming

Introduction: My name is Jeremiah Abshire, I am a outstanding, kind, clever, hilarious, curious, hilarious, outstanding person who loves writing and wants to share my knowledge and understanding with you.