How to Fix Lines on Mac Screen: Step-by-Step
In this article
Lines on a Mac screen are usually caused by a loose or failing display cable, a software glitch, or a hardware fault in the display itself. The good news: you can often rule out software in a few minutes, and some fixes are free. Start by restarting your Mac and checking for macOS updates, then work through the steps below. If the lines persist in safe mode and on an external display, the problem is almost certainly hardware and needs a service centre.
What You'll Need
- Your Mac and its power adapter (charged or plugged in).
- A second display or TV with the right cable (HDMI, USB-C or Thunderbolt) to test whether the fault is in the Mac or the screen.
- A soft, lint-free cloth (microfibre) for cleaning the screen.
- Your backup drive or iCloud access, in case a repair or reset is needed.
- Your Mac model name and macOS version (Apple menu > About This Mac) for support calls.
Step-by-Step
- Restart your Mac. Click the Apple menu > Restart. A simple restart clears temporary graphics glitches. If the lines disappear, they were likely software-related.
- Check for macOS updates. Open System Settings > General > Software Update and install any available update. Menu labels can differ slightly by macOS version, so look for the Software Update section under General. Updates often fix display driver bugs.
- Test in safe mode. Shut down, then start up while holding the Shift key until you see the login window. Safe mode loads only essential software. If the lines are gone in safe mode, a third-party app or login item is the culprit. Restart normally and remove recently installed apps or background utilities one by one.
- Connect an external display. Plug your Mac into a monitor or TV using the appropriate cable. If the external screen looks normal but the built-in screen still shows lines, the fault is in the Mac's display or its cable. If both screens show lines, the graphics hardware or software is at fault.
- Reset NVRAM or PRAM (Intel Macs only). Shut down, then start up and hold Option + Command + P + R for about 20 seconds. This resets display-related settings. Apple silicon Macs do not have this step; skip it if your Mac uses an M-series chip.
- Check the screen for physical damage. Look for cracks, pressure marks, or discoloration near the edges. A drop or a closed lid with an object on the keyboard can damage the panel. If you see cracks, stop here and book a repair.
- Clean the screen gently. Shut down and unplug. Wipe with a dry microfibre cloth. Do not spray liquid directly on the screen. Stubborn marks can be removed with a cloth lightly dampened with water only. Avoid alcohol on the display coating.
- Run Apple Diagnostics. Shut down, then start up while holding the D key (or Option + D for a network test). Follow the on-screen instructions. A reference code such as a display-related code confirms a hardware issue. Note the code for your support call.
- Back up your data. Before any repair or reset, make a Time Machine backup or copy important files to iCloud or an external drive. A repair may involve replacing the display or logic board.
- Contact Apple Support or an authorised service provider. If the lines persist after all the above, the display cable or panel likely needs replacement. Book a service appointment and bring your backup and diagnostic code.
Common Mistakes
- Assuming it is always hardware. Many line issues are fixed by a restart or update. Always rule out software first.
- Skipping safe mode. Safe mode is the fastest way to tell whether a third-party app is causing the problem.
- Pressing on the screen or bezel. This can worsen a failing display cable or crack the panel.
- Using harsh cleaners. Alcohol, ammonia or paper towels can damage the anti-reflective coating and make smudges worse.
- Ignoring the external display test. Without it, you cannot tell whether the Mac or the screen is at fault.
- Resetting NVRAM on Apple silicon. That step does not apply and wastes time.
Tips
- Take a photo of the lines with your phone before calling support. The pattern (vertical, horizontal, coloured, flickering) helps diagnose the fault.
- Note when the lines appear: at startup, after waking from sleep, when the Mac heats up, or only in certain apps. This narrows the cause.
- If lines appear only in one app, the app may be the problem. Update or reinstall it.
- Keep macOS and apps updated. Display bugs are often fixed in updates.
- Use a surge protector. Power fluctuations can damage display components.
- If your Mac is under AppleCare or consumer law warranty, check coverage before paying for a repair.
Troubleshooting
If the lines remain after a restart and update, and they appear in safe mode, the issue is likely hardware. If they disappear in safe mode, a login item or app is responsible: open System Settings > General > Login Items and disable recently added items, then restart. If the lines appear only when the Mac is warm, the display cable may be loose or failing; this needs a service centre. If an external display works perfectly, the built-in panel or its cable is the fault. If both displays show lines, the graphics hardware or logic board may be failing. In that case, back up immediately and contact Apple Support. Do not open the Mac yourself; the battery and display connectors are delicate and carry shock risk.
Frequently Asked Questions
Can lines on a Mac screen be fixed without a repair?
Yes, if they are caused by software. A restart, macOS update, safe mode check, or removing a problematic app often clears them. Hardware lines need a repair.
What causes vertical lines on a MacBook screen?
Common causes are a loose or damaged display cable, a failing panel, or a graphics glitch. Physical damage from a drop or pressure on the lid is also common.
Does safe mode fix screen lines?
Safe mode does not fix hardware, but it helps diagnose. If lines vanish in safe mode, a third-party app or login item is likely responsible.
Should I reset NVRAM for screen lines?
Only on Intel Macs. Apple silicon Macs do not have NVRAM reset and the step does not apply.
When should I contact Apple Support?
If lines persist after restart, updates, safe mode, and an external display test, contact Apple Support or an authorised service provider. Back up first.
Can I fix lines by cleaning the screen?
Cleaning removes smudges and marks but will not fix lines caused by hardware or software. Use a dry microfibre cloth only.