To reprogram a Jaguar XF key FOB, you can follow these steps:
Fixya+1
Insert the key into the ignition.
Turn the key to "I".
Turn the key to "II" and back to "I" quickly 4 times.
The alarm system should chime once when the key is back to "I" for the 4th time.
Remove the key from the ignition.
Press any button on each key FOB and the alarm system will chime.
Alternatively, you can reprogram the key with an OBDII scanner. If you fail to do it yourself, you may have to visit an authorized dealer for reprogramming of the key.
1
1 Source