Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There appears to be a few small metallic fragments clinging to the magnet around the port where the MagSafe power connecter attaches to my MacBook Air. I can still get the cord to (mostly) seat, enough to charge the computer, but it's not as snug a fit as it used to be. How can I clean my MagSafe port?

share|improve this question
This begs a nice picture to illustrate the demise you find yourself in ;-) – bmike Apr 26 '12 at 19:03
Sadly, the only camera I have with me is my FaceTime camera on said MacBook Air, and I can't contort it to photograph the MagSafe port. – Daniel Apr 26 '12 at 19:20
Maybe with a couple of well-placed mirrors, though... – Daniel Apr 26 '12 at 19:20
up vote 12 down vote accepted

Start with a pencil eraser or small wooden dowel / tool to gently dislodge the debris. As the magnets are very strong, you may need to use tape with a strong adhesive to grab the foreign material. Clear packing tape strikes a good balance between not leaving residue and getting the crud out. Duct tape also is nice, but a bit more sticky and may grab the plastic covering if it is wearing or the adhesive is warm from internal heat.


  1. Power off the mac
  2. Let the connector cool
  3. Be gentle - don't tear the magsafe covering
  4. know you can get it serviced with a new connector if needed for approx $40 in labor and the part might run you between $10 and $40 depending on the model.

And I know Apple recommends a toothbrush and a cotton swab. The first will get off huge easily removed debris, but not staples and highly magnetic items that are small. The latter is actually quite nice in many cases as it will grab items with a sharp edge. Usually when things are gunked up enough to displace the adapter - you'll have many fine pieces accumulated and need tape or stronger tools than a q-tip.

share|improve this answer
Thanks for the tip. I ended up using the adhesive portion of a Post-It Note, and the metallic debris came out fine. The downside is I never got a picture of the trouble. – Daniel Apr 26 '12 at 20:22
I used part of a post-it note as well and that worked surprisingly well. Just folded it on the sticky part and started wiping away all the magnetic debris. – methodMan Jan 24 '13 at 21:17
I wish there were a plastic cover I could put on the port to avoid debris getting in there to begin with when I put my macbook in my backpack. I know I sould probably put the whole macbook in some protective cover but I'm lazy. – Ovesh Mar 13 '15 at 0:49
Hi, I accidentally tore the mag safe covering...What can I do now? – Ruchir Baronia Mar 15 at 23:45
@RuchirBaronia You could have it services or perhaps post a new thread with a picture of what yours looks like. Losing the plastic sleeve on the computer end isn't often a big problem. – bmike Mar 16 at 0:37

From Apple's Support site:

If your MagSafe connectors requires cleaning:

To clean the DC plug on either the computer or the power adapter, disconnect the adapter from the wall outlet and/or remove the battery from the computer. Remove debris gently with a cotton swab or a soft bristle toothbrush, which provide the strength, flexibility, and precision for this task. Be careful not to get any cotton fibers stuck in the pin receptacle. You may use isopropyl alcohol to aid in cleaning the connectors as well. Be sure the connectors are dry before using the computer or adapter after cleaning.

Note: The power adapter port contains a magnet that can erase data on a credit card or other magnetic device if it gets too close. In order to preserve and protect your data, Apple recommends that you keep magnetic media away from the power adapter port.

share|improve this answer

Once I got small pieces of iron stuck in the port - none of the magnets we had were stronger than the one in the port. We couldn't flick them out with a clean paintbrush and the hole was too small to put fingernails in. We ended up getting it out with blue tack!

share|improve this answer

Here's the solution I used to clean out metal fragments in my connector socket: Use Blu-Tack or Sticky Tack! This cleans out the connector socket almost immediately and it took less than a penny's worth of tack! Just roll it around in the connector and it'll work fine :)

share|improve this answer

I used chewing gum to get the metal pieces out. That was the only resource I had at hand at the time, and it worked like magic!

share|improve this answer

I was trying using a bobby-pin, paper clip, small pieces of paper, my nail for about 20-30 minutes, getting very frustrated at this point... finally I thought of tweezers! Got it out first try

share|improve this answer

I just went through this myself - a couple pieces of metal got into my port - toothbrush and pen tip were worthless and only sticky thing I had around were some breath right strips which didn't work = What did work was cutting a 45 degree angle off a Q-tip - I happen to have the type with a hollow blue plastic inside - this allowed me to use the bottom edge to scoop the frags and the hollow plastic kept it from just clinging back on so I could scoop it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.