Importantly, our findings suggest that KOR antagonism could be a promising option to prevent or treat prolonged pain induced by sleep disorders in perioperative patients. Here, OPRK1 is linked to sleep disorder.