Granular cell tumors (GCTs) are rare tumors that can arise in multiple anatomical locations, and are characterized by abundant intracytoplasmic granules. The genetic drivers of GCTs are currently unknown. Here, we apply whole-exome sequencing and targeted sequencing analysis to reveal mutually exclusive, clonal, inactivating somatic mutations in the endosomal pH regulators ATP6AP1 or ATP6AP2 in 72% of GCTs. Silencing of these genes in vitro results in impaired vesicle acidification, redistribution of endosomal compartments, and accumulation of intracytoplasmic granules, recapitulating the cardinal phenotypic characteristics of GCTs and providing a novel genotypic-phenotypic correlation. In addition, depletion of ATP6AP1 or ATP6AP2 results in the acquisition of oncogenic properties. Our results demonstrate that inactivating mutations of ATP6AP1 and ATP6AP2 are likely oncogenic drivers of GCTs and underpin the genesis of the intracytoplasmic granules that characterize them, providing a genetic link between endosomal pH regulation and tumorigenesis.