Accurate eye movements are crucial for vision, but the development of the ocular motor system, especially the molecular pathways controlling axon guidance, has not been fully elucidated. This is partly due to technical limitations of traditional axon guidance assays. To identify additional axon guidance cues influencing the oculomotor nerve, an ex vivo slice assay to image the oculomotor nerve in real-time as it grows towards the eye was developed. E10.5 Isl MN-GFP embryos are used to generate ex vivo slices by embedding them in agarose, slicing on a vibratome, then growing them in a microscope stage-top incubator with time-lapse photomicroscopy for 24-72 hours. Control slices recapitulate the in vivo timing of outgrowth of axons from the nucleus to the orbit. Small molecule inhibitors or recombinant proteins can be added to the culture media to assess the role of different axon guidance pathways. This method has the advantages of maintaining more of the local microenvironment through which axons traverse, not axotomizing the growing axons, and assessing the axons at multiple points along their trajectory. It can also identify effects on specific subsets of axons. For example, inhibition of CXCR4 causes axons still within the midbrain to grow dorsally rather than ventrally, but axons that have already exited ventrally are not affected.