Police said the man was arrested after they were contacted by members of the man's family, who were concerned he had become radicalized.
In the man's apartment, police said they found a map with locations of police stations marked on it.
The man is expected to be charged under the criminal code article for a hoax regarding terrorist activity, which means someone caused reason to believe a terrorist activity could occur.
Extra cautious after attacks
Police officers in Montreal are being extra cautious in the wake of two police shootings in the United States.
The president of the Montreal police brotherhood, Yves Francoeur, told CBC’s Daybreak this morning that the prevalence of “lone-wolf” attacks against police officers makes it difficult for police to prepare for attacks.
He said the most effective way for police to intervene in these attacks is if the public reports them.
He said the only common thread between different police slayings this year was warnings online before they happened.
“We have to stay alert all the time. We have to increase our security measures around the police stations,” said Francoeur.
“Since the events in Ottawa, in St-Jean-sur-Richelieu, all information is serious for any police department.”