How to Program the Key for a 2005 BMW X5
- 1). Enter the X5 with your key remote device. Close all of the vehicle doors behind you.
- 2). Insert your key into the ignition. Turn it to "1" and then back "Off" five times in quick succession.
- 3). Remove the key from the ignition after the fifth cycle. Press and hold the Unlock button on the remote portion of the key.
- 4). Press the Lock button three times while still holding the Unlock button, then release both buttons.
- 5). Wait for the door locks to click automatically, then insert the key back into the ignition. Turn the key back to the "On" position to end the programming process.
Source...