A low-cost electroencephalographic recording system combined with a millimeter-sized coil is proposed to drive transcranial magnetic stimulation of the mouse brain in vivo. Using conventional screw electrodes with a custom-made, flexible, multielectrode array substrate, multi-site recording can be carried out from the mouse brain in response to transcranial magnetic stimulation.