Three days of training with brain-computer interface technology reduced phantom limb pain. Patients reported a 30% reduction in pain after one session, and the effect lasted up to five days after training was complete.