κ-Opioid receptor activation attenuates osteoarthritis synovitis by regulating macrophage polarization through the NF-κB pathway. Here, NFKB1 is linked to osteoarthritis.