Horizontal Lines on Mac Screen? How to Tell Software From Hardware and Fix It

Horizontal lines on a Mac screen come from one of two places: the graphics output (software, a driver or the graphics chip) or the display hardware itself (the panel or the cable that connects it). Three quick tests below tell you which one you have in about five minutes. Lines that show up after a drop, a spill or a lot of opening and closing are usually hardware, while lines that appeared after an update or only in one app are usually software. Start at the top, the fixes go from quickest to most involved.

Most likely cause

  • Lines in one app or right after an update: a software or graphics glitch. Restart and update first.
  • Lines that move or change when you tilt the lid: the display cable inside the hinge.
  • Lines only on an external monitor: the cable, adapter, dock or refresh rate setting.
  • Lines that also appear in a screenshot: the graphics side, not the screen.

The steps are written for macOS 27 Golden Gate and macOS 26 Tahoe, and they also work on Ventura, Sonoma and Sequoia. If your Mac still says System Preferences, it’s running macOS 12 Monterey or earlier, so menu names will differ.

Is It the Screen, the Cable or the Graphics?

These three tests take a few minutes and don’t change anything on your Mac. Do them before you try any fix, because the result decides which fixes are worth your time.

Test 1: The screenshot test.

  1. While the lines are visible, press Command + Shift + 3 to take a screenshot of the whole screen.
  2. Open the screenshot from your desktop and view it on another device, such as your phone or a different computer.

If the lines are in the screenshot, the Mac is drawing them, which points to software, a driver or the graphics chip. If the screenshot is clean, the image leaving the graphics chip is fine and the problem is between the chip and your eyes: the display panel or its cable. If screenshots themselves fail, see our guide on screenshot not working on Mac.

Test 2: The tilt test (MacBook only).

  1. Open the lid to its usual angle and note where the lines are.
  2. Slowly close the lid to about 45 degrees, then open it all the way back, watching the screen the whole time.

Lines that flicker, appear, disappear or change color as the angle changes almost always mean a damaged display cable in the hinge. No software fix will help with that one, so skip ahead to the repair section. Lines that stay exactly the same at every angle could still be the panel or software.

Test 3: The external display test.

  1. Connect your Mac to a TV or external monitor with an HDMI or USB-C cable.
  2. Choose Apple menu > System Settings > Displays and, if needed, set the external screen to Mirror your built-in display.

If the external screen is clean while the built-in one has lines, the built-in panel or its cable is at fault. If both screens show the same lines, the problem is on the graphics side. If you only use an external monitor and that is where the lines are, swap the cable and try a different port before anything else (see Fix 3).

Test resultMost likely causeStart with
Lines in the screenshot and on an external displaySoftware, driver or graphics chipFix 1, then Fix 6
Lines change when you tilt the lidDisplay cable in the hingeRepair section
Clean screenshot, clean external display, lines on built-in screenDisplay panel or cableFix 8, then repair
Lines only on an external monitorCable, adapter, dock or refresh rateFix 3 and Fix 4
Lines only in one app or browserApp or hardware acceleration bugFix 2

Fix 1: Restart Your Mac

A restart clears graphics glitches that build up after days of sleep and wake cycles. Choose Apple menu > Restart, and turn off Reopen windows when logging back in in the dialog so you start with a clean slate.

If the lines are gone after the restart and never come back, it was a one-off software hiccup. If they return within hours, keep going.

Fix 2: Check Whether One App Is Causing It

Lines that show up only in a browser, a video player or a game point to that app rather than your Mac.

  1. Quit the app with Command + Q.
  2. Check whether the lines disappear from the rest of the screen.
  3. Update the app, or look in its settings for a hardware or graphics acceleration option and turn it off as a test. In Chrome it’s Use graphics acceleration when available under chrome://settings/system.

If a browser is the culprit, test the same page in Safari. Lines in one browser but not another are a browser bug, not a display fault.

Fix 3: Reseat or Replace the Cable, Adapter and Dock

