Sodium yttrium fluoride (NaYF 4) is an important upconverting material with many potential uses in chemistry, materials science, and biology, which can be synthesized hydrothermally in both cubic (α) and hexagonal (β) crystallographic polymorphs. Understanding the mechanisms underlying the phase conversion between the cubic and hexagonal polymorphs is of great interest to help inform future efforts to synthesize atomically-precise quantum materials with well-defined sizes and morphologies. In this work, we use a combination of analytical transmission electron microscopy (TEM), scanning transmission electron microscopy (STEM), powder X-ray diffraction (XRD), in situ liquid cell TEM, atom probe tomography (APT), and extended x-ray absorption fine structure (EXAFS) measurements to show that the hexagonal NaYF 4 nanowires form through a non-classical crystal growth mechanism involving the formation and subsequent oriented attachment of mesocrystals consisting of cubic (α) phase units. EXAFS spectroscopy also suggests that substitutional Yb 3+ point defects within NaYF 4 are distributed evenly throughout the crystal lattice without clustering, and also that they may exhbit selective substitution into one of the two possible trivalent yttrium sites in the unit cell for hydrothermally synthesized β-NaYF 4 .