Apple has determined that, in a limited number of older generation 15-inch MacBook Pro units, the battery may overheat and pose a fire safety risk. Affected units were sold primarily between September 2015 and February 2017 and product eligibility is determined by the product serial number.
Customer safety is always Apple's top priority, and they have voluntarily decided to replace affected batteries, free of charge.
First check to see which 15-inch MacBook Pro you have. Choose About This Mac from the Apple menu () in the upper-left corner of your screen. Confirm your model is "MacBook Pro (Retina, 15-inch, Mid 2015)." If you have that model, enter your computer's serial number in this form to see if it is eligible for this program.
If your MacBook Pro is eligible, please back up your data, stop using it and bring it in to have your battery replaced. Your device will be sent to an Apple Repair Center for service. Your MacBook Pro will be examined prior to any service to verify that it is eligible for this program. Service may take 2-3 weeks.