During cerebral cortex development, pyramidal neurons migrate through the intermediate zone and integrate into the cortical plate. These neurons undergo the multipolar-bipolar transition to initiate radial migration. While perturbation of this polarity acquisition leads to cortical malformations, how this process is initiated and regulated is largely unknown. Here we report that the specific upregulation of the Rap1 guanine nucleotide exchange factor, RapGEF2, in migrating neurons corresponds to the timing of this polarity transition. In utero electroporation and live-imaging studies reveal that RapGEF2 acts on the multipolar-bipolar transition during neuronal migration via a Rap1/N-cadherin pathway. Importantly, activation of RapGEF2 is controlled via phosphorylation by a serine/threonine kinase Cdk5, whose activity is largely restricted to the radial migration zone. Thus, the specific expression and Cdk5-dependent phosphorylation of RapGEF2 during multipolar-bipolar transition within the intermediate zone are essential for proper neuronal migration and wiring of the cerebral cortex.