The man's truck broke down after he hit the gates and he was later arrested without incident.
"There is no risk to the public and from what (information) we have, he was acting alone," Royal Canadian Mounted Police Deputy Commissioner Mike Duheme told a news conference.
Duheme said the suspect - who had been armed with several weapons, including a rifle - would appear in court later on Friday but gave no details of the charges.
There is little history of serious violence targeting officials in Canada. Trudeau, however, donned a bulletproof vest for an election campaign rally in October last year after officials detected a security threat.
LEAVE A COMMENT Your email address will not be published. Required fields are marked*
Canada ‘deporting thousands even as pandemic rages’
Allowing border agents to question Huawei CFO before her arrest was best, officer testifies
Man in medieval clothes arrested after two killed in Quebec sword attack
Free speech has limits, says Trudeau
Quebec probes incident of indigenous woman who filmed abuse from nurses in hospital
Trudeau says Canada is in second wave of pandemic, urges renewed caution
Three dead after glacier tour bus rolls over in Canada
Foreign doctors' hopes for fast-track pandemic licenses in Canada fading
Wayward whale that swam 400km upriver to Montreal found dead