Very few foods contain actual melanin. The two richest edible sources are squid ink (and cuttlefish ink) and certain dark-pigmented mushrooms. Many foods people assume contain melanin, like black rice, blackberries, and black beans, get their color from entirely different pigments. Understanding the difference matters if you’re specifically looking for dietary melanin rather than just dark-colored produce.
Foods That Contain Real Melanin
Squid and cuttlefish ink are the most concentrated edible sources of melanin. Most commercially sold “squid ink” actually comes from cuttlefish, a close relative. The ink is mostly composed of melanin, polysaccharides, and proteins. It’s used in pasta, risotto, sauces, and traditional Mediterranean and Japanese dishes, so it’s one of the few ways people regularly eat melanin in meaningful amounts.
Dark-pigmented mushrooms are the other major category. Wood ear mushrooms (Auricularia auricula) are particularly rich: roughly 10% of their dry weight is melanin, specifically a type called eumelanin. That’s a substantial concentration for a whole food. Other edible mushrooms that produce melanin include enoki, oyster mushrooms, maitake (hen of the woods), lion’s mane, chaga, reishi, snow fungus, and morel mushrooms. The melanin in edible fungi is the same general class (eumelanin) that human skin produces.
Dark Foods That Don’t Actually Contain Melanin
This is where most confusion lives. Black rice, black beans, blueberries, blackberries, eggplant skin, and purple cabbage are all deeply pigmented, but their color comes from anthocyanins, not melanin. Anthocyanins are a completely different class of plant pigment. Black rice, for example, gets its dark purple-to-black color from cyanidin 3-glucoside and peonidin 3-glucoside, two well-characterized anthocyanins concentrated in the outer layer of the grain. These compounds have their own antioxidant and anti-inflammatory properties, but they are not melanin.
Black garlic is another common source of confusion. The deep brown-black color that develops during the weeks-long aging process comes from melanoidins, which are produced by a chemical reaction between sugars and amino acids during heating (the Maillard reaction). Melanoidins sound like melanin, and they’re visually similar, but they’re structurally different compounds. Coffee, dark bread crusts, and roasted malt get their brown color the same way.
Foods That Help Your Body Make Melanin
Your body synthesizes its own melanin using an amino acid called tyrosine as the primary building block. If you’re interested in supporting your body’s melanin production rather than eating melanin directly, tyrosine-rich foods are the relevant category. Since tyrosine is found in protein-rich foods, good sources include sesame seeds, cheese (which is so rich in tyrosine that crystals of it sometimes appear on cut surfaces), soybeans, beef, pork, lamb, poultry, fish, and nuts.
Tyrosine’s partner amino acid, phenylalanine, can also be converted into tyrosine in the body. Soybeans are a complete protein containing all nine essential amino acids, including both phenylalanine and tyrosine. That said, most people eating a reasonably varied diet get plenty of both amino acids without trying.
Vitamins That Support Melanin Production
Vitamin B12 plays a protective role in the cells that produce melanin. An activated form of B12 called methylcobalamin has been shown to increase melanin content in pigment-producing cells while also shielding them from oxidative damage. It does this by reducing the buildup of harmful reactive oxygen species inside the cells and boosting the activity of the cells’ own antioxidant defenses. B12 deficiency has long been associated with changes in skin and hair pigmentation, which is consistent with this mechanism. Foods rich in B12 include meat, fish, eggs, and dairy.
Copper is another nutrient involved in melanin synthesis. It’s a necessary cofactor for the enzyme that converts tyrosine into melanin. Shellfish, nuts, seeds, and dark chocolate are reliable dietary sources.
Does Eating Melanin Do Anything?
Melanin is a potent antioxidant. It scavenges reactive oxygen species, which are byproducts of normal cell processes that can contribute to premature aging, inflammation, and disease when they accumulate. This is true of melanin in your skin, and lab studies show similar free-radical-scavenging activity from melanin extracted from mushrooms and squid ink. Squid ink preparations have also shown anti-tumor effects in research settings.
However, there’s an important caveat about digestion. Melanin is a large, complex polymer, and the gastrointestinal tract doesn’t absorb it the way it absorbs simple nutrients like vitamins or sugars. Melanoidins, the chemically similar browning compounds in foods like black garlic and coffee, function primarily as dietary fiber and prebiotics in the gut rather than being absorbed into the bloodstream. Dietary melanin likely behaves similarly, exerting its effects mainly within the digestive tract rather than, say, darkening your skin or hair. Eating melanin-rich foods won’t change your pigmentation.
The antioxidant benefits of dark-pigmented foods are real, whether the pigment is melanin, anthocyanins, or melanoidins. But if your goal is specifically to consume melanin itself, your options are essentially squid ink and dark mushrooms, with wood ear mushrooms being the most concentrated everyday food source available.