Yes, WD-40 is safe to use on electronics. It is used frequently to dry out auto ignition systems as it it non-conductive, displaces water, and lubricates the parts without getting sticky. I also use it to clean up and dry out computers and power supplies
[tmaf_similar_searches keyword=”wd 40 safe on electric motors”]