A facile route for the preparation of nanoparticles of the spin-crossover complex [Fe(Htrz)2(trz)](BF4) in xerogel transparent composite films.