The PS5 controller has an internal battery, so you need a good cable to get power to it.
Check that the cord works with other devices.
Alternatively, try it with a different PS5 controller if you have one available to you.

Plug the cable into a different USB port.
If the charging cable doesn’t work via your usual USB port, try a different one.
Try using one of the rear ports or even your PC or a USB hub to test it.
If you’ve tried charging via a USB hub, use a dedicated port instead.
Check the port contacts.
Look for anything that could be blocking the connection or damaging it in some way.
Gently brush any lint or dust out of the way.
A can of compressed air can help, providing you use it carefully and appropriately.
Charge your controller on a charging station.
If you own a PS5 charging station, try charging your controller on that instead.
It can be more reliable than a cable, which can be damaged easily.
upgrade your controller firmware.
This message will appear automatically when you boot up the console.
Or, perform an update using your PC or with the PS5 Firmware Update app, pictured above.
verify if the issue is with charging or not.
Does the controller work when plugged in but not wirelessly?
Contact PlayStation customer support.
Sony has a dedicatedPlayStation Hardware & Repairs pagefor these kinds of issues.
Why Is My PS5 Controller Not Charging?
When a PlayStation 5 controller refuses to charge, it’s usually the charging cable that’s the issue.
There are also known issues with the PS5 controller not charging while the console is in rest mode.
Tofix PS5 controller drift, clean the controller the best you might.
fire up the outer casing with a small screwdriver, then wipe it down with rubbing alcohol.
If it still doesn’t work, you will need a replacement.
To fix sticky buttons on a PS5 controller, press the button hard and repeatedly to dislodge it.
Then, clean the buttons using a cotton swap, rubbing alcohol, and compressed air.
Reset the controllerby inserting a straightened paper clip into the small hole on the back.
If it won’t charge, try a different USB cable or replace the battery.