At the beginning of the third week of development, the embryonic ectoderm forms a thickened strip called the neural plate. By the fourth week of development the neural plate has widened to give a broad cephalic end, a less broad middle part and a narrow caudal end. These swellings are known as the primary brain vesicles and represent the beginnings of the forebrain (prosencephalon), midbrain (mesencephalon), and hindbrain (rhombencephalon).
Neural crest cells (derived from the ectoderm) populate the lateral edges of the plate at the neural folds. In the fourth week—during the neurulation stage—the neural folds close to form the neural tube, bringing together the neural crest cells at the neural crest. The neural crest runs the length of the tube with cranial neural crest cells at the cephalic end and caudal neural crest cells at the tail. Cells detach from the crest and migrate in a craniocaudal (head to tail) wave inside the tube. Cells at the cephalic end give rise to the brain, and cells at the caudal end give rise to the spinal cord.
The tube flexes as it grows, forming the crescent-shaped cerebral hemispheres at the head. The cerebral hemispheres first appear on day 32. Early in the fourth week, the cephalic part bends sharply forward in a cephalic flexure. This flexed part becomes the forebrain (prosencephalon); the adjoining curving part becomes the midbrain (mesencephalon) and the part caudal to the flexure becomes the hindbrain (rhombencephalon). These areas are formed as swellings known as the three primary brain vesicles. In the fifth week of development five secondary brain vesicles have formed. The forebrain separates into two vesicles – an anterior telencephalon and a posterior diencephalon. The telencephalon gives rise to the cerebral cortex, basal ganglia, and related structures. The diencephalon gives rise to the thalamus and hypothalamus. The hindbrain also splits into two areas – the metencephalon and the myelencephalon. The metencephalon gives rise to the cerebellum and pons. The myelencephalon gives rise to the medulla oblongata. Also during the fifth week, the brain divides into repeating segments called neuromeres. In the hindbrain these are known as rhombomeres.
A characteristic of the brain is the cortical folding known as gyrification. For just over five months of prenatal development the cortex is smooth. By the gestational age of 24 weeks, the wrinkled morphology showing the fissures that begin to mark out the lobes of the brain is evident. Why the cortex wrinkles and folds is not well-understood, but gyrification has been linked to intelligence and neurological disorders, and a number of gyrification theories have been proposed. These theories include those based on mechanical buckling, axonal tension, and differential tangential expansion. What is clear is that gyrification is not a random process, but rather a complex developmentally predetermined process which generates patterns of folds that are consistent between individuals and most species.
The first groove to appear in the fourth month is the lateral cerebral fossa. The expanding caudal end of the hemisphere has to curve over in a forward direction to fit into the restricted space. This covers the fossa and turns it into a much deeper ridge known as the lateral sulcus and this marks out the temporal lobe. By the sixth month other sulci have formed that demarcate the frontal, parietal, and occipital lobes. A gene present in the human genome (ARHGAP11B) may play a major role in gyrification and encephalisation.