keepcalculator

06 Numbers and Powers

Raspberry Pi 5 Performance & Temp Setup Tips

Card No. 06·23911 · Updated · Standard formula, shown below

To avoid throttling on a Raspberry Pi 5, you need to keep the SoC temperature below 85°C under sustained load, which means adding active cooling (a fan or heatsink) and, if you push the CPU hard, adjusting the firmware settings to allow higher current and disabling automatic frequency scaling for consistent performance. With the stock cooler, the Pi 5 will throttle during heavy multi-core work; a good fan case or an active cooler keeps it at full speed.

Why the Pi 5 Runs Hotter Than Earlier Models

The Raspberry Pi 5 uses a quad-core Arm Cortex-A76 CPU clocked at 2.4 GHz, which is significantly faster than the Cortex-A72 in the Pi 4 (1.8 GHz). That extra performance comes at a cost: the Pi 5 draws up to 12W under load (vs. about 7.6W for the Pi 4), and the smaller 16nm process doesn’t offset the increased power enough to keep temperatures low. In a typical room (around 20–25°C), the bare board with no cooler will hit 85°C within a few minutes of running a stress test like stress --cpu 4 or a heavy compile. At 85°C, the firmware cuts clock speeds to protect the silicon, which can drop performance by 20–30% in multi-threaded workloads.

How Throttling Works on the Pi 5

The Pi 5 has three thermal thresholds that trigger progressively more aggressive actions:

  • 80°C – the firmware starts to reduce the maximum allowed clock speed slightly, but you may not notice it.
  • 85°C – the CPU clocks are cut to 1.5 GHz or lower (the exact value depends on the workload). This is the “soft” throttle point.
  • 100°C – the SoC shuts down to prevent damage. This is a hard stop; the board will power off.

You can monitor the current throttling status with vcgencmd get_throttled. A value of 0x0 means no throttling, 0x2 means the CPU was throttled at some point, and 0x4 means the SoC reached 85°C. The bitmask accumulates, so a value like 0x20000 indicates throttling is currently active.

Choosing the Right Cooling Solution

Not all coolers are equal. The official Active Cooler (a heatsink plus a small fan) is sufficient for most workloads and keeps the CPU at about 45–55°C under load, well below the throttle point. But if you plan to run the Pi 5 in a closed case or in a warm environment, you need something more robust. Here are the main options:

  • Passive heatsink only – works for light tasks (web browsing, GPIO projects) but will still throttle under sustained load. Not recommended for heavy use.
  • Active cooler (heatsink + fan) – the sweet spot for most users. Keeps temps below 60°C under full load in a well-ventilated area.
  • Fan case – a case with an integrated fan that blows air over the board. Good for general use, but the fan can be noisy. Some cases have a fan that spins only when needed.
  • Larger heatsink with a bigger fan – for overclocking or running the Pi 24/7 in a hot room. These can keep the CPU under 50°C even at 3.0 GHz overclocks.

Whatever you choose, make sure the fan is connected to the 4-pin header on the Pi 5 (labeled FAN) so the firmware can control the speed. The Pi 5 does not have a 3.3V or 5V pin that provides PWM control by default; the dedicated header is required for automatic fan speed management.

Firmware Settings That Affect Performance and Heat

The Pi 5’s bootloader and EEPROM have a few settings that can be changed to improve performance or reduce heat:

  • Power limit – The default USB-PD power limit is 5A at 5V (25W). If you use a power supply that can deliver more (e.g., 5V/5A), you can raise the limit to 6A (30W) by editing /boot/firmware/config.txt and adding usb_max_current=1. This gives the CPU more headroom to boost for longer periods.
  • Overclocking – You can set arm_freq=3000 in config.txt to overclock the CPU to 3.0 GHz. However, this increases heat output by about 30%, so you must have excellent cooling. Without it, the Pi will throttle almost immediately.
  • Disabling frequency scaling – By default, the Pi 5 uses the schedutil governor, which changes clock speeds based on load. If you want consistent performance (e.g., for benchmarking), set scaling_governor=performance in config.txt. This keeps the CPU at maximum clock all the time, but it also increases idle temperatures.

To apply changes, edit /boot/firmware/config.txt (on Raspberry Pi OS, it’s symlinked to /boot/config.txt), then reboot. Always test with vcgencmd measure_temp after a stress test to ensure you’re not throttling.

