When I connect my MacBook Air's 45 W MagSafe power adapter to my MacBook Pro (which came with a 65 W MagSafe power adapter), and the Pro uses lots of power (such as installing updates and restarting), the power adapter whistles. The whistle is high-pitched, reminiscent of fast wind past a window with a tiny crack in its casing (or very slightly open), and audible from several feet away.

While I know that the power supply is insufficient to power the computer I've connected to and that this is (overall) a Bad Thing To Do, why is the power adapter whistling? What electrical components whistle? Is it liable to explode (because that might be cool)?

  • If it sounds similar to the noise camera flashes make when charging it's probably transistor whine. Most power supplies (particularly switching ones like small phone chargers) make similar noises, although they're far less pronounced. I've no idea if it'll explode or not though. Apr 18, 2012 at 10:06
  • 1
    @MathewHall I forgot transistors whine. You should post that as an answer.
    – Cajunluke
    Apr 18, 2012 at 14:10

1 Answer 1


The MagSafe power adapter, like nearly all power adapters for modern electronic equipment, is a switching (switched-mode) power supply.

Switching power supplies achieve their light weight and small size by using smaller, lighter transformers for voltage conversion, which require high-frequency AC input to operate. This high-frequency input is produced by a separate circuit which rapidly switches the low-frequency input on and off (hence “switching”), and in fact does so controlled by feedback from the DC output side in order to achieve a tightly-regulated DC output. This regulation itself is also something that varies over time as the input and the output load change.

So, there's lots of varying electrical currents, and therefore varying electric and magnetic fields, inside a switching power supply. These fields exert mechanical forces on the components within the power supply, which may cause them to vibrate and therefore produce sound!

In a well-designed power supply, the basic frequencies are chosen to be above the range of human hearing (and the components most subject to vibration may be held down especially firmly). However, for various reasons (waves hands, I don't actually know the details) you may get effects at fractions of those frequencies which you can actually hear.

In your particular case, if the power supply is running overloaded (or at the upper limit of its capability), then that might put some subsystem oscillating at the upper end of audibility, producing the sort of noise you're hearing.

You can often hear noise from cheap power supplies (e.g. USB chargers) when they are unloaded (nothing connected to the output), and hear it shift out of audible range when you connect something.

(Disclaimer: I Am Not An Electrical Engineer; this is just bits and pieces I've picked up. These folks would have the whole story; e.g. this answer which is a bit short on detail. But, I hope I've at least somewhat demystified why apparently solid lumps of electronics can make noise. (If anyone sees a factual error or can explain better, please feel free to edit this answer!))

  • Awesome answer. This fits with what I remember from my EE and CompE classes in college, but I don't remember them covering switched-mode power supplies.
    – Cajunluke
    Apr 26, 2012 at 18:11

You must log in to answer this question.

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