Pi 4 Overclock: A How-To Guide (2024)

Pi 4 Overclock: A How-To Guide (1)

Hey, I am John, General manager of OurPCB. I am a responsible, intelligent and experienced business professional with an extensive background in the electronics industry.

reach me now

no

Raspberry Pi 4 single-board computers are some of the best in the market, but their processors (ARM Cortex-A72) come with a low default clock speed of 1.5 GHz.

Previous Raspberry Pi 4 could go up to 2.147 GHz. But newer models like the Compute Module 4 and Pi 4 8 GB can hit a max clock speed of 2.3 GHz.

So don't leave any MHz behind to get the best performance boost with these units.

We have listed the steps to follow to overclock your Pi computer below.

Read on to learn more!

Special Offer: $1 for 5 PCB Assemblies!

One requirement only: Order must be placed using a company account.
Please email [emailprotected] for details.

Special Offer: $1 for 5 PCB Assemblies!

One requirement only: Order must be placed using a company account.
Please email [emailprotected] for details.

Why Overclock the Raspberry Pi 4?

Desktop

Unlike Arduino, a Raspberry Pi single-board computer is a complete minicomputer that can run operating systems.

So you can use the Pi 4 as a desktop computer.

Overclocking it will boost its performance to run the OS and applications faster.

Pi 4 Overclock: A How-To Guide (2)

The Raspberry Pi 4 Model B

ExaGear

ExaGear is a virtual machine Android app that lets you run Windows applications on Android ARM devices.

Virtual machines require high processing power to run smoothly; a faster clock speed will help.

Retro Gaming Solution

The high overclocking speeds will enhance your retro gaming experience, especially if running Nintendo N64, Sony PS1, or Sega Dreamcast games on your retro gaming solution.

Pi 4 Overclock: A How-To Guide (3)

The user interface of a retro game

Kodi

A Pi 4 at maximum clock speed will not have any performance issues when video streaming using Kodi. Also, this max speed will help if you use a VPN.

Steps

Increasing the CPU clock speed will overheat the processor, so you need to begin this process by preparing the hardware.

Prepare the Hardware

A heat sink (passive cooling) is insufficient for evacuating the additional heat from the high overclocking speeds.

Pi 4 Overclock: A How-To Guide (4)

A heat sink on a computer motherboard

You must fit in an active cooling system, like an ice tower cooler, to keep the CPU temperature at around 40°C.

This cooling system can run directly from the 5V GPIO pins.

Compute module 4 does not have eMMC storage.

Therefore, you must flash the image with the Raspberry Pi Imager into a microSD card.

This process is similar to flashing a microSD card in other Raspberry Pi models and involves the following steps.

  • Download and install the official Raspberry Pi Imager.
  • Insert the microSD card into the reader and connect it to the computer.
  • Click "Choose OS" and pick "Raspberry Pi OS (32-bit)
  • Click "Choose Storage" and pick the connected microSD card.

Pi 4 Overclock: A How-To Guide (5)

A Raspberry Pi 4 in a white case

  • Then, click the settings button on the bottom left section.
  • Fill in the settings fields (set the hostname, enable SSH, use public key/password authentication, username & password, configure wireless LAN, wireless LAN country, and set locale settings).
  • Click "Write"
  • After setting up the microSD card, update the OS using the following commands.
Pi 4 Overclock: A How-To Guide (6)
  • Also, update the firmware using this command.
Pi 4 Overclock: A How-To Guide (7)

Compute Module 4 Image Flashing (with eMMC Storage)

Compute Module 4 has 32 variants, but the two primary models are Compute Module 4 and its lite version described above.

The former features internal eMMC storage, but the latter requires an external microSD card.

So with Module 4, you must use another Raspberry Pi or a Linux computer to flash the OS.

Begin by downloading a Git repository, then follow these steps.

  • Open the terminal and close the repository using this command.
Pi 4 Overclock: A How-To Guide (8)
  • Change the directory to go into the download repository.
Pi 4 Overclock: A How-To Guide (9)
  • Next, install the developer tool that enables USB access using scripts (libusb)
Pi 4 Overclock: A How-To Guide (10)
  • After that, use the downloaded files to make a rpiboot application.
Pi 4 Overclock: A How-To Guide (11)
  • Connect Module 4 to its IO board, hook up a micro USB cable to your Linux PC, and the other end to Module 4’s micro USB port.

Pi 4 Overclock: A How-To Guide (12)

