Melanin is produced in melanocytes. These cells are located in different areas of your body, including your hair and the innermost layer of your skin.