The two Canadian cities shared the rankings with New York (No. 2), San Francisco (No. 3), and Chicago, Los Angeles, and Washington (No. 5 through 7).
Worldwide, Toronto ranked eighth and Montreal 14th. The world's safest city was also among the most populous: Tokyo. At the bottom was Jakarta, Indonesia, at No. 50.
The Economist also produced an "index of indexes," pulling together its city rankings for safety, livability, cost of living, environment, democracy and food security.
On that basis, Toronto and Montreal topped everything as the two best places in the world to live.
The safest cities ranking focused on four categories:- Digital security (privacy, level of technology).
- Health security (environment and access to health care).
- Infrastructure safety (enforcement of transport safety, pedestrian friendliness).
- Personal safety (policing, street-crime levels).
Civic design also plays a role.
"Cities can use intelligent design and carefully considered city layouts to reduce the threat of violent crime or terrorist attacks, while creating an urban environment that is visually attractive and easy for everyone, from pedestrians to cyclists, to navigate," the report said.
"Modern cities are presenting increasingly complex safety challenges," the Economist report says. "New threats demand new approaches."
Ultimately, it concludes, safe cities are the ones that can support vibrant culture and a "dynamic entrepreneurial environment."
The EIU is an independent business of London-based The Economist Group, that provides forecasting and advisory services as part of its research work.