This study evaluates 2-Photon fluorescence microscopy of in vivo and ex vivo cleared samples for visualizing cortical vasculature. <p> </p>Four mice brains were imaged with in vivo 2PFM. Mice were then perfused with a FITC gel and cleared in fructose. The same regions imaged in vivo were imaged ex vivo. Vessels were segmented automatically in both images using an in-house developed algorithm that accounts for the anisotropic and spatially varying PSF ex vivo. Through non-linear warping, the ex vivo image and tracing were aligned to the in vivo image. The corresponding vessels were identified through a local search algorithm. This enabled comparison of identical vessels in vivo/ex vivo. A similar process was conducted on the in vivo tracing to determine the percentage of vessels perfused. Of all the vessels identified over the four brains in vivo, 98% were present ex vivo. There was a trend towards reduced vessel diameter ex vivo by 12.7%, and the shrinkage varied between specimens (0% to 26%). Large diameter surface vessels, through a process termed 'shadowing', attenuated in vivo signal from deeper cortical vessels by 40% at 300 μm below the cortical surface, which does not occur ex vivo. <p> </p>In summary, though there is a mean diameter shrinkage ex vivo, ex vivo imaging has a reduced shadowing artifact. Additionally, since imaging depths are only limited by the working distance of the microscope objective, ex vivo imaging is more suitable for imaging large portions of the brain.