Lines on Monitor or Laptop Screen? What Horizontal, Vertical and Coloured Lines Mean and 10 Fixes

Share

Seeing lines on your monitor or laptop screen? Horizontal or vertical, black, white, green or rainbow-coloured, lines usually come from one of three places: the graphics driver, the cable or connection, or the screen panel itself. A few quick tests tell you which one it is, and that decides whether a two-minute fix will work or the screen needs repair.

Wall painted in vertical stripes of yellow, green, coral, red, purple, blue and teal

Quick answer: Press Windows + Ctrl + Shift + B to reset the graphics driver, then restart. If the lines stay, take a screenshot: lines that appear in the screenshot point to the graphics card or driver, lines that don’t point to the screen or its cable. Lines on the startup (BIOS) screen or in the monitor’s built-in self-test mean a hardware fault that needs repair.

What the lines on your screen usually mean

The colour and direction of a line is a clue, not a diagnosis. Use this table to decide which tests to run first.

What you seeMost likely causeFirst thing to try
Horizontal lines after an update or driver installGraphics driverReset or roll back the driver
Vertical lines that stay in the same place on every screenScreen panelBIOS test and built-in self-test
Lines that flicker or change when you move the laptop lidDisplay cable inside the hingeExternal monitor test, then repair
Lines only on an external monitorCable, port or monitorSwap the cable and port
Green, pink or purple lines across the whole pictureGraphics card, driver or a loose connectionScreenshot test and cable check
Thin black or white line from top to bottomPanel fault, often after pressure or a dropSelf-test, then warranty or repair
Lines only on a TVTV panel or the source deviceThe TV’s own picture test

A single dot rather than a line is a different problem: run our dead pixel test to check for dead or stuck pixels.

First, test whether it’s software or hardware

These four checks take a few minutes and save you from reinstalling drivers on a screen that is physically damaged, or paying for a repair when a driver is to blame.

1. The screenshot test

Press Windows + Print Screen (or Command + Shift + 3 on a Mac) and open the screenshot on another device, such as your phone. A screenshot copies what the computer sends to the screen, not what the screen shows. If the lines appear in the screenshot, the problem is in the computer: the graphics driver or graphics chip. If the screenshot looks clean, the problem is between the computer and your eyes: the cable, the connector or the panel.

2. Connect an external monitor or TV

Plug the laptop into a TV or another monitor with HDMI or USB-C. Lines on both screens point to the graphics side. Lines only on the laptop screen point to the laptop’s own panel or its internal cable.

3. Check the startup (BIOS) screen

Restart and watch the maker’s logo or open the BIOS/UEFI setup screen (usually by tapping F2, F10, Del or Esc as the PC starts; the key is shown on screen or in your manual). Windows drivers are not loaded at that point, so lines that show up there are a hardware fault, not a Windows problem.

4. Run the monitor’s built-in self-test

Many monitors and laptops have a self-test that draws test colours without using the computer at all. On many Dell monitors, for example, unplugging every video cable puts the monitor into self-test mode. Dell’s display troubleshooting guide (external site, opens in new tab) explains that lines during the self-test mean a fault in the monitor panel, while a clean self-test means the monitor is fine and the graphics card or settings need checking. Check your monitor’s manual for the button combination on other brands.

Dell Support page section on horizontal or vertical lines: restart graphics drivers, roll back the driver, run the Video Playback troubleshooter
Dell Support: for lines on the screen, restart the graphics drivers, roll back the driver and run the Video Playback troubleshooter; lines during the self-test mean a panel fault.

How to fix lines on screen: 10 fixes

Work down the list in order. The first fixes are free and quick; the last ones are for hardware faults.

1. Restart the graphics driver (Windows + Ctrl + Shift + B)

Press Windows + Ctrl + Shift + B. The screen goes black for a moment and the graphics driver restarts. If the lines were a driver glitch, they disappear. Microsoft’s screen flickering guide (external site, opens in new tab) suggests this shortcut first and a full restart if it doesn’t help.

Microsoft Support page on screen flickering showing the Windows + Ctrl + Shift + B shortcut to reset the graphics driver
Microsoft Support: pressing Windows logo key + Ctrl + Shift + B resets the graphics driver, the first fix for flickering or lines.

2. Restart the computer properly

Use Start > Power > Restart rather than closing the lid. A restart reloads the graphics driver from scratch and clears a frozen display state.

3. Roll back the graphics driver

If the lines started after Windows Update or a new graphics driver, go back to the previous one:

  1. Search for Device Manager and open it.
  2. Expand Display adapters, right-click your graphics adapter and choose Properties.
  3. On the Driver tab, select Roll Back Driver, then Yes, and restart.

If Roll Back Driver is greyed out, Windows has no earlier driver saved, so move on to the next fix.

4. Update the graphics driver from the maker

Download the latest driver for your exact model from your laptop maker’s support site or from the graphics chip maker (Intel, AMD or NVIDIA). Laptop makers often ship tuned drivers, so try theirs first on a laptop.

5. Set the right resolution and refresh rate

