The most common reasons your MacBook stops charging

A MacBook that won't charge usually has one of five fixable problems: a damaged charging cable, a dirty charging port, a software issue that's preventing the battery from accepting power, a faulty power adapter, or — rarely — a battery that has failed. Most of the time, the cable is the culprit. Apple's charging cables fray and stop conducting power reliably after a year or two of daily use, especially near the connector ends where the cable bends.

Before you assume the worst, check whether your Mac is actually receiving power at all. Look at the charging light on the cable connector — it should glow amber when plugged in and the Mac is off or sleeping, and green when the battery is full. If there's no light, the power isn't reaching your Mac. If the light is on but the battery percentage isn't rising after 30 minutes, you have a different problem.

Key Takeaways

  • The charging cable is the most common failure point — look for visible fraying, kinks, or damage near the connectors before testing anything else.
  • A dirty charging port can prevent the connector from making full contact; use a dry cotton swab or soft brush to clear lint and debris.
  • Restarting your Mac with a full shutdown (not sleep) can clear software glitches that block charging, and takes only a few minutes.
  • If the charging light is off, test with a different cable or adapter if you have access to one, because either part can fail independently.
  • Battery replacements and logic board repairs require a visit to an Apple Store or authorized technician, but most charging problems resolve at home.

Inspect the cable and connector for visible damage

Start by looking at the entire length of your charging cable, especially the areas where it connects to the power adapter and to your Mac. Fraying, kinks, cracks in the rubber coating, or exposed wires mean the cable needs to be replaced — it's unsafe to keep using it. Even small damage can interrupt power flow.

Next, look at the connector that plugs into your Mac. If it's bent, corroded, or discolored, that's a sign the cable has failed. The connector should be smooth and shiny. If it looks dark or has white or green buildup, corrosion is preventing contact. A damaged cable cannot be repaired and must be replaced with a genuine Apple charging cable or a certified third-party equivalent.

Clean the charging port on your Mac

Your Mac's charging port collects lint, dust, and debris over months of use. When the port is dirty, the connector can't make full contact with the pins inside, and charging either fails or works intermittently. This is especially common if you use your Mac on a bed, couch, or near a desk with fabric.

Power off your Mac completely — don't just close the lid. Unplug the charging cable. Take a dry cotton swab or a soft-bristled brush (a clean toothbrush works) and gently brush inside the charging port. You should see lint come out. Do this for 10 to 15 seconds, then plug the cable back in and power on your Mac. If the charging light comes on, the port was the problem.

Do not use water, compressed air, or metal objects inside the port. Water can damage the internal components, compressed air can force debris deeper into the port, and metal can short the pins.

Force a full restart to clear software blocks

Sometimes macOS prevents charging because of a software glitch — the system thinks the battery is in a state where charging would damage it, even though it won't. A full shutdown and restart clears this state and usually restores charging within minutes.

Click the Apple menu in the top left, then click Shut Down. Wait for your Mac to turn off completely — the screen should go black and stay black for a few seconds. Then wait 30 seconds before pressing the power button to turn it back on. Once it's booted, plug in the charging cable and check whether the charging light appears.

If you have a newer Mac with Apple silicon (M1, M2, M3, or later), you can also try a force restart: press and hold the power button for 10 seconds until the screen goes black, wait a few seconds, then press the power button again to turn it back on. This is faster than a full shutdown and often fixes the same issue.

Test with a different cable or adapter if you have one

If the charging light is still off after cleaning the port and restarting, the problem is either the cable or the power adapter. The only way to know which one is to test with a different cable or adapter. If you have a friend with the same Mac model, borrow their charger and try it. If your Mac charges with the borrowed cable, your original cable has failed. If it still won't charge, the adapter is the problem.

If you don't have access to another charger, you can buy a replacement cable or adapter separately — you don't need to buy both. Apple sells individual cables and adapters, and they're also available from other retailers. Make sure the wattage matches your Mac model; using a lower-wattage adapter will charge very slowly or not at all.

What to do if nothing at home fixes it

If you've cleaned the port, restarted your Mac, and tested with a different cable or adapter and charging still doesn't work, the problem is inside your Mac — either the battery has failed or the charging circuit on the logic board is damaged. These repairs require opening your Mac and are not safe to attempt at home.

Visit an Apple Store or an authorized Apple service provider. Bring your Mac and your original charging cable. Tell them what you've already tried — this saves them troubleshooting time and usually speeds up the repair. Battery replacements typically take one to three days. Logic board repairs take longer and cost more, but Apple can tell you the exact cost and timeline once they've diagnosed the problem.

Frequently Asked Questions

Why does my Mac charge sometimes but not other times?

Intermittent charging almost always means the cable is damaged or the port is dirty. Try cleaning the port first — if that doesn't fix it, the cable is likely fraying inside the rubber coating where you can't see it. Replace the cable and the problem should stop.

Is it safe to use my Mac while it's charging?

Yes, it's completely safe. Your Mac is designed to charge while you work. The only time you should stop using it is if the cable is visibly damaged — in that case, stop using it when ready and replace the cable.

How long should it take for my Mac to charge from empty to full?

A full charge usually takes two to four hours depending on your Mac model and what you're doing while it charges. If it's taking much longer than that, you may be using a lower-wattage adapter than your Mac needs, or the battery is failing.

Can I use a third-party charging cable instead of an Apple cable?

Yes, as long as it's certified for your Mac model and has the correct connector type and wattage. Look for cables that say they're MagSafe-compatible (for newer Macs) or USB-C compatible (for older models). Uncertified cables can damage your Mac's battery or charging port.

What does it mean if the charging light is green instead of amber?

Green means your battery is fully charged. Amber means it's charging. If the light stays green and your battery percentage isn't at 100%, unplug the cable and plug it back in. If it goes back to amber, the battery was actually full and the display just hadn't updated yet.