Leaving your computer plugged in constantly does shorten battery lifespan, but the damage is gradual and manageable

When your laptop stays plugged in for hours or days at a time, the battery keeps charging to 100 percent and holding that charge while the device runs. This constant state of full charge generates heat and chemical stress inside the battery cells. Modern lithium-ion batteries — the kind in almost every laptop and phone — degrade faster when they sit at high charge levels for long periods. The battery doesn't fail suddenly; instead, it loses the ability to hold a full charge over months and years.

The real culprit is not plugging in itself, but staying at 100 percent. A battery charged to 80 percent and kept there degrades much more slowly than one held at 100 percent. Heat makes this worse. A plugged-in laptop running warm software while fully charged ages the battery faster than a plugged-in laptop that stays cool.

You will notice this as reduced battery runtime. A laptop that once ran for eight hours on a charge might run for six hours after a year of constant plugging in, then four hours after two years. The battery does not suddenly stop working — it gradually loses capacity.

Key Takeaways

  • Lithium-ion batteries degrade faster when held at 100 percent charge, especially when warm, so constant plugging in shortens the battery's useful life.
  • The damage is gradual: you will notice reduced runtime over months, not sudden failure.
  • Unplugging when fully charged, or using battery charge limit settings if your laptop has them, slows degradation significantly.
  • Heat and full charge together cause the most damage, so keeping your laptop cool while plugged in matters as much as the charging itself.
  • Replacing a worn battery is cheaper than replacing the whole laptop, and most modern batteries are designed to be swapped out.

How battery degradation actually happens

Lithium-ion batteries work by moving lithium ions back and forth between two terminals inside the cell. Each charge cycle — from empty to full and back to empty — causes tiny structural damage to the materials inside. But the damage from sitting at full charge is different and happens even when the battery is not being used.

When a battery stays at 100 percent, the ions are pushed to their maximum positions inside the cell. This creates chemical stress. The longer they stay there, the more the cell's internal structure breaks down. Heat accelerates this process dramatically. A battery at 100 percent and 40°C (104°F) degrades roughly twice as fast as one at 100 percent and 20°C (68°F).

A plugged-in laptop running video editing software or gaming generates heat from the processor and graphics card. That heat warms the battery, which sits inside the case nearby. The combination of full charge plus heat is what causes the most damage. A plugged-in laptop that is idle and cool degrades more slowly, but still faster than one that is unplugged or kept below 100 percent.

What happens if you leave it plugged in for days or weeks

Leaving your laptop plugged in continuously for a week or two will not cause permanent damage. The battery will degrade, but the effect is small compared to the total lifespan. The real cost comes from the pattern: if you plug in every day and leave it plugged in for eight hours or more, that adds up over months.

Some laptops have built-in protections. When the battery reaches 100 percent, the charger stops sending current and the laptop runs directly from wall power. The battery sits idle at full charge. Other laptops keep trickling small amounts of current into the battery to maintain 100 percent, which creates continuous low-level stress. Check your laptop's manual or manufacturer website to see which type you have.

If you travel and need to charge overnight before a flight, that single night of charging will not noticeably shorten your battery's life. The damage from occasional full-charge storage is negligible. The problem is the routine: plugging in every evening and leaving it plugged in all night, every night, for years.

Using charge limit settings to reduce damage

Many newer laptops let you set a maximum charge level in the system settings. Dell, Lenovo, HP, and Apple all offer this feature, though the name and location differ by brand. On a Dell, it might be called "Battery Charge Health" in the power settings. On a Lenovo ThinkPad, it is "Battery Conservation Mode." On a MacBook, it is "Optimized Battery Charging" in System Settings under Battery.

When you enable this feature and set the limit to 80 percent, the laptop stops charging once it reaches 80 percent, even if it stays plugged in. The battery never experiences the stress of sitting at 100 percent. This can extend battery lifespan by a year or more, depending on how much you use the laptop.

The trade-off is runtime. If you set the limit to 80 percent and unplug, you get 80 percent of your normal battery life instead of 100 percent. For someone who works at a desk all day and rarely unplugs, this is not a problem. For someone who travels and needs every minute of battery time, it might be worth accepting faster degradation.

