Dysfunction of the endoplasmic reticulum (ER) has been reported in a variety of human pathologies, including cancer. However, the contribution of the ER to the early stages of normal cell transformation is largely unknown. Using primary human melanocytes and biopsies of human naevi (moles), we show that the extent of ER stress induced by cellular oncogenes may define the mechanism of activation of premature senescence. Specifically, we found that oncogenic forms of HRAS (HRASG12V) but not its downstream target BRAF (BRAFV600E), engaged a rapid cell-cycle arrest that was associated with massive vacuolization and expansion of the ER. However, neither p53, p16INK4a nor classical senescence markers - such as foci of heterochromatin or DNA damage - were able to account for the specific response of melanocytes to HRASG12V. Instead, HRASG12V-driven senescence was mediated by the ER-associated unfolded protein response (UPR). The impact of HRAS on the UPR was selective, as it was poorly induced by activated NRAS (more frequently mutated in melanoma than HRAS). These results argue against premature senescence as a converging mechanism of response to activating oncogenes and support a direct role of the ER as a gatekeeper of tumour control.