Windows How-To

Horizontal and Vertical Lines on a Laptop Screen or PC Monitor: How to Diagnose and Fix Them

Isolate whether the fault is the panel, the cable, or the graphics driver, then apply the fix that matches.

Isolate whether the fault is the panel, the cable, or the graphics driver, then apply the fix that matches.

Thin colored streaks running across or down a display usually point to one of three things. Either the graphics driver is misbehaving, a video cable has come loose or failed, or the panel itself is physically damaged. The lines can appear as single rainbow-colored bands on the edges, or spread across the whole screen, and they sometimes arrive alongside flickering or crackling static.

Quick answer: Connect the laptop or PC to an external monitor. If the same lines show up on the second display, the problem is your graphics driver, GPU, or cable. If the external screen is clean, the built-in panel or its ribbon cable is the fault.


First test: hardware fault or software fault

Before changing any settings, plug the machine into a second screen over HDMI or DisplayPort. This one check saves hours because it tells you where the damage actually lives.

Connect the external monitor and make sure every cable is seated firmly at both ends.
Switch the input and watch the external display. Lines on the external screen point to a driver, GPU, or output-cable problem you can often fix in software.
A clean external screen means the internal laptop panel or its internal ribbon cable is failing, which is a hardware repair rather than a settings change.

Software fixes for lines caused by drivers or settings

If the lines followed you onto the external monitor, or appeared right after a Windows or driver update, work through these in order. Check for pending Windows updates first and install anything waiting.

Update or reinstall the graphics driver

An outdated or corrupted display driver is one of the most common triggers for streaks and colored bands.

Press Windows + R, type devmgmt.msc, and press Enter to open Device Manager.
Expand Display adapters, right-click your graphics device, and choose Update driver. Pick the automatic search, or install a driver you downloaded manually from the manufacturer.
If updating does not help, download the latest driver from your PC or GPU maker, then do a clean reinstall. Vendor utilities such as Intel’s Driver and Support Assistant or AMD’s Adrenalin software handle the download and install for you.

Roll back the graphics driver

If the lines started right after a driver update, reverting to the previous version often clears them.

In Device Manager, expand Display adapters, right-click your graphics card, and select Properties.
Open the Driver tab and click Roll Back Driver if the button is available. Follow the prompts, then restart the PC and check the screen.

Set the correct screen resolution

A resolution that does not match the panel can produce faint horizontal or vertical lines.

Press Windows + I to open Settings, then go to System and select Display.
Set both the scale and the resolution to the values marked Recommended, then confirm whether the lines disappear.

Run the Display Quality troubleshooter

Open Run, type control, and press Enter to open Control Panel.
Change View by to Large icons, open Troubleshooting, then click View all in the left pane.
Select Display Quality, grant admin permission if asked, and follow the on-screen steps.

Perform a clean boot to find a conflicting program

If the display is clean during a clean boot, a background app or service is interfering.

Open Run, type msconfig, and click OK.
On the Services tab, tick Hide all Microsoft services, then click Disable all.
On the Startup tab, open Task Manager and disable every startup entry. Close Task Manager, click OK, and reboot.
If the screen is normal, re-enable the disabled items one at a time until the lines return, then remove that program.

Update the BIOS

For stubborn cases, especially green horizontal or vertical lines, a BIOS update can help. Check your current BIOS version in System Information first, then install the latest version from your computer manufacturer’s official support page for your exact model.


Hardware fixes for cable and panel faults

When the external monitor stays clean, or when driver work changes nothing, the fault is physical. Start with the cheapest, least invasive steps.

Reseat and reset the connections. Reconnect the video cable at both ends, or on a laptop, shut down and disconnect power before restarting so the display can reset.
Reboot the machine. An improper shutdown can leave the display in a glitched state that a clean restart clears.
Swap the HDMI or DisplayPort cable. A damaged or failing cable can create lines, hazy patches, and color artifacts, so testing with a known-good cable rules this out.
Keep the machine cool. Overheating can damage the GPU and connectors over time, so make sure vents and fans are clear.

If reseating, cable swaps, and cooling do not help, the panel or the internal display cable is the likely culprit. On a laptop, a defective screen needs replacement; on a desktop, a faulty graphics card can be swapped to confirm whether the GPU is producing the lines.


Typical repair costs

The price of a fix depends entirely on what is broken. A cable swap is cheap; a panel replacement is not.

RepairApproximate cost
Display cable replacement$20–$50
Laptop screen replacement$100–$300, depending on model

Note: If the laptop is still under warranty, take it to the manufacturer’s service center rather than opening it yourself, since a covered repair may cost nothing.


How to confirm the problem is fixed

You know a software fix worked when the display shows clean, unbroken color after a restart, with no streaks during boot, on the desktop, or in full-screen video. If the lines vanished on an external monitor but return on the built-in panel, the panel is confirmed as the fault.

Hardware lines tend to get worse over time and can progress to complete screen failure, so a panel or cable issue that keeps spreading should be repaired sooner rather than later. When none of the software or reseating steps change anything, a professional diagnosis is the fastest way to pin down whether it is the panel, the internal cable, or the graphics hardware.