The phosphorylation cascade in the extracellular signal-regulated kinase (ERK) pathway is a versatile reaction network motif that can potentially act as a switch, oscillator or memory. Nevertheless, there is accumulating evidence that the phosphorylation response is mostly linear to extracellular signals in mammalian cells. Here we find that subsequent nuclear translocation gives rise to a switch-like increase in nuclear ERK concentration in response to signal input. The switch-like response disappears in the presence of ERK inhibitor, suggesting the existence of autoregulatory mechanisms for ERK nuclear translocation involved in conversion from a graded to a switch-like response. In vitro reconstruction of ERK nuclear translocation indicates that ERK-mediated phosphorylation of nucleoporins regulates ERK translocation. A mathematical model and knockdown experiments suggest a contribution of nucleoporins to regulation of the ERK nuclear translocation response. Taken together, this study provides evidence that nuclear translocation with autoregulatory mechanisms acts as a switch in ERK signalling.