Inclusion Criteria:  Males and females, age > 21 years Chronic non-malignant pain of at least 3 months duration Morphine equivalent daily dose (MEDD) > 40 milligrams for at least 3 months Able to enroll at least 4 weeks prior to planned surgery Able to speak, read and comprehend in English at the 6th grade or higher proficiency  Exclusion Criteria:  Pain of malignant origin Current or past history of opioid use disorder (including those on medication-assisted therapy) Revision of TKA Comorbid CNS disease such as dementia, HIV, psychosis, poorly controlled bipolar disorder or any condition interfering with informed consent