How many times can I get my Apple headphones and charger replaced during the warranty period?
There's no set number of accessory replacements under Apple's warranty. Apple, not you, decides whether something is defective, and if it is, they'll replace it as often as needed. Damage from abuse or neglect isn't covered.