Check your laptop manufacturer's support page to find the exact steps for your model. The feature is usually free and built into the system; you do not need to install anything.

The difference between plugged-in and unplugged use

When you unplug your laptop and run it on battery, the battery discharges from 100 percent down to whatever level you stop using it at. This is a normal charge cycle, and it is what the battery is designed for. Cycling the battery — charging and discharging — does cause some degradation, but it is the normal wear the battery expects.

The problem with constant plugging in is that it skips the discharge part. The battery stays at high charge levels without the natural cycling that keeps the chemistry balanced. Over time, this imbalance reduces the battery's capacity more than normal cycling would.

For maximum battery lifespan, the ideal pattern is: use the laptop on battery until it reaches 20 to 30 percent, then plug in and charge to 80 percent, then unplug and use again. This keeps the battery in the middle of its charge range most of the time, where degradation is slowest. But this is not practical for most people. A more realistic approach is to unplug when fully charged, or use the charge limit feature if your laptop has it.

When heat makes plugging in worse

A laptop sitting on a desk, plugged in, with the screen on and the processor idle generates very little heat. The battery degrades, but slowly. The same laptop running a video call, editing photos, or rendering video generates significant heat. The processor and graphics card draw power and release heat. That heat spreads through the case to the battery.

If you plug in your laptop and when ready start intensive work, you are combining two stresses: full charge and high heat. This is the worst scenario for battery lifespan. If you must do intensive work while plugged in, try to let the battery discharge to 50 percent first, then plug in and work. Or use the charge limit feature to keep the battery at 80 percent or lower.

Keeping your laptop cool also helps. Make sure the vents are not blocked by blankets, pillows, or your lap. Use a laptop stand that lifts the device off the desk and allows air to flow underneath. If your laptop has a cooling pad option, that can help too. These steps reduce heat, which slows battery degradation even if you stay plugged in.

How to know when your battery needs replacing

Most laptop batteries last two to four years of regular use before they noticeably lose capacity. If you leave your laptop plugged in constantly, you might see reduced runtime after one to two years. If you follow the practices above, you might get four to five years.

You can check your battery's current health on Windows by opening Command Prompt as administrator and typing powercfg /batteryreport. This generates an HTML file showing the battery's design capacity versus its current capacity. If the current capacity is 80 percent of the design capacity or higher, the battery is still healthy. Below 80 percent, you are losing noticeable runtime.

On a Mac, hold Option and click the battery icon in the menu bar. Look for the "Condition" line. If it says "Normal," the battery is fine. If it says "Replace Soon" or "Replace Now," the battery has degraded enough that you should plan a replacement.

Replacing a laptop battery costs between $50 and $200 depending on the model, and most modern laptops are designed so you can have it done at a repair shop or do it yourself with a screwdriver. It is much cheaper than replacing the whole laptop.

Frequently Asked Questions

Is it bad to leave a laptop plugged in overnight?

Occasional overnight charging will not harm the battery. The damage comes from the pattern: if you do this every night for years, the battery will degrade faster than if you unplugged it after reaching 100 percent. If you plug in overnight once a week, the effect is minimal.

Does my laptop stop charging at 100 percent automatically?

Most modern laptops do stop sending current once they reach 100 percent, but they may trickle charge to maintain that level. Check your manufacturer's documentation to be sure. If you want to avoid 100 percent entirely, use the charge limit feature if your laptop has one.

Will my battery explode if I leave it plugged in too long?

No. Modern batteries have safety circuits that prevent overcharging and overheating. The worst that happens is gradual capacity loss over months or years. You will notice reduced runtime, not a sudden failure or safety hazard.

Does it matter if I use my laptop while it is plugged in?

It matters if you are doing intensive work that generates heat. Light use like browsing or email while plugged in causes minimal extra damage. Heavy use like video editing or gaming while plugged in and fully charged speeds up degradation because of the heat.

Can I fix a degraded battery by fully discharging it?

No. Once a lithium-ion battery has lost capacity, discharging it will not restore it. The chemical damage is permanent. The only fix is replacement.