Prediction of outcome for melanoma patients with surgically resected macroscopic nodal metastases is very imprecise. We performed a comprehensive clinico-pathologic assessment of fresh-frozen macroscopic nodal metastases and the preceding primary melanoma, somatic mutation profiling, and gene expression profiling to identify determinants of outcome in 79 melanoma patients. In addition to disease stage <II at initial presentation, the following clinical and pathologic factors were independent predictors of improved outcome (odds ratios for survival >4 years, 90% confidence interval): the presence of a nodular component in the primary melanoma (6.8, 0.6-76.0), and small cell size (11.1, 0.8-100.0) or low pigmentation (3.0, 0.8-100.0) in the nodal metastases. Absence of BRAF mutation (20.0, 1.0-1000.0) or NRAS mutation (16.7, 0.6-1000.0) were both favorable prognostic factors. A 46-gene expression signature with strong overrepresentation of immune response genes was predictive of better survival (10.9, 0.4-325.6); in the full cohort, median survival was >100 months in those with the signature, but 10 months in those without. This relationship was validated in two previously published independent stage III melanoma data sets. We conclude that the presence of BRAF mutation, NRAS mutation, and the absence of an immune-related expressed gene profile predict poor outcome in melanoma patients with macroscopic stage III disease.