A single-board computer is being configured.

  • Install a jumper on pins J2 to disable the eMMC boot (use a female-to-female connector if you don't have a jumper).
  • This step should prevent booting, enabling you to mount Module 4 like a USB drive on the Linux computer.
  • Mount the module by running the rpiboot command
Pi 4 Overclock: A How-To Guide (13)
  • The drive should appear after a few minutes.
  • Download and open the Raspberry Pi Imager.
  • Open the application, then pick Raspberry Pi OS (32-bit).
  • Click "Choose Storage" and select Module 4.
  • Flash the OS to the eMMC storage by clicking Write.

Additional Compute Module 4 Configuration

These configurations are necessary to activate the IO board's USB ports, which by default remain disabled.

  • Open file manager, find the module's boot partition (or microSD card), then open config.txt in a text editor.
  • Add these two lines at the end to activate the USB ports.
Pi 4 Overclock: A How-To Guide (14)

Although unnecessary, you can enable the external antenna by adding the following lines.

Pi 4 Overclock: A How-To Guide (15)

Eject the root and boot partitions from your PC before unplugging the microSD card or USB cable.

Booting

Remove the USB cable. If using Compute Module 4, remove the jumper from J2.

But if using the Lite version, insert the microSD card.

Pi 4 Overclock: A How-To Guide (16)

The Raspberry Pi 4

Connect your mouse, keyboard, external antenna, and HDMI (with either board).

Next, connect the power supply to boot the computer.

Overclocking

  • Open config.txt in a terminal on the Pi computer using the following command.
Pi 4 Overclock: A How-To Guide (17)
  • Navigate to the end of the file and comment to show the overclock configuration instructions.

Pi 4 Overclock: A How-To Guide (18)

A project using a Raspberry Pi mini-computer and a blue LCD screen

  • Increase the CPU frequency by including the arm_freq setting and type the new speed in MHz.
  • For instance, you can set the CPU to overclock at 2275 MHZ (2.275 GHz) using the following command.
Pi 4 Overclock: A How-To Guide (19)
  • Changing this value sets the maximum CPU speed. Therefore, use numbers like 2275, 2250, 2200, etc.
  • Next, add this line to overclock the GPU to 750 MHz.
Pi 4 Overclock: A How-To Guide (20)
  • Overclocking needs extra power, so raise the CPU voltage by 1.4V to 8V using this line.
Pi 4 Overclock: A How-To Guide (21)
  • Save, then exit the file by pressing CTRL+X, followed by Y
  • Reboot the Pi computer, then open the terminal
  • Use the vcgencmd command to display the current ARM CPU speed.
Pi 4 Overclock: A How-To Guide (22)

If the Raspberry Pi fails to boot, the CPU cannot operate at these extreme speeds.

So insert your Module 4 or microSD card into another computer, then edit the clock values to the stock speed.

Overclocking to 2.3 GHz

It is vital to note that this overclocking will only work with the Compute Module 4 Lite (8 GB) and Raspberry Pi 4 (8 GB).

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.

Pi 4 Overclock: A How-To Guide (23)

A mini-computer with a fan installed above the GPU

The 2.3 GHz overclock process has similar steps to the one above, so edit config.txt by adding these lines.

Pi 4 Overclock: A How-To Guide (24)

The last line forces turbo mode frequencies whether the ARM cores are busy or idle.

Running using "force turbo" invalidates the product's warranty.

Wrap Up

There you have it! Overclocking your Raspberry Pi 4 to boost performance only requires a few steps.

However, you must ensure you achieve stable overclocking.

And as you can see above, some Pi 4 mini computers remain stable at 2.275 GHz, while others can hit 2.3 GHz.

With this max CPU clock speed, you will void the warranty. So if it breaks, it's on you.

That's it for now. Contact us if you have questions or need the Pi 4 for this task.

Special Offer: $1 for 5 PCB Assemblies!

One requirement only: Order must be placed using a company account.
Please email [emailprotected] for details.

Pi 4 Overclock: A How-To Guide (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.

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.

How to make Raspberry Pi 4 run faster? ›

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

What is the safe limit for overclocking? ›

Usually, any overclock between 5-50 Mhz shouldn't cause any issues, so this is more to see whether the overclock works at all. If it doesn't, then it's time for a new graphics card, as your current GPU can't handle overclocking. Now, stress test the GPU to make sure everything's running ok (options are detailed below).

Is overclocking pi safe? ›

Warranty and Risks

In most cases, overclocking is safe and will not void your warranty if done so in an appropriate manner. However, you should still be aware that there are several settings that will void the warranty by flipping a hardware switch inside your Pi: over_voltage greater than 6.

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.

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.

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.

What is the overvoltage for Raspberry Pi overclock? ›

Re: Overvolting the Raspberry Pi 4

2711 uses a smaller process (28nm) and a lower voltage by default. The maximum voltage for 2711 boards is 1.1V. Earlier boards (40nm) have a maximum voltage of 1.4V. You can't exceed those limits.

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 stressberry? ›

stressberry is a package for testing the core temperature under different loads, and it produces nice plots which can easily be compared. To run stressberry on your computer, simply install it with [sudo] apt install stress pip3 install stressberry --user.

Can Raspberry Pi run indefinitely? ›

At Diode we have deployed a couple of long-running Raspberry Pis equipped with cameras and sensors reporting into our network 24/7. All these are under uptime monitoring for us to keep track of the network availability.

Which Raspberry Pi is the fastest? ›

Is the Raspberry PI 5 much faster than RPI4 ? 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. With RAM variants up to 8GB, this is the fastest, smoothest Raspberry Pi experience yet.

Does Raspberry Pi run faster with SSD? ›

If you want to run your Raspberry Pi as a home server, it might be a good idea to exchange your microSD card with an SSD. This will not only lift your Raspberry Pi to the next level in terms of performance, but can also increase the lifetime of your server.

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

Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 6180

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.