Practical Steps to Prevent Throttling

Here’s a step-by-step setup that works for most users:

  1. Install an active cooler (heatsink + fan) or a fan case. Ensure the fan is connected to the dedicated fan header.
  2. Use a good power supply – the official 27W USB-C PSU or a quality 5V/5A supply. A weak supply can cause voltage drops that trigger under-voltage warnings, which also reduce performance.
  3. Place the Pi in a well-ventilated area, not inside a closed cabinet. If it’s in a case, make sure the case has vents.
  4. If you’re running demanding tasks (like compiling code or running a media server), consider setting scaling_governor=performance to get steady speeds, but monitor temps.
  5. If you still see throttling, check the throttling status with vcgencmd get_throttled. If it shows 0x2, the SoC hit 85°C – improve airflow or reduce the ambient temperature.
  6. For extreme cases, you can undervolt the CPU slightly (e.g., over_voltage=-2) to reduce heat, but this may cause instability. Test thoroughly.

Common Mistakes and Misconceptions

One common mistake is using a heatsink without a fan and expecting it to handle heavy loads. Passive cooling only works if the ambient air is cool and the Pi is not enclosed. Another is using a power supply that is rated 5V/2.5A – the Pi 5 will boot but will show a lightning bolt icon (under-voltage) and may throttle the CPU to keep within power limits. Always use a 5V/5A supply.

A misconception is that the Pi 5 always throttles at 80°C. In reality, 80°C is just the start of the “soft” limit; the CPU can run at 85°C for extended periods without damage, but performance is reduced. The hard shutdown at 100°C is the real danger.

Also, some users think that applying thermal paste is optional. The Pi 5’s SoC is bare silicon, and without a thermal interface material (paste or pad) between the chip and the heatsink, heat transfer is poor. Always use a small amount of good-quality thermal paste.

Cost and Alternative Approaches

Cooling solutions range from a few dollars for a cheap heatsink to around $15–20 for a decent fan case. The official Active Cooler costs about $5–8 and is a solid choice. If you want to avoid fans entirely, you could use a large passive heatsink (like the ones from Flirc) that uses the case as a heatsink – these work well for moderate loads but may still throttle under heavy stress.

An alternative approach is to limit the CPU frequency to a lower value (e.g., arm_freq=1800) to reduce heat output. This sacrifices performance but can be useful for silent, low-power projects. Another option is to use the Pi 5’s power management to set a lower power cap via vcgencmd pmic_read_adc or the raspi-config tool, though this is less common.

Frequently Asked Questions

What is the safe maximum temperature for the Raspberry Pi 5?
The official maximum operating temperature is 85°C. Above that, the firmware throttles the CPU to protect it. The SoC can survive up to 100°C, but it will shut down to prevent damage. For long-term reliability, keeping it under 70°C is ideal.

Do I need a fan for the Raspberry Pi 5?
If you do anything more than light web browsing or GPIO projects, yes. The Pi 5 runs hot, and a fan is the most effective way to prevent throttling. The official Active Cooler is inexpensive and works well.

Can I use a Raspberry Pi 4 power supply with the Pi 5?
A Pi 4 power supply (5V/3A) will boot the Pi 5 but may cause under-voltage warnings under load, leading to throttling. The Pi 5 needs 5V/5A (25W) for full performance. Using a 5V/3A supply is not recommended for heavy workloads.

How do I check if my Pi 5 is throttling?
Run vcgencmd get_throttled in the terminal. A value of 0x0 means no throttling. 0x2 indicates throttling occurred, and 0x20000 means it is currently throttling. You can also use vcgencmd measure_temp to see the current temperature.

Does overclocking void the warranty on the Pi 5?
Overclocking is not officially supported, but it does not void the warranty as long as you don’t damage the hardware. However, if you set the voltage too high and the SoC fails, the warranty may not cover it. Proceed with caution.

Can I run the Pi 5 without a cooler if I only use it for light tasks?
Yes, for light tasks like SSH, GPIO control, or running a simple web server, the Pi 5 can run without a cooler, but the temperature will still rise to around 60–70°C. It won’t throttle until 85°C, so it’s safe, but a cheap heatsink is always a good idea.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →