How to Safely Overclock Raspberry Pi 4
Raspberry Pi 4 and the latestRaspberry Pi 400share 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.
Notable Points to Remember Before You Overclock Raspberry Pi 4
Before we delve into the steps to overclock the Raspberry Pi 4, it’s stronglyrecommended to install a heatsink and a cooleron 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 onhow to set up Raspberry Pi without a monitor or Ethernet cable. After that, follow the steps below:
-
First, open the Terminal and run the below command toupdateall the packages and dependencies.
-
Next, run the below command toupgrade the distroto the latest version. This process will take considerable time, so keep patience.
-
Having done that, we need to update theRaspberry Pi firmwareto 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 toreboot your Raspberry Piby typing the command –sudo reboot.
-
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 theconfig filethrough the GUI Geany editor.
-
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 from800to2000.
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.
-
In case you want tooverclock the GPUas well, add the below line to the config file. Now, save the file and close the Geany editor.
-
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 ineach 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.
-
Now that we have set up our monitoring system,let’s run sysbenchto 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.
-
Next, execute the below command to run the sysbench test. When you run this command, you will notice that the CPU clock speed hastouched 2GHz. In my case, I have not installed a heatsink and a cooler for demo purposes. And well, you can see that thetemperature 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.
-
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.
-
If you want todisable the overclocked CPUand GPU on Raspberry Pi, run the below command again to open the Config file.
-
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.
If the Raspberry Pi 4 is not booting after you overclock the CPU and GPU, you willneed a PCto revert the changes in the config file. Here is how you can do it.
-
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 theconfig.txt file. It will be in the root directory itself.
-
Open the file using Notepad andadd#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.
Overclock Raspberry Pi 4 to 2.1GHz Running Windows 11/ 10
-
We assume you have already followed our in-depth guide onhow 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.
-
Next, download theBoot partition mount utilityfrom the linkhere. 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.
-
Now, unzip the file and open the folder. Here, openWoR-Boot-Mounter.
-
After that, select the SD card where you have installed Windows on Raspberry and click “Mount“.
-
Next, click on “View contents“.
-
Here, you will find the “config.txt” file. Open it using Notepad.
-
Now,add the below linesbased 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.
-
Once you have added the commands, the config file will look like this. Now,save the config fileand restart your Raspberry Pi.
-
Now, you will find that your Raspberry Pi is overclocked to2.1GHzif you have chosen stable overclocking.
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 tobuild 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.
Arjun Sha
Passionate about Windows, ChromeOS, Android, security and privacy issues. Have a penchant to solve everyday computing problems.
Add new comment
Name
Email ID
Δ
01
02
03
04
05