How to Fix Vertical Lines on a MacBook Screen
In this article
Vertical lines on a MacBook screen are usually a sign of a display or cable fault, not something you can fix with a software toggle. The honest answer: if the lines appear in the same place every time you start up, on the Apple logo and in macOS Recovery, the panel or its internal cable is failing and needs service. If they come and go, change with the angle of the lid, or only appear in certain apps, you may be able to narrow it down or fix it with a restart, a display setting change, or a cable reseat. Work through the steps below in order, because each one tells you something the next step depends on.
What You'll Need
- Your MacBook and its charger
- A second display or TV you can connect with the correct cable or adapter (USB-C to HDMI, for example)
- A soft, lint-free cloth and a can of compressed air (optional, for cleaning around the hinge and ports)
- Your Apple ID and internet access if you need to book a service appointment
Step-by-Step
- Restart the MacBook. Click the Apple menu and choose Restart, or hold the power button until the screen goes dark and press it again. A one-off graphics glitch can survive sleep but not a full restart.
- Watch the startup screen closely. As the Mac boots, the Apple logo appears before macOS loads. If the vertical lines are visible on that logo, the problem is in the display hardware or the cable between the display and the logic board, not in your apps or settings. If the logo is clean and the lines only appear after you log in, continue to the software steps.
- Check the lid angle. Slowly open and close the lid a few centimetres while watching the screen. If the lines flicker, appear, or disappear as the hinge moves, the display flex cable is damaged or loose. That is a hardware repair; stop here and book service.
- Start in macOS Recovery. Shut down, then press and hold the power button on Apple silicon Macs until you see "Loading startup options", and choose Options. On Intel Macs, hold Command and R at startup. If the lines appear in Recovery, the fault is hardware. If Recovery is clean, the issue is likely software or a corrupted setting.
- Reset NVRAM on an Intel Mac only. Shut down, then press the power button and immediately hold Option, Command, P and R for about 20 seconds. Apple silicon Macs do not have this reset and do not need it. This clears stored display settings that can occasionally cause glitches.
- Start in Safe Mode. On Apple silicon, shut down, hold the power button until startup options appear, select your startup disk, then hold Shift while clicking "Continue in Safe Mode". On Intel, hold Shift at startup. Safe Mode loads fewer background items. If the lines vanish here, a login item or third-party utility is involved; remove recently installed menu bar apps and login items and restart normally.
- Test with an external display. Connect a monitor or TV. If the external screen is clean while the MacBook panel shows lines, the MacBook display or its cable is at fault. If both screens show lines, the graphics hardware or a system-wide software problem is more likely.
- Check for a macOS update. Open System Settings > General > Software Update and install anything offered. Menu labels can differ slightly by macOS version, so look for the Software Update entry if the path looks different.
- Run Apple Diagnostics. Shut down, then hold the power button on Apple silicon (or press D on Intel) at startup and follow the on-screen instructions. A reference code such as a display-related code confirms a hardware fault and is useful when you contact Apple.
- Book service. If the lines persist in Recovery or on the startup logo, or Apple Diagnostics reports a fault, arrange a repair through Apple Support or an Apple Authorised Service Provider. Back up first with Time Machine; a display or logic board repair can involve replacing parts and, rarely, erasing the drive.
Common Mistakes
- Assuming a software fix exists. Most permanent vertical lines are physical. Spending hours reinstalling macOS will not repair a cracked panel or a worn flex cable.
- Pressing on the screen or bezel. Pushing on the panel can turn a single line into a spreading crack or a permanently dead area. Do not flex the lid or squeeze the edges.
- Using third-party "screen repair" apps. No legitimate app can repair dead pixels or a failing display cable. Avoid tools that promise to fix hardware in software.
- Skipping the backup. Service centres may replace the logic board or erase the drive. A current Time Machine backup prevents data loss.
- Ignoring the lid-angle clue. If the lines change when you move the hinge, stop testing and book service; further opening and closing can worsen the cable damage.
Tips
- Photograph or record the lines, including on the startup logo, before you contact support. It is evidence if the fault is intermittent.
- Note whether the lines are vertical, horizontal, coloured, or flickering. This helps a technician identify whether the panel, the cable, or the GPU is involved.
- Keep the MacBook cool and on a hard surface while testing. Overheating can trigger temporary graphics artifacts on some models.
- If the MacBook is under AppleCare or consumer law protection, contact Apple before attempting any repair yourself. Opening the case can void coverage.
- Do not buy a replacement screen from an unknown seller without checking the exact model number; MacBook displays are not interchangeable across years.
Troubleshooting
If a restart clears the lines but they return after login, work through Safe Mode and login items again, and remove any recent display-related utilities. If the lines appear only in one app, such as a browser or video player, update that app and test with another; the fault is in the app's rendering, not the MacBook. If the lines appear only when the MacBook is hot, let it cool completely and test again; persistent heat-related artifacts point to the GPU or display and need service. If the screen is completely black but the MacBook is running, shine a light at an angle: a faint image means the backlight has failed, which is also a hardware repair. If you cannot start in Recovery or Safe Mode, the fault is likely severe; back up if possible using Target Disk Mode or another Mac, then book service. When in doubt, stop and let an authorised technician diagnose it rather than opening the case yourself.
Frequently Asked Questions
Can vertical lines on a MacBook screen be fixed with software?
Only if they are caused by a temporary graphics glitch or a conflicting login item. Permanent lines that appear on the startup logo or in Recovery are a hardware fault and need a display or cable repair.
Why do the lines change when I move the lid?
That is the classic sign of a damaged or loose display flex cable. The cable runs through the hinge, and movement changes the connection. Stop flexing the lid and book a repair.
Will resetting NVRAM fix vertical lines?
It can clear a stored display setting on Intel Macs, but it will not repair physical damage. Apple silicon Macs do not have an NVRAM reset, so skip that step on newer models.
Does Apple Diagnostics tell me what is wrong?
It can return a reference code that indicates a display or hardware fault. That code is useful when you contact Apple Support, but it does not repair anything by itself.
Is it safe to keep using a MacBook with vertical lines?
Usually yes for a short time, but the fault can worsen. Back up your data now, avoid pressing on the screen, and arrange service before the display fails completely.
Can a third-party screen replacement fix it cheaper?
It can be cheaper, but quality and compatibility vary, and unauthorised repairs may affect your warranty. Use an Apple Authorised Service Provider if the MacBook is still covered.