Start with the simplest checks first

When your computer won't charge, the problem is usually not the battery itself—it's almost always the cable, the power adapter, or a loose connection. Before you assume hardware failure, spend five minutes checking three things: whether the cable is fully seated in both the wall outlet and your computer's charging port, whether the outlet itself works (plug a lamp into it), and whether you see any visible damage to the cable or connector.

Many charging problems disappear the moment you unplug the cable, wait 30 seconds, and plug it back in firmly. Push until you hear or feel a click. If your computer has a charging light (usually near the port or on the power adapter itself), watch whether it turns on when you reconnect—that tells you when ready whether power is reaching the adapter.

Key Takeaways

  • Check that the cable is fully inserted into both the wall outlet and your computer's charging port, and test the outlet with another device like a lamp.
  • Inspect the entire cable and connector for visible damage, kinks, or bent pins inside the charging port.
  • If your computer charges in Safe Mode but not in normal operation, a software setting or driver is the problem, not the hardware.
  • Dirt, lint, or corrosion inside the charging port can block the connection—a flashlight and a wooden toothpick can reveal and clear it.
  • If the power adapter itself is warm or the cable is hot to the touch, stop using it and replace it rather than troubleshoot further.

Examine the cable and charging port for physical damage

Look along the entire length of the charging cable for kinks, cuts, or crushed sections. Bend it gently near both ends—the point where the cable enters the adapter and where it enters your computer are the most common failure points. If the outer sheath is cracked or the inner wires are visible, the cable is unsafe and must be replaced.

Next, use a flashlight to look inside your computer's charging port. You are looking for bent or missing pins (if your port has pins), corrosion that looks like green or white buildup, or lint and dust packed inside. If you see debris, use a wooden toothpick or a soft brass brush to gently clear it—never use metal, which can short the port. If pins are bent, they can sometimes be straightened with a wooden toothpick, but this is delicate work and carries risk of breaking them further.

Check the connector on the cable itself too. If it has pins, they should be straight and shiny. If they are dull, discolored, or corroded, the connection will be poor even if the port looks clean. In that case, the cable needs replacement.

Test whether the power adapter is working

The power adapter (the brick that plugs into the wall) can fail without any visible sign. To test it, unplug it from the wall, wait 10 seconds, and plug it back in. If the adapter has a light on it, it should turn on when ready. If it does not, try a different outlet in a different room—sometimes a tripped circuit breaker or a bad outlet is the culprit.

Feel the adapter after it has been plugged in for a minute. It should be warm, not hot. If it is too hot to hold comfortably, unplug it when ready and do not use it again—this is a fire hazard. A failing adapter often produces excessive heat before it stops working entirely.

If you have access to another computer that uses the same charging connector (same size and shape), try charging that computer with your adapter. If it works on the other computer, your adapter is fine and the problem is elsewhere. If it does not work, the adapter itself has failed and needs replacement.

Check your computer's power settings and battery driver

Sometimes your computer is receiving power but refusing to charge the battery because of a software setting. Restart your computer in Safe Mode—this loads only essential drivers and disables most software. If the battery charges in Safe Mode but not in normal operation, a driver or a background program is interfering.

On Windows, open Device Manager (right-click the Start button and select it from the menu). Look for "Batteries" in the list and expand it. If you see a yellow warning triangle next to any item, right-click it and select "Uninstall device." Restart your computer and Windows will reinstall the driver automatically. This often fixes charging problems caused by a corrupted battery driver.

On Mac, restart your computer while holding Command + Option + P + R. This resets the power management settings. If charging begins after this, a power setting was the problem. If it does not, the issue is hardware.

Disconnect peripherals and test with minimal power draw

If your computer is trying to run while charging, it may be drawing more power than the adapter can supply, which prevents the battery from charging. Unplug all external devices—USB drives, external hard drives, monitors, printers, and any other peripherals. Then plug in the charger and let the computer sit idle for 10 minutes without opening any programs.

If the battery begins charging now, one of your peripherals was drawing too much power. Reconnect them one at a time and watch whether charging stops. The device that stops charging is the culprit—you may need to use a powered USB hub instead of plugging it directly into your computer, or you may need to replace it.

If the computer still will not charge even with everything disconnected, the problem is not power draw.

Replace the cable or adapter if nothing else works

If you have confirmed that the outlet works, the port is clean, the adapter produces power, and the battery driver is not corrupted, the cable or adapter is almost certainly failing. Charging cables wear out from repeated bending and unplugging—this is normal and expected. Buy a replacement from the computer manufacturer or from a reputable third-party seller that lists your exact computer model.

When you order a replacement, check the voltage and amperage printed on your current adapter (usually on a label on the adapter itself). The replacement must match these numbers exactly. Using an adapter with the wrong voltage can damage your computer's battery and charging circuit.

If you are still under warranty, contact the manufacturer before buying a replacement—they may send you one at no cost.

When to stop troubleshooting and seek repair

If the battery will not charge even with a new cable and adapter, the charging circuit inside your computer has likely failed. This is a hardware repair that requires opening the computer, and it is not something to troubleshoot further on your own. Contact the manufacturer's support line or a local repair shop with a good reputation.

Similarly, if the charging port itself is physically damaged—cracked, loose, or missing pieces—it will need to be replaced by a technician. Attempting to solder or glue a damaged port usually causes more damage and makes repair more expensive.

Frequently Asked Questions

Why does my computer charge sometimes but not other times?

This almost always means the cable connection is loose or the port is partially blocked by dirt. Try wiggling the cable gently while it is plugged in—if charging starts and stops as you move it, the connection is intermittent. Clean the port with a wooden toothpick and try a different angle when you plug in the cable. If this does not fix it, the port or cable is failing and needs replacement.

Is it safe to use my computer while it is charging?

Yes, as long as the adapter is not overheating. If the adapter is warm to the touch, that is normal. If it is too hot to hold, unplug it and let it cool before using it again. Avoid covering the adapter with blankets or placing it in an enclosed space while it is plugged in.

Can I use a different brand's charger if the connector fits?

Only if the voltage and amperage match exactly. Check the label on both adapters. Using an adapter with higher voltage can damage your battery and charging circuit. Using one with lower amperage will charge very slowly or not at all. When in doubt, use only the adapter made for your computer model.

What does it mean if the charging light is on but the battery percentage is not increasing?

The light means power is reaching the adapter, but the battery may not be charging because the computer is drawing all the power for its own operation. Shut down the computer completely and let it charge for at least an hour without turning it on. If the battery percentage increases when you turn it back on, this was the problem. If it does not increase, the battery itself may be failing.

How long should charging take?

Most laptop batteries take two to four hours to charge fully from empty, depending on the battery size and adapter wattage. If charging is much slower than this, the adapter may be underpowered or the battery may be failing. If it takes longer than six hours, something is wrong and you should stop and troubleshoot.