The move means those who are more handy will be able to perform their own repairs on some iPhone and Mac computers.
Apple said the online store would start with about 200 parts and tools aimed at fixing the most common issues with displays, batteries and cameras on iPhone 12 and 13 models.
The program will eventually extend to Mac computers that use Apple's M1 chip and later to less-common repairs.
The self-service repair program comes after years of pressure from consumer groups.
In 2019, Apple started a program where independent repair shops could buy its parts, tools and manuals, in a step towards giving customers more access for repairs.
Apple said there were now 2,800 independent shops in its program in addition to its 5,000 directly authorised repair providers.
Under the self-service program, Apple customers will be able to buy those parts directly to perform their own repairs after reading a manual.
Customers will be offered the same pricing on parts and tools as independent repair shops and, after completing a repair, will be able to return their used parts to Apple to receive a discount.
Apple said the program would begin early next year in the United States and expand to more countries later in the year.
- With AAP