how to fix raspberry pi black screen

7 Steps to Identify and Fix a Black Screen on Raspberry Pi

If you click our links and make a purchase, we may earn an affiliate commission. Learn more

While a Raspberry Pi is pretty reliable and can run 24/7 for weeks without a problem, the physical display can be annoying at times. Do you have a black or blank screen and have no idea what’s causing it? I’ve been there, so let me give you a few tips on how to fix it quickly.

For an existing installation (that was previously working), a black screen is usually related to some kind of screen saver, power supply problem, or software bug. On a fresh installation, it’s most likely due to an incompatible operating system.

So how do you figure out which one is going on with your Raspberry Pi? Here are the steps I recommend you follow based on these two situations.

If you’re new to Raspberry Pi or Linux, I’ve got something that can help you right away!
Download my free Linux commands cheat sheet – it’s a quick reference guide with all the essential commands you’ll need to get things done on your Raspberry Pi. Click here to get it for free!

Case 1: The System Was Working Previously

These steps mostly apply when your Raspberry Pi has already been used previously with the same system and was working properly until recently.

Screen Saver or Sleep mode

On most operating systems, there’s a screen saver or sleep mode system that blanks the display when the Raspberry Pi is idle.

Here’s the option under main menu > Preferences > Raspberry Pi Configuration.
If it’s causing you grief, try disabling it.

pi configuration screen blanking

In theory, if you move the mouse or press a few keyboard keys, it should resume the display.

But if it doesn’t work, what can you do?

  • If you don’t have an input device plugged in, connect one to wake the system up.
  • VNC can also be used to remotely access the Raspberry Pi, and exit the sleep mode.

But you know what? Sometimes these solutions still don’t work. Just like on a PC, the Raspberry Pi sometimes won’t wake up, and the only solution is a reboot. I can’t count the number of computers I had to reboot because of buggy implementations of sleep mode.

Something not working as expected?
You can get answers from real experts in minutes.
Get help with your setup

Related: How to Disable Sleep Mode on Raspberry Pi

Check Cable Connections and the Monitor Status

Another reason for a black screen on Raspberry Pi can be poor cable connections or the monitor status and configuration.

It might seem obvious when stated like that, but the situation can be more complex:

  • Check the cable connection from your Raspberry Pi to the monitor.
    Raspberry Pi 5 and 4 have two HDMI outputs, so try the other port if one isn’t working.
    raspberry pi 4 ports
  • If your monitor has several inputs, make sure the correct one is selected as active.
    My monitor inputs for VGA, DisplayPort, and HDMI, but it doesn’t always switch between the right modes automatically. I have to select HDMI manually.

Tip – I also noticed this unexpected behavior sometimes: if the Raspberry Pi was booted before plugging in the HDMI cable, it might not load the display. In this case, the solution is to have the display connected BEFORE powering up the Raspberry Pi.

Attempt a Reboot

While a reboot may seem like overkill, the fact is that it will work most of the time. So if possible, reboot the Raspberry Pi and see if that solves the blank screen problem.

reboot command

I know, it’s annoying to interrupt things if you have servers running, but it’s often the easiest way to fix this if it was previously working.

Maybe you inadvertently installed updates that broke the display, you hit a high load that overheated your system and caused the display to malfunction, or something else went wrong.

You can restart your system via the GUI (main menu > Shutdown > Reboot), or run the following command from a terminal:
sudo reboot

Tip: Command lines can be a pain to memorize. I put the essential Linux commands on a printable cheat sheet so you don't have to keep googling them. You can grab the PDF here if you want to save some time.


🛠 This tutorial doesn't work anymore? Report the issue here, so that I can update it!

Still stuck after following this guide? Drop your question in the RaspberryTips Community — real Pi users answer fast. Post your question here.

Case 2: This Is a New Installation

In most cases, a blank or black screen will happen on a new system installation. You just plugged everything, and inserted a new SD card, but nothing is showing up on the monitor. What should you do?

Give It Time to Boot

First tip: Be patient. Some distributions need a few minutes to boot the first time before showing anything.

Most systems have a few initialization steps when you boot for the very first time. They will resize the partition, install packages (to manage the display, for example!) or do a few other things in the background before initializing the interface.

Even Raspberry Pi OS when it’s first installed may reboot several times before giving you access to the main interface. So, wait a few minutes before worrying too much that the screen remains black.

In theory, you should at least see the Raspberry Pi logo at the very beginning, confirming that your cable connections are properly done, but after that, the screen might be blank for a few minutes.

Verify OS Compatibility and Installation

Not all systems and all versions are compatible with all Raspberry Pi models. Make sure the operating system installed on the Raspberry Pi is compatible with your device.

For example, while the Raspberry Pi OS developers try to maintain backward compatibility—meaning that a new version will work on older models—it doesn’t work the other way around. If you try to boot a Raspberry Pi 5 with an old Raspbian image, it won’t work.

ubuntu supported pi boards

At the time of writing, the latest version of Ubuntu only supports Raspberry Pi 4, 400, and 5. Older models require installing the LTS version from last year.

If the board you’re trying to use isn’t supported by the OS, you might get a black screen or a rainbow screen when trying to boot it. Double-check the system version compatibility on the official website to avoid this.

Also: Yes, you can access your Pi from anywhere. Here's how.

Related: 15 Best Operating Systems for Raspberry Pi (with pictures)

Check Cable Connections

If you have a new system, it may also be a good idea to double-check your cable connections.

ports on Pi 4 vs Pi 400

When you plug everything in quickly, you might miss something, plug in the wrong cable, forget to power on the monitor, or do other silly things we all do sometimes.

As I mentioned in the previous section, if your monitor or TV has several inputs, make sure the right input is active. Even though I have a fancy PC monitor like that, for some reason, it never switches to the correct input automatically. I have to manually switch to HDMI.

Also, on Raspberry Pi 4 or 5, you can try to plug the HDMI into the other output. Just in case your system is using the one that is not connected currently.

As a general rule, I also recommend avoiding using display adapters with Raspberry Pi. Try to get the proper cable from the Raspberry Pi to the monitor (for example a micro-HDMI to HDMI cable). Adapters are a big source of quirky problems with this stuff.

Power Supply Limitations

One last thing I believe could cause a black screen with your new Raspberry Pi setup is some kind of power limitation.

official power supply vs phone charger

Even though a Raspberry Pi can be started using any type of power supply that comes with the right USB port, each board has specific requirements to run optimally. Make sure you’re using the proper power supply for your model.

You can find all the details about this in our articles:

If you’ve checked everything, and are sure your setup is correct with everything compatible, the last thing you can try is a reboot.

You’ll probably need to use the power switch on newer boards or simply unplug the power supply manually. I’ve seen several times (even with Raspberry Pi OS), where it’s the only solution. For some reason, the OS doesn’t boot completely, and the only way to make it work is a hard reboot.

I hope my article has helped you get a better understanding of how to fix display issues on Raspberry Pi. If you want to grow in your skills at figuring out problems on a Raspberry Pi system, don’t forget to also check out our article on 10 Essential Linux Commands for Troubleshooting.

Not getting the same result?

Even when you follow every step, small differences in OS version, hardware or config can change the outcome. Instead of wasting time guessing, get help from people who have already fixed the same kind of issue.

Ask your question now
🔒 No risk. Cancel anytime.
  • Get help on your exact issue
  • Access step-by-step videos for tricky setups
  • Browse the website without ads

Similar Posts