This fix is for external monitors. Most lines on a second screen come from the cable or the adapter in between.

  • Unplug the cable at both ends and plug it back in firmly.
  • Try a different cable, ideally one rated for your monitor’s resolution and refresh rate (for example, an HDMI 2.1 or Thunderbolt cable for a high-refresh 4K screen).
  • Plug the monitor straight into the Mac instead of through a hub or dock.
  • Try a different port on the Mac and on the monitor.

Tip: if your setup uses a hub, test without it first. A cheap USB-C hub is a common cause of flickering lines at higher refresh rates.

Fix 4: Change the Refresh Rate and Resolution

The wrong refresh rate can produce lines, flicker or a shimmering band across the screen. Apple notes that Adaptive Sync (variable refresh rate) on some external displays can cause flickering in everyday apps.

  1. Open System Settings > Displays and select the screen with the lines.
  2. Open the Refresh Rate menu and choose a fixed value, such as 60 Hertz, instead of a Variable option.
  3. If the lines remain, pick a different resolution option to rule out a scaling issue.
Displays pane in Mac System Settings for a MacBook Pro built-in display, with resolution options, brightness, Preset and the Refresh rate menu set to ProMotion
System Settings > Displays on a MacBook Pro. The Refresh rate menu (set to ProMotion here) is where you pick a fixed rate such as 60 Hertz as a test (macOS 27.0.1 Golden Gate).

On a 14-inch or 16-inch MacBook Pro, the built-in screen also has a Refresh Rate menu. Switching from ProMotion to a fixed rate is a quick test. Apple explains the variable refresh option in its guide to Adaptive Sync external displays.

Fix 5: Let Your Mac Cool Down

Heat makes failing display connections and graphics hardware misbehave. If the lines appear only after an hour of gaming, video export or a hot day, heat is part of the story.

  1. Open Activity Monitor (press Command + Space, type Activity Monitor, press Return) and check the CPU tab for anything using a lot of processing power you don’t need.
  2. Quit those apps and shut the Mac down for 15–20 minutes.
  3. Use the Mac on a hard, flat surface, not a bed or a cushion, so air can reach the vents.

If the lines only ever appear when the Mac is hot, mention that to the technician. It helps them find an intermittent hardware fault.

Fix 6: Update macOS

Apple fixes graphics bugs in point releases, and a display driver bug can draw lines on the screen that look like hardware damage.

  1. Open System Settings > General > Software Update.
  2. Install any update shown, then restart.

macOS 27 Golden Gate runs on Apple silicon Macs only. Intel-based Macs top out at macOS 26 Tahoe, so on those, install the latest Tahoe update. If an update is stuck or slow, our guide to Mac update taking forever covers what to do.

Fix 7: Start in Safe Mode

Safe Mode loads macOS without third-party extensions and login items. It’s a clean way to check whether a display utility, screen recorder or driver you installed is behind the lines. Apple’s steps are in Start up your Mac in safe mode.

Apple silicon (M1 or later):

  1. Shut down the Mac.
  2. Press and hold the power button until Loading startup options appears.
  3. Select your startup disk, then press and hold Shift and click Continue in Safe Mode.

Intel-based Mac:

  1. Restart the Mac and immediately press and hold Shift.
  2. Release it when you see the login window.

If the lines are gone in Safe Mode, remove recently installed display managers, screen dimmers or external display drivers, then restart normally. If the lines are still there, the cause is in macOS itself or the hardware.

Fix 8: Run Apple Diagnostics

Apple Diagnostics checks your Mac’s hardware and gives you a reference code you can quote to Apple. Disconnect everything except the keyboard, mouse, display and power first. Apple’s full guide is Use Apple Diagnostics to test your Mac.

Apple silicon: shut down, press and hold the power button until the startup options appear, then press Command + D.

Intel-based Mac: turn the Mac on and immediately press and hold D until a progress bar or language picker appears.

A clean result doesn’t clear the display. Diagnostics can’t see a cable that only fails at certain lid angles, so trust your tilt test over a “No issues found” message.

