We describe a method for repeatedly visualizing murine microglia and circulating monocytes in vivo over hours, days or weeks using transcranial two-photon microscopy. We demonstrate how to prepare a thinned-skull window that allows intermittent observation of quiescent microglia that can be activated by adjacent stereotactic injection of the HIV-1 regulatory protein Tat.