A protocol is presented for the installation and preparation of intramuscular electrodes, along with an animal-mountable, miniaturized measurement device for electromyography (EMG) analysis in locomotion studies. This system enables the wireless transmission of real-time EMG data for investigating locomotion recovery in stroke model rats.