What is that cylinder on cables?

There’s always that pesky cylinder thing on every cable I have.

The pesky cylinder thing.

What is it?

And more importantly, why don’t Apple’s products have them?

Solution:

As others have pointed out this is a ferrite core used to reduce the electromagnetic interference produced by the cable.

The European Union updated the EMC (electromagnetic compatibility) directive in 2004:

 

The purpose of electromagnetic compatibility (EMC) is to keep [electromagnetic interference] under reasonable control. EMC designates all the existing and future techniques and technologies for reducing disturbance and enhancing immunity.

To market an electronics product in the EU you have to comply with the EMC directive. I’m not an electrical engineer, but I would assume that slapping ferrite cores on your cables will help you comply with the directive using a “better safe than sorry” approach. Years back when these ferrite cores started appearing they were often delivered separately and you would have to fit them on the cables yourself as instructed. This was a strong indication to me that the ferrite cores was a market specific thing.

Perhaps Apple has done a proper EMC analysis and determined that the their equipment is in compliance even without ferrite cores? Or maybe you only get cables without the ferrite core for markets outside the EU?

Late addition – Wikipedia link on Ferrite Beads