Activation of the RAS/MAPK pathway is critical in melanoma. Melanoma can be grouped into four molecular subtypes based on their main genetic driver: BRAF-mutant, NRAS-mutant, NF1-mutant, and triple wild-type tumors. The NF1 protein, neurofibromin 1, negatively regulates RAS proteins through GTPase activity. Germline mutations in NF1 cause neurofibromatosis type I, a common genetic tumor syndrome caused by dysregulation of the RAS/MAPK pathway, i.e. RASopathy. Melanomas with NF1 mutations typically occur on chronically sun-exposed skin or in older individuals, show a high mutation burden, and are wild-type for BRAF and NRAS. Additionally, NF1 mutations characterize certain clinicopathologic melanoma subtypes, specifically desmoplastic melanoma. This review discusses the current knowledge of the NF1 gene and neurofibromin 1 in neurofibromatosis type I and in melanoma.