Xfinity XR5 Remote Codes & Pairing
Look up Xfinity XR5 TV and audio codes and program with SETUP. Find Aim Anywhere pairing, TV code search and legacy box setup.

Find your remote code
Select the type and brand of the device you want to control.
Programming instructions
Xfinity XR5 RemoteNumber pad and physical SETUP key.
Direct code entry
- Turn on the TV or audio equipment. Hold SETUP until the light changes from red to green.
- Enter the first five-digit code listed for its brand. Two green flashes confirm the code was accepted.
- Test power, volume and mute. Try the next code if the controls you need do not work.
Search for a device code
SETUPSearch numberCH+SETUP
- Turn on the TV. Hold SETUP until the light turns green, then enter 9-9-1.
- Press CH+ until the TV turns off. Press SETUP to save the match and test the TV controls.
Pair to a compatible X1 TV Box
- Turn on the TV and TV Box and select the box's HDMI input.
- Hold SETUP until the indicator changes from red to green. Press the Xfinity button and enter the three-digit code shown on the TV.
- Follow the prompts to finish pairing and set up TV or audio control.
Set up a legacy infrared TV Box
- Hold SETUP until the light turns green.
- Press A for an RNG box or digital adapter, B for a Motorola box, or C for a Cisco or Scientific Atlanta box.
- Aim at the box and test a channel or navigation key.
Further reading
Setup and owner’s manuals
Online tools and references
Frequently asked questions
When do I need to aim the XR5 at the box?
Point the XR5 at a legacy infrared box to send commands. A compatible box paired in Aim Anywhere mode can receive commands without a direct line of sight.