A black line on your MacBook screen is usually caused by hardware issues. It may result from a damaged display panel, loose or faulty internal cable, or pressure on the screen. Sometimes, graphics glitches or software bugs can also cause lines, but this is less common. Restarting can help rule out software problems. If the line remains, it’s best to get the device checked or repaired professionally.