Fix 9: Reset NVRAM and the SMC (Intel Only)

On an Intel-based Mac, NVRAM stores display settings such as resolution, and the System Management Controller (SMC) handles backlight and power. Resetting both can clear lines caused by bad stored settings. Apple silicon Macs don’t need this, because a normal restart does the same job.

Reset NVRAM:

  1. Shut down the Mac.
  2. Turn it on and immediately press and hold Command + Option + P + R for about 20 seconds.
  3. Release the keys and let the Mac start up.

Reset the SMC on a Mac with a T2 chip (most 2018–2020 models):

  1. Shut down the Mac.
  2. Press and hold Control + Option + Shift (Control and Option on the left, Shift on the right) for 7 seconds.
  3. Keep holding them, then press and hold the power button as well for another 7 seconds.
  4. Release all keys, wait a few seconds and turn the Mac on.

For older Intel models without a T2 chip, follow Apple’s guide on resetting the SMC.

Fix 10: Test a Second User Account

A new user account starts with default display settings, fonts and color profiles. If the lines disappear there, something in your own account is the cause.

  1. Open System Settings > Users & Groups and click Add User.
  2. Create a standard account, log out of yours and log in to the new one.
  3. Use it for a while and watch for lines.

If the new account is clean, check System Settings > Displays > Color Profile in your own account and set it back to the default for your display.

Before you reinstall macOS: don’t, unless every test above pointed to software and the lines still appear in Safe Mode and in a new user account. A reinstall takes an hour or more and can’t fix a cable or a panel. If the screenshot test came back clean, a reinstall won’t change anything.

When to Get It Repaired

If your tilt test showed lines that change with the lid angle, or the screenshot and external display tests were both clean, the fault is in the display assembly. That needs a repair, and on a MacBook it usually means replacing the whole display assembly, not just a cable.

  • AppleCare+ or the one-year warranty: display failures that aren’t caused by damage are covered. Accidental damage, such as a drop or a spill, is covered under AppleCare+ with a service fee.
  • Apple service programs: as of November 2026, Apple’s service programs page lists no active program for Mac displays. Apple’s earlier backlight program for some 2016 13-inch MacBook Pro models has ended. Check that page before you pay for a repair, because programs are added from time to time.
  • Out of warranty: Apple gives you a price for your model when you book a repair on its repair page. Apple doesn’t publish one fixed figure for display replacement, and it varies a lot by model.

Bring the results of your three tests and any Apple Diagnostics reference code. It saves time at the Genius Bar and makes a misdiagnosis less likely.

Horizontal lines are one of several display problems I’ve written up. If yours run top to bottom, see vertical lines on a MacBook Pro screen. For a screen that flashes or blinks, read why a Mac screen flickers.

Common questions

Can a software update cause horizontal lines on a Mac screen?

Yes. A graphics driver bug can draw lines that look exactly like hardware damage. The screenshot test tells them apart: lines that appear in the screenshot are being drawn by the Mac, so an update, a restart or Safe Mode is the place to start.

Why do lines appear on my MacBook screen only when I open the lid past a certain angle?

That pattern points to the flexible display cable that runs through the hinge. It wears with repeated opening and closing until it starts losing contact at some angles. It needs a repair, and the lines tend to spread over time.

Is it safe to keep using a Mac with lines on the screen?

Usually, yes. The lines don’t damage anything else. If you need the Mac for work while you wait for a repair, connect an external monitor and close the lid with a keyboard and mouse attached, or use the external screen as your main display.

Do vertical lines mean the same thing as horizontal lines?

Mostly. The same three tests apply. A single bright vertical line of one color that never moves is often a panel fault, while lines that flicker with the lid angle point to the cable, the same as with horizontal lines.

Will Apple fix screen lines for free?

Only if your Mac is within its one-year warranty or AppleCare+ coverage and the damage isn’t accidental, or if Apple has a service program for your model. Out of warranty, you pay Apple’s repair price for your model.