Programming a BMW key fob involves a few simple steps. First, ensure that your vehicle’s battery is in good condition. Insert the existing key into the ignition and turn it to position 1, then back off and remove the key. Press and hold the “Unlock” button on the key while pressing the “Lock” button three times. Release the “Unlock” button, and the doors should lock and unlock, indicating successful programming.