Background: An emerging problem in the treatment of breast cancer is the increasing incidence of metastases to the brain. Metastatic brain tumours are incurable and can cause epileptic seizures and cognitive impairment, so better understanding of this niche, and the cellular mechanisms, is urgently required. Microglia are the resident brain macrophage population, becoming "activated" by neuronal injury, eliciting an inflammatory response. Microglia promote proliferation, angiogenesis and invasion in brain tumours and metastases. However, the mechanisms underlying microglial involvement appear complex and better models are required to improve understanding of function. Methods: Here, we sought to address this need by developing a model to study metastatic breast cancer cellmicroglial interactions using intravital imaging combined with ex vivo electrophysiology. We implanted an optical window on the parietal bone to facilitate observation of cellular behaviour in situ in the outer cortex of heterozygous Cx3cr1 GFP/+ mice. Results: We detected GFP-expressing microglia in Cx3cr1 GFP/+ mice up to 350 μm below the window without significant loss of resolution. When DsRed-expressing metastatic MDA-MB-231 breast cancer cells were implanted in Matrigel under the optical window, significant accumulation of activated microglia around invading tumour cells could be observed. This inflammatory response resulted in significant cortical disorganisation and aberrant spontaneously-occurring local field potential spike events around the metastatic site. Conclusions: These data suggest that peritumoral microglial activation and accumulation may play a critical role in local tissue changes underpinning aberrant cortical activity, which offers a possible mechanism for the disrupted cognitive performance and seizures seen in patients with metastatic breast cancer.