Magnets can damage a Macbook. This is because the data on your computer's hard disk can be erased due to the magnetization of a nearby magnet. If this happens, your data may get corrupted and require restoration from a backup.