Your battery may not be charging because of a loose cable, a worn charging port, outdated drivers, or a battery that has reached the end of its life

A laptop that won't charge is usually fixable without a trip to a repair shop. The problem is almost always one of four things: the cable or power adapter is damaged or disconnected, the charging port on your laptop is loose or corroded, the battery management software on your computer needs updating, or the battery itself has worn out after years of use. Start by checking the physical connection, then move to software, and only consider battery replacement if those steps don't work.

The good news is that you can test each cause yourself in about fifteen minutes. The bad news is that some fixes require a replacement part, though most are inexpensive. If you're uncomfortable opening your laptop or if the problem persists after you've tried the steps below, a local computer repair shop can diagnose it for under fifty dollars.

Key Takeaways

  • Check that the power cable is fully plugged into both the wall outlet and your laptop, and look for visible damage to the cable or connector.
  • Inspect the charging port on your laptop for loose connections, bent pins, or corrosion, and gently reseat the connector if it feels loose.
  • Restart your laptop completely, then check Windows Update or macOS Software Update to install any pending battery or chipset drivers.
  • If your laptop is more than three years old and the battery drains quickly even when plugged in, the battery itself may have reached the end of its usable life.
  • A replacement charging cable costs fifteen to forty dollars; a replacement battery costs forty to one hundred fifty dollars depending on your laptop model.

Check the cable and power adapter first

Before you assume anything is wrong with your laptop, verify that the cable is actually delivering power. Unplug the power cable from both the wall outlet and your laptop. Look along the entire length of the cable for cuts, fraying, or crushed sections—these are signs the cable is damaged and needs replacement. Check the connector end that plugs into your laptop for bent pins, corrosion (a greenish or white coating), or loose connections.

Plug the cable back in firmly. You should hear or feel a click when the connector seats properly. If the connection feels loose or wobbly, the port on your laptop may be damaged, or the connector itself may be worn. Try plugging it in at a different angle—sometimes a slightly different position makes contact. If your laptop has a removable power adapter (a brick-shaped device), unplug it from the cable and plug it back in to may support that connection is also tight.

If you see visible damage to the cable, order a replacement from the laptop manufacturer or a reputable third-party seller. Make sure you match the voltage and connector type—this information is printed on the original adapter. If the cable looks fine but still isn't working, move to the next step.

Inspect the charging port for damage or corrosion

The charging port on your laptop can loosen over time, especially if you've plugged and unplugged the cable hundreds of times. It can also corrode if moisture has reached it. Shine a flashlight into the port and look for bent or missing pins, a greenish coating (corrosion), or visible debris. If you see corrosion, do not try to clean it yourself—moisture or metal tools can cause a short circuit. A repair shop can clean it safely.

If the port looks clean but the connector feels loose when you plug it in, the port may have worn out. Some laptops have a locking mechanism on the connector—a small lever or clip that holds it in place. Make sure this is engaged. If the port is straightforward loose and nothing is visibly damaged, a repair shop can tighten or replace it, usually for thirty to eighty dollars depending on your laptop model.

Do not force the connector into the port. If it does not slide in smoothly, stop and have it inspected by a professional. Forcing a misaligned connector can damage the port beyond repair.

Restart your laptop and update battery drivers

Sometimes the problem is not hardware but software. Your laptop's battery management system relies on drivers—small programs that tell your operating system how to communicate with the battery and charger. If these drivers are outdated or corrupted, your laptop may not recognize that the charger is connected.

Shut down your laptop completely (not sleep mode—a full shutdown). Wait ten seconds, then turn it back on. Once it has fully booted, check for system updates. On Windows, open Settings, go to Update & Security, and click Check for Updates. On a Mac, open System Preferences, go to Software Update, and check for updates. Install any updates that appear, especially those labeled as chipset, battery, or power management updates. Restart your laptop again after the updates finish.

After the restart, plug in the power cable and wait two minutes. Check whether your laptop now shows a charging indicator—a light on the power button, a charging icon in the system tray, or a message on the lock screen. If it does, the driver update fixed the problem. If not, move to the next step.

