The goal of this protocol is to demonstrate how to longitudinally visualize the expression and localization of a protein of interest within specific cell types of an animal's brain, upon exposure to exogenous stimuli. Here, the administration of a closed-skull traumatic brain injury (TBI) and simultaneous implantation of a cranial window for subsequent longitudinal intravital imaging in mice is shown. Mice are intracranially injected with an adeno-associated virus (AAV) expressing enhanced green fluorescent protein (EGFP) under a neuronal specific promoter. After 2 to 4 weeks, the mice are subjected to a repetitive TBI using a weight drop device over the AAV injection location. Within the same surgical session, the mice are implanted with a metal headpost and then a glass cranial window over the TBI impacting site. The expression and cellular localization of EGFP is examined using a two-photon microscope in the same brain region exposed to trauma over the course of months.