The official, Konstantin Poltoranin, was the main spokesman for the Russian government agency responsible for dealing with foreign migrants and made the controversial comment in an interview about an asylum centre in Siberia.
"What is now at stake is the survival of the white race. We feel this in Russia," he told the BBC.
"We want to make sure the mixing of blood happens in the right way here, and not the way it has happened in Western Europe where the results have not been good." Russia needed immigrants "of the Slavic group" more than any others, he added.
Mr Poltoranin was sacked within hours of his comments being made public. He had worked at the agency since 2005. Konstantin Romodanovsky, the head of the Federal Migration Service and his boss, said his former subordinate's comments were unacceptable branding them as "nonsense."