The Libertarian Party presidential candidate told CNBC on Thursday that creating a backdoor for the FBI would create a bigger security issue.
"I'm trying to point out to the world that what they're doing is deceptive," he said. "They want the backdoor so that they can have access to every iPhone in the planet."
In the scenario where the FBI prevails in the battle with Apple, McAfee thinks the case will open the door to further invasion of the public's security.
"If the FBI succeeds in getting Apple to do a backdoor, the next thing is Android: Apple is 5 percent of the world market, Android is 95 percent," McAfee said on "Power Lunch." "If that happens we are all at risk, no matter what you're using," he added.