It has been discovered that pain felt in a given region of the body can be treated by stimulating a peripheral nerve at a therapeutically effective distance from the region where pain is felt to generate a comfortable sensation (i.e., paresthesia) overlapping the regions of pain. A method has been developed to reduce pain in a painful region following limb joint replacement by stimulating a peripheral nerve innervating the painful region with an electrode inserted into tissue and spaced from the peripheral nerve. This method may be used to help alleviate postoperative pain in patients following total knee arthroplasty surgery or other limb joint replacement surgeries.