"It Had to Be You" is the 1043rd episode of Casualty and the 39th episode of the 31st series. It was preceded by "Do Not Stand at My Grave and Weep" and followed by "War of the Roses". The episode was directed by Graham Sherrington and written by Matthew Barry and Mark Stevenson.
This episode was originally titled "We'll Meet Again", as shown on the scripts distributed during the episode's production in February 2017. However, it was changed to "It Had to Be You" some time before broadcast.