A resolution or refresh rate the screen doesn’t support can cause lines, flicker or a scrambled picture. In Windows 11, go to Settings > System > Display and choose the resolution marked Recommended. For the refresh rate, open Settings > System > Display > Advanced display and pick a rate next to Choose a refresh rate. Our guide to changing the monitor refresh rate covers Windows 10 and Mac too.

6. Run the Video Playback troubleshooter

Dell recommends this for lines that show up in video: go to Start > Settings > System > Troubleshoot > Other troubleshooters, select Run next to Video Playback and follow the prompts.

7. Swap the cable and the port

For a desktop monitor, unplug the video cable at both ends, check the pins, and plug it back in firmly. Then try a different cable and a different port on the graphics card or laptop. A loose or damaged HDMI or DisplayPort cable is a common cause of coloured lines and flicker on external monitors, and it’s the cheapest fix there is.

8. Reset the monitor’s own settings

Open the monitor’s on-screen menu with its buttons and choose the factory reset option. This clears sharpness, overdrive and picture modes that can add artefacts on some panels.

9. Check for heat and a struggling graphics card

If lines appear only during games or video and get worse the longer you play, the graphics card may be overheating. Clean dust from the vents, make sure the fans spin, and avoid using a laptop on a bed or sofa. Lines that appear on every screen, including the BIOS screen, on a desktop with a separate graphics card can mean the card is failing.

10. Repair or replace the screen

If the lines show in the BIOS screen or the self-test, or they move when you tilt the laptop lid, it’s hardware. On a laptop that usually means the panel or the display cable that runs through the hinge. Check your warranty first, then contact the maker’s support for repair options. On a desktop monitor, compare the repair quote with the price of a new monitor before you decide.

Lines on HP, Dell and Lenovo laptop screens

The tests above work on any Windows laptop. Each maker also has its own hardware check:

  • HP laptops: open the BIOS screen by tapping Esc as the laptop starts, then F10, and check whether the lines appear there.
  • Dell laptops: run Dell’s built-in diagnostics and the LCD built-in self-test from Dell’s support site. Lines during the test point to the screen.
  • Lenovo and other brands: use the maker’s diagnostics tool or BIOS screen in the same way: lines before Windows loads mean hardware.

Horizontal lines on a MacBook screen

On a Mac, restart first, then connect an external display. If the external display is clean and the built-in screen still shows lines, run Apple Diagnostics: on a Mac with Apple silicon, press and hold the power button until you see the startup options, then press and hold Command-D; on an Intel Mac, hold the D key as it starts up. Apple’s diagnostics guide (external site, opens in new tab) lists the full steps. If the lines remain, book a repair with Apple or an Apple Authorised Service Provider, especially if your Mac is still under warranty or AppleCare.

Lines on a TV screen (Samsung, LG and others)

Most smart TVs have a built-in picture test that draws a test image without using your cable box or console. On a Samsung TV made in 2022 or later, go to Settings > All Settings > Support > Device Care > Self Diagnosis > Picture Test; on older models the path is Settings > Support > Self Diagnosis > Picture Test. Samsung’s picture troubleshooting page (external site, opens in new tab) says that lines during the picture test mean the TV needs service, while a clean test means you should replace the cable of the device that shows lines. Other brands have a similar test in their support menus; check your TV’s manual.

How to prevent lines on your screen

  • Open and close a laptop lid from the middle, not one corner, so the hinge and display cable aren’t twisted.
  • Never press on the screen or carry a laptop by the lid.
  • Keep vents clear and the laptop on a hard surface.
  • Install graphics drivers from the laptop maker or the chip maker, not from third-party “driver updater” apps.
  • Clean the screen gently with a microfibre cloth; our guide on how to clean a laptop screen safely lists what not to use.

If your PC is slow as well as glitchy, our guide to why your computer is so slow covers the other checks worth doing.

FAQ

Can lines on a screen go away by themselves?

Lines caused by a driver glitch often go away after a driver reset or restart. Lines caused by a damaged panel or cable usually stay or get worse over time, so test early while the screen is still under warranty.

Is it the screen or the graphics card?

Take a screenshot and connect an external monitor. Lines in the screenshot or on both screens point to the graphics card or driver. Lines only on the built-in screen, and not in the screenshot, point to the screen or its cable.

Why are there lines on my monitor after an update?

A new graphics driver from Windows Update can be the cause. Roll back the driver in Device Manager, or install the driver for your model from the laptop or chip maker.

Can a cracked or pressed screen cause lines?

Yes. Pressure or a drop can damage the panel’s internal connections and leave black or coloured lines that don’t move. These show up in the self-test and need a screen repair.

Is it worth fixing lines on a laptop screen?

If the laptop is under warranty, yes: contact the maker. Out of warranty, compare the repair quote with the laptop’s value. A cheap external monitor can also keep an older laptop useful while you decide.

Found this useful? Share it with someone who needs it.

Did you like this post? Help us improve it

Want to tell us more? Contact us

100 Tech Terms ebook cover

Subscribe to our weekly tech newsletter

Free: 100 Tech Terms ebook (worth $2.99)

Unsubscribe anytime. Privacy

Related Tech Guides

Leave a Reply

Your email address will not be published. Required fields are marked *