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.
McAfee previously suggested that he and a team of professional hackers can unlock at no charge San Bernardino, California, shooter Syed Rizwan Farook's iPhone, preventing the government from inadvertently creating an unsafe backdoor.
Apple recently issued a letter to employees where CEO Tim Cook justified his opposition to creating a backdoor. He stated that "this case is about much more than a single phone or a single investigation," he also noted that the data security of "hundreds of millions of law-abiding people" would be at risk if he complies.
In contrast, Republican front-runner Donald Trump recently called for consumers to boycott Apple until the company cooperates with authorities.
McAfee called Trump ill prepared, not tutored in cyberscience and angry. Claiming that America is 20 years behind China and Russia in cybersecurity, he maintained that the inadequate protection of the cyberspace enhances vulnerability.
"I think the problem with Trump is that he is so popular," he said. "'Yes we should boycott Apple,' he is siding with putting backdoors in software and he wants to be a president of a country that's behind in cybersecurity. It makes no sense to me."
Trump's campaign did not immediately respond to a request for comment.