Moles form when melanocytes, the pigment-producing cells in your skin, cluster together instead of spreading out evenly. Normally, melanocytes are distributed individually throughout the top layer of skin, giving it a uniform color. When something causes a group of these cells to gather in one spot, that concentrated pocket of pigment becomes a visible mole. Most people develop between 10 and 45 moles over their lifetime, with the majority appearing during childhood and the teenage years.
What Happens Inside Your Skin
Your skin contains millions of melanocytes, each one producing the pigment that gives skin its color. During normal skin development, these cells migrate from deep within the embryo to the outer layers of skin and space themselves evenly. A mole forms when a cluster of melanocytes settles in one location and begins behaving differently from the cells around it.
Lab studies show that melanocytes can spontaneously migrate toward each other and form distinct clusters within about 72 hours under the right conditions. When they do this, they activate a genetic switch (a protein called PAX3) that shifts them into a less mature, stem-cell-like state. In this state, the cells stop fully producing pigment the way isolated melanocytes do and instead maintain themselves as an undifferentiated group. This is why moles often have a uniform tan or brown color rather than the deep black you might expect from a dense pile of pigment cells.
The Genetic Trigger
Many common moles share a specific genetic mutation. About 21% of benign moles carry a change in a gene called BRAF, where a single letter of the DNA code is swapped. This tiny change permanently flips on a growth-signaling pathway inside the melanocyte, telling it to keep dividing. The same mutation appears in about 29% of melanomas, which is why researchers have studied it so closely.
The key difference between a mole and a cancer is what happens after that initial burst of growth. In a benign mole, the cells divide for a while and then stop, entering a state of permanent growth arrest called senescence. The growth signal is on, but the cell’s built-in safety brakes kick in and prevent uncontrolled expansion. The mole stays put at a stable size, typically smaller than a pencil eraser (about 5 millimeters).
Moles You’re Born With
Some moles are already present at birth. These congenital moles form during fetal development, when melanocyte precursor cells are migrating from the developing nervous system to the skin. The leading theory is that a mutation occurs during this migration, causing a group of precursor cells to behave abnormally once they reach their destination. In some cases, the mutation involves a gene called NRAS, and when it occurs early enough in embryonic development, the result can be multiple or very large congenital moles.
Certain genetic backgrounds seem to increase the likelihood. One study found that a gene variant associated with red hair and higher birth weight was overrepresented in Northern European patients with congenital moles. Because these moles form so early, they can end up deeper in the skin than moles acquired later in life, which is why congenital moles sometimes have a thicker, more textured appearance.
How Sun Exposure Creates New Moles
Ultraviolet radiation is the most significant environmental trigger for new mole formation. When UV light hits your skin, it does two things that promote melanocyte clustering. First, it directly damages DNA inside melanocytes, which can introduce the kind of growth-promoting mutations (like the BRAF change) that lead to mole formation. Second, UV light activates growth and survival signaling pathways in melanocytes, encouraging them to divide rather than die off.
This is why moles tend to appear most often on sun-exposed areas of the body, and why people with more lifetime sun exposure generally have more moles. The relationship is especially strong during childhood. Kids who get significant sun exposure develop more moles during adolescence than those who don’t, and this pattern largely sets their total mole count for life.
Why New Moles Appear During Puberty and Pregnancy
Hormonal shifts can influence melanocyte activity, which is why new moles commonly appear during puberty and, to a lesser extent, during pregnancy. During pregnancy, levels of melanocyte-stimulating hormone, estrogen, and progesterone all rise, and these hormones directly increase melanocyte activity.
However, the popular belief that existing moles darken dramatically during pregnancy has less support than you might expect. Several studies have found insufficient evidence for widespread color changes in moles during pregnancy. What does happen is that moles on the breasts and abdomen often grow slightly wider as the skin stretches, but moles on the back or legs typically stay the same size. The distinction matters: a mole that’s gradually widening on a growing belly is different from a mole that’s changing color or shape on its own.
When Moles Stop Forming and Start Fading
Most new moles appear between early childhood and your mid-30s. After about age 40, the process reverses. Moles that formed during your younger years begin to slowly fade through a combination of cell death and gradual regression. By older adulthood, many people notice they have fewer visible moles than they did in their 20s and 30s. This is a normal part of skin aging.
A new mole appearing after age 40 is less common and worth paying closer attention to, since the window for normal mole development has largely closed by that point.
Normal Moles vs. Atypical Moles
The way a mole forms influences how it looks, and certain visual features help distinguish a typical mole from an atypical one.
A common mole is usually smaller than 5 millimeters across, round or oval, and has a smooth surface with a distinct border. Its color is even, typically a single shade of pink, tan, or brown. Many start flat and gradually become slightly raised and dome-shaped over time.
An atypical mole (sometimes called a dysplastic nevus) is usually wider than 5 millimeters and has a mixture of colors ranging from pink to dark brown within the same mole. Its edges are irregular and may fade gradually into the surrounding skin rather than having a sharp boundary. The surface is often flat with a slightly scaly or pebbly texture, and some develop a raised center with a flatter rim, giving them what dermatologists describe as a “fried egg” appearance.
Having atypical moles doesn’t mean you have skin cancer, but having many of them (especially more than five) is associated with a higher overall risk. The features to watch for in any mole are asymmetry, irregular borders, multiple colors, a diameter larger than a pencil eraser, and any noticeable evolution in size, shape, or color over weeks to months.

