This article will share some useful info about this issue.
If your charger feels a little warm, that’s normal for any phone charger. Your charger converts AC power from the outlet into DC power for your phone, and it naturally produces heat during this process.
To convert AC to DC, the charger uses an electrical component called a transformer. Transformers generate heat because of the constant electrical flow, eddy currents, and other losses, which are just side effects of how they work. Generally, the more current a transformer supplies, the more heat it produces.
Under normal conditions, a phone charger might feel warm to the touch, and that’s okay, it’s working as designed. But if it suddenly gets unusually hot when it wasn’t before, your charger might have a problem.

If your charger gets so hot that it’s uncomfortable to hold or touch, that’s a clear sign something’s wrong. This could be due to an internal fault in the charger or a problem with the connection between the charger and the outlet. High-quality, official chargers usually have protective circuits that automatically cut power if something goes wrong. But these circuits can fail, or you might be using a cheap or counterfeit charger.
If your charger is uncomfortably hot, unplug it and check for any dust or debris on the prongs that plug into the wall. Also, make sure your phone’s charging port is clean, and inspect the USB port on the charger (if it has one) for dust or lint.
After cleaning the ports, try charging again. If it still gets hot, try using a different cable to see if the problem continues.
One common reason chargers overheat is because they’re low-quality or counterfeit parts. These don’t meet safety standards designed to keep you safe.
If you bought a faulty charger, ask for a refund and consider buying a new one directly from your phone’s manufacturer, like Apple or Samsung.