The diagnosis of pancreatic neuroendocrine tumours (PanNETs) is increasing owing to more sensitive detection methods, and this increase is creating challenges for clinical management. We performed whole-genome sequencing of 102 primary PanNETs and defined the genomic events that characterize their pathogenesis. Here we describe the mutational signatures they harbour, including a deficiency in G:C > T:A base excision repair due to inactivation of MUTYH, which encodes a DNA glycosylase. Clinically sporadic PanNETs contain a larger-than-expected proportion of germline mutations, including previously unreported mutations in the DNA repair genes MUTYH, CHEK2 and BRCA2. Together with mutations in MEN1 and VHL, these mutations occur in 17% of patients. Somatic mutations, including point mutations and gene fusions, were commonly found in genes involved in four main pathways: chromatin remodelling, DNA damage repair, activation of mTOR signalling (including previously undescribed EWSR1 gene fusions), and telomere maintenance. In addition, our gene expression analyses identified a subgroup of tumours associated with hypoxia and HIF signalling. The genomes of 102 primary pancreatic neuroendocrine tumours have been sequenced, revealing mutations in genes with functions such as chromatin remodelling, DNA damage repair, mTOR activation and telomere maintenance, and a greater-than-expected contribution from germ line mutations. Pancreatic neuroendocrine tumours (PanNETs) are the second most common epithelial neoplasm of the pancreas. Aldo Scarpa, Sean Grimmond and colleagues report whole-genome sequencing of 102 primary PanNETs and present analysis of their mutational signatures as part of the International Cancer Genome Consortium. They find frequent mutations in genes with functions that include chromatin remodelling, DNA damage repair, activation of mTOR signalling, and telomere maintenance. They also identify mutational signatures, including one resulting from inactivation of the DNA repair gene MUTYH, and report a larger than expected germline contribution to PanNET development.