Recently I've bought I new MacBook Pro 15 inch and after a while I noticed that a thin white line appears on the top of my MacBook Pro's screen as it's show in the pictures below:

Image number 1

Image number 2

Please note that I have installed Windows 10 on my device too (using bootcamp) and this issue does not show up in windows at all.

My macOS version is Sierra.

How can I fix this issue? Does anybody have any idea?

  • I have had similar issues (such as menu bar content not aligning) in Sierra which were all fixed after a reboot. Have you been able to reboot yet? – ProGrammer Dec 19 '17 at 21:50
  • @ProGrammer Yeah when I reboot my mac it disappears but after a while it shows up again. Even sometimes rebooting is affectless. – Naser.Sadeghi Dec 19 '17 at 21:54
  • 1
    Odd, just thought I'd pass that encounter along to see if it helped in any way. Since the problem occurs intermittently, I think we can agree it's a software issue. Are you able to upgrade to the latest macOS High Sierra (10.13.2)? It will most likely have been patched. – ProGrammer Dec 19 '17 at 21:58
  • I upgraded to high sierra but I still have the same problem. – Naser.Sadeghi Dec 20 '17 at 21:43

It can be Kaspersky try to unload it

  • Perhaps you could edit to add a few more details on how exactly one should try unloading Kaspersky (and undoing the unload). – grg Mar 23 '18 at 9:37
  • Yeah it was true,My Kaspersky account was finished and I hadn't purchased a new one. when I quit it that white line disappears. Thanks – Naser.Sadeghi Mar 25 '18 at 14:57

I had a problem vaguely like that that turned out to be in one case an icon and in another case an oddly placed window.

Try this. Open a Finder window and look at the contents of your desktop in list view. Compare that to the icons that show up on the desktop if there is seemingly one or more icons in list view of the Desktop folder that may be the cluprit. Delete it or move it elsewhere.

Close or hide all windows on the desktop. Tap Command w. See if the line disappears.

Quit out of all open applications, ALL of them. Tap Command Tab. Is there anything in the list besides Finder?

Change your desktop background to an Apple supplied picture, and try a solid color (one light, one dark) see if the line vanishes. It might be a part of your desktop background, though that is less likely if it shows up in other apps.

Boot the Mac in safe mode. If the line disappears it is something that you installed that runs automatically and puts that line there. Start removing startup items.

  • I tried them all, but I still have this problem. I even upgraded to high sierra but nothing changed. – Naser.Sadeghi Dec 20 '17 at 21:44
  • I don't believe that it's a hardware issue cause it never shows up in Windows 10 that has been installed using Boot Camp. – Naser.Sadeghi Dec 22 '17 at 10:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .