This protocol describes the hand fabrication and surgical implantation of electromyographic (EMG) electrodes in the forelimb muscles of mice to record muscle activity during head-fixed behavior experiments.