The tavorite-type polymorph of LiFeSO4F has recently attracted substantial attention as a positive electrode material for lithium ion batteries. The synthesis of this material is generally considered to rely on a topotactic exchange of water (H2O) for lithium (Li) and fluorine (F) within the structurally similar hydrated iron sulfate precursor (FeSO4·H2O) when reacted with lithium fluoride (LiF). However, there have also been discussions in the literature regarding the possibility of a non-topotactic reaction mechanism between lithium sulfate (Li2SO4) and iron fluoride (FeF2) in tetraethylene glycol (TEG) as reaction medium. In this work, we use in situ X-ray diffraction to continuously follow the formation of LiFeSO4F from the two suggested precursor mixtures in a setup aimed to mimic the conditions of a solvothermal autoclave synthesis. It is demonstrated that LiFeSO4F is formed directly from FeSO4·H2O and LiF, in agreement with the proposed topotactic mechanism. The Li2SO4 and FeF2 precursors, on the other hand, are shown to rapidly transform into FeSO4·H2O and LiF with the water originating from the highly hygroscopic TEG before a subsequent formation of LiFeSO4F is initiated. The results highlight the importance of the FeSO4·H2O precursor in obtaining the tavorite-type LiFeSO4F, as it is observed in both reaction routes.