Functional mapping during brain surgery is applied to define brain areas that control critical functions and cannot be removed. Currently, these procedures rely on verbal interactions between the neurosurgeon and electrophysiologist, which can be time-consuming. In addition, the electrode grids that are used to measure brain activity and to identify the boundaries of pathological versus functional brain regions have low resolution and limited conformity to the brain surface. Here, we present the development of an intracranial electroencephalogram (iEEG)-microdisplay that consists of freestanding arrays of 2048 GaN light-emitting diodes laminated on the back of micro-electrocorticography electrode grids. With a series of proof-of-concept experiments in rats and pigs, we demonstrate that these iEEG-microdisplays allowed us to perform real-time iEEG recordings and display cortical activities by spatially corresponding light patterns on the surface of the brain in the surgical field. Furthermore, iEEG-microdisplays allowed us to identify and display cortical landmarks and pathological activities from rat and pig models. Using a dual-color iEEG-microdisplay, we demonstrated coregistration of the functional cortical boundaries with one color and displayed the evolution of electrical potentials associated with epileptiform activity with another color. The iEEG-microdisplay holds promise to facilitate monitoring of pathological brain activity in clinical settings.