It's best to clean your AirPods regularly. Over time, earwax, dirt and oil can get stuck in and around parts of your investment.
Apple suggests cleaning your AirPods by doing the following:
Don’t run AirPods or AirPods Pro under water.
Use a soft, dry, lint-free cloth.
If your AirPods or AirPods Pro are exposed to anything that might cause stains or other damage—for example, soaps, shampoos, conditioners, lotions, perfumes, solvents, detergent, acids or acidic foods, insect repellent, sunscreen, oil, or hair dye:
Wipe them clean with a cloth slightly dampened with fresh water and dry with a soft, dry, lint-free cloth.
Allow them to completely dry before placing in the charging case.
Don't attempt to use them until they're completely dry.
Make sure not to get any liquid in the openings.
Clean the microphone and speaker meshes with a dry cotton swab.
Don't use sharp objects or abrasive materials to clean your AirPods or AirPods Pro.
Cleaning the case:
Clean the charging case with a soft, dry, lint-free cloth. If necessary, you can slightly dampen the cloth with isopropyl alcohol. Allow the charging case to dry. Make sure not to get any liquid in the charging ports. Here are a few more guidelines:
Remove any debris from the Lightning connector with a clean, dry, soft-bristled brush.
Don't use abrasive materials to clean the charging case.
To avoid damaging the metal contacts, don't put anything in the charging ports.
Using disinfectant on my AirPods:
Using a 70 percent isopropyl alcohol wipe, 75 percent ethyl alcohol wipe, or Clorox Disinfecting Wipes, you may gently wipe the exterior surfaces of your AirPods, AirPods Pro, AirPods Max, or EarPods. Don’t use on the speaker mesh of your AirPods, AirPods Pro, and EarPods. Don’t use on the knit mesh canopy and ear cushions of your AirPods Max. Don't use products containing bleach or hydrogen peroxide. Avoid getting moisture in any openings, and don’t submerge your AirPods, AirPods Pro, AirPods Max, or EarPods in any cleaning agents.