Half of all prostate cancers are caused by the TMPRSS2-ERG gene-fusion, which enables androgens to drive expression of the normally silent E26 transformation-specific (ETS) transcription factor ERG in prostate cells. Recent genomic landscape studies of such cancers have reported recurrent point mutations and focal deletions of another ETS member, the ETS2 repressor factor ERF. Here we show these ERF mutations cause decreased protein stability and mostly occur in tumours without ERG upregulation. ERF loss recapitulates the morphological and phenotypic features of ERG gain in normal mouse prostate cells, including expansion of the androgen receptor transcriptional repertoire, and ERF has tumour suppressor activity in the same genetic background of Pten loss that yields oncogenic activity by ERG. In the more common scenario of ERG upregulation, chromatin immunoprecipitation followed by sequencing indicates that ERG inhibits the ability of ERF to bind DNA at consensus ETS sites both in normal and in cancerous prostate cells. Consistent with a competition model, ERF overexpression blocks ERG-dependent tumour growth, and ERF loss rescues TMPRSS2-ERG-positive prostate cancer cells from ERG dependency. Collectively, these data provide evidence that the oncogenicity of ERG is mediated, in part, by competition with ERF and they raise the larger question of whether other gain-of-function oncogenic transcription factors might also inactivate endogenous tumour suppressors.