For years the advice was strict: unplug your phone when it hits 100%, never leave it charging overnight, let it run down before you charge it again. Most of that came from older battery types and older chargers. Modern phones handle overnight charging far better than the advice suggests, but there is still a small cost, and it comes from two things you can control.
Your phone does not keep pushing power in
Every smartphone has a battery management system that controls charging. Charging is fast at first, slows down as the battery fills, and stops when it reaches full. After that, the phone runs mostly from the charger and lets the battery dip slightly before topping it up again. There is no overcharging in the old sense, where current keeps flowing into a full battery.

That is also why overnight charging is not a fire risk in itself with a decent charger and cable. Problems with heat and fire are linked mostly to damaged batteries and cheap, uncertified chargers, not to how long a phone stays plugged in.
What actually wears a battery
Lithium-ion batteries age a little every day whatever you do. Two things speed that up. The first is being held at a high state of charge: a battery sitting at 100% for hours is under more stress than one sitting at 50% or 80%. The second is heat. Apple says its devices work best between 32°F and 95°F (0°C to 35°C) and that charging in higher temperatures can permanently reduce battery capacity.
A phone charging overnight without any protection can easily spend six hours or more at 100%. Do that every night for two years and the battery will usually hold noticeably less than if it had spent those hours at 80%. It is not dramatic, but it is real.


The settings that solve it
Phone makers know people charge overnight, so they built features around it. On iPhone, Optimized Battery Charging learns your routine and holds the charge at about 80% until shortly before you usually unplug. iPhone 15 and later models also let you set a hard charging limit between 80% and 100% in 5% steps. On Google Pixel phones, Adaptive Charging does the same kind of scheduling, and newer models can limit charging to 80%. Samsung Galaxy phones offer battery protection modes that can cap charging at a set level, such as 85%, or adapt to your sleep schedule.
These features need a few days to learn your habits. If your alarm time changes a lot, a fixed 80% or 85% limit is more predictable than adaptive charging, which may otherwise stop at 80% and stay there.
Heat is the bigger enemy
Where the phone sits matters more than how long it is plugged in. Charging under a pillow or blanket traps heat. So does a thick case, a sunny windowsill or a hot car. Wireless chargers also tend to run warmer than cables, especially if the phone is slightly misaligned on the pad. Using the phone for gaming or video while it charges adds heat too.
A simple rule: charge on a hard, open surface in a room that feels comfortable to you. If the phone feels hot to the touch while charging, take it out of its case or move it.
What about tablets, laptops and earbuds?
The same chemistry applies to almost every rechargeable gadget, so the same habits help. Many laptops now include a battery health or charge-limit setting that holds the battery near 80% when it stays plugged in at a desk all day, which is exactly the situation that wears a laptop battery fastest. MacBooks use a similar optimized charging feature to the iPhone.
Wireless earbuds and smartwatches charge in small cases and docks that also stop at full. Their batteries are tiny, so heat is again the main thing to avoid: do not leave the charging case on a sunny dashboard or a radiator. For devices you store for months, like a spare tablet, aim to leave them around half charged rather than full or empty, and top them up every few months.

How long a battery lasts anyway
Batteries are consumable parts. Apple designs iPhone batteries to keep 80% of their original capacity after a set number of full charge cycles, 1,000 cycles for iPhone 15 models and later according to Apple, and 500 for many earlier models. Most people reach that point somewhere between two and four years. Good overnight habits push that date further out rather than preventing it.
You can check battery health on iPhone under Settings, Battery, and on many Android phones in the battery or device care settings. When capacity drops low enough that the phone does not last the day, a battery replacement costs far less than a new phone.
The bottom line
Charging overnight is fine. Turn on your phone's optimized or limited charging, keep it cool and uncovered, and use a reputable charger. If you only top up during the day and never charge overnight, that is fine too. The battery cares about heat and long hours at 100%, not about the clock.



