The use of multiphoton microscopy for imaging mouse brain in vivo offers several advantages and poses several challenges. This tutorial begins by briefly comparing multiphoton microscopy with other imaging modalities used to visualize the brain and its activity. Next, an overview of the techniques for introducing fluorescence into whole animals to generate contrast for in vivo microscopy using two-photon excitation is presented. Two different schemes of surgically preparing mice for brain imaging with multiphoton microscopy are reviewed. Then, several issues and problems with in vivo microscopy - including motion artifact, respiratory and cardiac rhythms, maintenance of animal health, anesthesia, and the use of fiducial markers - are discussed. Finally, examples of how these techniques have been applied to visualize the cerebral vasculature and its response to hypercapnic stimulation are provided.