Vitiligo is an autoimmune disorder that occurs when the immune system attacks the body's own skin cells. The immune system attacks the cells that provide pigment (melanocytes) to the skin, resulting in discoloration and white spots.