Mg2Snx films were deposited on c-Al2O3 substrates by dc magnetron sputtering to investigate the effects of deposition parameters and post-deposition annealing on their phase stability and thermoelectric properties. The phase compositions of the films were found to be highly dependent on the elemental composition and the deposition temperature of the films. The films deposited without intentional substrate heating consisted primarily of cubic Mg2Sn for x < 1 (where x is the nominal composition in Mg2Snx). For x >1, the films consisted of the metastable orthorhombic Mg2Sn with metallic Sn as secondary phase. For a substrate temperature of 200 °C, cubic Mg2Sn was formed, with/without metallic Sn as secondary phase depending on the total composition of the film. All samples exhibited hole-dominated transport with carrier concentrations of 1019-1020 cm-3. A post-synthesis annealing step favors the transformation from the metastable orthorhombic Mg2Sn to the cubic Mg2Sn and consequently to higher thermoelectric performances. After annealing, for both the film series, Seebeck coefficient varied between 200-300 µV/K with power factors of 1.0 ± 0.5 × 10-3 Wm-1K-2. These findings highlight the importance of stability of the films and the improvement of the thermoelectric properties within a wide range of Sn content in Mg2Snx.