Uniform multicolor upconversion luminescent RE3+ doped NaYF4 nanocubes are fabricated through a facile ethylene glycol (EG)/ionic liquid interfacial synthesis route at 80 °C, with the ionic liquids acting as both reagents and templates.