An electromyography (EMG) sensor for a wearable device, such as a prosthetic device attachable to a residual limb, includes a flexible substrate comprising an elongated portion and an electrode portion. At least two electrodes are disposed at a surface of the electrode portion of the flexible substrate, and leads from the at least two electrodes extend through the elongated portion of the flexible substrate.