No, solar panels do not attract lightning. Lightning is a powerful force of nature and will strike the highest point in an area, regardless of whether it is a solar panel or not. Solar panels are in fact designed to be able to withstand lightning strikes, and they are made with a non-conductive material that is designed to help protect them from any potential damage.