Living inTerrebonne

Terrebonne, which is the tenth-largest city in Québec and the fourth largest in the MMC, has almost 116,000 residents and one of the highest percentages of young families in the province. Here’s your city. You have every reason to be proud of it.

Libraries

  • Bibliothèque de l'Île-des-Moulins
  • Bibliothèque André-Guérard
  • Bibliothèque de La Plaine
  • Bibliothèque de Lachenaie

Recreational Facilities

  • Arena
  • Complexes sportifs Terrebonne
  • Centre de soccer Terrebonne
  • Sentier Trans-Terrebonne

Schools

  • École Vision Terrebonne
  • École primaire de la Sablière
  • École Primaire Léopold-Gravel
  • École Saint-Louis
  • École primaire Le Castelet
  • École Armand-Corbeil
  • École primaire de l'Étincelle
  • École des Pionniers
  • École du Boisé
  • École primaire Esther-Blondin
  • École de l'Espace-Couleurs
  • École secondaire des Trois Saisons
  • École des Hauts-Bois
  • École Marie-Soleil-Tougas
  • École du Geai-Bleu

Events

  • Festival Vins et Histoire de Terrebonne
  • Avalanche (musical Christmas show)
  • Antique Car Show
  • Terrebonne’s Christmas market
  • Fête de la famille
  • Fête des voisins
  • OSM in the parks
  • Terrebonne en arts
  • Salon des métiers d’arts

Parks and Green Spaces

  • Parc des Aînés
  • Parc Angora
  • Parc Arc-en-Ciel
  • Parc les Berges Aristide-Laurier
  • Parc Bigras
  • Parc des Bois-Francs
  • Parc du Boisé
  • Parc Boisvert
  • Parc du Bras d’Apic
  • Parc le Castelet
  • Centre de la Côte boisée
  • Parc de Chablis
  • Parc Charles-Bruneau
  • Parc Charles-Édouard-Renaud
  • Parc Comtois
  • Parc Corbeil
  • Parc de la Coulée
  • Parc du Croissant
  • Parc de la Croix
  • Parc Daunais
  • Parc Donat-Belisle
  • Parc Dumais
  • Parc Dumont
  • Parc de l’École Léopold-Gravel
  • Parc de l’École Saint-Joachim
  • Parc de l’École Saint-Louis
  • Parc de l’Engoulevent

Restaurants

  • Au Just Thai
  • Le Baluchon d'Or
  • Bistro-Chocolaterie Le Divin Tandem
  • Jardin des Fondues
  • O'Sake
  • Chez Fabien Inc.
  • Le Vieux Terrebonne
  • Trattoria d'Amarone
  • Steakerie Le Sainte-Marie

Golf Courses

  • Club de golf Terrebonne
  • Club de golf Le Versant Inc.
  • Club de golf le Mirage

Transportation

  • Bus
  • Train
CiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSdnZl9icm93c2VyX3Vua25vd24gZ2Zvcm1fd3JhcHBlcicgaWQ9J2dmb3JtX3dyYXBwZXJfMjknIHN0eWxlPSdkaXNwbGF5Om5vbmUnPjxkaXYgaWQ9J2dmXzI5JyBjbGFzcz0nZ2Zvcm1fYW5jaG9yJyB0YWJpbmRleD0nLTEnPjwvZGl2Pjxmb3JtIG1ldGhvZD0ncG9zdCcgZW5jdHlwZT0nbXVsdGlwYXJ0L2Zvcm0tZGF0YScgdGFyZ2V0PSdnZm9ybV9hamF4X2ZyYW1lXzI5JyBpZD0nZ2Zvcm1fMjknICBhY3Rpb249Jy9saXZpbmctaW4tdGVycmVib25uZS8/bGFuZz1lbiNnZl8yOSc+CiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9J2dmb3JtX2hlYWRpbmcnPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGgzIGNsYXNzPSdnZm9ybV90aXRsZSc+R3VpZGUgZGUgbCYjMDM5O2FjaGV0ZXVyPC9oMz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPSdnZm9ybV9kZXNjcmlwdGlvbic+PC9zcGFuPgogICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0nZ2Zvcm1fYm9keSc+PHVsIGlkPSdnZm9ybV9maWVsZHNfMjknIGNsYXNzPSdnZm9ybV9maWVsZHMgdG9wX2xhYmVsIGZvcm1fc3VibGFiZWxfYmVsb3cgZGVzY3JpcHRpb25fYmVsb3cnPjxsaSBpZD0nZmllbGRfMjlfMScgIGNsYXNzPSdnZmllbGQgZ2ZpZWxkX2NvbnRhaW5zX3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