The company is offering to replace all the faulty batteries for free.
The devices with the issue are the 13-inch MacBook Pro, the non-touchbar version, that were manufactured between October 2016 and October 2017.
Apple said in a statement: "If your 13-inch MacBook Pro (non Touch Bar) has an eligible serial number, Apple will replace the battery, free of charge."
Anyone who has purchased a 13-inch MacBook Pro since the autumn of 2016 should go to Apple's webpage devoted to replacing the faulty computers at www.apple.com/support/13inch-macbookpro-battery-replacement/.
There customers can enter their serial number to see if their laptop qualifies for a replacement.
The battery doesn't need to already show any signs swelling to qualify to be replaced.
The owner of the computer can mail it in to Apple Repair Centre, or take it to an Apple Retail Store or authorised service centre.
Apple does not state how long the replacement will take, but does warn not all retail stores will be equipped to perform the replacement.
Apple recently had to issue a similar recall on swelling batteries in some Apple Watch 2 units, and is offering a similar replacement scheme.