iMac Screen Lines: Causes & Fixes
In this article
If you see horizontal or vertical lines on your iMac screen, it usually points to a hardware issue with the display, the display cable, or the graphics processor—though a software glitch is sometimes the culprit. Start by restarting your iMac and checking for macOS updates, then move through the hardware checks below to isolate the cause.
What the Lines Look Like and What They Mean
The appearance of the lines gives the first clue about the source:
- Thin, flickering vertical lines that appear shortly after boot often indicate a failing GPU or a loose display cable.
- Horizontal lines that persist across the whole screen are more commonly associated with a damaged LCD panel or a faulty display connection.
- Lines that appear only during startup or in Safe Mode may point to a software or driver issue rather than hardware.
- Colored or rainbow-like lines (green, pink, or white) frequently signal a graphics processor problem, especially on older iMac models.
If the lines are static and do not move, the display panel itself is likely damaged. If they flicker or change with screen content, the GPU or cable is the more probable cause.
First Steps: Software Checks and Safe Mode
Before opening your iMac, rule out software issues:
- Restart your iMac normally. A temporary graphics driver hiccup can cause lines that disappear after a reboot.
- Update macOS to the latest version via System Settings → General → Software Update. Apple regularly fixes GPU-related bugs.
- Boot into Safe Mode by shutting down, then pressing and holding the power button until you see “Loading Safe Mode.” In Safe Mode, macOS loads only essential drivers. If the lines vanish, the cause is likely a third-party app, a graphics driver extension, or a corrupted system cache.
- If Safe Mode clears the lines, restart normally. If they return, try resetting the NVRAM (on Intel iMacs) by restarting and holding Option+Command+P+R for 20 seconds. On Apple silicon iMacs, this reset happens automatically during startup.
If the lines persist in Safe Mode, the problem is almost certainly hardware.
Hardware Causes: Display Cable, GPU, and Panel
Three hardware components are responsible for the vast majority of iMac screen lines:
- Display cable – A loose, pinched, or corroded cable between the logic board and the LCD panel. This is the most common cause on iMacs that have been opened or moved. Reseating the cable often fixes it.
- Graphics processor (GPU) – A failing GPU produces artifacts like lines, glitches, and random colored pixels. This is more common on older iMac models with discrete GPUs (e.g., 2011–2013 models). Overheating or age can cause the GPU to fail.
- LCD panel – Physical damage (from pressure or a drop) or a manufacturing defect can cause permanent lines. If the lines are uniform and do not change, the panel itself is likely faulty.
To diagnose, you can connect an external monitor to your iMac (using the appropriate port or adapter). If the external display shows a clean image, the iMac’s internal display or its cable is the issue. If the external monitor also shows lines, the GPU or logic board is failing.
How to Fix It: DIY vs. Professional Repair
Fixing screen lines depends on the cause and your comfort level with hardware:
- Reseat the display cable – If you are comfortable opening your iMac, you can reseat the cable. iMacs use adhesive around the display, so you will need a suction cup, plastic spudgers, and a Torx screwdriver. This is risky and can damage the display if done incorrectly.
- Replace the LCD panel – If the panel is damaged, you must replace the entire LCD assembly. This is expensive and requires precision. It is usually not cost-effective on older iMacs.
- GPU repair or replacement – On iMacs with a removable GPU (some 27-inch models), a technician can replace it. On models with soldered GPUs, the entire logic board may need replacement.
- Professional repair – Apple or an authorized service provider can diagnose and fix the issue. This is the safest option, especially if your iMac is under warranty or AppleCare.
DIY repair is only recommended if you have experience with electronics and are willing to accept the risk of further damage.
Costs and Warranty Considerations
Repair costs vary widely:
- Display cable reseat – If you do it yourself, the cost is just the tools (about $20–$50). A professional might charge $100–$200 for labor.
- LCD panel replacement – Parts alone can cost $300–$600 for a 21.5-inch iMac and $500–$800 for a 27-inch model. With labor, expect $500–$1,000.
- GPU replacement – $200–$500 for parts, plus labor, depending on the model.
- Logic board replacement – Often $600–$1,200 or more.
If your iMac is covered by AppleCare+, display repairs may be included (subject to a service fee). Check your coverage at checkcoverage.apple.com. For out-of-warranty iMacs, a professional repair may not be worth it if the machine is old; consider replacement.
Prevention and Long-Term Care
While you cannot prevent a random hardware failure, you can reduce risks:
- Avoid moving the iMac while it is running; shut it down and unplug it first.
- Keep the vent area clear to prevent overheating, which stresses the GPU.
- Clean the screen with a soft, dry microfiber cloth. Never spray liquid directly on the screen.
- If you transport the iMac, use the original packaging or a padded case.
Also, always back up your data (Time Machine or cloud) so that if a repair requires a logic board replacement, you do not lose files.
When to Replace Instead of Repair
If your iMac is more than 5–6 years old and the repair cost exceeds half the value of a comparable new model, replacement is often smarter. For example, a 2015 iMac with a failing GPU might cost $600 to fix, but a new base-model iMac is around $1,299. If the rest of the machine is slow or outdated, put that money toward a new one. Conversely, if your iMac is relatively new and under warranty, repair is the obvious choice.
Frequently Asked Questions
Can a software update fix screen lines on an iMac?
Sometimes, yes. If the lines are caused by a graphics driver bug or a corrupted system file, updating macOS or reinstalling the OS can resolve them. Try Safe Mode first—if the lines disappear there, software is the likely culprit.
Why do lines appear only after my iMac warms up?
This is a classic symptom of a failing GPU. As the chip heats up, solder joints or internal connections can expand and break contact, causing artifacts. This typically worsens over time and eventually leads to a complete failure.
Is it safe to keep using my iMac with lines on the screen?
It is safe for you, but the underlying issue may worsen. If the GPU is failing, you could experience sudden crashes or freezes. Back up your data immediately and plan a repair.
Can I replace the screen on my iMac myself?
It is possible, but difficult. The display is glued to the frame, and you must carefully separate it without cracking the glass. You also need to disconnect delicate cables. Many users end up causing more damage. Unless you have experience, professional repair is recommended.
Do screen lines always mean the display is broken?
No. The display is only one of three possible causes. The cable and GPU are equally likely. Testing with an external monitor helps narrow it down before you spend money on a new panel.