Walnuts contain biotin, B vitamins (B1, B6, and B9), Vitamin E, plenty of protein and magnesium, which strengthen hair cuticles and nourish the scalp.