We have previously demonstrated the use of pyrosequencing to investigate NRAS [neuroblastoma RAS viral (v-ras) oncogene homolog] mutations in melanoma biopsies. Here, we expanded the analysis to include BRAF (V-raf murine sarcoma viral oncogene homolog B1), another member of the Ras–Raf–mitogen-activated protein kinase (MAPK) signalling pathway, and analysed a total of 294 melanoma tumours from 219 patients. Mutations in BRAF exons 11 and 15 were identified in 156 (53%) tumours and NRAS exon 2 mutations in 86 (29%) tumours. Overall, mutations in NRAS or BRAF were found in 242 of 294 tumours (82%) and were found to be mutually exclusive in all but two cases (0.7%). Multiple metastases were analysed in 57 of the cases and mutations were identical in all except three, indicating that BRAF and NRAS mutations occur before metastasis. Association with preexisting nevi was significantly higher in BRAF mutated tumours (P=0.014). In addition, tumours with BRAF mutations showed a significantly more frequent moderate to pronounced infiltration of lymphocytes (P=0.013). NRAS mutations were associated with a significantly higher Clark level of invasion (P=0.022) than BRAF mutations. Age at diagnosis was significantly higher in tumours with NRAS mutations than in those with BRAF mutations (P=0.019). NRAS and BRAF mutations, however, did not influence the overall survival from time of diagnosis (P=0.7). In conclusion, the separate genotypes were associated with differences in several key clinical and pathological parameters, indicating differences in the biology of melanoma tumours with different proto-oncogene mutations.