Test whether the battery itself is failing

If the cable, port, and drivers all check out, the battery may have reached the end of its life. Laptop batteries degrade over time and typically last between three and five years of regular use. A battery that is failing will not hold a charge even when plugged in, or it will drain very quickly.

To check your battery's health on Windows, open Command Prompt as an administrator (right-click Command Prompt and select Run as Administrator). Type powercfg /batteryreport and press Enter. This creates a detailed battery report and tells you the file location. Open that HTML file in your web browser. Look for the "Design Capacity" and "Full Charge Capacity" numbers. If the full charge capacity is less than 80 percent of the design capacity, your battery is degraded and should be replaced.

On a Mac, hold Option and click the battery icon in the menu bar. Look for the "Condition" field. If it says anything other than "Normal," the battery needs replacement. If it says "Normal" but your laptop still won't charge, the problem is not the battery itself.

When to replace the battery or charging cable

If your battery report shows significant degradation or if your laptop is more than four years old and won't hold a charge, a replacement battery is the next step. Laptop batteries cost between forty and one hundred fifty dollars depending on your model. You can order one from the manufacturer or from reputable third-party sellers. Some laptops have user-replaceable batteries (usually older models or business-class machines), but many modern laptops require a technician to open the case. If you're not comfortable opening your laptop, a repair shop can install a new battery for fifty to one hundred dollars in labor.

If the cable is damaged, a replacement is inexpensive and straightforward. Order one that matches your laptop's connector type and voltage. Installation takes seconds—just plug it in. Make sure you buy from the manufacturer or a seller with good reviews to avoid counterfeit adapters, which can damage your laptop or create a fire hazard.

When to call a repair professional

If you've checked the cable, inspected the port, updated drivers, and tested the battery, and your laptop still won't charge, the problem is likely inside the laptop—a damaged charging circuit on the motherboard or a loose internal connection. This requires opening the laptop, which risks damaging components if you're not experienced. A local computer repair shop can diagnose this for thirty to sixty dollars and repair it for one hundred to three hundred dollars depending on what's wrong.

Also call a professional if you see corrosion in the charging port, if the port is visibly loose or damaged, or if you're uncomfortable opening your laptop case. Attempting to fix these yourself can make the problem worse.

Frequently Asked Questions

Why does my laptop charge when it's off but not when it's on?

This usually means the battery is failing or the power adapter is not supplying enough current to both power the laptop and charge the battery at the same time. Check your battery health using the steps above. If the battery is degraded, replacement will solve the problem. If the battery is healthy, the power adapter may be undersized for your laptop's power needs, and you may need a higher-wattage adapter.

Is it safe to use my laptop while it's plugged in if the battery won't charge?

Yes, as long as the power adapter is working. Your laptop will run on power from the adapter alone, even if the battery is not charging. However, if the adapter fails or you unplug it, your laptop will shut down when ready with no battery backup. It's safer to have a working battery, so prioritize getting it fixed or replaced.

Can I damage my laptop by leaving it plugged in all the time?

Modern laptops have built-in protection that stops charging once the battery reaches 100 percent, so leaving it plugged in continuously won't overcharge the battery. However, batteries degrade faster when kept at high temperatures or at a full charge for long periods. If you use your laptop plugged in most of the time, occasionally unplugging it and letting the battery drain to 20 percent before recharging can extend its life.

What's the difference between a slow charge and no charge?

A slow charge usually means the power adapter is delivering less current than normal, often because of a loose cable connection or a partially damaged adapter. A no-charge situation means the laptop is not recognizing the charger at all. If your laptop charges very slowly, try the cable and driver steps first. If it charges at all, the hardware is working—it's just not optimal.

Do I need to buy the official battery or cable from the laptop manufacturer?

The official parts are safest, but third-party replacements from reputable sellers work fine and cost less. Avoid extremely cheap cables or batteries from unknown sellers—counterfeit power adapters can overheat and damage your laptop or create a fire hazard. Read reviews and buy from established retailers if you choose a third-party option.