A single session of a simple, scripted mindfulness-based intervention delivered before surgery decreased knee and hip replacement patients' preoperative pain, anxiety, and medication desire as well as accelerated their postoperative recovery of physical function.