Alteration of the number of copies of double minutes (DMs) with oncogenic EGFR mutations in response to tyrosine kinase inhibitors is a novel adaptive mechanism of glioblastoma. Here we provide evidence that such mutations in DMs, called here amplification-linked extrachromosomal mutations (ALEMs), originate extrachromosomally and could therefore be completely eliminated from the cancer cells. By exome sequencing of seven glioblastoma patients we reveal ALEMs in EGFR, PDGFRA and other genes. These mutations together with DMs are lost by cancer cells in culture. We confirm the extrachromosomal origin of such mutations by showing that wild-type and mutated DMs may coexist in the same tumour. Analysis of 4,198 tumours suggests the presence of ALEMs across different tumour types with the highest prevalence in glioblastomas and low-grade gliomas. The extrachromosomal nature of ALEMs explains the observed drastic changes in the amounts of mutated oncogenes (like EGFR or PDGFRA) in glioblastoma in response to environmental changes.