President Vladimir Putin said the Russian state has never been involved in hacking.
Speaking at a meeting with senior editors of leading international news agencies, Mr Putin added that some individual "patriotic" hackers could mount some attacks amid the current cold spell in Russia's relations with the West.
But he categorically insisted that "we don't engage in that at the state level".
Mr Putin also said that "no hackers can influence election campaigns in any country of Europe, Asia or America".
US intelligence agencies have accused Russia of hacking into Democratic Party emails, helping Donald Trump win last year's American presidential election.