Although N-methyl-d-aspartate (NMDA) receptor antagonists potentiate antinociceptive effects induced by various exogenous opioids at the spinal, supraspinal, or peripheral level, less is known regarding the interaction between NMDA and endogenous opioids in antinociception. We therefore assessed the effects of NMDA receptor antagonists on endogenous opioids in antinociception at the peripheral level by testing the ability of the locally administered receptor antagonists to modify pain-related behavior induced by carrageenan injection into the knee joint. The NMDA receptor antagonist AP-5 or the exogenous opioid morphine was injected intra-articularly before carrageenan injection and 5 h after carrageenan injection, respectively. We evaluated whether intra-articular injection of the opioid receptor antagonist naloxone reversed the analgesic effect of AP-5. In addition, we tested the effects of AP-5 on carrageenan-induced levels of the β-endorphin protein in dorsal root ganglia (DRG), saphenous nerve and synovial membrane. We found that AP-5 prevented and morphine reversed carrageenan-induced pain-related behavior. Intriguingly, injection of naloxone 5 h after carrageenan injection reversed the antinociceptive effects of AP-5 pre-treatment, although naloxone alone had no effect on carrageenan-induced pain-related behavior. Western blots showed that AP-5 pre-treatment followed by carrageenan injection resulted in a higher level of β-endorphin protein in the DRG and saphenous nerve, but not in the synovial membrane, than that observed following saline control treatment. These results suggest that inhibition of the NMDA receptor unmasks antinociception induced by endogenous opioids at the peripheral level, partly through the increased protein level of the endogenous μ-opioid peptide β-endorphin in DRG and saphenous nerve.