Your xbox controller need regular cleaning to perform well and last longer. Here's the safe way to do it without damaging sensitive components.
Turn off and disconnect the controller. Remove batteries if applicable.
Dampen a microfiber cloth with 70% isopropyl alcohol and wipe the entire controller surface, including the back panels.
Use cotton swabs dipped in isopropyl alcohol to clean around each button, trigger, and joystick base where grime accumulates.
Use a toothpick to gently clear debris from seams and ports. Use compressed air to blow out loosened particles.