How to Fix Horizontal and Vertical Lines on a Laptop Display
In this article
Horizontal or vertical lines on a laptop screen are usually caused by a loose display cable, a failing panel, or a software/driver glitch. The fastest way to narrow it down is to connect the laptop to an external monitor: if the lines appear there too, the problem is software or the GPU; if the external screen is clean, the issue is inside the laptop's display assembly. This guide walks through safe, practical steps to diagnose and fix the problem, from simple restarts to checking the cable and panel.
What You'll Need
- An external monitor or TV with the correct cable (HDMI, DisplayPort, USB-C, or VGA) to test the laptop's video output.
- A can of compressed air and a soft, lint-free cloth for cleaning.
- A precision screwdriver set (Phillips #0 or #00) if you plan to check the display cable.
- Your laptop model's service manual or a teardown guide (optional but helpful for cable access).
- A backup of important files, in case a driver rollback or system restore is needed.
Step-by-Step
- Rule out software with an external monitor. Connect the laptop to an external display using the appropriate cable. If the external screen shows a clean image, the laptop's graphics hardware and drivers are fine and the fault lies in the built-in display, its cable, or the connection. If lines appear on both screens, skip to step 6 for software fixes.
- Restart the laptop. A simple reboot clears temporary graphics glitches. If the lines disappear during the boot logo but return in Windows, the issue is likely driver-related.
- Check the display cable connection (if comfortable opening the laptop). Power off and unplug the laptop, remove the battery if it is removable, then open the bottom case or the hinge cover to access the display cable. The cable usually runs from the motherboard to the back of the screen. Gently reseat both ends: lift the locking tab, pull the connector straight out, clean the contacts with compressed air, and push it back firmly until it clicks. Reassemble and test. If you are not confident doing this, have a technician do it.
- Adjust the screen angle. Slowly open and close the lid while watching the lines. If they flicker or change with movement, the cable is likely loose or damaged, or the hinge is pinching it. This confirms a hardware issue.
- Test with a different refresh rate or resolution. Right-click the desktop, choose Display settings, then Advanced display settings. Try a lower refresh rate or a different resolution. If the lines vanish, the panel or cable may be marginal at higher bandwidth. This is a workaround, not a permanent fix.
- Update or roll back the graphics driver. Open Device Manager (right-click the Start button and choose Device Manager), expand Display adapters, right-click your GPU, and select Update driver. If the lines started after a recent update, choose Properties > Driver > Roll Back Driver. You can also download the latest driver directly from your laptop manufacturer's support site or the GPU maker's site.
- Run a hardware diagnostic. Most laptop brands include a built-in diagnostic tool accessible at boot (often by pressing F2, F12, or Esc during startup). Run the display test. If the tool reports a panel or cable error, you have a confirmed hardware fault.
- Check for physical damage. Inspect the screen for cracks, pressure marks, or discoloration. A cracked panel or a damaged cable cannot be fixed with software; the display assembly or cable must be replaced. Contact the manufacturer or a reputable repair shop for a quote.
- Try a system restore or reset (last resort). If software is suspected and other steps failed, use System Restore to roll back to a point before the problem appeared. As a final option, back up your files and reset Windows (Settings > System > Recovery > Reset this PC). This removes apps and settings, so back up first.
Common Mistakes
- Assuming it's always a hardware failure. Many line issues are fixed by a driver update or a simple restart. Always test with an external monitor first.
- Pressing on the screen or bezel. Applying pressure can worsen a cracked panel or damage the LCD. Avoid prodding the display.
- Forgetting to disconnect power and battery. Before opening the laptop, always unplug the charger and remove the battery if possible. Static electricity can damage components.
- Using generic drivers. Download drivers from your laptop manufacturer's support page for your exact model, not from third-party driver sites.
- Ignoring the warranty. Opening the laptop may void your warranty. Check the terms before you start.
Tips
- Keep the laptop away from extreme heat and direct sunlight; high temperatures can stress the display panel and cable.
- When cleaning the screen, use a soft, slightly damp microfiber cloth. Never spray liquid directly on the display.
- If you frequently move the laptop, open and close the lid gently to avoid straining the display cable.
- Note when the lines appear (at boot, after login, only on battery) to help narrow down the cause.
- If the laptop is under warranty, contact the manufacturer before attempting any internal checks.
Troubleshooting
If the lines persist after trying the steps above, consider these scenarios:
- Lines appear only on the external monitor: The problem is likely the graphics card or its driver. Try updating the driver, testing with a different cable, or using a different port. If the issue continues, the GPU may be failing.
- Lines appear only on the laptop screen and change with lid angle: The display cable is loose or damaged. Reseating may help temporarily, but a replacement cable is often needed.
- Lines are fixed and do not change: This often indicates a failing panel. A hardware diagnostic will confirm. Replacement is usually the only fix.
- Lines appear after a Windows update: Roll back the graphics driver or use System Restore. If that fails, check for a newer driver from the manufacturer.
- Nothing works: Seek professional repair. Do not attempt to replace the panel yourself unless you have experience; it is easy to damage the fragile connectors.
Frequently Asked Questions
Can I fix lines on my laptop screen without opening it?
Yes, if the cause is software. Try restarting, updating or rolling back the graphics driver, and testing with an external monitor. If the lines persist only on the laptop screen, a hardware issue is likely and may require opening the laptop or professional repair.
Why do lines appear only when I move the laptop lid?
This usually means the display cable is loose, pinched, or damaged. Reseating the cable may help, but if the cable is worn, it should be replaced.
Can a virus cause horizontal or vertical lines on a laptop screen?
It is very unlikely. Lines are almost always caused by hardware or driver issues. Run a malware scan if you suspect other symptoms, but do not expect it to fix the lines.
Will reinstalling Windows fix the lines?
Only if the cause is a software conflict or corrupted driver. A clean install is a last resort and will not fix hardware faults. Back up your data before reinstalling.
How can I tell if the LCD panel or the cable is faulty?
If the lines change when you move the lid, the cable is suspect. If they are constant and appear in the same place regardless of movement, the panel is more likely at fault. A hardware diagnostic can confirm.
Is it safe to use a laptop with lines on the screen?
It is generally safe, but the lines may worsen over time. If they are caused by a failing component, further damage could occur. Have it checked by a professional if the issue persists.