<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncements" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsAllowanceForDoubtfulAccountsDetails" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsAllowanceForDoubtfulAccountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsCapitalizedSoftwareDetails" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsCapitalizedSoftwareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsForeignCurrencyDetails" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsForeignCurrencyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsGoodwillDetails" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsImpairmentOfLongLivedAssetsDetails" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsImpairmentOfLongLivedAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsPropertyAndEquipmentDetails" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsPropertyAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsRecentAccountingPronouncementsIncomeTaxesDetails" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsRecentAccountingPronouncementsIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsRecentAccountingPronouncementsTransitionDetails" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsRecentAccountingPronouncementsTransitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsTables" xlink:href="otex-20180630.xsd#AccountingPoliciesAndRecentAccountingPronouncementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountsPayableAndAccruedLiabilities" xlink:href="otex-20180630.xsd#AccountsPayableAndAccruedLiabilities" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountsPayableAndAccruedLiabilitiesNarrativeDetails" xlink:href="otex-20180630.xsd#AccountsPayableAndAccruedLiabilitiesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountsPayableAndAccruedLiabilitiesScheduleOfCurrentLiabilitiesDetails" xlink:href="otex-20180630.xsd#AccountsPayableAndAccruedLiabilitiesScheduleOfCurrentLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountsPayableAndAccruedLiabilitiesScheduleOfLongTermAccruedLiabilitiesDetails" xlink:href="otex-20180630.xsd#AccountsPayableAndAccruedLiabilitiesScheduleOfLongTermAccruedLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AccountsPayableAndAccruedLiabilitiesTables" xlink:href="otex-20180630.xsd#AccountsPayableAndAccruedLiabilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquiredIntangibleAssets" xlink:href="otex-20180630.xsd#AcquiredIntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquiredIntangibleAssetsCalculationOfAcquiredIntangiblesByAssetClassDetails" xlink:href="otex-20180630.xsd#AcquiredIntangibleAssetsCalculationOfAcquiredIntangiblesByAssetClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquiredIntangibleAssetsCalculationOfEstimatedFutureAmortizationExpenseDetails" xlink:href="otex-20180630.xsd#AcquiredIntangibleAssetsCalculationOfEstimatedFutureAmortizationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquiredIntangibleAssetsTables" xlink:href="otex-20180630.xsd#AcquiredIntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/Acquisitions" xlink:href="otex-20180630.xsd#Acquisitions" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsAcquisitionOfAnxeBusinessCorporationDetails" xlink:href="otex-20180630.xsd#AcquisitionsAcquisitionOfAnxeBusinessCorporationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsAcquisitionOfCovisintCorporationDetails" xlink:href="otex-20180630.xsd#AcquisitionsAcquisitionOfCovisintCorporationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsAcquisitionOfDaegisIncDetails" xlink:href="otex-20180630.xsd#AcquisitionsAcquisitionOfDaegisIncDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsAcquisitionOfGuidanceSoftwareDetails" xlink:href="otex-20180630.xsd#AcquisitionsAcquisitionOfGuidanceSoftwareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsAcquisitionOfHightailIncDetails" xlink:href="otex-20180630.xsd#AcquisitionsAcquisitionOfHightailIncDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsAcquisitionOfHightailIncPreliminaryPurchasePriceAllocationDetails" xlink:href="otex-20180630.xsd#AcquisitionsAcquisitionOfHightailIncPreliminaryPurchasePriceAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsAcquisitionOfRecommindIncDetails" xlink:href="otex-20180630.xsd#AcquisitionsAcquisitionOfRecommindIncDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsAppraisalProceedingsDetails" xlink:href="otex-20180630.xsd#AcquisitionsAppraisalProceedingsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsPurchaseOfAssetGroupConstitutingBusinessCcmBusinessDetails" xlink:href="otex-20180630.xsd#AcquisitionsPurchaseOfAssetGroupConstitutingBusinessCcmBusinessDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsPurchaseOfAssetGroupConstitutingBusinessCemBusinessDetails" xlink:href="otex-20180630.xsd#AcquisitionsPurchaseOfAssetGroupConstitutingBusinessCemBusinessDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsPurchaseOfAssetGroupConstitutingBusinessEcdBusinessDetails" xlink:href="otex-20180630.xsd#AcquisitionsPurchaseOfAssetGroupConstitutingBusinessEcdBusinessDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AcquisitionsTables" xlink:href="otex-20180630.xsd#AcquisitionsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AllowanceForDoubtfulAccounts" xlink:href="otex-20180630.xsd#AllowanceForDoubtfulAccounts" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AllowanceForDoubtfulAccountsChangesInCarryingAmountDetails" xlink:href="otex-20180630.xsd#AllowanceForDoubtfulAccountsChangesInCarryingAmountDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/AllowanceForDoubtfulAccountsTables" xlink:href="otex-20180630.xsd#AllowanceForDoubtfulAccountsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/BasisOfPresentation" xlink:href="otex-20180630.xsd#BasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/BasisOfPresentationAdditionalInformationDetails" xlink:href="otex-20180630.xsd#BasisOfPresentationAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ConsolidatedBalanceSheets" xlink:href="otex-20180630.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="otex-20180630.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="otex-20180630.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="otex-20180630.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:href="otex-20180630.xsd#ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ConsolidatedStatementsOfIncome" xlink:href="otex-20180630.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ConsolidatedStatementsOfShareholdersEquity" xlink:href="otex-20180630.xsd#ConsolidatedStatementsOfShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/DeferredChargesAndCredits" xlink:href="otex-20180630.xsd#DeferredChargesAndCredits" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/DeferredChargesAndCreditsDetails" xlink:href="otex-20180630.xsd#DeferredChargesAndCreditsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/DerivativeInstrumentsAndHedgingActivities" xlink:href="otex-20180630.xsd#DerivativeInstrumentsAndHedgingActivities" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/DerivativeInstrumentsAndHedgingActivitiesEffectsOnIncomeAndOtherComprehensiveIncomeOciDetails" xlink:href="otex-20180630.xsd#DerivativeInstrumentsAndHedgingActivitiesEffectsOnIncomeAndOtherComprehensiveIncomeOciDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueInCondensedConsolidatedBalanceSheetsDetails" xlink:href="otex-20180630.xsd#DerivativeInstrumentsAndHedgingActivitiesFairValueInCondensedConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/DerivativeInstrumentsAndHedgingActivitiesTables" xlink:href="otex-20180630.xsd#DerivativeInstrumentsAndHedgingActivitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/DocumentAndEntityInformation" xlink:href="otex-20180630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/EarningsPerShare" xlink:href="otex-20180630.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/EarningsPerShareDetails" xlink:href="otex-20180630.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/EarningsPerShareTables" xlink:href="otex-20180630.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/FairValueMeasurement" xlink:href="otex-20180630.xsd#FairValueMeasurement" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredAtFairValueOnNonrecurringBasisDetails" xlink:href="otex-20180630.xsd#FairValueMeasurementAssetsAndLiabilitiesMeasuredAtFairValueOnNonrecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/FairValueMeasurementScheduleOfFinancialAssetsAndLiabilitiesDetails" xlink:href="otex-20180630.xsd#FairValueMeasurementScheduleOfFinancialAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/FairValueMeasurementSummaryOfLongTermInvestmentsDetails" xlink:href="otex-20180630.xsd#FairValueMeasurementSummaryOfLongTermInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/FairValueMeasurementTables" xlink:href="otex-20180630.xsd#FairValueMeasurementTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/Goodwill" xlink:href="otex-20180630.xsd#Goodwill" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/GoodwillSummaryOfChangesInCarryingAmountOfGoodwillDetails" xlink:href="otex-20180630.xsd#GoodwillSummaryOfChangesInCarryingAmountOfGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/GoodwillTables" xlink:href="otex-20180630.xsd#GoodwillTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/GuaranteesAndContingencies" xlink:href="otex-20180630.xsd#GuaranteesAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/GuaranteesAndContingenciesAdditionalInformationDetails" xlink:href="otex-20180630.xsd#GuaranteesAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/GuaranteesAndContingenciesScheduleOfContractualObligationsWithMinimumPaymentsDetails" xlink:href="otex-20180630.xsd#GuaranteesAndContingenciesScheduleOfContractualObligationsWithMinimumPaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/GuaranteesAndContingenciesTables" xlink:href="otex-20180630.xsd#GuaranteesAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxes" xlink:href="otex-20180630.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesAdditionalInformationDetails" xlink:href="otex-20180630.xsd#IncomeTaxesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesChangesInBalanceOfGrossUnrecognizedTaxBenefitsDetails" xlink:href="otex-20180630.xsd#IncomeTaxesChangesInBalanceOfGrossUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="otex-20180630.xsd#IncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesComponentsOfIncomeTaxDetails" xlink:href="otex-20180630.xsd#IncomeTaxesComponentsOfIncomeTaxDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesIncomeBeforeProvisionForIncomeTaxDetails" xlink:href="otex-20180630.xsd#IncomeTaxesIncomeBeforeProvisionForIncomeTaxDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesIncomeTaxReconciliationDetails" xlink:href="otex-20180630.xsd#IncomeTaxesIncomeTaxReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesInterestAccruedAndPenaltiesAccruedRelatedToIncomeTaxExpenseDetails" xlink:href="otex-20180630.xsd#IncomeTaxesInterestAccruedAndPenaltiesAccruedRelatedToIncomeTaxExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesInterestAndPenaltiesRelatedToLiabilitiesForIncomeTaxExpenseDetails" xlink:href="otex-20180630.xsd#IncomeTaxesInterestAndPenaltiesRelatedToLiabilitiesForIncomeTaxExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/IncomeTaxesTables" xlink:href="otex-20180630.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/LongTermDebt" xlink:href="otex-20180630.xsd#LongTermDebt" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/LongTermDebtAdditionalInformationDetails" xlink:href="otex-20180630.xsd#LongTermDebtAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/LongTermDebtScheduleOfLongTermDebtDetails" xlink:href="otex-20180630.xsd#LongTermDebtScheduleOfLongTermDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/LongTermDebtSeniorUnsecuredFixedRateNotesDetails" xlink:href="otex-20180630.xsd#LongTermDebtSeniorUnsecuredFixedRateNotesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/LongTermDebtTables" xlink:href="otex-20180630.xsd#LongTermDebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/OtherAssets" xlink:href="otex-20180630.xsd#OtherAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/OtherAssetsAdditionalInformationDetails" xlink:href="otex-20180630.xsd#OtherAssetsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/OtherAssetsDetails" xlink:href="otex-20180630.xsd#OtherAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/OtherAssetsTables" xlink:href="otex-20180630.xsd#OtherAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefits" xlink:href="otex-20180630.xsd#PensionPlansAndOtherPostRetirementBenefits" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsAdditionalInformationDetails" xlink:href="otex-20180630.xsd#PensionPlansAndOtherPostRetirementBenefitsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsAnticipatedPensionPaymentsUnderPensionPlansDetails" xlink:href="otex-20180630.xsd#PensionPlansAndOtherPostRetirementBenefitsAnticipatedPensionPaymentsUnderPensionPlansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsComponentsOfNetPensionExpenseDetails" xlink:href="otex-20180630.xsd#PensionPlansAndOtherPostRetirementBenefitsComponentsOfNetPensionExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsScheduleOfChangeInBenefitObligationDetails" xlink:href="otex-20180630.xsd#PensionPlansAndOtherPostRetirementBenefitsScheduleOfChangeInBenefitObligationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsScheduleOfDefinedBenefitPlansAndLongTermEmployeeBenefitObligationsDetails" xlink:href="otex-20180630.xsd#PensionPlansAndOtherPostRetirementBenefitsScheduleOfDefinedBenefitPlansAndLongTermEmployeeBenefitObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsScheduleOfWeightedAverageKeyAssumptionsUsedForPensionPlansDetails" xlink:href="otex-20180630.xsd#PensionPlansAndOtherPostRetirementBenefitsScheduleOfWeightedAverageKeyAssumptionsUsedForPensionPlansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsTables" xlink:href="otex-20180630.xsd#PensionPlansAndOtherPostRetirementBenefitsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PropertyAndEquipment" xlink:href="otex-20180630.xsd#PropertyAndEquipment" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PropertyAndEquipmentDetails" xlink:href="otex-20180630.xsd#PropertyAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/PropertyAndEquipmentTables" xlink:href="otex-20180630.xsd#PropertyAndEquipmentTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/RelatedPartyTransactions" xlink:href="otex-20180630.xsd#RelatedPartyTransactions" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/RelatedPartyTransactionsDetails" xlink:href="otex-20180630.xsd#RelatedPartyTransactionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SegmentInformation" xlink:href="otex-20180630.xsd#SegmentInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SegmentInformationAdditionalInformationDetails" xlink:href="otex-20180630.xsd#SegmentInformationAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SegmentInformationEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryDetails" xlink:href="otex-20180630.xsd#SegmentInformationEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SegmentInformationRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaDetails" xlink:href="otex-20180630.xsd#SegmentInformationRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SegmentInformationTables" xlink:href="otex-20180630.xsd#SegmentInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPayments" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPayments" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsAdditionalInformationDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsLongTermIncentivePlansDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsLongTermIncentivePlansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsRsusDsusAndEsppDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsRsusDsusAndEsppDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfOutstandingStockOptionsActivityDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfOutstandingStockOptionsActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfShareBasedPaymentsDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfShareBasedPaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfWeightedAverageFairValueOfOptionsAndWeightedAverageAssumptionsUsedDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfWeightedAverageFairValueOfOptionsAndWeightedAverageAssumptionsUsedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfInformationRegardingStockOptionsOutstandingDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfInformationRegardingStockOptionsOutstandingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfOutstandingStockOptionsNarrativeDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfOutstandingStockOptionsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfStockOptionsOutstandingUnderVariousStockOptionPlansDetails" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfStockOptionsOutstandingUnderVariousStockOptionPlansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsTables" xlink:href="otex-20180630.xsd#ShareCapitalOptionPlansAndShareBasedPaymentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SpecialChargesRecoveries" xlink:href="otex-20180630.xsd#SpecialChargesRecoveries" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SpecialChargesRecoveriesAdditionalInformationDetails" xlink:href="otex-20180630.xsd#SpecialChargesRecoveriesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SpecialChargesRecoveriesScheduleOfRestructuringReserveDetails" xlink:href="otex-20180630.xsd#SpecialChargesRecoveriesScheduleOfRestructuringReserveDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SpecialChargesRecoveriesScheduleOfSpecialChargesRelatedToRestructuringPlanDetails" xlink:href="otex-20180630.xsd#SpecialChargesRecoveriesScheduleOfSpecialChargesRelatedToRestructuringPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SpecialChargesRecoveriesTables" xlink:href="otex-20180630.xsd#SpecialChargesRecoveriesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SubsequentEvents" xlink:href="otex-20180630.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SubsequentEventsCashDividendsDetails" xlink:href="otex-20180630.xsd#SubsequentEventsCashDividendsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SubsequentEventsRestructuringPlanDetails" xlink:href="otex-20180630.xsd#SubsequentEventsRestructuringPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SupplementalCashFlowDisclosures" xlink:href="otex-20180630.xsd#SupplementalCashFlowDisclosures" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SupplementalCashFlowDisclosuresDetails" xlink:href="otex-20180630.xsd#SupplementalCashFlowDisclosuresDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://opentext.com/role/SupplementalCashFlowDisclosuresTables" xlink:href="otex-20180630.xsd#SupplementalCashFlowDisclosuresTables" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsAllowanceForDoubtfulAccountsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsCapitalizedSoftwareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2431FDF79B4796573EAB8FB8576306C6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_B0DD5EA516D4A5A4BFDD8FB8575DBBB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2431FDF79B4796573EAB8FB8576306C6" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_B0DD5EA516D4A5A4BFDD8FB8575DBBB7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E6399A118489A368B3198FB8575DA4F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_B0DD5EA516D4A5A4BFDD8FB8575DBBB7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E6399A118489A368B3198FB8575DA4F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_908CCCC460ED6DCBC06F8FB85762EDF8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E6399A118489A368B3198FB8575DA4F5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_908CCCC460ED6DCBC06F8FB85762EDF8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_908CCCC460ED6DCBC06F8FB85762EDF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E6399A118489A368B3198FB8575DA4F5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_908CCCC460ED6DCBC06F8FB85762EDF8" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CapitalizedSoftwareMember" xlink:label="loc_otex_CapitalizedSoftwareMember_34A50A05DCD64E046AEE8FB85763B90D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_908CCCC460ED6DCBC06F8FB85762EDF8" xlink:to="loc_otex_CapitalizedSoftwareMember_34A50A05DCD64E046AEE8FB85763B90D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_55CF46B93D7F16C201FF8FB85763EDA4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_B0DD5EA516D4A5A4BFDD8FB8575DBBB7" xlink:to="loc_us-gaap_RangeAxis_55CF46B93D7F16C201FF8FB85763EDA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_40DCB5A650548BDB56058FB85763EE0B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_55CF46B93D7F16C201FF8FB85763EDA4" xlink:to="loc_us-gaap_RangeMember_40DCB5A650548BDB56058FB85763EE0B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_40DCB5A650548BDB56058FB85763EE0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_55CF46B93D7F16C201FF8FB85763EDA4" xlink:to="loc_us-gaap_RangeMember_40DCB5A650548BDB56058FB85763EE0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_55485963F25BDBF6F6C38FB85763D4F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_40DCB5A650548BDB56058FB85763EE0B" xlink:to="loc_us-gaap_MinimumMember_55485963F25BDBF6F6C38FB85763D4F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_F23E2D8F91FDEFC335318FB857630744" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_40DCB5A650548BDB56058FB85763EE0B" xlink:to="loc_us-gaap_MaximumMember_F23E2D8F91FDEFC335318FB857630744" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_CD3A9569C11101545A648FB85763DDD2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2431FDF79B4796573EAB8FB8576306C6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_CD3A9569C11101545A648FB85763DDD2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsForeignCurrencyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntercompanyForeignCurrencyBalanceLineItems" xlink:label="loc_us-gaap_IntercompanyForeignCurrencyBalanceLineItems_F3D1868965989086619A8FB858AE2446" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfIntercompanyForeignCurrencyBalanceTable" xlink:label="loc_us-gaap_ScheduleOfIntercompanyForeignCurrencyBalanceTable_E93B6B0D1FAD3294C9D78FB858AE3FB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IntercompanyForeignCurrencyBalanceLineItems_F3D1868965989086619A8FB858AE2446" xlink:to="loc_us-gaap_ScheduleOfIntercompanyForeignCurrencyBalanceTable_E93B6B0D1FAD3294C9D78FB858AE3FB9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_B4A95417A2DC8B21FF528FB858AE039F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfIntercompanyForeignCurrencyBalanceTable_E93B6B0D1FAD3294C9D78FB858AE3FB9" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_B4A95417A2DC8B21FF528FB858AE039F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_09FC2AE9A26D238102B08FB858AE8AF8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_B4A95417A2DC8B21FF528FB858AE039F" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_09FC2AE9A26D238102B08FB858AE8AF8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_09FC2AE9A26D238102B08FB858AE8AF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_B4A95417A2DC8B21FF528FB858AE039F" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_09FC2AE9A26D238102B08FB858AE8AF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseMember" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_61FA0C154A71F1A7DBE88FB858AE6096" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_09FC2AE9A26D238102B08FB858AE8AF8" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_61FA0C154A71F1A7DBE88FB858AE6096" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_F4066121DBFB1D39BC088FB858AE8F0E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntercompanyForeignCurrencyBalanceLineItems_F3D1868965989086619A8FB858AE2446" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_F4066121DBFB1D39BC088FB858AE8F0E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsGoodwillDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsImpairmentOfLongLivedAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsPropertyAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2B3A4AF0E362A529476BF7C73585E5F9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_385D89CFEF052CF33459F7C735848C2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2B3A4AF0E362A529476BF7C73585E5F9" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_385D89CFEF052CF33459F7C735848C2A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_374C7ED5BFEA65E89558F7C73584B420" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_385D89CFEF052CF33459F7C735848C2A" xlink:to="loc_us-gaap_RangeAxis_374C7ED5BFEA65E89558F7C73584B420" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_BA12E232F38FD0A15825F7C735845E56_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_374C7ED5BFEA65E89558F7C73584B420" xlink:to="loc_us-gaap_RangeMember_BA12E232F38FD0A15825F7C735845E56_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_BA12E232F38FD0A15825F7C735845E56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_374C7ED5BFEA65E89558F7C73584B420" xlink:to="loc_us-gaap_RangeMember_BA12E232F38FD0A15825F7C735845E56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_5ADBB784FBD07E8171CBF7C73584A3BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_BA12E232F38FD0A15825F7C735845E56" xlink:to="loc_us-gaap_MinimumMember_5ADBB784FBD07E8171CBF7C73584A3BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_53F5A73E5E7E731302DCF7C73584D905" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_BA12E232F38FD0A15825F7C735845E56" xlink:to="loc_us-gaap_MaximumMember_53F5A73E5E7E731302DCF7C73584D905" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_96B9720B23D6873E98F0F7C73584A996" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_385D89CFEF052CF33459F7C735848C2A" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_96B9720B23D6873E98F0F7C73584A996" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_96B9720B23D6873E98F0F7C73584A996" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_96B9720B23D6873E98F0F7C73584A996" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_EBBA27F1A74A2BC7C440F7C73585B5AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_EBBA27F1A74A2BC7C440F7C73585B5AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OfficeEquipmentMember" xlink:label="loc_us-gaap_OfficeEquipmentMember_D78886A3D43380BF8804F7C73585C450" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:to="loc_us-gaap_OfficeEquipmentMember_D78886A3D43380BF8804F7C73585C450" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ComputerHardwareMember" xlink:label="loc_otex_ComputerHardwareMember_F8504253E325961DF0E2F7C73585927A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:to="loc_otex_ComputerHardwareMember_F8504253E325961DF0E2F7C73585927A" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ComputerSoftwareMember" xlink:label="loc_otex_ComputerSoftwareMember_47399D9877AE554D1A96F7CA6B617621" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:to="loc_otex_ComputerSoftwareMember_47399D9877AE554D1A96F7CA6B617621" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CapitalizedSoftwareMember" xlink:label="loc_otex_CapitalizedSoftwareMember_9D73CD5EFAD4BA7C7132F7C735850513" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:to="loc_otex_CapitalizedSoftwareMember_9D73CD5EFAD4BA7C7132F7C735850513" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_42720500ACE0B3FEB324F7C7358522F6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_42720500ACE0B3FEB324F7C7358522F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_9C3B1A7E97A155B2A9BDF7C735855CAA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6CEE988903666A5087D4F7C7358477F8" xlink:to="loc_us-gaap_BuildingMember_9C3B1A7E97A155B2A9BDF7C735855CAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_9D04AED0D66FE020BEB8F7C735859C03" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2B3A4AF0E362A529476BF7C73585E5F9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_9D04AED0D66FE020BEB8F7C735859C03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TangibleAssetImpairmentCharges" xlink:label="loc_us-gaap_TangibleAssetImpairmentCharges_3F1D46922EC964D259ABF7C735856289" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_2B3A4AF0E362A529476BF7C73585E5F9" xlink:to="loc_us-gaap_TangibleAssetImpairmentCharges_3F1D46922EC964D259ABF7C735856289" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsRecentAccountingPronouncementsIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_C2A05E5609B988F9F083CE822F573956" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_BE5B65343748A26EB759CE822F56A8C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_C2A05E5609B988F9F083CE822F573956" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_BE5B65343748A26EB759CE822F56A8C6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_60BCE8940B8E4A69E1DECE8E75C8D854" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_BE5B65343748A26EB759CE822F56A8C6" xlink:to="loc_us-gaap_StatementScenarioAxis_60BCE8940B8E4A69E1DECE8E75C8D854" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_D230DDE6156B22A8D175CE8E75D36808_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_60BCE8940B8E4A69E1DECE8E75C8D854" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_D230DDE6156B22A8D175CE8E75D36808_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_D230DDE6156B22A8D175CE8E75D36808" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_60BCE8940B8E4A69E1DECE8E75C8D854" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_D230DDE6156B22A8D175CE8E75D36808" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioForecastMember" xlink:label="loc_us-gaap_ScenarioForecastMember_5528DF8162AAE2F8DC49CE8E953E0B81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_D230DDE6156B22A8D175CE8E75D36808" xlink:to="loc_us-gaap_ScenarioForecastMember_5528DF8162AAE2F8DC49CE8E953E0B81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_E6F4D6D63FA1EED03A25CE822F57960A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_BE5B65343748A26EB759CE822F56A8C6" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_E6F4D6D63FA1EED03A25CE822F57960A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_D22B32F402A1F13E8440CE822F574925_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_E6F4D6D63FA1EED03A25CE822F57960A" xlink:to="loc_us-gaap_TypeOfAdoptionMember_D22B32F402A1F13E8440CE822F574925_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_D22B32F402A1F13E8440CE822F574925" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_E6F4D6D63FA1EED03A25CE822F57960A" xlink:to="loc_us-gaap_TypeOfAdoptionMember_D22B32F402A1F13E8440CE822F574925" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201616Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201616Member_9442F4D5351D2B0070BECE822F57DE1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_D22B32F402A1F13E8440CE822F574925" xlink:to="loc_us-gaap_AccountingStandardsUpdate201616Member_9442F4D5351D2B0070BECE822F57DE1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_6CE111AAAB0D2B09F899CE822F575A4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_C2A05E5609B988F9F083CE822F573956" xlink:to="loc_us-gaap_Assets_6CE111AAAB0D2B09F899CE822F575A4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_ACE4B5040665273766C6CE822F57E064" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_C2A05E5609B988F9F083CE822F573956" xlink:to="loc_us-gaap_Liabilities_ACE4B5040665273766C6CE822F57E064" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_73525B81F8219CD4CE4ACE822F575BE1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_C2A05E5609B988F9F083CE822F573956" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_73525B81F8219CD4CE4ACE822F575BE1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsRecentAccountingPronouncementsTransitionDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_5A1AB148294BBB95DEB0F631C773D571" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5C1AC865F3FA805056FEF631C77169E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_5A1AB148294BBB95DEB0F631C773D571" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5C1AC865F3FA805056FEF631C77169E2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_23599EC449141A2DC82DF631C7721CF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5C1AC865F3FA805056FEF631C77169E2" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_23599EC449141A2DC82DF631C7721CF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_BF6006A1934FECC50E2DF631C77219CD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_23599EC449141A2DC82DF631C7721CF7" xlink:to="loc_us-gaap_TypeOfAdoptionMember_BF6006A1934FECC50E2DF631C77219CD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_BF6006A1934FECC50E2DF631C77219CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_23599EC449141A2DC82DF631C7721CF7" xlink:to="loc_us-gaap_TypeOfAdoptionMember_BF6006A1934FECC50E2DF631C77219CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_35F659C6366D4C6E943DF631C772DC76" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_BF6006A1934FECC50E2DF631C77219CD" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_35F659C6366D4C6E943DF631C772DC76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_7F649D95E9F8E083FF89F631C773770E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5C1AC865F3FA805056FEF631C77169E2" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_7F649D95E9F8E083FF89F631C773770E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_88CDD90AA6CF71834C69F631C7731925_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_7F649D95E9F8E083FF89F631C773770E" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_88CDD90AA6CF71834C69F631C7731925_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_88CDD90AA6CF71834C69F631C7731925" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_7F649D95E9F8E083FF89F631C773770E" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_88CDD90AA6CF71834C69F631C7731925" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_97DF50065E32E022D535F631C77309B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_88CDD90AA6CF71834C69F631C7731925" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_97DF50065E32E022D535F631C77309B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_69A9CC0D456114F59722F631C773FA63" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5C1AC865F3FA805056FEF631C77169E2" xlink:to="loc_us-gaap_StatementScenarioAxis_69A9CC0D456114F59722F631C773FA63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_1B0993CE59C3AABBBE4CF631C773208D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_69A9CC0D456114F59722F631C773FA63" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_1B0993CE59C3AABBBE4CF631C773208D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_1B0993CE59C3AABBBE4CF631C773208D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_69A9CC0D456114F59722F631C773FA63" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_1B0993CE59C3AABBBE4CF631C773208D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioForecastMember" xlink:label="loc_us-gaap_ScenarioForecastMember_A0D5A03FE53031DDE95BF631C773FFD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_1B0993CE59C3AABBBE4CF631C773208D" xlink:to="loc_us-gaap_ScenarioForecastMember_A0D5A03FE53031DDE95BF631C773FFD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_AD1C7A650B500344DA30F631C773EBE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_5A1AB148294BBB95DEB0F631C773D571" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_AD1C7A650B500344DA30F631C773EBE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerLiability" xlink:label="loc_us-gaap_ContractWithCustomerLiability_BB97B0250FC1AABC09FCF631C773705E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_5A1AB148294BBB95DEB0F631C773D571" xlink:to="loc_us-gaap_ContractWithCustomerLiability_BB97B0250FC1AABC09FCF631C773705E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredCostsCurrentAndNoncurrent" xlink:label="loc_us-gaap_DeferredCostsCurrentAndNoncurrent_0BFD2DBAF08B0345BF34F631C7737F22" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_5A1AB148294BBB95DEB0F631C773D571" xlink:to="loc_us-gaap_DeferredCostsCurrentAndNoncurrent_0BFD2DBAF08B0345BF34F631C7737F22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalizedContractCostNet" xlink:label="loc_us-gaap_CapitalizedContractCostNet_8638834A04E4C6725972F631C773E185" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_5A1AB148294BBB95DEB0F631C773D571" xlink:to="loc_us-gaap_CapitalizedContractCostNet_8638834A04E4C6725972F631C773E185" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerAssetNet" xlink:label="loc_us-gaap_ContractWithCustomerAssetNet_0D5CAB9F14FD3B67D6C6F631C773107C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_5A1AB148294BBB95DEB0F631C773D571" xlink:to="loc_us-gaap_ContractWithCustomerAssetNet_0D5CAB9F14FD3B67D6C6F631C773107C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOnRetainedEarningsTax1" xlink:label="loc_us-gaap_CumulativeEffectOnRetainedEarningsTax1_1B2EC266CE96B7F1F76DF631C77353A3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_5A1AB148294BBB95DEB0F631C773D571" xlink:to="loc_us-gaap_CumulativeEffectOnRetainedEarningsTax1_1B2EC266CE96B7F1F76DF631C77353A3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AccountingPoliciesAndRecentAccountingPronouncementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountsPayableAndAccruedLiabilities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountsPayableAndAccruedLiabilitiesNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountsPayableAndAccruedLiabilitiesScheduleOfCurrentLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountsPayableAndAccruedLiabilitiesScheduleOfLongTermAccruedLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AccountsPayableAndAccruedLiabilitiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AcquiredIntangibleAssets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AcquiredIntangibleAssetsCalculationOfAcquiredIntangiblesByAssetClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_75C5139D87995E369C560EB0A479AF3F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_F7A46FC3880A5C9D86E8508197B07841" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_75C5139D87995E369C560EB0A479AF3F" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_F7A46FC3880A5C9D86E8508197B07841" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CFBE1BD0728459C3914EC71CBC95D15E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_F7A46FC3880A5C9D86E8508197B07841" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CFBE1BD0728459C3914EC71CBC95D15E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3A160563F5EB1FEA88F57C9CAFC138BC_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CFBE1BD0728459C3914EC71CBC95D15E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3A160563F5EB1FEA88F57C9CAFC138BC_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_58D0B5669D305E6282929596109655D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CFBE1BD0728459C3914EC71CBC95D15E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_58D0B5669D305E6282929596109655D2" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_85A828C5C7315084B4953E2F454F4673" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_58D0B5669D305E6282929596109655D2" xlink:to="loc_otex_TechnologyAssetsMember_85A828C5C7315084B4953E2F454F4673" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_E4E9BAFDFCEF52F585E009279EF0F720" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_58D0B5669D305E6282929596109655D2" xlink:to="loc_otex_CustomerAssetsMember_E4E9BAFDFCEF52F585E009279EF0F720" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNetAbstract" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_45152CD645B45EC799EA15763EEFE1D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_75C5139D87995E369C560EB0A479AF3F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_45152CD645B45EC799EA15763EEFE1D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_85021158E1905FBE850C6861F9A54C75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_45152CD645B45EC799EA15763EEFE1D1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_85021158E1905FBE850C6861F9A54C75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_F9E51B40B566522094E7B1F51DD3ED71" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_45152CD645B45EC799EA15763EEFE1D1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_F9E51B40B566522094E7B1F51DD3ED71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4B1BB91F18F552898DD34F079946631D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_45152CD645B45EC799EA15763EEFE1D1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_4B1BB91F18F552898DD34F079946631D" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_FiniteLivedIntangibleAssetsFullyAmortizedDuringthePeriod" xlink:label="loc_otex_FiniteLivedIntangibleAssetsFullyAmortizedDuringthePeriod_43D9B05639475BB3B0523E8794F1C085" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_75C5139D87995E369C560EB0A479AF3F" xlink:to="loc_otex_FiniteLivedIntangibleAssetsFullyAmortizedDuringthePeriod_43D9B05639475BB3B0523E8794F1C085" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_B610F13E0FF25DB0BCB6D68EA806481C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_75C5139D87995E369C560EB0A479AF3F" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_B610F13E0FF25DB0BCB6D68EA806481C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquiredIntangibleAssetsCalculationOfEstimatedFutureAmortizationExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AcquiredIntangibleAssetsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/Acquisitions" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsAcquisitionOfAnxeBusinessCorporationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_EB4B25D48BD582146942A66D35DDA981" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7F68C1C81DD2F5395484A66D35D73492" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EB4B25D48BD582146942A66D35DDA981" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7F68C1C81DD2F5395484A66D35D73492" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_BD422C95D850669F7E15A66D35D8B26E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7F68C1C81DD2F5395484A66D35D73492" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_BD422C95D850669F7E15A66D35D8B26E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D4A896DC8995F8846C58A66D35D8CDE7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BD422C95D850669F7E15A66D35D8B26E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D4A896DC8995F8846C58A66D35D8CDE7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D4A896DC8995F8846C58A66D35D8CDE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BD422C95D850669F7E15A66D35D8B26E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D4A896DC8995F8846C58A66D35D8CDE7" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ANXeBusinessCorpMember" xlink:label="loc_otex_ANXeBusinessCorpMember_A68F76DF3365D2E3E390A66D35D8B644" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D4A896DC8995F8846C58A66D35D8CDE7" xlink:to="loc_otex_ANXeBusinessCorpMember_A68F76DF3365D2E3E390A66D35D8B644" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_18BFE0F46CB42872D63EA66D35D87566" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7F68C1C81DD2F5395484A66D35D73492" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_18BFE0F46CB42872D63EA66D35D87566" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0081E3DC1DB832ABEE6A66D35DD0DE7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_18BFE0F46CB42872D63EA66D35D87566" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0081E3DC1DB832ABEE6A66D35DD0DE7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0081E3DC1DB832ABEE6A66D35DD0DE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_18BFE0F46CB42872D63EA66D35D87566" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0081E3DC1DB832ABEE6A66D35DD0DE7" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_8B55F9B1CB6B28D8B77EA66D35DDD99B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0081E3DC1DB832ABEE6A66D35DD0DE7" xlink:to="loc_otex_CustomerAssetsMember_8B55F9B1CB6B28D8B77EA66D35DDD99B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_720DAA08E6FCC6514E85A66D35DDA197" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0081E3DC1DB832ABEE6A66D35DD0DE7" xlink:to="loc_otex_TechnologyAssetsMember_720DAA08E6FCC6514E85A66D35DDA197" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_AC005C4CB37568FEA80EA66D35DD73D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EB4B25D48BD582146942A66D35DDA981" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_AC005C4CB37568FEA80EA66D35DD73D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EB4B25D48BD582146942A66D35DDA981" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_3401A001EEEA5D1EE4B3A66D35DD2CB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_3401A001EEEA5D1EE4B3A66D35DD2CB0" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_C2DBDE0EED9A8C0B5567A66D35DEA421" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_C2DBDE0EED9A8C0B5567A66D35DEA421" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_C13E27A32F2402E94270A66D35DE5E32" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_C13E27A32F2402E94270A66D35DE5E32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_AB638B942221CD291E19A66D35DECFB3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_AB638B942221CD291E19A66D35DECFB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_58C5873B9E68CB9AEF77A66D35DE6F85" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_58C5873B9E68CB9AEF77A66D35DE6F85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_3EEB2D0CB9D5BB560749A66D35DE3D0D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:to="loc_us-gaap_Goodwill_3EEB2D0CB9D5BB560749A66D35DE3D0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_B7C37D8F6A430651F5A1A66D35DE3522" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_5AB4BC40C00C12B0810FA66D35DD54DE" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_B7C37D8F6A430651F5A1A66D35DE3522" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_E353F6FB9364EA5C6993A66D35DE7634" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EB4B25D48BD582146942A66D35DDA981" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_E353F6FB9364EA5C6993A66D35DE7634" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_E630FE759C655F78D72AA66D35DE1DAD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EB4B25D48BD582146942A66D35DDA981" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_E630FE759C655F78D72AA66D35DE1DAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_0DD6D4EC071C39F60212A66D35DE6075" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EB4B25D48BD582146942A66D35DDA981" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_0DD6D4EC071C39F60212A66D35DE6075" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_2FF3282D2F1D2B3A8ACEA66D35DEA124" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EB4B25D48BD582146942A66D35DDA981" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_2FF3282D2F1D2B3A8ACEA66D35DEA124" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsAcquisitionOfCovisintCorporationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3B0D16C31F18E4221AF9A5F2F72F31BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3B0D16C31F18E4221AF9A5F2F72F31BD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_B6034DD286EAD4772CCEA5F2F72F5D3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3B0D16C31F18E4221AF9A5F2F72F31BD" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_B6034DD286EAD4772CCEA5F2F72F5D3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD98AA9A584DA390EFF2A5F2F72F5991_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B6034DD286EAD4772CCEA5F2F72F5D3F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD98AA9A584DA390EFF2A5F2F72F5991_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD98AA9A584DA390EFF2A5F2F72F5991" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_B6034DD286EAD4772CCEA5F2F72F5D3F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD98AA9A584DA390EFF2A5F2F72F5991" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CovisintCorporationMember" xlink:label="loc_otex_CovisintCorporationMember_91E06392189AFE25CE35A5F2F72F0C55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD98AA9A584DA390EFF2A5F2F72F5991" xlink:to="loc_otex_CovisintCorporationMember_91E06392189AFE25CE35A5F2F72F0C55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2CE457040BC5B8552318A5F2F72F073E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3B0D16C31F18E4221AF9A5F2F72F31BD" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2CE457040BC5B8552318A5F2F72F073E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A828DF13A16BB31D84DCA5F2F72F7934_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2CE457040BC5B8552318A5F2F72F073E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A828DF13A16BB31D84DCA5F2F72F7934_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A828DF13A16BB31D84DCA5F2F72F7934" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2CE457040BC5B8552318A5F2F72F073E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A828DF13A16BB31D84DCA5F2F72F7934" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_9632143BA03EC41C22E2A5F2F7307B30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A828DF13A16BB31D84DCA5F2F72F7934" xlink:to="loc_otex_CustomerAssetsMember_9632143BA03EC41C22E2A5F2F7307B30" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_78A424AA769B0EEC1B11A5F2F730B0E6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A828DF13A16BB31D84DCA5F2F72F7934" xlink:to="loc_otex_TechnologyAssetsMember_78A424AA769B0EEC1B11A5F2F730B0E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1187AE884948E7EDE8CCA5F2F73094F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1187AE884948E7EDE8CCA5F2F73094F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_F6FD1753F5FF85F3FFFBA5F2F7307EC5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_F6FD1753F5FF85F3FFFBA5F2F7307EC5" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_7F4E171489B801C0D077A5F2F7309082" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_7F4E171489B801C0D077A5F2F7309082" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_3A1275058984449B3EBDA5F2F7300A48" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_3A1275058984449B3EBDA5F2F7300A48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_242980E16ECBD523B596A5F2F730C398" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_242980E16ECBD523B596A5F2F730C398" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_5CDDAFBBC436F121CE6EA5F2F730E0C7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_5CDDAFBBC436F121CE6EA5F2F730E0C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_DDE3CFC22DC05156B996A5F2F7309011" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:to="loc_us-gaap_Goodwill_DDE3CFC22DC05156B996A5F2F7309011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_6C073622B71125C0EAF7A5F2F7305858" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_6C073622B71125C0EAF7A5F2F7305858" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_845A9E8CBBF57612019BA5F2F730DDB6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_BC5F28ACB24AFF62954FA5F2F730442C" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_845A9E8CBBF57612019BA5F2F730DDB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_FDE8C35B1AF1C59F5B3AA5F2F7300050" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_FDE8C35B1AF1C59F5B3AA5F2F7300050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_925921D1B049B8613170A5F2F730A7C9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_925921D1B049B8613170A5F2F730A7C9" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue" xlink:label="loc_otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue_711FE27E406BBE8B441EA5F2F7300D1E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue_711FE27E406BBE8B441EA5F2F7300D1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_DECB346C21E32453DCD4A5F2F730A60D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_DECB346C21E32453DCD4A5F2F730A60D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_98B39A35A1A93BDA2BBDA5F2F730D77F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_98B39A35A1A93BDA2BBDA5F2F730D77F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_7B7663C56352B79BAF25A5F2F7307AE5" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_7B7663C56352B79BAF25A5F2F7307AE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_0C1155618230465F569BA5F2F730F84E" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2944C3AEFB8149174D8CA5F2F730BCAB" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_0C1155618230465F569BA5F2F730F84E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsAcquisitionOfDaegisIncDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_02281CEB11A0691F6D7EA66D379670C3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_36DA07B0C59E08C6185BA66D3795C08F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_02281CEB11A0691F6D7EA66D379670C3" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_36DA07B0C59E08C6185BA66D3795C08F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_E9DFFA55AEEE5D8410DBA66D379582F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_36DA07B0C59E08C6185BA66D3795C08F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_E9DFFA55AEEE5D8410DBA66D379582F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9272AC75D3B0CB402B77A66D37961E9E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E9DFFA55AEEE5D8410DBA66D379582F6" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9272AC75D3B0CB402B77A66D37961E9E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9272AC75D3B0CB402B77A66D37961E9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_E9DFFA55AEEE5D8410DBA66D379582F6" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9272AC75D3B0CB402B77A66D37961E9E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DaegisInc.Member" xlink:label="loc_otex_DaegisInc.Member_5F9CE46568BBE76CBD8DA66D37965D18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9272AC75D3B0CB402B77A66D37961E9E" xlink:to="loc_otex_DaegisInc.Member_5F9CE46568BBE76CBD8DA66D37965D18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_ACAA3013D2165B439EDDA66D3796FA4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_02281CEB11A0691F6D7EA66D379670C3" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_ACAA3013D2165B439EDDA66D3796FA4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_0A26F84E3BD5BFF8E1EAA66D3796115F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_02281CEB11A0691F6D7EA66D379670C3" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_0A26F84E3BD5BFF8E1EAA66D3796115F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_B2E10E4036C8AAF6F7B7A66D37969911" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_02281CEB11A0691F6D7EA66D379670C3" xlink:to="loc_us-gaap_Goodwill_B2E10E4036C8AAF6F7B7A66D37969911" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_D84838917DE5D6BD0A0DA66D37964BB7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_02281CEB11A0691F6D7EA66D379670C3" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_D84838917DE5D6BD0A0DA66D37964BB7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsAcquisitionOfGuidanceSoftwareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_197DD4D2D4165A7EA41CA5F2F73B08B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_197DD4D2D4165A7EA41CA5F2F73B08B8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_DB74C12833D9B6007850A5F2F73B1504" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_197DD4D2D4165A7EA41CA5F2F73B08B8" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_DB74C12833D9B6007850A5F2F73B1504" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F01DF72F3AC22CB3F77EA5F2F73BBBC8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_DB74C12833D9B6007850A5F2F73B1504" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F01DF72F3AC22CB3F77EA5F2F73BBBC8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F01DF72F3AC22CB3F77EA5F2F73BBBC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_DB74C12833D9B6007850A5F2F73B1504" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F01DF72F3AC22CB3F77EA5F2F73BBBC8" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GuidanceSoftwareInc.Member" xlink:label="loc_otex_GuidanceSoftwareInc.Member_DAAE0689987D33DDB467A5F2F73B28CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F01DF72F3AC22CB3F77EA5F2F73BBBC8" xlink:to="loc_otex_GuidanceSoftwareInc.Member_DAAE0689987D33DDB467A5F2F73B28CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7954C7C64113FA4F9302A5F2F73B8B38" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_197DD4D2D4165A7EA41CA5F2F73B08B8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7954C7C64113FA4F9302A5F2F73B8B38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6B49B839D5520292767A5F2F73B9B9B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7954C7C64113FA4F9302A5F2F73B8B38" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6B49B839D5520292767A5F2F73B9B9B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6B49B839D5520292767A5F2F73B9B9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7954C7C64113FA4F9302A5F2F73B8B38" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6B49B839D5520292767A5F2F73B9B9B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_BC52F05201BC293B5F35A5F2F73BFDF6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6B49B839D5520292767A5F2F73B9B9B" xlink:to="loc_otex_CustomerAssetsMember_BC52F05201BC293B5F35A5F2F73BFDF6" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_7930D24793547B8CF467A5F2F73BEA64" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A6B49B839D5520292767A5F2F73B9B9B" xlink:to="loc_otex_TechnologyAssetsMember_7930D24793547B8CF467A5F2F73BEA64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseAxis" xlink:label="loc_us-gaap_LitigationCaseAxis_DF27CFA1E102ADF1F381A5F2F73B15E3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_197DD4D2D4165A7EA41CA5F2F73B08B8" xlink:to="loc_us-gaap_LitigationCaseAxis_DF27CFA1E102ADF1F381A5F2F73B15E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_872C363DC039112EFBF7A5F2F73B91F9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationCaseAxis_DF27CFA1E102ADF1F381A5F2F73B15E3" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_872C363DC039112EFBF7A5F2F73B91F9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_872C363DC039112EFBF7A5F2F73B91F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationCaseAxis_DF27CFA1E102ADF1F381A5F2F73B15E3" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_872C363DC039112EFBF7A5F2F73B91F9" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_AppraisalProceedingsMember" xlink:label="loc_otex_AppraisalProceedingsMember_3FDAA758F041EF825A7AA5F2F73B26D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LitigationCaseTypeDomain_872C363DC039112EFBF7A5F2F73B91F9" xlink:to="loc_otex_AppraisalProceedingsMember_3FDAA758F041EF825A7AA5F2F73B26D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_677BA5147FE0DC001F13A5F2F73B6BE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_677BA5147FE0DC001F13A5F2F73B6BE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredAbstract" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_82930E1FABE9DE284EADA5F2F73BC2E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_82930E1FABE9DE284EADA5F2F73BC2E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_1A20F4D71B00CA152472A5F2F73CD919" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_82930E1FABE9DE284EADA5F2F73BC2E3" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_1A20F4D71B00CA152472A5F2F73CD919" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1_634D93EA94890B2B13C3A5F2F73CA74C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredAbstract_82930E1FABE9DE284EADA5F2F73BC2E3" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1_634D93EA94890B2B13C3A5F2F73CA74C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyAccrualAtCarryingValue" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_2AB8A6F024D3EFF1CBEAA5F2F73B550F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_2AB8A6F024D3EFF1CBEAA5F2F73B550F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_EEE5C5A4D8BFECEB360AA5F2F73C42B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_EEE5C5A4D8BFECEB360AA5F2F73C42B4" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_4F738335E633CAB0E36EA5F2F73C45FF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_4F738335E633CAB0E36EA5F2F73C45FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_CEE6B1112C544292A4BCA5F2F73C5424" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_CEE6B1112C544292A4BCA5F2F73C5424" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_AC1B53DA916610781ADEA5F2F73C7F13" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_AC1B53DA916610781ADEA5F2F73C7F13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_690C52C6E4AB52306D8AA5F2F73C066A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_690C52C6E4AB52306D8AA5F2F73C066A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_A6F73965DA005CDE48D5A5F2F73C1818" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:to="loc_us-gaap_Goodwill_A6F73965DA005CDE48D5A5F2F73C1818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_758E4D6453AB32A987C6A5F2F73C43B8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_758E4D6453AB32A987C6A5F2F73C43B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_1DA18675E9D9BF7764FEA67D9051B1D9" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_93C8B2362DF00832B565A5F2F73C7DAF" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_1DA18675E9D9BF7764FEA67D9051B1D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_03E7AFDD526092B50318A5F2F73C2BA1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_03E7AFDD526092B50318A5F2F73C2BA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_A9089E7E95A7F8E60536A5F2F73CD720" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_A9089E7E95A7F8E60536A5F2F73CD720" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue" xlink:label="loc_otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue_B202C03D98DD0A73E567A5F2F73C3CBB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue_B202C03D98DD0A73E567A5F2F73C3CBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_E31A353D93D300F484FCA5F2F73C9069" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_E31A353D93D300F484FCA5F2F73C9069" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_5EF1DC103B4B7F5AB093A5F2F73CA763" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_5EF1DC103B4B7F5AB093A5F2F73CA763" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_00B48C2A07E476BD31C4A5F2F73CCEE3" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_00B48C2A07E476BD31C4A5F2F73CCEE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain_3BBC404BC951A60F22E8A5F2F73CD23A" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain_3BBC404BC951A60F22E8A5F2F73CD23A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_109E0C24FD361A175406A5F2F73CA3D0" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_075917561AF3C704FED2A5F2F73B9736" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_109E0C24FD361A175406A5F2F73CA3D0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsAcquisitionOfHightailIncDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1848B08FE29654F5AD7F7EEC3F5AAEFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1848B08FE29654F5AD7F7EEC3F5AAEFF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_68BB5DFA299F5DC2A91A4A8E07C300A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1848B08FE29654F5AD7F7EEC3F5AAEFF" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_68BB5DFA299F5DC2A91A4A8E07C300A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1063DFB61A4E4BC817B6E05AB8E35143_69156403F425595EBCE88AC45009B7DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_68BB5DFA299F5DC2A91A4A8E07C300A0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1063DFB61A4E4BC817B6E05AB8E35143_69156403F425595EBCE88AC45009B7DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_CCF930A892115582987EA1E75126D033" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_68BB5DFA299F5DC2A91A4A8E07C300A0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_CCF930A892115582987EA1E75126D033" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_HightailIncMember" xlink:label="loc_otex_HightailIncMember_8F25D3F8B21650F686693319BA060204" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_CCF930A892115582987EA1E75126D033" xlink:to="loc_otex_HightailIncMember_8F25D3F8B21650F686693319BA060204" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_409BA47A723059F694CDC55A968136EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_409BA47A723059F694CDC55A968136EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_FD6D4574AA96573E8BA7094E683774C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_Goodwill_FD6D4574AA96573E8BA7094E683774C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_134475E5CE365804A4102ADA65325E52" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_134475E5CE365804A4102ADA65325E52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_50E3890FF18C5964A4AB3A8D46AA00ED" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_50E3890FF18C5964A4AB3A8D46AA00ED" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue" xlink:label="loc_otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue_9438DC785B8258CE958566F364BA3CF0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue_9438DC785B8258CE958566F364BA3CF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_8F6BAFF8A4FC5AC7A60D3035E818508E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_8F6BAFF8A4FC5AC7A60D3035E818508E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_0E8F5825EA0D5E95B3101E32B28A83EB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_0E8F5825EA0D5E95B3101E32B28A83EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_4FA3D45383C1516FB8125AF3B6329134" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_4FA3D45383C1516FB8125AF3B6329134" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_0F504F22BDC251059DA0BA90941D5BD9" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DA433CCFAE1C5A87B848C8662F0D042F" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_0F504F22BDC251059DA0BA90941D5BD9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsAcquisitionOfHightailIncPreliminaryPurchasePriceAllocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0F1ED64DEB63561AB29864C621751DB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0F1ED64DEB63561AB29864C621751DB4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_D721ED50938B54C18E7E0AEE67C1D681" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0F1ED64DEB63561AB29864C621751DB4" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D721ED50938B54C18E7E0AEE67C1D681" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8133A82EEB1A624993343C7C0E96D780_69156403F425595EBCE88AC45009B7DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D721ED50938B54C18E7E0AEE67C1D681" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8133A82EEB1A624993343C7C0E96D780_69156403F425595EBCE88AC45009B7DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD962FB59F7359DC83969A9AF904D8CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D721ED50938B54C18E7E0AEE67C1D681" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD962FB59F7359DC83969A9AF904D8CB" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_HightailIncMember" xlink:label="loc_otex_HightailIncMember_98FA52CD6C0C575A89015C5BF18CEE15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FD962FB59F7359DC83969A9AF904D8CB" xlink:to="loc_otex_HightailIncMember_98FA52CD6C0C575A89015C5BF18CEE15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_47185A351FA25B04B6DCEDDA7FB5A6C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0F1ED64DEB63561AB29864C621751DB4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_47185A351FA25B04B6DCEDDA7FB5A6C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_FE2940CB7C982F9277253C7C0E965F58_69156403F425595EBCE88AC45009B7DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_47185A351FA25B04B6DCEDDA7FB5A6C2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_FE2940CB7C982F9277253C7C0E965F58_69156403F425595EBCE88AC45009B7DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_34E32C22791B54AA82CCC8B53D2303F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_47185A351FA25B04B6DCEDDA7FB5A6C2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_34E32C22791B54AA82CCC8B53D2303F8" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_7D0C1668044950F8B200E63BEDC0E67D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_34E32C22791B54AA82CCC8B53D2303F8" xlink:to="loc_otex_CustomerAssetsMember_7D0C1668044950F8B200E63BEDC0E67D" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_CD9EAAE9CDAA55D9BE896857AC1710B1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_34E32C22791B54AA82CCC8B53D2303F8" xlink:to="loc_otex_TechnologyAssetsMember_CD9EAAE9CDAA55D9BE896857AC1710B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_5C01F9B44F09528B803C00AB3F5F784D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_5C01F9B44F09528B803C00AB3F5F784D" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_9A194829023D59B1B61AE9F9FA30F740" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_9A194829023D59B1B61AE9F9FA30F740" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_16CDD3FE50F45AE89307C38DA734705C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_16CDD3FE50F45AE89307C38DA734705C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_C3EF2F98135453AAAD645BD3E06253DD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_C3EF2F98135453AAAD645BD3E06253DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_8545D9AC8CA25BC39325384FE227B8DE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_8545D9AC8CA25BC39325384FE227B8DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_58A7EDCE9AF05A43821E5AEA0AE2CE56" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:to="loc_us-gaap_Goodwill_58A7EDCE9AF05A43821E5AEA0AE2CE56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_AAD87A79DB0C5A56BE4134AB0972BD06" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C21368254348550FAA7C075341EF02D8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_AAD87A79DB0C5A56BE4134AB0972BD06" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsAcquisitionOfRecommindIncDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_3FAEFA70D0955C5AABF0434D067F7A55" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FB22FFD58B3057A8A17AF4D5F191DFFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3FAEFA70D0955C5AABF0434D067F7A55" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FB22FFD58B3057A8A17AF4D5F191DFFD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_A27F7EEFB60A5E32BFEA5FFCABA9A6E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FB22FFD58B3057A8A17AF4D5F191DFFD" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_A27F7EEFB60A5E32BFEA5FFCABA9A6E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BB083D0810F0673AFCEAF321E855FC3F_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A27F7EEFB60A5E32BFEA5FFCABA9A6E1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BB083D0810F0673AFCEAF321E855FC3F_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6B2F3C36EA1555F68FE710B75F4D7726" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A27F7EEFB60A5E32BFEA5FFCABA9A6E1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6B2F3C36EA1555F68FE710B75F4D7726" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RecommindIncMember" xlink:label="loc_otex_RecommindIncMember_0A766EF360BC58F385E8500D9F6703EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6B2F3C36EA1555F68FE710B75F4D7726" xlink:to="loc_otex_RecommindIncMember_0A766EF360BC58F385E8500D9F6703EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_DF53C9EFB3D553D19B5BED72F87724E0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FB22FFD58B3057A8A17AF4D5F191DFFD" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_DF53C9EFB3D553D19B5BED72F87724E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_69BAF11D8F076DE23FDCF321E856ED22_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_DF53C9EFB3D553D19B5BED72F87724E0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_69BAF11D8F076DE23FDCF321E856ED22_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_573A51923EF9590CAB593EEBAF9BBF4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_DF53C9EFB3D553D19B5BED72F87724E0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_573A51923EF9590CAB593EEBAF9BBF4C" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_4BF04BE1E7825228806DA85F41F81501" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_573A51923EF9590CAB593EEBAF9BBF4C" xlink:to="loc_otex_CustomerAssetsMember_4BF04BE1E7825228806DA85F41F81501" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_1D4BD4DC275B518CA6477FB0C02A06CA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_573A51923EF9590CAB593EEBAF9BBF4C" xlink:to="loc_otex_TechnologyAssetsMember_1D4BD4DC275B518CA6477FB0C02A06CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_D603497EE9BC561BBC0DC6D7B70BB657" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3FAEFA70D0955C5AABF0434D067F7A55" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_D603497EE9BC561BBC0DC6D7B70BB657" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3FAEFA70D0955C5AABF0434D067F7A55" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_087649609F945FCBAEC3444149458FFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_087649609F945FCBAEC3444149458FFD" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_EB9D3BD2675658098B9071CD0ACD3F65" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_EB9D3BD2675658098B9071CD0ACD3F65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_5C6428FBF89D5129A019B056A192BD65" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_5C6428FBF89D5129A019B056A192BD65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_3E641BB324595571AF03FE7960BD6369" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_3E641BB324595571AF03FE7960BD6369" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_ACF4737DDFFC534FAE75C5A1C4D800FB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_ACF4737DDFFC534FAE75C5A1C4D800FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_36D9C10E9C47592783FFBF9302EC4771" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_36D9C10E9C47592783FFBF9302EC4771" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_EDFB2219800356EEAACAAE3B9B0ECB73" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:to="loc_us-gaap_Goodwill_EDFB2219800356EEAACAAE3B9B0ECB73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_D95A97C978E558998CB636518CC0F52C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_1FC16B191B7B5B9FB2DBF9FB306ADB0D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_D95A97C978E558998CB636518CC0F52C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_2C52399E68D55B05B6319F6211A73191" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3FAEFA70D0955C5AABF0434D067F7A55" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_2C52399E68D55B05B6319F6211A73191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesFairValue" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_BE8C4555B082585B81B1EC72D54D669B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3FAEFA70D0955C5AABF0434D067F7A55" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesFairValue_BE8C4555B082585B81B1EC72D54D669B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_DFACB9F17BD65146AF7871DA8F9F349E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3FAEFA70D0955C5AABF0434D067F7A55" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount_DFACB9F17BD65146AF7871DA8F9F349E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible" xlink:label="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_C89ECEA24F5255D0BAEDC8A0C13461E1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_3FAEFA70D0955C5AABF0434D067F7A55" xlink:to="loc_us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible_C89ECEA24F5255D0BAEDC8A0C13461E1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsAppraisalProceedingsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_D6C91B293B42BA565F67F7C73277D137" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E2ED394B56120EF731A3F7C73276A8E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D6C91B293B42BA565F67F7C73277D137" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E2ED394B56120EF731A3F7C73276A8E4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseAxis" xlink:label="loc_us-gaap_LitigationCaseAxis_79EDD3F0A6D96AB21E2AF7C732763AAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E2ED394B56120EF731A3F7C73276A8E4" xlink:to="loc_us-gaap_LitigationCaseAxis_79EDD3F0A6D96AB21E2AF7C732763AAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_88FDC64C926751770FEBF7C732777FF7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationCaseAxis_79EDD3F0A6D96AB21E2AF7C732763AAD" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_88FDC64C926751770FEBF7C732777FF7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_88FDC64C926751770FEBF7C732777FF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationCaseAxis_79EDD3F0A6D96AB21E2AF7C732763AAD" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_88FDC64C926751770FEBF7C732777FF7" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_AppraisalProceedingsMember" xlink:label="loc_otex_AppraisalProceedingsMember_DA5747CD62835C8BACECF7C7327702DF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LitigationCaseTypeDomain_88FDC64C926751770FEBF7C732777FF7" xlink:to="loc_otex_AppraisalProceedingsMember_DA5747CD62835C8BACECF7C7327702DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_AFBD2F170A55D481A843F7C73277E9CE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E2ED394B56120EF731A3F7C73276A8E4" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_AFBD2F170A55D481A843F7C73277E9CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_29F251A1E378125F3E0DF7C732774C82_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_AFBD2F170A55D481A843F7C73277E9CE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_29F251A1E378125F3E0DF7C732774C82_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_29F251A1E378125F3E0DF7C732774C82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_AFBD2F170A55D481A843F7C73277E9CE" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_29F251A1E378125F3E0DF7C732774C82" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GuidanceSoftwareInc.Member" xlink:label="loc_otex_GuidanceSoftwareInc.Member_8B50978BC772396D35D0F7C732779151" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_29F251A1E378125F3E0DF7C732774C82" xlink:to="loc_otex_GuidanceSoftwareInc.Member_8B50978BC772396D35D0F7C732779151" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_LossContingencyIssuedandOutstandingSharesatAcquisition" xlink:label="loc_otex_LossContingencyIssuedandOutstandingSharesatAcquisition_825B72E4C993350ABA80F7C7327705A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D6C91B293B42BA565F67F7C73277D137" xlink:to="loc_otex_LossContingencyIssuedandOutstandingSharesatAcquisition_825B72E4C993350ABA80F7C7327705A9" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_LossContingencyPercentofSharesOutstanding" xlink:label="loc_otex_LossContingencyPercentofSharesOutstanding_EE6AC5D3EDC467FA487CF7C732778077" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D6C91B293B42BA565F67F7C73277D137" xlink:to="loc_otex_LossContingencyPercentofSharesOutstanding_EE6AC5D3EDC467FA487CF7C732778077" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyAccrualAtCarryingValue" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_BC24F6F2476409AAF992F7C732789039" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D6C91B293B42BA565F67F7C73277D137" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_BC24F6F2476409AAF992F7C732789039" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionSharePrice" xlink:label="loc_us-gaap_BusinessAcquisitionSharePrice_03FB56D56F37688CFD4CF7C732781DA0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D6C91B293B42BA565F67F7C73277D137" xlink:to="loc_us-gaap_BusinessAcquisitionSharePrice_03FB56D56F37688CFD4CF7C732781DA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForLegalSettlements" xlink:label="loc_us-gaap_PaymentsForLegalSettlements_E4AA5FD606EB9025A0EBF7C732780101" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_D6C91B293B42BA565F67F7C73277D137" xlink:to="loc_us-gaap_PaymentsForLegalSettlements_E4AA5FD606EB9025A0EBF7C732780101" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsPurchaseOfAssetGroupConstitutingBusinessCcmBusinessDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_7756EE66A0785B0781E4C79ECBD6B1DA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3EC997AD442D5711B058F62C47F003FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7756EE66A0785B0781E4C79ECBD6B1DA" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3EC997AD442D5711B058F62C47F003FA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_3CD0AACA594D5387A83E6C4809E87034" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3EC997AD442D5711B058F62C47F003FA" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3CD0AACA594D5387A83E6C4809E87034" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1F7EBB932E0D23A7104AF321E871FEA1_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3CD0AACA594D5387A83E6C4809E87034" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1F7EBB932E0D23A7104AF321E871FEA1_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BB108DD2D9825C8F818CA2ECE935779C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3CD0AACA594D5387A83E6C4809E87034" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BB108DD2D9825C8F818CA2ECE935779C" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CCMBusinessMember" xlink:label="loc_otex_CCMBusinessMember_6C48E82B30325835BD0826922B5AAD02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_BB108DD2D9825C8F818CA2ECE935779C" xlink:to="loc_otex_CCMBusinessMember_6C48E82B30325835BD0826922B5AAD02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_550D04B9F05F57DDBE61EA19A2C95BC4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3EC997AD442D5711B058F62C47F003FA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_550D04B9F05F57DDBE61EA19A2C95BC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3855F83534C4682244A2F321E871500D_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_550D04B9F05F57DDBE61EA19A2C95BC4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_3855F83534C4682244A2F321E871500D_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_03F0169540015CEF82EE52FDB672A363" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_550D04B9F05F57DDBE61EA19A2C95BC4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_03F0169540015CEF82EE52FDB672A363" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_ECE02AD1B19E5739B194835E361A9D8A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_03F0169540015CEF82EE52FDB672A363" xlink:to="loc_otex_CustomerAssetsMember_ECE02AD1B19E5739B194835E361A9D8A" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_2B15C62E287D5AEEB714C149FD65423E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_03F0169540015CEF82EE52FDB672A363" xlink:to="loc_otex_TechnologyAssetsMember_2B15C62E287D5AEEB714C149FD65423E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_6AA454F37A3A52A1BC907F1CB9A27F22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7756EE66A0785B0781E4C79ECBD6B1DA" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_6AA454F37A3A52A1BC907F1CB9A27F22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7756EE66A0785B0781E4C79ECBD6B1DA" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_82575BCB38855C6E8389F9A247685F57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_82575BCB38855C6E8389F9A247685F57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent_2586EB0E07E957609788CA592DA3B18D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrent_2586EB0E07E957609788CA592DA3B18D" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_3D2A839BE80C53DB8DB7AA3E9022AB3A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_3D2A839BE80C53DB8DB7AA3E9022AB3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_35582F672B5F5564B9B3D71EB13B7DAD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_35582F672B5F5564B9B3D71EB13B7DAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_E415466B5DB5593A834A80B087ECAE18" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_E415466B5DB5593A834A80B087ECAE18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_6BDDFE707B975C5BAB5113DF0C8173E5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_6BDDFE707B975C5BAB5113DF0C8173E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_827E128A99BB5F3BBB0C71D90F5BC887" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:to="loc_us-gaap_Goodwill_827E128A99BB5F3BBB0C71D90F5BC887" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_897BDED861825F9A865C362A905C00AB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_6B92A49EFBD85EA580474D7686E998F8" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_897BDED861825F9A865C362A905C00AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_F984380E6C7D528F9417FB7DD7EE5BF0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7756EE66A0785B0781E4C79ECBD6B1DA" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_F984380E6C7D528F9417FB7DD7EE5BF0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsPurchaseOfAssetGroupConstitutingBusinessCemBusinessDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_211902C41F83D9773315A66D368F139C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B35B0C0635AE4458F48DA66D368E8F9F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_211902C41F83D9773315A66D368F139C" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B35B0C0635AE4458F48DA66D368E8F9F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A9295C0F9A2C57F0563FA66D368E2321" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B35B0C0635AE4458F48DA66D368E8F9F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A9295C0F9A2C57F0563FA66D368E2321" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_FDEF1AEA08855853ADA3A66D368E9F9C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A9295C0F9A2C57F0563FA66D368E2321" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_FDEF1AEA08855853ADA3A66D368E9F9C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_FDEF1AEA08855853ADA3A66D368E9F9C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A9295C0F9A2C57F0563FA66D368E2321" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_FDEF1AEA08855853ADA3A66D368E9F9C" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_393FFE7B2FC6EC16C117A66D368E2126" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_FDEF1AEA08855853ADA3A66D368E9F9C" xlink:to="loc_otex_CustomerAssetsMember_393FFE7B2FC6EC16C117A66D368E2126" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_E4DC97B6DA8B5C7AC19FA66D368ED6F8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_FDEF1AEA08855853ADA3A66D368E9F9C" xlink:to="loc_otex_TechnologyAssetsMember_E4DC97B6DA8B5C7AC19FA66D368ED6F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_BDB2032C5D361D9588F6A66D368F1E06" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B35B0C0635AE4458F48DA66D368E8F9F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_BDB2032C5D361D9588F6A66D368F1E06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A86BDAED59117045D91FA66D368F82FB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BDB2032C5D361D9588F6A66D368F1E06" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A86BDAED59117045D91FA66D368F82FB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A86BDAED59117045D91FA66D368F82FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BDB2032C5D361D9588F6A66D368F1E06" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A86BDAED59117045D91FA66D368F82FB" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CEMBusinessMember" xlink:label="loc_otex_CEMBusinessMember_C5894C2FB069D1E861CFA66D368F9C58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A86BDAED59117045D91FA66D368F82FB" xlink:to="loc_otex_CEMBusinessMember_C5894C2FB069D1E861CFA66D368F9C58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_F97F7640D9E9B89BB247A66D368FDD99" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_211902C41F83D9773315A66D368F139C" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_F97F7640D9E9B89BB247A66D368FDD99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_602BCAFCFD1CBC28A407A66D368FA804" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_211902C41F83D9773315A66D368F139C" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_602BCAFCFD1CBC28A407A66D368FA804" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_211902C41F83D9773315A66D368F139C" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_A98494778885D7A21BD2A66D368F719E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_A98494778885D7A21BD2A66D368F719E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_27BA2301C2619D882E72A66D368FB4C9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_27BA2301C2619D882E72A66D368FB4C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_D1ED56A01A4EBD0CAD35A66D368FF4CC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_D1ED56A01A4EBD0CAD35A66D368FF4CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_8F05CB3B3D884C85450BA66D368F7B35" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_8F05CB3B3D884C85450BA66D368F7B35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_470809BF0DCC81264EBEA66D368F2DAD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_470809BF0DCC81264EBEA66D368F2DAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_8B765014CC78455E5522A66D368F3683" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:to="loc_us-gaap_Goodwill_8B765014CC78455E5522A66D368F3683" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_CA47F9D98F58D0CB7B41A66D368F2070" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_3EAF10E1597B7470956BA66D368FD596" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_CA47F9D98F58D0CB7B41A66D368F2070" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_C375DBFB1A956D726C89A66D368FE834" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_211902C41F83D9773315A66D368F139C" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_C375DBFB1A956D726C89A66D368FE834" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsPurchaseOfAssetGroupConstitutingBusinessEcdBusinessDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_BA63DCC5909759658CDA5180801D4CB6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F4804CEE602452B6B95C446E5117A813" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BA63DCC5909759658CDA5180801D4CB6" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F4804CEE602452B6B95C446E5117A813" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_0EE2E1A96ECD5D1EAE7C7C6A8A1B1E88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F4804CEE602452B6B95C446E5117A813" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_0EE2E1A96ECD5D1EAE7C7C6A8A1B1E88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DD8BF604373ADF9712C7C3011448935_6A6AD5F1A9B358189E41B8758CFAA364" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_0EE2E1A96ECD5D1EAE7C7C6A8A1B1E88" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7DD8BF604373ADF9712C7C3011448935_6A6AD5F1A9B358189E41B8758CFAA364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A2166F95F1D959D8AB5846DB1BAA03FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_0EE2E1A96ECD5D1EAE7C7C6A8A1B1E88" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A2166F95F1D959D8AB5846DB1BAA03FD" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ECDBusinessMember" xlink:label="loc_otex_ECDBusinessMember_7256E9F7A412545E94E6ABFA84CA2715" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A2166F95F1D959D8AB5846DB1BAA03FD" xlink:to="loc_otex_ECDBusinessMember_7256E9F7A412545E94E6ABFA84CA2715" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E21D7DBF3C5158E4B1C432609019C5F1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F4804CEE602452B6B95C446E5117A813" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E21D7DBF3C5158E4B1C432609019C5F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_DC799E149022B4E6BCB47C3011449A91_6A6AD5F1A9B358189E41B8758CFAA364" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E21D7DBF3C5158E4B1C432609019C5F1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_DC799E149022B4E6BCB47C3011449A91_6A6AD5F1A9B358189E41B8758CFAA364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_600F48F0376B5923B53A1453D1C2BB62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_E21D7DBF3C5158E4B1C432609019C5F1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_600F48F0376B5923B53A1453D1C2BB62" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CustomerAssetsMember" xlink:label="loc_otex_CustomerAssetsMember_DECA554912A25F0B92D30088EABFDA2E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_600F48F0376B5923B53A1453D1C2BB62" xlink:to="loc_otex_CustomerAssetsMember_DECA554912A25F0B92D30088EABFDA2E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TechnologyAssetsMember" xlink:label="loc_otex_TechnologyAssetsMember_DBBCCAB1831F5A0EAA605E42CA4FE0F1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_600F48F0376B5923B53A1453D1C2BB62" xlink:to="loc_otex_TechnologyAssetsMember_DBBCCAB1831F5A0EAA605E42CA4FE0F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_A116F19FE6B95A8F83C6622F08F2867C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BA63DCC5909759658CDA5180801D4CB6" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_A116F19FE6B95A8F83C6622F08F2867C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BA63DCC5909759658CDA5180801D4CB6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_97AD28F7FE055F879AED45EC627E938F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_97AD28F7FE055F879AED45EC627E938F" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_9FE44F412F89565FB937F231A5A0B70B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentTangibleAssets_9FE44F412F89565FB937F231A5A0B70B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_DA35E40BB2C259319D86DE5837D9677B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_DA35E40BB2C259319D86DE5837D9677B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_F80CE20C25BB5A1EBFF61B2300D655F1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_F80CE20C25BB5A1EBFF61B2300D655F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_F3318632F1275D928442EE52D25C35BA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_F3318632F1275D928442EE52D25C35BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_515A3358ECF1540AA5834FAB83C4126E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:to="loc_us-gaap_Goodwill_515A3358ECF1540AA5834FAB83C4126E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_EF4FC54114B451FC8952EB76C162BABA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_87E558BC045356C88B3EC5B5675CF273" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_EF4FC54114B451FC8952EB76C162BABA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_2A8F2B64205E5D108CAB4869F8B3CB45" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BA63DCC5909759658CDA5180801D4CB6" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_2A8F2B64205E5D108CAB4869F8B3CB45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_4DB578B619B052A0BADCF891A2032445" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BA63DCC5909759658CDA5180801D4CB6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_4DB578B619B052A0BADCF891A2032445" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue" xlink:label="loc_otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue_4DC9AABCDB605D10BD0404AECBC700BE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BA63DCC5909759658CDA5180801D4CB6" xlink:to="loc_otex_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentDeferredRevenue_4DC9AABCDB605D10BD0404AECBC700BE" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedContractAssets" xlink:label="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedContractAssets_DC249CBF3CE55BE4AC795F025B5248BE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BA63DCC5909759658CDA5180801D4CB6" xlink:to="loc_otex_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedContractAssets_DC249CBF3CE55BE4AC795F025B5248BE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AcquisitionsTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_270AEB51568D3D754419A5F2F74A2181" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B143C8B9D8556E059DB2A5F2F7491D10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_270AEB51568D3D754419A5F2F74A2181" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B143C8B9D8556E059DB2A5F2F7491D10" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_11D1E34F3F9ADA7A2193A5F2F7492A2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_B143C8B9D8556E059DB2A5F2F7491D10" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_11D1E34F3F9ADA7A2193A5F2F7492A2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_11D1E34F3F9ADA7A2193A5F2F7492A2A" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_11D1E34F3F9ADA7A2193A5F2F7492A2A" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_HightailIncMember" xlink:label="loc_otex_HightailIncMember_952A75C2BF2EA4D60BDBA5F2F749054A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:to="loc_otex_HightailIncMember_952A75C2BF2EA4D60BDBA5F2F749054A" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GuidanceSoftwareInc.Member" xlink:label="loc_otex_GuidanceSoftwareInc.Member_4004A1C031529736AE42A5F2F74981B8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:to="loc_otex_GuidanceSoftwareInc.Member_4004A1C031529736AE42A5F2F74981B8" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CovisintCorporationMember" xlink:label="loc_otex_CovisintCorporationMember_336E096ACC6FA52DC802A5F2F749EED1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:to="loc_otex_CovisintCorporationMember_336E096ACC6FA52DC802A5F2F749EED1" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ECDBusinessMember" xlink:label="loc_otex_ECDBusinessMember_F1A2D4DBAC423682B2F1A5F2F7498FE1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:to="loc_otex_ECDBusinessMember_F1A2D4DBAC423682B2F1A5F2F7498FE1" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CCMBusinessMember" xlink:label="loc_otex_CCMBusinessMember_F5316FD5A8CF16F090A2A5F2F749EBAF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:to="loc_otex_CCMBusinessMember_F5316FD5A8CF16F090A2A5F2F749EBAF" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RecommindIncMember" xlink:label="loc_otex_RecommindIncMember_9923B9094B1EA1AD3BEDA5F2F7490333" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:to="loc_otex_RecommindIncMember_9923B9094B1EA1AD3BEDA5F2F7490333" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ANXeBusinessCorpMember" xlink:label="loc_otex_ANXeBusinessCorpMember_B960FB3E4283508B7BF3A6706BCDFAB4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:to="loc_otex_ANXeBusinessCorpMember_B960FB3E4283508B7BF3A6706BCDFAB4" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CEMBusinessMember" xlink:label="loc_otex_CEMBusinessMember_39E4948111A338A0BA3DA670DA3B4A06" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_5FF718807117725EEC4FA5F2F7490761" xlink:to="loc_otex_CEMBusinessMember_39E4948111A338A0BA3DA670DA3B4A06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_A6921520048708E3E170A5F2F74A2B89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_270AEB51568D3D754419A5F2F74A2181" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_A6921520048708E3E170A5F2F74A2B89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_9E9637C073AF4B817139A5F2F74AC593" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_270AEB51568D3D754419A5F2F74A2181" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_9E9637C073AF4B817139A5F2F74AC593" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/AllowanceForDoubtfulAccounts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AllowanceForDoubtfulAccountsChangesInCarryingAmountDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/AllowanceForDoubtfulAccountsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/BasisOfPresentation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/BasisOfPresentationAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterestLineItems" xlink:label="loc_us-gaap_MinorityInterestLineItems_C640E5632BDD510D9358B8C927E3D79D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterestTable" xlink:label="loc_us-gaap_MinorityInterestTable_1F9C0B86773E5593B4DFECEFEB720394" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_C640E5632BDD510D9358B8C927E3D79D" xlink:to="loc_us-gaap_MinorityInterestTable_1F9C0B86773E5593B4DFECEFEB720394" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_03C06D459EA052E8A2217B7B3BCEE8F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_1F9C0B86773E5593B4DFECEFEB720394" xlink:to="loc_dei_LegalEntityAxis_03C06D459EA052E8A2217B7B3BCEE8F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_A54CD21A9F4B8A3C97DE7503BD7A0EEA_6A6AD5F1A9B358189E41B8758CFAA364" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_03C06D459EA052E8A2217B7B3BCEE8F8" xlink:to="loc_dei_EntityDomain_A54CD21A9F4B8A3C97DE7503BD7A0EEA_6A6AD5F1A9B358189E41B8758CFAA364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_C2F9C7DDCD3F565592C8704E9D4E68D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_03C06D459EA052E8A2217B7B3BCEE8F8" xlink:to="loc_dei_EntityDomain_C2F9C7DDCD3F565592C8704E9D4E68D9" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_OpenTextSouthAfricaProprietaryLtdMember" xlink:label="loc_otex_OpenTextSouthAfricaProprietaryLtdMember_CDE25CA9CD4E58A89693426BDA93A5C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_C2F9C7DDCD3F565592C8704E9D4E68D9" xlink:to="loc_otex_OpenTextSouthAfricaProprietaryLtdMember_CDE25CA9CD4E58A89693426BDA93A5C1" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSKoreaMember" xlink:label="loc_otex_GXSKoreaMember_9FF21DE8C84C5A389EA24F2C19C80790" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_C2F9C7DDCD3F565592C8704E9D4E68D9" xlink:to="loc_otex_GXSKoreaMember_9FF21DE8C84C5A389EA24F2C19C80790" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EC1Pte.LtdMember" xlink:label="loc_otex_EC1Pte.LtdMember_7F27D8F233EF5189B4B61EDEF81C437C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_C2F9C7DDCD3F565592C8704E9D4E68D9" xlink:to="loc_otex_EC1Pte.LtdMember_7F27D8F233EF5189B4B61EDEF81C437C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_AB57A3E69B5D5F0DA777EB257D8BBC45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_C640E5632BDD510D9358B8C927E3D79D" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_AB57A3E69B5D5F0DA777EB257D8BBC45" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_615826704EB04AB655E594E848DAE88B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_7427DF5E294934E06B1994E848D9BD33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_615826704EB04AB655E594E848DAE88B" xlink:to="loc_us-gaap_StatementTable_7427DF5E294934E06B1994E848D9BD33" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_37179B3161F3FBB719C394E848D9E3C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7427DF5E294934E06B1994E848D9BD33" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_37179B3161F3FBB719C394E848D9E3C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_37179B3161F3FBB719C394E848D9E3C3" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_37179B3161F3FBB719C394E848D9E3C3" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_HightailIncMember" xlink:label="loc_otex_HightailIncMember_D1D0B29F849BA675AC6A94E848D9A6CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:to="loc_otex_HightailIncMember_D1D0B29F849BA675AC6A94E848D9A6CD" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GuidanceSoftwareInc.Member" xlink:label="loc_otex_GuidanceSoftwareInc.Member_1EE60D0267F152F2845694E848D932DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:to="loc_otex_GuidanceSoftwareInc.Member_1EE60D0267F152F2845694E848D932DD" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CovisintCorporationMember" xlink:label="loc_otex_CovisintCorporationMember_23A9DC08311C647E68A094E848D9F87B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:to="loc_otex_CovisintCorporationMember_23A9DC08311C647E68A094E848D9F87B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ECDBusinessMember" xlink:label="loc_otex_ECDBusinessMember_69A4E3091A3CD6ADABBE94E848D96380" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:to="loc_otex_ECDBusinessMember_69A4E3091A3CD6ADABBE94E848D96380" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CCMBusinessMember" xlink:label="loc_otex_CCMBusinessMember_814F66C980E3EB10924194E848D9B67B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:to="loc_otex_CCMBusinessMember_814F66C980E3EB10924194E848D9B67B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RecommindIncMember" xlink:label="loc_otex_RecommindIncMember_67C638F8602E179DFE9F94E848D96D3A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:to="loc_otex_RecommindIncMember_67C638F8602E179DFE9F94E848D96D3A" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_AcquisitionsPriorToCurrentYearMember" xlink:label="loc_otex_AcquisitionsPriorToCurrentYearMember_54B2CDCB85CD086B5F3F94E848D95A04" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_201BB5869BFE135A85DF94E848D9FBF7" xlink:to="loc_otex_AcquisitionsPriorToCurrentYearMember_54B2CDCB85CD086B5F3F94E848D95A04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_4447541E83BCCC7CE0F794E848D9235E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7427DF5E294934E06B1994E848D9BD33" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_4447541E83BCCC7CE0F794E848D9235E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B5B72CF1AE1ECFDA8CFD94E848D99B9C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4447541E83BCCC7CE0F794E848D9235E" xlink:to="loc_us-gaap_EquityComponentDomain_B5B72CF1AE1ECFDA8CFD94E848D99B9C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B5B72CF1AE1ECFDA8CFD94E848D99B9C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4447541E83BCCC7CE0F794E848D9235E" xlink:to="loc_us-gaap_EquityComponentDomain_B5B72CF1AE1ECFDA8CFD94E848D99B9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_802C6123C74476FA22C994E848DA0B5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B5B72CF1AE1ECFDA8CFD94E848D99B9C" xlink:to="loc_us-gaap_CommonStockMember_802C6123C74476FA22C994E848DA0B5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_891FF3007D2136CE6B6794E848DA4226" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B5B72CF1AE1ECFDA8CFD94E848D99B9C" xlink:to="loc_us-gaap_TreasuryStockMember_891FF3007D2136CE6B6794E848DA4226" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_4DEAC3A2E39F868D9FEE94E848DA96A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_615826704EB04AB655E594E848DAE88B" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_4DEAC3A2E39F868D9FEE94E848DA96A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_20E2727C719C1EAE277394E848DAA3FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_4DEAC3A2E39F868D9FEE94E848DA96A4" xlink:to="loc_us-gaap_ProfitLoss_20E2727C719C1EAE277394E848DAA3FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_4DEAC3A2E39F868D9FEE94E848DA96A4" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_C2DB0E5E9673DE96F6EB94E848DAEFCD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_C2DB0E5E9673DE96F6EB94E848DAEFCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_4726571AD628002C369394E848DA34C4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_ShareBasedCompensation_4726571AD628002C369394E848DA34C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_F2A32050CA626075787194E848DAE059" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_F2A32050CA626075787194E848DAE059" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionExpense" xlink:label="loc_us-gaap_PensionExpense_BDF7EAF030DC4FD3493794E848DA838B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_PensionExpense_BDF7EAF030DC4FD3493794E848DA838B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_36800708900F35820C5D94E848DA1883" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_36800708900F35820C5D94E848DA1883" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAmortizationOfDeferredCharges" xlink:label="loc_us-gaap_OtherAmortizationOfDeferredCharges_05FBBF2720AE042A138394E848DAD200" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_OtherAmortizationOfDeferredCharges_05FBBF2720AE042A138394E848DAD200" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_834B059607D79005B9F494E848DA1EA3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_834B059607D79005B9F494E848DA1EA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MarketableSecuritiesGainLossExcludingOtherThanTemporaryImpairments" xlink:label="loc_us-gaap_MarketableSecuritiesGainLossExcludingOtherThanTemporaryImpairments_FD135DB71DEC586EF40994E848DA8661" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_MarketableSecuritiesGainLossExcludingOtherThanTemporaryImpairments_FD135DB71DEC586EF40994E848DA8661" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WriteOffOfDeferredDebtIssuanceCost" xlink:label="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_673965057A99BAB02C8594E848DAA3B3" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_673965057A99BAB02C8594E848DAA3B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_06A01BBCDCBD9260E85294E848DAE03B" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_06A01BBCDCBD9260E85294E848DAE03B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_E836FDAD3BB85B600C9494E848DAD2B3" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_E836FDAD3BB85B600C9494E848DAD2B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNoncashExpense" xlink:label="loc_us-gaap_OtherNoncashExpense_B988F2FD9941B9B495A594E848DB198A" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9D351D5B995323AB901394E848DAAE61" xlink:to="loc_us-gaap_OtherNoncashExpense_B988F2FD9941B9B495A594E848DB198A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_793A4EFD7B0E3853344794E848DB1332" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_4DEAC3A2E39F868D9FEE94E848DA96A4" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_793A4EFD7B0E3853344794E848DB1332" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInReceivables" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_7AD9CD0BCC028E9E2C0894E848DB9DAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_793A4EFD7B0E3853344794E848DB1332" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_7AD9CD0BCC028E9E2C0894E848DB9DAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_3A259C9A2559DA90BB3594E848DB7324" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_793A4EFD7B0E3853344794E848DB1332" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_3A259C9A2559DA90BB3594E848DB7324" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxes" xlink:label="loc_us-gaap_IncreaseDecreaseInIncomeTaxes_13FD1A95E20472A37C3994E848DB998C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_793A4EFD7B0E3853344794E848DB1332" xlink:to="loc_us-gaap_IncreaseDecreaseInIncomeTaxes_13FD1A95E20472A37C3994E848DB998C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_C812ABD6DA6477B5933D94E848DB2EB5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_793A4EFD7B0E3853344794E848DB1332" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_C812ABD6DA6477B5933D94E848DB2EB5" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_IncreaseDecreaseInContractWithCustomerLiability" xlink:label="loc_otex_IncreaseDecreaseInContractWithCustomerLiability_FD20470405736AEF1E9D94EBE1833E12" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_793A4EFD7B0E3853344794E848DB1332" xlink:to="loc_otex_IncreaseDecreaseInContractWithCustomerLiability_FD20470405736AEF1E9D94EBE1833E12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_2391585105B500B169A394E848DBAABB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_793A4EFD7B0E3853344794E848DB1332" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_2391585105B500B169A394E848DBAABB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_11017A4703C6B1665F8F94E848DB3693" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_4DEAC3A2E39F868D9FEE94E848DA96A4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_11017A4703C6B1665F8F94E848DB3693" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1818B14EEDE384E6765C94E848DBAD15" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_615826704EB04AB655E594E848DAE88B" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1818B14EEDE384E6765C94E848DBAD15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_52E40C5BF3AA1A7FC5FE94E848DBC1BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1818B14EEDE384E6765C94E848DBAD15" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_52E40C5BF3AA1A7FC5FE94E848DBC1BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_C4A5AFB634945ECFC29494E848DB9CB5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1818B14EEDE384E6765C94E848DBAD15" xlink:to="loc_us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_C4A5AFB634945ECFC29494E848DB9CB5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_01FA8354379EC49CB9AA94E848DB090A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1818B14EEDE384E6765C94E848DBAD15" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_01FA8354379EC49CB9AA94E848DB090A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_F445C7729708A9C69C7D94E848DB3318" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1818B14EEDE384E6765C94E848DBAD15" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_F445C7729708A9C69C7D94E848DB3318" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_E97DC0673EAAB168E8B994E848DB01C7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1818B14EEDE384E6765C94E848DBAD15" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_E97DC0673EAAB168E8B994E848DB01C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_615826704EB04AB655E594E848DAE88B" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AE5C4CF076A45EA1461194E848DB53A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AE5C4CF076A45EA1461194E848DB53A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_FD2DFDFB486C4614BF3394E848DB5893" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_FD2DFDFB486C4614BF3394E848DB5893" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_D70EF70EA7A3AA4C295394E848DBDF7D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_D70EF70EA7A3AA4C295394E848DBDF7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOrSaleOfEquity" xlink:label="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_58C506252C33446BD26294E848DC15D0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_58C506252C33446BD26294E848DC15D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_3CC26570D9A32B8587B094E848DC4C88" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_3CC26570D9A32B8587B094E848DC4C88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_F7C800BCB01A8567A47994E848DC2BE9" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_F7C800BCB01A8567A47994E848DC2BE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_EEB0094481D26BE9109094E848DCE6C0" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_EEB0094481D26BE9109094E848DCE6C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_89EB20FDB676B4AC39C294E848DCB8E2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_89EB20FDB676B4AC39C294E848DCB8E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_9F578271E15F54D7C86794E848DCE6B5" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_9F578271E15F54D7C86794E848DCE6B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_66CE003C860E862270DB94E848DC44F1" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_PaymentsOfDividends_66CE003C860E862270DB94E848DC44F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_EC438E8960FCF49DFBF194E848DCBE42" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B5AF590315DD14F8A23994E848DBEB11" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_EC438E8960FCF49DFBF194E848DCBE42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_50AB783561D6DE4748ED94E848DCB0E5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_615826704EB04AB655E594E848DAE88B" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_50AB783561D6DE4748ED94E848DCB0E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_1A484D20E1EB3E90A05A94E848DC991B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_615826704EB04AB655E594E848DAE88B" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_1A484D20E1EB3E90A05A94E848DC991B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_F3FA96B7D0E29F77625A94E848DCF53B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_615826704EB04AB655E594E848DAE88B" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_F3FA96B7D0E29F77625A94E848DCF53B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ConsolidatedStatementsOfShareholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_B5C7678FA22BF5C77C21F5F0966E574B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_C7B302AEDABBC54AB91EF5F0966AFC6D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_B5C7678FA22BF5C77C21F5F0966E574B" xlink:to="loc_us-gaap_StatementTable_C7B302AEDABBC54AB91EF5F0966AFC6D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_EE64582AEFF52A03717FF5F0966B66A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_C7B302AEDABBC54AB91EF5F0966AFC6D" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_EE64582AEFF52A03717FF5F0966B66A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_EE64582AEFF52A03717FF5F0966B66A3" xlink:to="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_EE64582AEFF52A03717FF5F0966B66A3" xlink:to="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_B39BD69CBC2D11FC4231F5F3A03A5C9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6" xlink:to="loc_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_B39BD69CBC2D11FC4231F5F3A03A5C9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_350021AA85B2A157F61FF5F0966D1A20" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6" xlink:to="loc_us-gaap_TreasuryStockMember_350021AA85B2A157F61FF5F0966D1A20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_1A1DCB61255250E94634F5F0966E692C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6" xlink:to="loc_us-gaap_RetainedEarningsMember_1A1DCB61255250E94634F5F0966E692C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_9C4A0DB25193FEF3DCB6F5F0966EC6F9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_9C4A0DB25193FEF3DCB6F5F0966EC6F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_EC0A3031B88AB062D5AFF5F0966EFCFF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D21A272B2913857E45E1F5F0966B74D6" xlink:to="loc_us-gaap_NoncontrollingInterestMember_EC0A3031B88AB062D5AFF5F0966EFCFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B5C7678FA22BF5C77C21F5F0966E574B" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued_1B02E974747FE2FDDD83F5F0966E4DA1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_SharesIssued_1B02E974747FE2FDDD83F5F0966E4DA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_830B8C937E36D5149CEBF5F0966EAC3B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_830B8C937E36D5149CEBF5F0966EAC3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract_17F96A23C0CBBCDA3C03F5F0966EA10B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract_17F96A23C0CBBCDA3C03F5F0966EA10B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_B1F20B5D3876CB6ECF77F5F0966E2F92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract_17F96A23C0CBBCDA3C03F5F0966EA10B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_B1F20B5D3876CB6ECF77F5F0966E2F92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_FFCC71A550A4FE20FADBF5F0966E753F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract_17F96A23C0CBBCDA3C03F5F0966EA10B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_FFCC71A550A4FE20FADBF5F0966E753F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_A719E592C94DFF85AD0DF5F0966E32D9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract_17F96A23C0CBBCDA3C03F5F0966EA10B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_A719E592C94DFF85AD0DF5F0966E32D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_D9CB9FEA0F1E1AB15830F5F0966FD915" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract_17F96A23C0CBBCDA3C03F5F0966EA10B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_D9CB9FEA0F1E1AB15830F5F0966FD915" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_BD5E500BF11E76A82EA5F5F0966FF595" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract_17F96A23C0CBBCDA3C03F5F0966EA10B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_BD5E500BF11E76A82EA5F5F0966FF595" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_7E89E0DD700E9C58B033F5F0966FE290" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharebasedCompensationAbstract_17F96A23C0CBBCDA3C03F5F0966EA10B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_7E89E0DD700E9C58B033F5F0966FE290" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxEffectsAllocatedDirectlyToEquityEquityTransactions" xlink:label="loc_us-gaap_IncomeTaxEffectsAllocatedDirectlyToEquityEquityTransactions_E0C79DAA66BFBC74CADFF5F0966F9304" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_IncomeTaxEffectsAllocatedDirectlyToEquityEquityTransactions_E0C79DAA66BFBC74CADFF5F0966F9304" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EquityIssuanceCosts" xlink:label="loc_otex_EquityIssuanceCosts_B3F0F22917B9A047EC64F5F0966FE491" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_otex_EquityIssuanceCosts_B3F0F22917B9A047EC64F5F0966FE491" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_AFB7A5CE980E428015F3F5F0966FFBAB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_AFB7A5CE980E428015F3F5F0966FFBAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_DE62493A3DCBE6ADCE7EF5F0966F2AC5" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_DE62493A3DCBE6ADCE7EF5F0966F2AC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAward_5702286D849BDAE3310EF5F0966F61DB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAward_5702286D849BDAE3310EF5F0966F61DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_411F023B2167D2779DD8F5F0966F7026" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_411F023B2167D2779DD8F5F0966F7026" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued_5AF900C297D99F39270DF5F0966F54C1" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued_5AF900C297D99F39270DF5F0966F54C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued_A4E174E6C50CE5A86B0BF5F0966FD466" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued_A4E174E6C50CE5A86B0BF5F0966FD466" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_96D77841871DAEF17717F5F0966F87F1" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_96D77841871DAEF17717F5F0966F87F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_9F1806629611156A6427F5F0966F1481" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_9F1806629611156A6427F5F0966F1481" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Dividends" xlink:label="loc_us-gaap_Dividends_8C4DE4C75AE978F4F270F5F0966FF26A" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_Dividends_8C4DE4C75AE978F4F270F5F0966FF26A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_C705297FBC511C57743FF5F096709448" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_C705297FBC511C57743FF5F096709448" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_NoncontrollingInterest" xlink:label="loc_otex_NoncontrollingInterest_1035964998825485921AF5F0967083E3" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_otex_NoncontrollingInterest_1035964998825485921AF5F0967083E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_8E47E1E7D5829232F333F5F096706964" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_7B36046219B745E4A8FBF5F0966E2794" xlink:to="loc_us-gaap_ProfitLoss_8E47E1E7D5829232F333F5F096706964" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/DeferredChargesAndCredits" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/DeferredChargesAndCreditsDetails" xlink:type="extended">
    <link:loc xlink:href="otex-20180630.xsd#otex_ScheduleofDeferredChargesandCreditsLineItems" xlink:label="loc_otex_ScheduleofDeferredChargesandCreditsLineItems_1DC60C9B05845990AE81880A86451B5A" xlink:type="locator" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ScheduleofDeferredChargesandCreditsTable" xlink:label="loc_otex_ScheduleofDeferredChargesandCreditsTable_B956AB502A39552AA7D798B13B8FDF5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_otex_ScheduleofDeferredChargesandCreditsLineItems_1DC60C9B05845990AE81880A86451B5A" xlink:to="loc_otex_ScheduleofDeferredChargesandCreditsTable_B956AB502A39552AA7D798B13B8FDF5D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_3AA0EA73B5435FF8B5D8E5F43E69190D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_otex_ScheduleofDeferredChargesandCreditsTable_B956AB502A39552AA7D798B13B8FDF5D" xlink:to="loc_us-gaap_RangeAxis_3AA0EA73B5435FF8B5D8E5F43E69190D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_CCD3A668699B0DAE8B617C9CAD23006C_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_3AA0EA73B5435FF8B5D8E5F43E69190D" xlink:to="loc_us-gaap_RangeMember_CCD3A668699B0DAE8B617C9CAD23006C_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_4C1EDFD18E4C5855B3D55DFCACB283B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_3AA0EA73B5435FF8B5D8E5F43E69190D" xlink:to="loc_us-gaap_RangeMember_4C1EDFD18E4C5855B3D55DFCACB283B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_80B689653313589A98B12CB5A4160D16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_4C1EDFD18E4C5855B3D55DFCACB283B9" xlink:to="loc_us-gaap_MinimumMember_80B689653313589A98B12CB5A4160D16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_460463BEACBD5174B6A6FD70888F4ECC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_4C1EDFD18E4C5855B3D55DFCACB283B9" xlink:to="loc_us-gaap_MaximumMember_460463BEACBD5174B6A6FD70888F4ECC" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DeferredChargesAmortizationPeriod" xlink:label="loc_otex_DeferredChargesAmortizationPeriod_A94995E7AD06538EACA8941F9CB0757D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_ScheduleofDeferredChargesandCreditsLineItems_1DC60C9B05845990AE81880A86451B5A" xlink:to="loc_otex_DeferredChargesAmortizationPeriod_A94995E7AD06538EACA8941F9CB0757D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/DerivativeInstrumentsAndHedgingActivities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/DerivativeInstrumentsAndHedgingActivitiesEffectsOnIncomeAndOtherComprehensiveIncomeOciDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_ACDABAE2F9DDD8B6246C8B7CE37E2BE5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0CB26B7600B0580F00978B7CE37E7ACA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_ACDABAE2F9DDD8B6246C8B7CE37E2BE5" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0CB26B7600B0580F00978B7CE37E7ACA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_FDEAFEB31463C69AF16A8B7CE37E95B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0CB26B7600B0580F00978B7CE37E7ACA" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_FDEAFEB31463C69AF16A8B7CE37E95B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_3B45DD44FE11D75FD5FC8B7CE37E3014_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_FDEAFEB31463C69AF16A8B7CE37E95B0" xlink:to="loc_us-gaap_HedgingRelationshipDomain_3B45DD44FE11D75FD5FC8B7CE37E3014_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_3B45DD44FE11D75FD5FC8B7CE37E3014" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_FDEAFEB31463C69AF16A8B7CE37E95B0" xlink:to="loc_us-gaap_HedgingRelationshipDomain_3B45DD44FE11D75FD5FC8B7CE37E3014" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_D345521C0526C1914CCF8B7CE37E8F5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_3B45DD44FE11D75FD5FC8B7CE37E3014" xlink:to="loc_us-gaap_CashFlowHedgingMember_D345521C0526C1914CCF8B7CE37E8F5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_CF7AD0DFA3F2B764D9438B7CE37E32CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0CB26B7600B0580F00978B7CE37E7ACA" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_CF7AD0DFA3F2B764D9438B7CE37E32CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_56E8C5D70C5ECA5880F38B7CE37E01F2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_CF7AD0DFA3F2B764D9438B7CE37E32CD" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_56E8C5D70C5ECA5880F38B7CE37E01F2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_56E8C5D70C5ECA5880F38B7CE37E01F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_CF7AD0DFA3F2B764D9438B7CE37E32CD" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_56E8C5D70C5ECA5880F38B7CE37E01F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignExchangeForwardMember" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_B73978B35E9BC61ACD2A8B7CE37EA664" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_56E8C5D70C5ECA5880F38B7CE37E01F2" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_B73978B35E9BC61ACD2A8B7CE37EA664" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_26134B8E5C3D69599A378B7CE37EDEC7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0CB26B7600B0580F00978B7CE37E7ACA" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_26134B8E5C3D69599A378B7CE37EDEC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_44B38906A18A90FEE7EA8B7CE37E3FE9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_26134B8E5C3D69599A378B7CE37EDEC7" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_44B38906A18A90FEE7EA8B7CE37E3FE9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_44B38906A18A90FEE7EA8B7CE37E3FE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_26134B8E5C3D69599A378B7CE37EDEC7" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_44B38906A18A90FEE7EA8B7CE37E3FE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpenseMember" xlink:label="loc_us-gaap_OperatingExpenseMember_6777C30668C2D5FEEDB98B7CE37E1328" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_44B38906A18A90FEE7EA8B7CE37E3FE9" xlink:to="loc_us-gaap_OperatingExpenseMember_6777C30668C2D5FEEDB98B7CE37E1328" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_01DD4DEBB63E9BA46A698B7CE37EC5D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_ACDABAE2F9DDD8B6246C8B7CE37E2BE5" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_01DD4DEBB63E9BA46A698B7CE37EC5D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_71EF945168420F91EFD78B7CE37EB5DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_ACDABAE2F9DDD8B6246C8B7CE37E2BE5" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_71EF945168420F91EFD78B7CE37EB5DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_7D92886C933485A6B80C8B7CE37E59AD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_ACDABAE2F9DDD8B6246C8B7CE37E2BE5" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_7D92886C933485A6B80C8B7CE37E59AD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueInCondensedConsolidatedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_6AE26F5C85507D253806A5F2F7662C74" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_D2C18620FA6406D466AAA5F2F7653329" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_6AE26F5C85507D253806A5F2F7662C74" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_D2C18620FA6406D466AAA5F2F7653329" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_11B61AA3CFD41F36BF37A5F2F7668C53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_D2C18620FA6406D466AAA5F2F7653329" xlink:to="loc_us-gaap_RangeAxis_11B61AA3CFD41F36BF37A5F2F7668C53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_73149FFB2D1DB1497A8DA5F2F766334F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_11B61AA3CFD41F36BF37A5F2F7668C53" xlink:to="loc_us-gaap_RangeMember_73149FFB2D1DB1497A8DA5F2F766334F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_73149FFB2D1DB1497A8DA5F2F766334F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_11B61AA3CFD41F36BF37A5F2F7668C53" xlink:to="loc_us-gaap_RangeMember_73149FFB2D1DB1497A8DA5F2F766334F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_A8DB09B01A3F2BE83B9EA5F2F7663FDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_73149FFB2D1DB1497A8DA5F2F766334F" xlink:to="loc_us-gaap_MinimumMember_A8DB09B01A3F2BE83B9EA5F2F7663FDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_04C16419F21A3D355E54A5F2F766E243" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_73149FFB2D1DB1497A8DA5F2F766334F" xlink:to="loc_us-gaap_MaximumMember_04C16419F21A3D355E54A5F2F766E243" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_80818A1D45490B4D0366A5F2F7668BC1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_D2C18620FA6406D466AAA5F2F7653329" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_80818A1D45490B4D0366A5F2F7668BC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_FCD2AEBC2A97F995670DA5F2F766FC2F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_80818A1D45490B4D0366A5F2F7668BC1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_FCD2AEBC2A97F995670DA5F2F766FC2F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_FCD2AEBC2A97F995670DA5F2F766FC2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_80818A1D45490B4D0366A5F2F7668BC1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_FCD2AEBC2A97F995670DA5F2F766FC2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesMember" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesMember_F18E70DE3A1FFCAF539AA5F2F76621FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_FCD2AEBC2A97F995670DA5F2F766FC2F" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesMember_F18E70DE3A1FFCAF539AA5F2F76621FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_A364E493DBA075BE0D66A5F2F766CF26" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_FCD2AEBC2A97F995670DA5F2F766FC2F" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_A364E493DBA075BE0D66A5F2F766CF26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_376694E31B4A24619C04A5F2F7669259" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_D2C18620FA6406D466AAA5F2F7653329" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_376694E31B4A24619C04A5F2F7669259" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_CE4E88DA4A345C851847A5F2F7661D15_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_376694E31B4A24619C04A5F2F7669259" xlink:to="loc_us-gaap_HedgingRelationshipDomain_CE4E88DA4A345C851847A5F2F7661D15_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_CE4E88DA4A345C851847A5F2F7661D15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_376694E31B4A24619C04A5F2F7669259" xlink:to="loc_us-gaap_HedgingRelationshipDomain_CE4E88DA4A345C851847A5F2F7661D15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_8CF80EADDE39464D5224A5F2F766142D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_CE4E88DA4A345C851847A5F2F7661D15" xlink:to="loc_us-gaap_CashFlowHedgingMember_8CF80EADDE39464D5224A5F2F766142D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_35D1297EEFD2A05D29DBA5F2F766ABA6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_D2C18620FA6406D466AAA5F2F7653329" xlink:to="loc_us-gaap_HedgingDesignationAxis_35D1297EEFD2A05D29DBA5F2F766ABA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_12FC71365958D02E7460A5F2F766350F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_35D1297EEFD2A05D29DBA5F2F766ABA6" xlink:to="loc_us-gaap_HedgingDesignationDomain_12FC71365958D02E7460A5F2F766350F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_12FC71365958D02E7460A5F2F766350F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_35D1297EEFD2A05D29DBA5F2F766ABA6" xlink:to="loc_us-gaap_HedgingDesignationDomain_12FC71365958D02E7460A5F2F766350F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_DA83F54B11306BA5E070A5F2F76636EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_12FC71365958D02E7460A5F2F766350F" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_DA83F54B11306BA5E070A5F2F76636EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_E19DCC0D1C77E8D94FF3A5F2F766820E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_D2C18620FA6406D466AAA5F2F7653329" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_E19DCC0D1C77E8D94FF3A5F2F766820E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1D0F25C4F4BA43A5E606A5F2F766A34D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_E19DCC0D1C77E8D94FF3A5F2F766820E" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1D0F25C4F4BA43A5E606A5F2F766A34D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1D0F25C4F4BA43A5E606A5F2F766A34D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_E19DCC0D1C77E8D94FF3A5F2F766820E" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1D0F25C4F4BA43A5E606A5F2F766A34D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignExchangeForwardMember" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_04A9B8BA684A46EB62EEA5F2F7663864" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_1D0F25C4F4BA43A5E606A5F2F766A34D" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_04A9B8BA684A46EB62EEA5F2F7663864" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeTermOfContract" xlink:label="loc_us-gaap_DerivativeTermOfContract_BCE6394A251D3A5DF914A5F2F767A09C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_6AE26F5C85507D253806A5F2F7662C74" xlink:to="loc_us-gaap_DerivativeTermOfContract_BCE6394A251D3A5DF914A5F2F767A09C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_B69DC17879EAE33C7B7DA5F2F767096E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_6AE26F5C85507D253806A5F2F7662C74" xlink:to="loc_invest_DerivativeNotionalAmount_B69DC17879EAE33C7B7DA5F2F767096E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_B2C31A8C7EC56000794DA5F2F76749B4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_6AE26F5C85507D253806A5F2F7662C74" xlink:to="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_B2C31A8C7EC56000794DA5F2F76749B4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/DerivativeInstrumentsAndHedgingActivitiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/EarningsPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/EarningsPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/FairValueMeasurement" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredAtFairValueOnNonrecurringBasisDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/FairValueMeasurementScheduleOfFinancialAssetsAndLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_44021282A8A9525F4EB8A5F2F773D007" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_54C8367F9967D6873693A5F2F7731C00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_44021282A8A9525F4EB8A5F2F773D007" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_54C8367F9967D6873693A5F2F7731C00" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_46CE9A4B30EAD7595E1CA5F2F773B7CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_54C8367F9967D6873693A5F2F7731C00" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_46CE9A4B30EAD7595E1CA5F2F773B7CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_39964D9FE783A318AF35A5F2F7734B22_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_46CE9A4B30EAD7595E1CA5F2F773B7CF" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_39964D9FE783A318AF35A5F2F7734B22_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_39964D9FE783A318AF35A5F2F7734B22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_46CE9A4B30EAD7595E1CA5F2F773B7CF" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_39964D9FE783A318AF35A5F2F7734B22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_B926795A0D515D44AB94A5F2F773B560" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_39964D9FE783A318AF35A5F2F7734B22" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_B926795A0D515D44AB94A5F2F773B560" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5A26C193D520DD9FD7ACA5F2F7737B3B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_54C8367F9967D6873693A5F2F7731C00" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5A26C193D520DD9FD7ACA5F2F7737B3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1A68F22F907F0E9A0BB8A5F2F7730691_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5A26C193D520DD9FD7ACA5F2F7737B3B" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1A68F22F907F0E9A0BB8A5F2F7730691_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1A68F22F907F0E9A0BB8A5F2F7730691" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5A26C193D520DD9FD7ACA5F2F7737B3B" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1A68F22F907F0E9A0BB8A5F2F7730691" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_BD1A8902FD78A7BC85A4A5F2F773D36E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1A68F22F907F0E9A0BB8A5F2F7730691" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_BD1A8902FD78A7BC85A4A5F2F773D36E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_56074B4B71A4ECC70950A65C79C3CC6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_44021282A8A9525F4EB8A5F2F773D007" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_56074B4B71A4ECC70950A65C79C3CC6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MarketableSecurities" xlink:label="loc_us-gaap_MarketableSecurities_997895387516F0343F53A5F2F7742E08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_56074B4B71A4ECC70950A65C79C3CC6B" xlink:to="loc_us-gaap_MarketableSecurities_997895387516F0343F53A5F2F7742E08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_27834EB3F807284B3AB8A5F2F774F301" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_56074B4B71A4ECC70950A65C79C3CC6B" xlink:to="loc_us-gaap_DerivativeAssets_27834EB3F807284B3AB8A5F2F774F301" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosureRecurring" xlink:label="loc_us-gaap_AssetsFairValueDisclosureRecurring_8CC74C45F5E77393F4CEA5F2F774A2DB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_56074B4B71A4ECC70950A65C79C3CC6B" xlink:to="loc_us-gaap_AssetsFairValueDisclosureRecurring_8CC74C45F5E77393F4CEA5F2F774A2DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_6E6C751D97D25D31BBE9A65CDFBD92F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_44021282A8A9525F4EB8A5F2F773D007" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_6E6C751D97D25D31BBE9A65CDFBD92F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_F824DF2DF1A54C9BBD8FA5F2F77448E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_6E6C751D97D25D31BBE9A65CDFBD92F2" xlink:to="loc_us-gaap_DerivativeLiabilities_F824DF2DF1A54C9BBD8FA5F2F77448E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosureRecurring" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureRecurring_5C62F7D3B21B91F9B7F3A5F2F774BE55" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstract_6E6C751D97D25D31BBE9A65CDFBD92F2" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosureRecurring_5C62F7D3B21B91F9B7F3A5F2F774BE55" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/FairValueMeasurementSummaryOfLongTermInvestmentsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/FairValueMeasurementTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/Goodwill" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/GoodwillSummaryOfChangesInCarryingAmountOfGoodwillDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_605DBFF72887A183602B90800712D066" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_75C4106D24B7D800D374908007127BC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_605DBFF72887A183602B90800712D066" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_75C4106D24B7D800D374908007127BC8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_6C58BF460CBB7129C2FD908007128CBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_75C4106D24B7D800D374908007127BC8" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_6C58BF460CBB7129C2FD908007128CBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_6C58BF460CBB7129C2FD908007128CBF" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_6C58BF460CBB7129C2FD908007128CBF" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RecommindIncMember" xlink:label="loc_otex_RecommindIncMember_8BDD25399326F93E64FB908387E837E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7" xlink:to="loc_otex_RecommindIncMember_8BDD25399326F93E64FB908387E837E9" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CCMBusinessMember" xlink:label="loc_otex_CCMBusinessMember_B018C4A94B60E29BD02A908388A18ADE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7" xlink:to="loc_otex_CCMBusinessMember_B018C4A94B60E29BD02A908388A18ADE" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ECDBusinessMember" xlink:label="loc_otex_ECDBusinessMember_A097EC74F1B2E7C7E7E59083893FB6B3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7" xlink:to="loc_otex_ECDBusinessMember_A097EC74F1B2E7C7E7E59083893FB6B3" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_HightailIncMember" xlink:label="loc_otex_HightailIncMember_D4218E6E5827E8DF74379080071283A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7" xlink:to="loc_otex_HightailIncMember_D4218E6E5827E8DF74379080071283A4" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GuidanceSoftwareInc.Member" xlink:label="loc_otex_GuidanceSoftwareInc.Member_56A703E9BEC37EC766FD90800712D540" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7" xlink:to="loc_otex_GuidanceSoftwareInc.Member_56A703E9BEC37EC766FD90800712D540" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CovisintCorporationMember" xlink:label="loc_otex_CovisintCorporationMember_4DF73AEDB3ACE350550590800712D520" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_467EA10FCC92E4D3B352908007124BC7" xlink:to="loc_otex_CovisintCorporationMember_4DF73AEDB3ACE350550590800712D520" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_5D87CC94EA3A63712C5990800712215D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_605DBFF72887A183602B90800712D066" xlink:to="loc_us-gaap_GoodwillRollForward_5D87CC94EA3A63712C5990800712215D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_89353D15CDACF234B94F90800712BF68" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_5D87CC94EA3A63712C5990800712215D" xlink:to="loc_us-gaap_Goodwill_89353D15CDACF234B94F90800712BF68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_F8A0939A6325FA22915590800713D1A9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_5D87CC94EA3A63712C5990800712215D" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_F8A0939A6325FA22915590800713D1A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_A113EE37B4F5A915E4D990800713F2F4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_5D87CC94EA3A63712C5990800712215D" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_A113EE37B4F5A915E4D990800713F2F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_5FFA98D859EA9227D1C9908007137FF0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_5D87CC94EA3A63712C5990800712215D" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_5FFA98D859EA9227D1C9908007137FF0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/GoodwillTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/GuaranteesAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/GuaranteesAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_2E07050553F8C9929746EDAEA1BA2CA6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_us-gaap_LossContingenciesTable_2E07050553F8C9929746EDAEA1BA2CA6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_BAFB5818331F94B780C3EDAEA1BA7972" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2E07050553F8C9929746EDAEA1BA2CA6" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_BAFB5818331F94B780C3EDAEA1BA7972" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_B648BDB9A65BEB2B24C1EDAEA1BACAB4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_BAFB5818331F94B780C3EDAEA1BA7972" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_B648BDB9A65BEB2B24C1EDAEA1BACAB4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_B648BDB9A65BEB2B24C1EDAEA1BACAB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_BAFB5818331F94B780C3EDAEA1BA7972" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_B648BDB9A65BEB2B24C1EDAEA1BACAB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_1D55E204CEA742E0BAAEEDAEA1BB060B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_B648BDB9A65BEB2B24C1EDAEA1BACAB4" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_1D55E204CEA742E0BAAEEDAEA1BB060B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CanadaRevenueAgencyMember" xlink:label="loc_us-gaap_CanadaRevenueAgencyMember_4A3F13346EB10506D43CEDAEA1BB9DD1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_B648BDB9A65BEB2B24C1EDAEA1BACAB4" xlink:to="loc_us-gaap_CanadaRevenueAgencyMember_4A3F13346EB10506D43CEDAEA1BB9DD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis_C170A93F68A07FD7E663EDAEA1BB30EF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2E07050553F8C9929746EDAEA1BA2CA6" xlink:to="loc_us-gaap_TaxPeriodAxis_C170A93F68A07FD7E663EDAEA1BB30EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_B2EB4CC821A30B532368EDAEA1BBF41F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxPeriodAxis_C170A93F68A07FD7E663EDAEA1BB30EF" xlink:to="loc_us-gaap_TaxPeriodDomain_B2EB4CC821A30B532368EDAEA1BBF41F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_B2EB4CC821A30B532368EDAEA1BBF41F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxPeriodAxis_C170A93F68A07FD7E663EDAEA1BB30EF" xlink:to="loc_us-gaap_TaxPeriodDomain_B2EB4CC821A30B532368EDAEA1BBF41F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxYear2010Member" xlink:label="loc_us-gaap_TaxYear2010Member_1A6D51929BD448901FBCEDAEA1BB71D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_B2EB4CC821A30B532368EDAEA1BBF41F" xlink:to="loc_us-gaap_TaxYear2010Member_1A6D51929BD448901FBCEDAEA1BB71D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxYear2012Member" xlink:label="loc_us-gaap_TaxYear2012Member_C02560A132B4AFC117B7EDAEA1BB2887" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_B2EB4CC821A30B532368EDAEA1BBF41F" xlink:to="loc_us-gaap_TaxYear2012Member_C02560A132B4AFC117B7EDAEA1BB2887" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxYear2013Member" xlink:label="loc_us-gaap_TaxYear2013Member_9876BF2C99BEFBEEF122EDAEA1BB03A1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_B2EB4CC821A30B532368EDAEA1BBF41F" xlink:to="loc_us-gaap_TaxYear2013Member_9876BF2C99BEFBEEF122EDAEA1BB03A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_60588934ED198C24CEE0EDAEA1BB388F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2E07050553F8C9929746EDAEA1BA2CA6" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_60588934ED198C24CEE0EDAEA1BB388F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_ABCE29413750DEC43079EDAEA1BBC2E3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_60588934ED198C24CEE0EDAEA1BB388F" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_ABCE29413750DEC43079EDAEA1BBC2E3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_ABCE29413750DEC43079EDAEA1BBC2E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_60588934ED198C24CEE0EDAEA1BB388F" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_ABCE29413750DEC43079EDAEA1BBC2E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_8C8876448A6303BE0EA9EDAEA1BB2556" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_ABCE29413750DEC43079EDAEA1BBC2E3" xlink:to="loc_us-gaap_SubsequentEventMember_8C8876448A6303BE0EA9EDAEA1BB2556" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_D8419C83B924E77B5AD3EDAEA1BBCFA9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2E07050553F8C9929746EDAEA1BA2CA6" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D8419C83B924E77B5AD3EDAEA1BBCFA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_24241E5388F6A542EF7BEDAEA1BB4A60_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D8419C83B924E77B5AD3EDAEA1BBCFA9" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_24241E5388F6A542EF7BEDAEA1BB4A60_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_24241E5388F6A542EF7BEDAEA1BB4A60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D8419C83B924E77B5AD3EDAEA1BBCFA9" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_24241E5388F6A542EF7BEDAEA1BB4A60" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSGroupInc.Member" xlink:label="loc_otex_GXSGroupInc.Member_D01C40AEA8B2107E3931EDAEA1BBF266" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_24241E5388F6A542EF7BEDAEA1BB4A60" xlink:to="loc_otex_GXSGroupInc.Member_D01C40AEA8B2107E3931EDAEA1BBF266" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSIndiaMember" xlink:label="loc_otex_GXSIndiaMember_8DB04DC6CECCCB11FF3DEDAEA1BBAB45" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_24241E5388F6A542EF7BEDAEA1BB4A60" xlink:to="loc_otex_GXSIndiaMember_8DB04DC6CECCCB11FF3DEDAEA1BBAB45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseAxis" xlink:label="loc_us-gaap_LitigationCaseAxis_8306072B27EEB7376162EDAEA1BB40BE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2E07050553F8C9929746EDAEA1BA2CA6" xlink:to="loc_us-gaap_LitigationCaseAxis_8306072B27EEB7376162EDAEA1BB40BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_3DAD5308A3248A36CB2EEDAEA1BC8B21_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationCaseAxis_8306072B27EEB7376162EDAEA1BB40BE" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_3DAD5308A3248A36CB2EEDAEA1BC8B21_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_3DAD5308A3248A36CB2EEDAEA1BC8B21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationCaseAxis_8306072B27EEB7376162EDAEA1BB40BE" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_3DAD5308A3248A36CB2EEDAEA1BC8B21" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_MunicipalityofSaoPauloMember" xlink:label="loc_otex_MunicipalityofSaoPauloMember_9A516881804E8EDD27D6EDAEA1BC5522" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LitigationCaseTypeDomain_3DAD5308A3248A36CB2EEDAEA1BC8B21" xlink:to="loc_otex_MunicipalityofSaoPauloMember_9A516881804E8EDD27D6EDAEA1BC5522" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss" xlink:label="loc_us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss_03F970C12FC309C2F228EDAEA1BC593B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss_03F970C12FC309C2F228EDAEA1BC593B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_IncomeTaxExaminationEstimateOfPossibleLossTax" xlink:label="loc_otex_IncomeTaxExaminationEstimateOfPossibleLossTax_6D9531C3297219460EABEDAEA1BC335B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_otex_IncomeTaxExaminationEstimateOfPossibleLossTax_6D9531C3297219460EABEDAEA1BC335B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_IncomeTaxExaminationEstimateOfPossibleLossPenalties" xlink:label="loc_otex_IncomeTaxExaminationEstimateOfPossibleLossPenalties_65CA0A06CA0A8CB3A492EDCA31610C6E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_otex_IncomeTaxExaminationEstimateOfPossibleLossPenalties_65CA0A06CA0A8CB3A492EDCA31610C6E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_IncomeTaxExaminationEstimateOfPossibleLossInterest" xlink:label="loc_otex_IncomeTaxExaminationEstimateOfPossibleLossInterest_1AA48AA831DA3280DD07EDCB7DA40D5C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_otex_IncomeTaxExaminationEstimateOfPossibleLossInterest_1AA48AA831DA3280DD07EDCB7DA40D5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExaminationIncreaseDecreaseInLiabilityFromPriorYear" xlink:label="loc_us-gaap_IncomeTaxExaminationIncreaseDecreaseInLiabilityFromPriorYear_C967C547551372B3C39EEDAEA1BCB00E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_us-gaap_IncomeTaxExaminationIncreaseDecreaseInLiabilityFromPriorYear_C967C547551372B3C39EEDAEA1BCB00E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_IncomeTaxExaminationEstimateOfPossibleLossPenaltiesAndInterest" xlink:label="loc_otex_IncomeTaxExaminationEstimateOfPossibleLossPenaltiesAndInterest_4341AE87D4BDD2F78823EDCC2EEF6A11" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_otex_IncomeTaxExaminationEstimateOfPossibleLossPenaltiesAndInterest_4341AE87D4BDD2F78823EDCC2EEF6A11" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_IncomeTaxPenaltyRate" xlink:label="loc_otex_IncomeTaxPenaltyRate_E0BB799E5D4C0568AE76EDAEA1BCF11D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_otex_IncomeTaxPenaltyRate_E0BB799E5D4C0568AE76EDAEA1BCF11D" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_IncomeTaxExaminationEstimateofIncreasetoTaxableIncome" xlink:label="loc_otex_IncomeTaxExaminationEstimateofIncreasetoTaxableIncome_25EEA4707E1B0E87823AEDAEA1BC9349" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_otex_IncomeTaxExaminationEstimateofIncreasetoTaxableIncome_25EEA4707E1B0E87823AEDAEA1BC9349" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForLegalSettlements" xlink:label="loc_us-gaap_PaymentsForLegalSettlements_870D9C62C863532439BDEDAEA1BC8DAF" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_us-gaap_PaymentsForLegalSettlements_870D9C62C863532439BDEDAEA1BC8DAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyAccrualAtCarryingValue" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_DEFC12DF3AE9B0D093EAEDAEA1BC297C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_597931D34F29AE275150EDAEA1BCB4B8" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_DEFC12DF3AE9B0D093EAEDAEA1BC297C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/GuaranteesAndContingenciesScheduleOfContractualObligationsWithMinimumPaymentsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/GuaranteesAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_FB88DB9F1BFAFB65A558D22560EEA022" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_4B4A64DB12E59E447237D22560EDCFB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_FB88DB9F1BFAFB65A558D22560EEA022" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_4B4A64DB12E59E447237D22560EDCFB7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_89894952261DE74D7B2ED22560ED776C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_4B4A64DB12E59E447237D22560EDCFB7" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_89894952261DE74D7B2ED22560ED776C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_92CB0C64409346F6DEF8D22560EEEC08_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_89894952261DE74D7B2ED22560ED776C" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_92CB0C64409346F6DEF8D22560EEEC08_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_92CB0C64409346F6DEF8D22560EEEC08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_89894952261DE74D7B2ED22560ED776C" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_92CB0C64409346F6DEF8D22560EEEC08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_F2C657E2A72DB8D35D80D22560EE1E52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_92CB0C64409346F6DEF8D22560EEEC08" xlink:to="loc_us-gaap_DomesticCountryMember_F2C657E2A72DB8D35D80D22560EE1E52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_8A39CA98D62FBED2EB8CD22560EE8F0B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_92CB0C64409346F6DEF8D22560EEEC08" xlink:to="loc_us-gaap_ForeignCountryMember_8A39CA98D62FBED2EB8CD22560EE8F0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_9B25C38820EE28E31C44D22560EEF1C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_FB88DB9F1BFAFB65A558D22560EEA022" xlink:to="loc_us-gaap_OperatingLossCarryforwards_9B25C38820EE28E31C44D22560EEF1C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_5A569C0EF3812E103E80D22560EE687B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_FB88DB9F1BFAFB65A558D22560EEA022" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_5A569C0EF3812E103E80D22560EE687B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentTaxCredit" xlink:label="loc_us-gaap_InvestmentTaxCredit_6B9BA1D43B12FA1DB48ED22560EE892D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_FB88DB9F1BFAFB65A558D22560EEA022" xlink:to="loc_us-gaap_InvestmentTaxCredit_6B9BA1D43B12FA1DB48ED22560EE892D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesChangesInBalanceOfGrossUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesComponentsOfIncomeTaxDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesIncomeBeforeProvisionForIncomeTaxDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesIncomeTaxReconciliationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesInterestAccruedAndPenaltiesAccruedRelatedToIncomeTaxExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesInterestAndPenaltiesRelatedToLiabilitiesForIncomeTaxExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/LongTermDebt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/LongTermDebtAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_6542C946273C173D528FCA5EDBF1D4A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_DebtInstrumentTable_6542C946273C173D528FCA5EDBF1D4A2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_FD8C1FF4C8AFE8888CA8CA5EDBF111D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_6542C946273C173D528FCA5EDBF1D4A2" xlink:to="loc_us-gaap_DebtInstrumentAxis_FD8C1FF4C8AFE8888CA8CA5EDBF111D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_742660149EC2FA7C412ECA5EDBF1C2E4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_FD8C1FF4C8AFE8888CA8CA5EDBF111D3" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_742660149EC2FA7C412ECA5EDBF1C2E4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_742660149EC2FA7C412ECA5EDBF1C2E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_FD8C1FF4C8AFE8888CA8CA5EDBF111D3" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_742660149EC2FA7C412ECA5EDBF1C2E4" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TermLoanBMember" xlink:label="loc_otex_TermLoanBMember_7FA64736241D9A8D3E77CA5EDBF10D59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_742660149EC2FA7C412ECA5EDBF1C2E4" xlink:to="loc_otex_TermLoanBMember_7FA64736241D9A8D3E77CA5EDBF10D59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_AF375A0C0909EFED733FCA5EDBF14B5D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_6542C946273C173D528FCA5EDBF1D4A2" xlink:to="loc_us-gaap_CreditFacilityAxis_AF375A0C0909EFED733FCA5EDBF14B5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_5666B3F308D8E8DC7DB6CA5EDBF11A0D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_AF375A0C0909EFED733FCA5EDBF14B5D" xlink:to="loc_us-gaap_CreditFacilityDomain_5666B3F308D8E8DC7DB6CA5EDBF11A0D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_5666B3F308D8E8DC7DB6CA5EDBF11A0D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_AF375A0C0909EFED733FCA5EDBF14B5D" xlink:to="loc_us-gaap_CreditFacilityDomain_5666B3F308D8E8DC7DB6CA5EDBF11A0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_6EDD6BFE26235E7740C7CA5EDBF20B46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_5666B3F308D8E8DC7DB6CA5EDBF11A0D" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_6EDD6BFE26235E7740C7CA5EDBF20B46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_56E825CF44C2D1376014CA5EDBF2DF46" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_6542C946273C173D528FCA5EDBF1D4A2" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_56E825CF44C2D1376014CA5EDBF2DF46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_76941FC18788CFE0ADEBCA5EDBF26743_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_56E825CF44C2D1376014CA5EDBF2DF46" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_76941FC18788CFE0ADEBCA5EDBF26743_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_76941FC18788CFE0ADEBCA5EDBF26743" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_56E825CF44C2D1376014CA5EDBF2DF46" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_76941FC18788CFE0ADEBCA5EDBF26743" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_E0FE9820908F31A22B1ECA5EDBF25B73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_76941FC18788CFE0ADEBCA5EDBF26743" xlink:to="loc_us-gaap_LineOfCreditMember_E0FE9820908F31A22B1ECA5EDBF25B73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_98B311BBB060F9A4BD8FCA5EDBF26808" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_6542C946273C173D528FCA5EDBF1D4A2" xlink:to="loc_us-gaap_VariableRateAxis_98B311BBB060F9A4BD8FCA5EDBF26808" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_8282B3788EB8FFB59A67CA5EDBF25017_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_98B311BBB060F9A4BD8FCA5EDBF26808" xlink:to="loc_us-gaap_VariableRateDomain_8282B3788EB8FFB59A67CA5EDBF25017_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_8282B3788EB8FFB59A67CA5EDBF25017" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_98B311BBB060F9A4BD8FCA5EDBF26808" xlink:to="loc_us-gaap_VariableRateDomain_8282B3788EB8FFB59A67CA5EDBF25017" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_3B20BB5149AED90F898ECA5EDBF21A89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_8282B3788EB8FFB59A67CA5EDBF25017" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_3B20BB5149AED90F898ECA5EDBF21A89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_70328CC594DA80B554FBCA5EDBF2401F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_6542C946273C173D528FCA5EDBF1D4A2" xlink:to="loc_us-gaap_RangeAxis_70328CC594DA80B554FBCA5EDBF2401F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_5F3D37712B771682250ACA5EDBF2ABDA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_70328CC594DA80B554FBCA5EDBF2401F" xlink:to="loc_us-gaap_RangeMember_5F3D37712B771682250ACA5EDBF2ABDA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_5F3D37712B771682250ACA5EDBF2ABDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_70328CC594DA80B554FBCA5EDBF2401F" xlink:to="loc_us-gaap_RangeMember_5F3D37712B771682250ACA5EDBF2ABDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_6B6E60DCB43D789AEB1BCA5EDBF21D79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_5F3D37712B771682250ACA5EDBF2ABDA" xlink:to="loc_us-gaap_MinimumMember_6B6E60DCB43D789AEB1BCA5EDBF21D79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_286F174A5D7C3A81EEB2CA5EDBF2D510" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_5F3D37712B771682250ACA5EDBF2ABDA" xlink:to="loc_us-gaap_MaximumMember_286F174A5D7C3A81EEB2CA5EDBF2D510" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_6D4C8F8B652C39B96EB8CA5EDBF2C5E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_6D4C8F8B652C39B96EB8CA5EDBF2C5E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_74468555F95F4CF1758ECA5EDBF2409E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_DebtInstrumentTerm_74468555F95F4CF1758ECA5EDBF2409E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DebtInstrumentPeriodicPaymentQuarterlyRepaymentPercentageofPrincipal" xlink:label="loc_otex_DebtInstrumentPeriodicPaymentQuarterlyRepaymentPercentageofPrincipal_B84EF67DD2F34134E0A7CA5EDBF3CB06" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_otex_DebtInstrumentPeriodicPaymentQuarterlyRepaymentPercentageofPrincipal_B84EF67DD2F34134E0A7CA5EDBF3CB06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_595E4DDC4CA3449B253CCA5EDBF31066" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_595E4DDC4CA3449B253CCA5EDBF31066" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_4EC04A635D7E21F39176CA5EDBF3158E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_4EC04A635D7E21F39176CA5EDBF3158E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpenseDebt" xlink:label="loc_us-gaap_InterestExpenseDebt_543CB83E07BCE96F0825CA5EDBF39AD5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_InterestExpenseDebt_543CB83E07BCE96F0825CA5EDBF39AD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_304D5850400C05243E71CA5EDBF3EEB0" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_304D5850400C05243E71CA5EDBF3EEB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_CD284B4DF8FEB7746992CA6E49079E32" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_CD284B4DF8FEB7746992CA6E49079E32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_F5C4736F861E80B95823CA5EDBF3E41A" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_F5C4736F861E80B95823CA5EDBF3E41A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_F87DA1810E1D3FE3BEBDCA5EDBF34B6A" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_RepaymentsOfDebt_F87DA1810E1D3FE3BEBDCA5EDBF34B6A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_2272273A02AFDF8272DACA5EDBF3A3D0" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_2272273A02AFDF8272DACA5EDBF3A3D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_1298C1D4AB74AC03539FCA5EDBF38921" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_1298C1D4AB74AC03539FCA5EDBF38921" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_D28A495162AD54F297EFCA5EDBF38442" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_D28A495162AD54F297EFCA5EDBF38442" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WriteOffOfDeferredDebtIssuanceCost" xlink:label="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_E98CC50BE6596AE7E36FCA5EDBF3A1C5" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6F5DECF26DD235D0740FCA5EDBF2C70D" xlink:to="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_E98CC50BE6596AE7E36FCA5EDBF3A1C5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/LongTermDebtScheduleOfLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_3C4A2BDB65F256A5ABBEC93944AA9C23" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_26FEC073109D58A9A372879CF28C674A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C4A2BDB65F256A5ABBEC93944AA9C23" xlink:to="loc_us-gaap_DebtInstrumentTable_26FEC073109D58A9A372879CF28C674A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_5726DD777A655817AC42615807378CF3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_26FEC073109D58A9A372879CF28C674A" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_5726DD777A655817AC42615807378CF3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_B4ED540635E687B3EAF17C9CADAFF02B_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_5726DD777A655817AC42615807378CF3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_B4ED540635E687B3EAF17C9CADAFF02B_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_CAEB10B5E1035F18910A2D5CFF58BAEB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_5726DD777A655817AC42615807378CF3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_CAEB10B5E1035F18910A2D5CFF58BAEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_E1B190F3F5CF5BD58CC6DD9620D9F88B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_CAEB10B5E1035F18910A2D5CFF58BAEB" xlink:to="loc_us-gaap_SeniorNotesMember_E1B190F3F5CF5BD58CC6DD9620D9F88B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_D721C6A44F6B54218D49F8A6C443BADC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_CAEB10B5E1035F18910A2D5CFF58BAEB" xlink:to="loc_us-gaap_LineOfCreditMember_D721C6A44F6B54218D49F8A6C443BADC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_326FBB8F9B31565EB2817748FEC8F451" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_26FEC073109D58A9A372879CF28C674A" xlink:to="loc_us-gaap_DebtInstrumentAxis_326FBB8F9B31565EB2817748FEC8F451" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_D37EAC2702A864629E177C9CADAFA5F8_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_326FBB8F9B31565EB2817748FEC8F451" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D37EAC2702A864629E177C9CADAFA5F8_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_93E37B5D0AD159B4B9D907F3C85B3DA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_326FBB8F9B31565EB2817748FEC8F451" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_93E37B5D0AD159B4B9D907F3C85B3DA9" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SeniorNotes2026Member" xlink:label="loc_otex_SeniorNotes2026Member_EAE7D5244A7255A0B27A24DABBB96C2E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_93E37B5D0AD159B4B9D907F3C85B3DA9" xlink:to="loc_otex_SeniorNotes2026Member_EAE7D5244A7255A0B27A24DABBB96C2E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SeniorNotes2023Member" xlink:label="loc_otex_SeniorNotes2023Member_B430758016C8590B8BFB3FDC27F23CB6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_93E37B5D0AD159B4B9D907F3C85B3DA9" xlink:to="loc_otex_SeniorNotes2023Member_B430758016C8590B8BFB3FDC27F23CB6" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_TermLoanBMember" xlink:label="loc_otex_TermLoanBMember_805C5560D17F57D7B9E91147044E2B72" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_93E37B5D0AD159B4B9D907F3C85B3DA9" xlink:to="loc_otex_TermLoanBMember_805C5560D17F57D7B9E91147044E2B72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_CC925FD90B455AE7BDC89952D696D137" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_26FEC073109D58A9A372879CF28C674A" xlink:to="loc_us-gaap_CreditFacilityAxis_CC925FD90B455AE7BDC89952D696D137" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_65A7367522ED15B1C4F67C9CADAF6F53_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_CC925FD90B455AE7BDC89952D696D137" xlink:to="loc_us-gaap_CreditFacilityDomain_65A7367522ED15B1C4F67C9CADAF6F53_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_55FCD445175356CFA3FFD49CCBFA6346" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_CC925FD90B455AE7BDC89952D696D137" xlink:to="loc_us-gaap_CreditFacilityDomain_55FCD445175356CFA3FFD49CCBFA6346" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_C3DCEAF8F1545A9B885B5F5BCBF6CE5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_55FCD445175356CFA3FFD49CCBFA6346" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_C3DCEAF8F1545A9B885B5F5BCBF6CE5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_D664EF721D425275A7D50030B5483C73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C4A2BDB65F256A5ABBEC93944AA9C23" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_D664EF721D425275A7D50030B5483C73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentUnamortizedPremium" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedPremium_E76273D243DC56CE8B5B9AB430DDA20E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C4A2BDB65F256A5ABBEC93944AA9C23" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedPremium_E76273D243DC56CE8B5B9AB430DDA20E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_78DCB129C3C15657B20FC03B5B56D5A2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C4A2BDB65F256A5ABBEC93944AA9C23" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_78DCB129C3C15657B20FC03B5B56D5A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_053EC8D6B6B15D8E8BF8E1FEDE23ACBF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C4A2BDB65F256A5ABBEC93944AA9C23" xlink:to="loc_us-gaap_LongTermDebt_053EC8D6B6B15D8E8BF8E1FEDE23ACBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtCurrentAndNoncurrentAbstract" xlink:label="loc_us-gaap_LongtermDebtCurrentAndNoncurrentAbstract_87A51CC531F159BE93934815C1958583" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C4A2BDB65F256A5ABBEC93944AA9C23" xlink:to="loc_us-gaap_LongtermDebtCurrentAndNoncurrentAbstract_87A51CC531F159BE93934815C1958583" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansPayableToBankCurrent" xlink:label="loc_us-gaap_LoansPayableToBankCurrent_9A2A13BF249E5B5FADB70E34E9435934" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtCurrentAndNoncurrentAbstract_87A51CC531F159BE93934815C1958583" xlink:to="loc_us-gaap_LoansPayableToBankCurrent_9A2A13BF249E5B5FADB70E34E9435934" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermLoansFromBank" xlink:label="loc_us-gaap_LongTermLoansFromBank_7D0F3625152654799A81403401A81EA7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C4A2BDB65F256A5ABBEC93944AA9C23" xlink:to="loc_us-gaap_LongTermLoansFromBank_7D0F3625152654799A81403401A81EA7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/LongTermDebtSeniorUnsecuredFixedRateNotesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_8254DCA977CC71A8A218908006E23AC6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_53E85AB04ABBBC877977908006E23A65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8254DCA977CC71A8A218908006E23AC6" xlink:to="loc_us-gaap_DebtInstrumentTable_53E85AB04ABBBC877977908006E23A65" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_A10867EE781D4D25F2F2908006E295FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_53E85AB04ABBBC877977908006E23A65" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_A10867EE781D4D25F2F2908006E295FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4A43B821C5A84A0200AC908006E24D04_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A10867EE781D4D25F2F2908006E295FC" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4A43B821C5A84A0200AC908006E24D04_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4A43B821C5A84A0200AC908006E24D04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A10867EE781D4D25F2F2908006E295FC" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4A43B821C5A84A0200AC908006E24D04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_893AF6BD3F054F12D044908006E2386F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4A43B821C5A84A0200AC908006E24D04" xlink:to="loc_us-gaap_SeniorNotesMember_893AF6BD3F054F12D044908006E2386F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_AE40851382FB2081B648908006E2563F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_53E85AB04ABBBC877977908006E23A65" xlink:to="loc_us-gaap_DebtInstrumentAxis_AE40851382FB2081B648908006E2563F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5FE55C26239864DAADCD908006E2610E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_AE40851382FB2081B648908006E2563F" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5FE55C26239864DAADCD908006E2610E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5FE55C26239864DAADCD908006E2610E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_AE40851382FB2081B648908006E2563F" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5FE55C26239864DAADCD908006E2610E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SeniorNotes2026Member" xlink:label="loc_otex_SeniorNotes2026Member_AC143806C8955E915157908006E2DBAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5FE55C26239864DAADCD908006E2610E" xlink:to="loc_otex_SeniorNotes2026Member_AC143806C8955E915157908006E2DBAF" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SeniorNotes2023Member" xlink:label="loc_otex_SeniorNotes2023Member_D5606C4DF25A3F6BC3C1908006E2C18A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5FE55C26239864DAADCD908006E2610E" xlink:to="loc_otex_SeniorNotes2023Member_D5606C4DF25A3F6BC3C1908006E2C18A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_42283C13001D974D7B09908006E230F4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8254DCA977CC71A8A218908006E23AC6" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_42283C13001D974D7B09908006E230F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_915146A486A33E96C1ED908006E25177" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8254DCA977CC71A8A218908006E23AC6" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_915146A486A33E96C1ED908006E25177" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DebtInstrumentIssuancePricePercentageofFaceValue" xlink:label="loc_otex_DebtInstrumentIssuancePricePercentageofFaceValue_59EA640B33EFE8540EDE908006E26317" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8254DCA977CC71A8A218908006E23AC6" xlink:to="loc_otex_DebtInstrumentIssuancePricePercentageofFaceValue_59EA640B33EFE8540EDE908006E26317" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_90A190C1BC2A782DE1F0908006E2C242" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8254DCA977CC71A8A218908006E23AC6" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_90A190C1BC2A782DE1F0908006E2C242" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpenseDebt" xlink:label="loc_us-gaap_InterestExpenseDebt_C81529CC4881596C420C908006E2D67C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8254DCA977CC71A8A218908006E23AC6" xlink:to="loc_us-gaap_InterestExpenseDebt_C81529CC4881596C420C908006E2D67C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/LongTermDebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/OtherAssets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/OtherAssetsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_42649CC823B71D0EF1AF908006FF2E1E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_E444485FBB6713B85776908006FFD352" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_42649CC823B71D0EF1AF908006FF2E1E" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_E444485FBB6713B85776908006FFD352" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_282F84CBF65807DE0C4B908006FF1224" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_E444485FBB6713B85776908006FFD352" xlink:to="loc_us-gaap_RangeAxis_282F84CBF65807DE0C4B908006FF1224" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_AB2DE95BE4132B58E5F2908006FF1DA8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_282F84CBF65807DE0C4B908006FF1224" xlink:to="loc_us-gaap_RangeMember_AB2DE95BE4132B58E5F2908006FF1DA8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_AB2DE95BE4132B58E5F2908006FF1DA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_282F84CBF65807DE0C4B908006FF1224" xlink:to="loc_us-gaap_RangeMember_AB2DE95BE4132B58E5F2908006FF1DA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_D5F174AD531381FC0D48908006FF3D00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_AB2DE95BE4132B58E5F2908006FF1DA8" xlink:to="loc_us-gaap_MinimumMember_D5F174AD531381FC0D48908006FF3D00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_769EED1CB7311298C2E0908006FF8C9F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_AB2DE95BE4132B58E5F2908006FF1DA8" xlink:to="loc_us-gaap_MaximumMember_769EED1CB7311298C2E0908006FF8C9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_98589A9B981E7564BF6C908006FF6E09" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_42649CC823B71D0EF1AF908006FF2E1E" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_98589A9B981E7564BF6C908006FF6E09" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/OtherAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/OtherAssetsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefits" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1EEDDC3B3DEC9D1AB7D4A5F259667B28" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6AD1353EA4FE7072E4F5A5F259630C7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1EEDDC3B3DEC9D1AB7D4A5F259667B28" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6AD1353EA4FE7072E4F5A5F259630C7E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_74C7D550C305233EB563A5F25964F936" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6AD1353EA4FE7072E4F5A5F259630C7E" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_74C7D550C305233EB563A5F25964F936" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_37236C8BE4EBE901291CA5F25964C402_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_74C7D550C305233EB563A5F25964F936" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_37236C8BE4EBE901291CA5F25964C402_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_37236C8BE4EBE901291CA5F25964C402" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_74C7D550C305233EB563A5F25964F936" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_37236C8BE4EBE901291CA5F25964C402" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_6C787128FB43BE2D898FA5F25965F4D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_37236C8BE4EBE901291CA5F25964C402" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_6C787128FB43BE2D898FA5F25965F4D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_67C1F79C91959F915151A5F25965BCCF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6AD1353EA4FE7072E4F5A5F259630C7E" xlink:to="loc_us-gaap_RetirementPlanNameAxis_67C1F79C91959F915151A5F25965BCCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_6BC8A3582DCB97814D3FA5F25965C825_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_67C1F79C91959F915151A5F25965BCCF" xlink:to="loc_us-gaap_RetirementPlanNameDomain_6BC8A3582DCB97814D3FA5F25965C825_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_6BC8A3582DCB97814D3FA5F25965C825" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_67C1F79C91959F915151A5F25965BCCF" xlink:to="loc_us-gaap_RetirementPlanNameDomain_6BC8A3582DCB97814D3FA5F25965C825" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CDTMember" xlink:label="loc_otex_CDTMember_5A42866271AB2C238699A5F25965C47B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_6BC8A3582DCB97814D3FA5F25965C825" xlink:to="loc_otex_CDTMember_5A42866271AB2C238699A5F25965C47B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSGermanyMember" xlink:label="loc_otex_GXSGermanyMember_C3AD4B647C6DDE062402A5F259666310" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_6BC8A3582DCB97814D3FA5F25965C825" xlink:to="loc_otex_GXSGermanyMember_C3AD4B647C6DDE062402A5F259666310" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSPhilippineMember" xlink:label="loc_otex_GXSPhilippineMember_E5E76E636CFC9E8756E9A5F259667BF0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_6BC8A3582DCB97814D3FA5F25965C825" xlink:to="loc_otex_GXSPhilippineMember_E5E76E636CFC9E8756E9A5F259667BF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_311427FB54AA7856538AA5F259667FB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1EEDDC3B3DEC9D1AB7D4A5F259667B28" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_311427FB54AA7856538AA5F259667FB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedAmortizationNextFiscalYear" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedAmortizationNextFiscalYear_DE15E8960B66021D9387A5F2596676A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1EEDDC3B3DEC9D1AB7D4A5F259667B28" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedAmortizationNextFiscalYear_DE15E8960B66021D9387A5F2596676A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_AE09AD2033513E3F9867A5F25966AD02" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1EEDDC3B3DEC9D1AB7D4A5F259667B28" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_AE09AD2033513E3F9867A5F25966AD02" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsAnticipatedPensionPaymentsUnderPensionPlansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_DF1599BD6EAFAF137877A5F25D342A14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_DF1599BD6EAFAF137877A5F25D342A14" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_A853EEC6621BE3A6C244A5F25D34A9D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_DF1599BD6EAFAF137877A5F25D342A14" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_A853EEC6621BE3A6C244A5F25D34A9D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_BAC694C71191173341ECA5F25D3435DE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_A853EEC6621BE3A6C244A5F25D34A9D6" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_BAC694C71191173341ECA5F25D3435DE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_BAC694C71191173341ECA5F25D3435DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_A853EEC6621BE3A6C244A5F25D34A9D6" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_BAC694C71191173341ECA5F25D3435DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_396CFAD562446017AC39A5F25D34DF1C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_BAC694C71191173341ECA5F25D3435DE" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_396CFAD562446017AC39A5F25D34DF1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_8B2C0E7A83F712F1FB9CA5F25D340893" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_DF1599BD6EAFAF137877A5F25D342A14" xlink:to="loc_us-gaap_RetirementPlanNameAxis_8B2C0E7A83F712F1FB9CA5F25D340893" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_FF7E9EDF74F67C69D076A5F25D34EFC3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_8B2C0E7A83F712F1FB9CA5F25D340893" xlink:to="loc_us-gaap_RetirementPlanNameDomain_FF7E9EDF74F67C69D076A5F25D34EFC3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_FF7E9EDF74F67C69D076A5F25D34EFC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_8B2C0E7A83F712F1FB9CA5F25D340893" xlink:to="loc_us-gaap_RetirementPlanNameDomain_FF7E9EDF74F67C69D076A5F25D34EFC3" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CDTMember" xlink:label="loc_otex_CDTMember_877EB27783AD983CECBDA5F25D343DAA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_FF7E9EDF74F67C69D076A5F25D34EFC3" xlink:to="loc_otex_CDTMember_877EB27783AD983CECBDA5F25D343DAA" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSGermanyMember" xlink:label="loc_otex_GXSGermanyMember_D0F6BBE7C821B214E207A5F25D34FF42" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_FF7E9EDF74F67C69D076A5F25D34EFC3" xlink:to="loc_otex_GXSGermanyMember_D0F6BBE7C821B214E207A5F25D34FF42" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSPhilippineMember" xlink:label="loc_otex_GXSPhilippineMember_146ECCA4E454C0CF8942A5F25D352016" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_FF7E9EDF74F67C69D076A5F25D34EFC3" xlink:to="loc_otex_GXSPhilippineMember_146ECCA4E454C0CF8942A5F25D352016" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_FED42D566CA6F1E89E70A5F89592DCCB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_FED42D566CA6F1E89E70A5F89592DCCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_5E07826655D3ACD15671A5F25D358092" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_5E07826655D3ACD15671A5F25D358092" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_5D7DF9A0C117951F7334A5F25D35E3D8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_5D7DF9A0C117951F7334A5F25D35E3D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_F0498527F1787A036958A5F25D350438" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_F0498527F1787A036958A5F25D350438" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_A292984BB6954B1AC8A0A5F25D355CCF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_A292984BB6954B1AC8A0A5F25D355CCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_C0DB21504FBEE8ABA559A5F25D35FC43" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_C0DB21504FBEE8ABA559A5F25D35FC43" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DefinedBenefitPlanExpectedFutureBenefitPaymentsTotal" xlink:label="loc_otex_DefinedBenefitPlanExpectedFutureBenefitPaymentsTotal_E1B0650AD309166A162AA5F25D354ECE" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_FDAB47A9848927986D2FA5F25D353C52" xlink:to="loc_otex_DefinedBenefitPlanExpectedFutureBenefitPaymentsTotal_E1B0650AD309166A162AA5F25D354ECE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsComponentsOfNetPensionExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46DB59BF875ABD99453AA5F25C43871A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_0438D02F8C8407A9396CA5F25C424EAA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46DB59BF875ABD99453AA5F25C43871A" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_0438D02F8C8407A9396CA5F25C424EAA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_EB3700A193F6F3822CDCA5F25C42148B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_0438D02F8C8407A9396CA5F25C424EAA" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_EB3700A193F6F3822CDCA5F25C42148B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_6927380D86FF0D4B85AFA5F25C42B487_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_EB3700A193F6F3822CDCA5F25C42148B" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_6927380D86FF0D4B85AFA5F25C42B487_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_6927380D86FF0D4B85AFA5F25C42B487" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_EB3700A193F6F3822CDCA5F25C42148B" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_6927380D86FF0D4B85AFA5F25C42B487" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_A289D22DE0328F4EBB38A5F25C42E43A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_6927380D86FF0D4B85AFA5F25C42B487" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_A289D22DE0328F4EBB38A5F25C42E43A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_922823FCA0E2CE57307CA5F25C426076" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_0438D02F8C8407A9396CA5F25C424EAA" xlink:to="loc_us-gaap_RetirementPlanNameAxis_922823FCA0E2CE57307CA5F25C426076" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_3CDA8DB7FD03C85E17E9A5F25C422193_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_922823FCA0E2CE57307CA5F25C426076" xlink:to="loc_us-gaap_RetirementPlanNameDomain_3CDA8DB7FD03C85E17E9A5F25C422193_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_3CDA8DB7FD03C85E17E9A5F25C422193" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_922823FCA0E2CE57307CA5F25C426076" xlink:to="loc_us-gaap_RetirementPlanNameDomain_3CDA8DB7FD03C85E17E9A5F25C422193" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CDTMember" xlink:label="loc_otex_CDTMember_1E5AB71D44DACDB88542A5F25C42AC48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_3CDA8DB7FD03C85E17E9A5F25C422193" xlink:to="loc_otex_CDTMember_1E5AB71D44DACDB88542A5F25C42AC48" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSGermanyMember" xlink:label="loc_otex_GXSGermanyMember_FEE506D51BE2CB2198C4A5F25C432A47" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_3CDA8DB7FD03C85E17E9A5F25C422193" xlink:to="loc_otex_GXSGermanyMember_FEE506D51BE2CB2198C4A5F25C432A47" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSPhilippineMember" xlink:label="loc_otex_GXSPhilippineMember_EA100542BA7E25B86030A5F25C4310C3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_3CDA8DB7FD03C85E17E9A5F25C422193" xlink:to="loc_otex_GXSPhilippineMember_EA100542BA7E25B86030A5F25C4310C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_E857CA91286F8363903EA5F25C434165" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46DB59BF875ABD99453AA5F25C43871A" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_E857CA91286F8363903EA5F25C434165" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_DF85CF66B3A705BB6F42A5F25C43AFB9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46DB59BF875ABD99453AA5F25C43871A" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_DF85CF66B3A705BB6F42A5F25C43AFB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_B522D01761E85B040822A5F25C43927D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46DB59BF875ABD99453AA5F25C43871A" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_B522D01761E85B040822A5F25C43927D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionExpense" xlink:label="loc_us-gaap_PensionExpense_55406318D59302B17311A5F25C430346" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46DB59BF875ABD99453AA5F25C43871A" xlink:to="loc_us-gaap_PensionExpense_55406318D59302B17311A5F25C430346" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsScheduleOfChangeInBenefitObligationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46612F56C45341C4D216A5F259AECDC8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_C7EC3CA142AFAFFD8D36A5F259AED550" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46612F56C45341C4D216A5F259AECDC8" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_C7EC3CA142AFAFFD8D36A5F259AED550" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_20D5DCA43E917BEE2494A5F259AE866B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_C7EC3CA142AFAFFD8D36A5F259AED550" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_20D5DCA43E917BEE2494A5F259AE866B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_212A9F76A1D15548D179A5F259AEDDC9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_20D5DCA43E917BEE2494A5F259AE866B" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_212A9F76A1D15548D179A5F259AEDDC9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_212A9F76A1D15548D179A5F259AEDDC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_20D5DCA43E917BEE2494A5F259AE866B" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_212A9F76A1D15548D179A5F259AEDDC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_74FCF0F6E464263AB59CA5F259AE44D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_212A9F76A1D15548D179A5F259AEDDC9" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_74FCF0F6E464263AB59CA5F259AE44D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_54528A3E53D73C40D457A5F259AE4857" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_C7EC3CA142AFAFFD8D36A5F259AED550" xlink:to="loc_us-gaap_RetirementPlanNameAxis_54528A3E53D73C40D457A5F259AE4857" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_D454460C3BBF9A8D6487A5F259AE15F8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_54528A3E53D73C40D457A5F259AE4857" xlink:to="loc_us-gaap_RetirementPlanNameDomain_D454460C3BBF9A8D6487A5F259AE15F8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_D454460C3BBF9A8D6487A5F259AE15F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_54528A3E53D73C40D457A5F259AE4857" xlink:to="loc_us-gaap_RetirementPlanNameDomain_D454460C3BBF9A8D6487A5F259AE15F8" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CDTMember" xlink:label="loc_otex_CDTMember_2B5EC7D2E32C67CC54A8A5F259AE9DBB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_D454460C3BBF9A8D6487A5F259AE15F8" xlink:to="loc_otex_CDTMember_2B5EC7D2E32C67CC54A8A5F259AE9DBB" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSGermanyMember" xlink:label="loc_otex_GXSGermanyMember_8078FD29562F54B5BF58A5F259AE0906" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_D454460C3BBF9A8D6487A5F259AE15F8" xlink:to="loc_otex_GXSGermanyMember_8078FD29562F54B5BF58A5F259AE0906" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSPhilippineMember" xlink:label="loc_otex_GXSPhilippineMember_94F5D4EAA786BA63FDE4A5F259AE99E1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_D454460C3BBF9A8D6487A5F259AE15F8" xlink:to="loc_otex_GXSPhilippineMember_94F5D4EAA786BA63FDE4A5F259AE99E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_46612F56C45341C4D216A5F259AECDC8" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_082B898F0F8ED6CA9760A5F259AEB282" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_082B898F0F8ED6CA9760A5F259AEB282" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_3E35553B94FC05007605A5F259AF0427" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_3E35553B94FC05007605A5F259AF0427" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_A10D3E59480169F64425A5F259AF5F04" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_A10D3E59480169F64425A5F259AF5F04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_03F9843273358C27DE77A5F259AFCD0E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_03F9843273358C27DE77A5F259AFCD0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_1EC520309FD09D85A10AA5F259AF0042" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_1EC520309FD09D85A10AA5F259AF0042" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_102E0FB0122866DE00D6A5F259AF50D1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:to="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_102E0FB0122866DE00D6A5F259AF50D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_528B496C70AC1C3BD3F6A5F259AF24F1" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_528B496C70AC1C3BD3F6A5F259AF24F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_29C1FBEFEDCB9BD29B26A5F259AFFFB5" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_FD1676E40B914AE4A928A5F259AE3A82" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_29C1FBEFEDCB9BD29B26A5F259AFFFB5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsScheduleOfDefinedBenefitPlansAndLongTermEmployeeBenefitObligationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_26757EE6597364FA985FA5F25991DFB5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_39A0E52DD9072A75B870A5F259904BA1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_26757EE6597364FA985FA5F25991DFB5" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_39A0E52DD9072A75B870A5F259904BA1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_80BCE3AD0E537FF47D57A5F259916B81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_39A0E52DD9072A75B870A5F259904BA1" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_80BCE3AD0E537FF47D57A5F259916B81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_3EBC90B2E794BC832872A5F259915353_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_80BCE3AD0E537FF47D57A5F259916B81" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_3EBC90B2E794BC832872A5F259915353_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_3EBC90B2E794BC832872A5F259915353" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_80BCE3AD0E537FF47D57A5F259916B81" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_3EBC90B2E794BC832872A5F259915353" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_00C05BF85F7779CBCA44A5F259919D1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_3EBC90B2E794BC832872A5F259915353" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_00C05BF85F7779CBCA44A5F259919D1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherPensionPlansPostretirementOrSupplementalPlansDefinedBenefitMember" xlink:label="loc_us-gaap_OtherPensionPlansPostretirementOrSupplementalPlansDefinedBenefitMember_A7F94DC6941EB7847F44A5F25991B8D3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_3EBC90B2E794BC832872A5F259915353" xlink:to="loc_us-gaap_OtherPensionPlansPostretirementOrSupplementalPlansDefinedBenefitMember_A7F94DC6941EB7847F44A5F25991B8D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_4D2DD1288503B9CAAACFA5F25991A02C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_39A0E52DD9072A75B870A5F259904BA1" xlink:to="loc_us-gaap_RetirementPlanNameAxis_4D2DD1288503B9CAAACFA5F25991A02C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_6BAF236E64806EF0E969A5F25991C4FC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_4D2DD1288503B9CAAACFA5F25991A02C" xlink:to="loc_us-gaap_RetirementPlanNameDomain_6BAF236E64806EF0E969A5F25991C4FC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_6BAF236E64806EF0E969A5F25991C4FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_4D2DD1288503B9CAAACFA5F25991A02C" xlink:to="loc_us-gaap_RetirementPlanNameDomain_6BAF236E64806EF0E969A5F25991C4FC" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CDTMember" xlink:label="loc_otex_CDTMember_DAAEE009E9E16B120F0CA5F259910C79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_6BAF236E64806EF0E969A5F25991C4FC" xlink:to="loc_otex_CDTMember_DAAEE009E9E16B120F0CA5F259910C79" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSGermanyMember" xlink:label="loc_otex_GXSGermanyMember_6351CEC50B979664DA68A5F25991A747" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_6BAF236E64806EF0E969A5F25991C4FC" xlink:to="loc_otex_GXSGermanyMember_6351CEC50B979664DA68A5F25991A747" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSPhilippineMember" xlink:label="loc_otex_GXSPhilippineMember_AE393D970E2B23D742D4A5F25991F669" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_6BAF236E64806EF0E969A5F25991C4FC" xlink:to="loc_otex_GXSPhilippineMember_AE393D970E2B23D742D4A5F25991F669" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_B8872DE0CDC36ECE274AA5F25991A1B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_26757EE6597364FA985FA5F25991DFB5" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_B8872DE0CDC36ECE274AA5F25991A1B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_BF61416238ABB15E929BA5F25993BADA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_26757EE6597364FA985FA5F25991DFB5" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_BF61416238ABB15E929BA5F25993BADA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_D3AF7F5EDE40BB2507A9A5F25994F394" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_26757EE6597364FA985FA5F25991DFB5" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_D3AF7F5EDE40BB2507A9A5F25994F394" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsScheduleOfWeightedAverageKeyAssumptionsUsedForPensionPlansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_44DE140ABFB41C66FFACA5F25D8BCA76" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D0513BD8EA90C17E996AA5F25D89A729" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_44DE140ABFB41C66FFACA5F25D8BCA76" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D0513BD8EA90C17E996AA5F25D89A729" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_FC87D30A57C75DC0FD39A5F25D898C5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D0513BD8EA90C17E996AA5F25D89A729" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_FC87D30A57C75DC0FD39A5F25D898C5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_D5AA6CAD6C5CC32E7F13A5F25D89C06B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_FC87D30A57C75DC0FD39A5F25D898C5F" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_D5AA6CAD6C5CC32E7F13A5F25D89C06B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_D5AA6CAD6C5CC32E7F13A5F25D89C06B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_FC87D30A57C75DC0FD39A5F25D898C5F" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_D5AA6CAD6C5CC32E7F13A5F25D89C06B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_489295C2142A45F40B22A5F25D890781" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_D5AA6CAD6C5CC32E7F13A5F25D89C06B" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_489295C2142A45F40B22A5F25D890781" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_1425457C7D6B8F4F2E9AA5F25D897D7C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D0513BD8EA90C17E996AA5F25D89A729" xlink:to="loc_us-gaap_RetirementPlanNameAxis_1425457C7D6B8F4F2E9AA5F25D897D7C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_57B6C90B02250CD6F857A5F25D8AFD85_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_1425457C7D6B8F4F2E9AA5F25D897D7C" xlink:to="loc_us-gaap_RetirementPlanNameDomain_57B6C90B02250CD6F857A5F25D8AFD85_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_57B6C90B02250CD6F857A5F25D8AFD85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_1425457C7D6B8F4F2E9AA5F25D897D7C" xlink:to="loc_us-gaap_RetirementPlanNameDomain_57B6C90B02250CD6F857A5F25D8AFD85" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CDTMember" xlink:label="loc_otex_CDTMember_5BEAFD660990E273460CA5F25D8A3A4F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_57B6C90B02250CD6F857A5F25D8AFD85" xlink:to="loc_otex_CDTMember_5BEAFD660990E273460CA5F25D8A3A4F" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSGermanyMember" xlink:label="loc_otex_GXSGermanyMember_0AF08A2D24B306DEC9C9A5F25D8AB01B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_57B6C90B02250CD6F857A5F25D8AFD85" xlink:to="loc_otex_GXSGermanyMember_0AF08A2D24B306DEC9C9A5F25D8AB01B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_GXSPhilippineMember" xlink:label="loc_otex_GXSPhilippineMember_FCB2008D44E18BFBA085A5F25D8A2772" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_57B6C90B02250CD6F857A5F25D8AFD85" xlink:to="loc_otex_GXSPhilippineMember_FCB2008D44E18BFBA085A5F25D8A2772" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_4B65644D4B8C1E42AD97A5F25D8A307C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D0513BD8EA90C17E996AA5F25D89A729" xlink:to="loc_us-gaap_RangeAxis_4B65644D4B8C1E42AD97A5F25D8A307C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F34561C2001CD8D0786FA5F25D8AC663_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_4B65644D4B8C1E42AD97A5F25D8A307C" xlink:to="loc_us-gaap_RangeMember_F34561C2001CD8D0786FA5F25D8AC663_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F34561C2001CD8D0786FA5F25D8AC663" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_4B65644D4B8C1E42AD97A5F25D8A307C" xlink:to="loc_us-gaap_RangeMember_F34561C2001CD8D0786FA5F25D8AC663" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_9E6DEC989B0648270A61A5F25D8AA535" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F34561C2001CD8D0786FA5F25D8AC663" xlink:to="loc_us-gaap_MinimumMember_9E6DEC989B0648270A61A5F25D8AA535" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_3397D36ACC2253518AEFA5F25D8AA10E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F34561C2001CD8D0786FA5F25D8AC663" xlink:to="loc_us-gaap_MaximumMember_3397D36ACC2253518AEFA5F25D8AA10E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DefinedBenefitPlanEmployeeAgeGroupAxis" xlink:label="loc_otex_DefinedBenefitPlanEmployeeAgeGroupAxis_4C3C4F132366BCBD1BDBA5F25D8A3B27" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D0513BD8EA90C17E996AA5F25D89A729" xlink:to="loc_otex_DefinedBenefitPlanEmployeeAgeGroupAxis_4C3C4F132366BCBD1BDBA5F25D8A3B27" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DefinedBenefitPlanEmployeeAgeGroupDomain" xlink:label="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupAxis_4C3C4F132366BCBD1BDBA5F25D8A3B27" xlink:to="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3_default" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DefinedBenefitPlanEmployeeAgeGroupDomain" xlink:label="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupAxis_4C3C4F132366BCBD1BDBA5F25D8A3B27" xlink:to="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeAgeUpto20Member" xlink:label="loc_otex_EmployeeAgeUpto20Member_77B34808251CB20F7245A5F25D8A75CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:to="loc_otex_EmployeeAgeUpto20Member_77B34808251CB20F7245A5F25D8A75CE" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeAgeUpto25Member" xlink:label="loc_otex_EmployeeAgeUpto25Member_F099A7560C27806737B0A5F25D8AF53C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:to="loc_otex_EmployeeAgeUpto25Member_F099A7560C27806737B0A5F25D8AF53C" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeAgeUpToThirtyMember" xlink:label="loc_otex_EmployeeAgeUpToThirtyMember_48D5A8ADD7971686D545A5F25D8A8DB4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:to="loc_otex_EmployeeAgeUpToThirtyMember_48D5A8ADD7971686D545A5F25D8A8DB4" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeAgeUpToThirtyFiveMember" xlink:label="loc_otex_EmployeeAgeUpToThirtyFiveMember_FFF3EE86895EF758D372A5F25D8A40BA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:to="loc_otex_EmployeeAgeUpToThirtyFiveMember_FFF3EE86895EF758D372A5F25D8A40BA" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeAgeUpToFortyMember" xlink:label="loc_otex_EmployeeAgeUpToFortyMember_E2974DEE624FDDE79BA9A5F25D8A9233" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:to="loc_otex_EmployeeAgeUpToFortyMember_E2974DEE624FDDE79BA9A5F25D8A9233" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeAgeUpToFortyFiveMember" xlink:label="loc_otex_EmployeeAgeUpToFortyFiveMember_6DBC823BFC8173FE7013A5F25D8B7DBE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:to="loc_otex_EmployeeAgeUpToFortyFiveMember_6DBC823BFC8173FE7013A5F25D8B7DBE" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeAgeUpToFiftyMember" xlink:label="loc_otex_EmployeeAgeUpToFiftyMember_7A8533A9712372F0ED2FA5F25D8BD6E6" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:to="loc_otex_EmployeeAgeUpToFiftyMember_7A8533A9712372F0ED2FA5F25D8BD6E6" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeAgeAboveFiftyOneMember" xlink:label="loc_otex_EmployeeAgeAboveFiftyOneMember_CED12BD44E8D0D46410EA5F25D8BE565" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_DefinedBenefitPlanEmployeeAgeGroupDomain_9038C50DB6E93DF8DACFA5F25D8A4CE3" xlink:to="loc_otex_EmployeeAgeAboveFiftyOneMember_CED12BD44E8D0D46410EA5F25D8BE565" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_D35916F20990F498CA0CA5F25D8BE28E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_44DE140ABFB41C66FFACA5F25D8BCA76" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_D35916F20990F498CA0CA5F25D8BE28E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfPensionIncrease" xlink:label="loc_otex_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfPensionIncrease_AD09FA05F04433B360ADA5F25D8B18E7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_44DE140ABFB41C66FFACA5F25D8BCA76" xlink:to="loc_otex_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfPensionIncrease_AD09FA05F04433B360ADA5F25D8B18E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_232F25328C075F682B4FA5F25D8B38F2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_44DE140ABFB41C66FFACA5F25D8BCA76" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_232F25328C075F682B4FA5F25D8B38F2" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRetirementAge" xlink:label="loc_otex_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRetirementAge_C747972FF10A6B8BFE65A5F25D8B1546" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_44DE140ABFB41C66FFACA5F25D8BCA76" xlink:to="loc_otex_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRetirementAge_C747972FF10A6B8BFE65A5F25D8B1546" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_EmployeeFluctuationRate" xlink:label="loc_otex_EmployeeFluctuationRate_F2FD5BF63DFA0D91E69EA5F25D8BC9B0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_44DE140ABFB41C66FFACA5F25D8BCA76" xlink:to="loc_otex_EmployeeFluctuationRate_F2FD5BF63DFA0D91E69EA5F25D8BC9B0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/PensionPlansAndOtherPostRetirementBenefitsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/PropertyAndEquipment" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/PropertyAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_29371BF301E8514693E695862475BB00" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_A6CEA16A2F8451A29B82BD2CC2A89F71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_29371BF301E8514693E695862475BB00" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_A6CEA16A2F8451A29B82BD2CC2A89F71" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DFDC43480175521A9FEFED325D3D64BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_A6CEA16A2F8451A29B82BD2CC2A89F71" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DFDC43480175521A9FEFED325D3D64BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1000017BA550626903DD7C9CB0B77912_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DFDC43480175521A9FEFED325D3D64BA" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1000017BA550626903DD7C9CB0B77912_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DFDC43480175521A9FEFED325D3D64BA" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_6D816C0DA3365EADA3367E4FDA1BB9C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_6D816C0DA3365EADA3367E4FDA1BB9C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OfficeEquipmentMember" xlink:label="loc_us-gaap_OfficeEquipmentMember_CC9765D8D94D53A58D3DF24E5C633197" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:to="loc_us-gaap_OfficeEquipmentMember_CC9765D8D94D53A58D3DF24E5C633197" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ComputerHardwareMember" xlink:label="loc_otex_ComputerHardwareMember_089C0CEA34AD5183AC65220515D3755C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:to="loc_otex_ComputerHardwareMember_089C0CEA34AD5183AC65220515D3755C" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ComputerSoftwareMember" xlink:label="loc_otex_ComputerSoftwareMember_A06F12DD4D0450D2ADAF032076692F60" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:to="loc_otex_ComputerSoftwareMember_A06F12DD4D0450D2ADAF032076692F60" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CapitalizedSoftwareMember" xlink:label="loc_otex_CapitalizedSoftwareMember_01B4989A92A459CC9FDC073F6C809F59" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:to="loc_otex_CapitalizedSoftwareMember_01B4989A92A459CC9FDC073F6C809F59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_DE741B0223055CD8B2F577BFFECFFE03" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_DE741B0223055CD8B2F577BFFECFFE03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_FF0104C31BFD5155B0A8EC1A67E0A2BA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_16864CD8480A52EEAA144B3C2D665A28" xlink:to="loc_us-gaap_BuildingMember_FF0104C31BFD5155B0A8EC1A67E0A2BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_44B3F2EE6B855A278AFF08B8560856A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_29371BF301E8514693E695862475BB00" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_44B3F2EE6B855A278AFF08B8560856A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_F25108662AFB5533B4FE1AEC27D107EA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_29371BF301E8514693E695862475BB00" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_F25108662AFB5533B4FE1AEC27D107EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_0D1E6D314A48515EBBC5F614FB4E9997" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_29371BF301E8514693E695862475BB00" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_0D1E6D314A48515EBBC5F614FB4E9997" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/PropertyAndEquipmentTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/RelatedPartyTransactions" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/RelatedPartyTransactionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_28C8C3E8DCB3F8B6B88AA5F2F6FFF84A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_23FA174DEACC637F6ACBA5F2F6FEBF59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_28C8C3E8DCB3F8B6B88AA5F2F6FFF84A" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_23FA174DEACC637F6ACBA5F2F6FEBF59" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_E1D4C98D3825934C3421A5F2F6FE347C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_23FA174DEACC637F6ACBA5F2F6FEBF59" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_E1D4C98D3825934C3421A5F2F6FE347C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_4CA226343E9612BCF2A5A5F2F6FF4667_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_E1D4C98D3825934C3421A5F2F6FE347C" xlink:to="loc_us-gaap_RelatedPartyDomain_4CA226343E9612BCF2A5A5F2F6FF4667_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_4CA226343E9612BCF2A5A5F2F6FF4667" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_E1D4C98D3825934C3421A5F2F6FE347C" xlink:to="loc_us-gaap_RelatedPartyDomain_4CA226343E9612BCF2A5A5F2F6FF4667" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DirectorMember" xlink:label="loc_us-gaap_DirectorMember_766C59B106CEDCFFCDF9A5F2F6FF7759" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_4CA226343E9612BCF2A5A5F2F6FF4667" xlink:to="loc_us-gaap_DirectorMember_766C59B106CEDCFFCDF9A5F2F6FF7759" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="loc_us-gaap_ProfessionalFees_ED22B16C6BF54C852137A5F2F6FF61BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_28C8C3E8DCB3F8B6B88AA5F2F6FFF84A" xlink:to="loc_us-gaap_ProfessionalFees_ED22B16C6BF54C852137A5F2F6FF61BC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SegmentInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/SegmentInformationAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/SegmentInformationEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_52D46E36F77893BA6ECB94E84571F035" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_CAC966E5EC174AD704DF94E845714245" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_52D46E36F77893BA6ECB94E84571F035" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_CAC966E5EC174AD704DF94E845714245" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_8812423DF8B5E4FAD05894E84571B838" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_CAC966E5EC174AD704DF94E845714245" xlink:to="loc_us-gaap_StatementGeographicalAxis_8812423DF8B5E4FAD05894E84571B838" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_8812423DF8B5E4FAD05894E84571B838" xlink:to="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_8812423DF8B5E4FAD05894E84571B838" xlink:to="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CA" xlink:label="loc_country_CA_F5AFD4E2E723FF4F873C94E84571F1A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805" xlink:to="loc_country_CA_F5AFD4E2E723FF4F873C94E84571F1A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_18C47BEFF3B10D5C140D94E84571D3FC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805" xlink:to="loc_country_US_18C47BEFF3B10D5C140D94E84571D3FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_8F5F69436869C010150794E84571EBB7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805" xlink:to="loc_country_GB_8F5F69436869C010150794E84571EBB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_DE" xlink:label="loc_country_DE_EB229AAF19A26AA96B5094E84571067B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805" xlink:to="loc_country_DE_EB229AAF19A26AA96B5094E84571067B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RestOfEuropeMember" xlink:label="loc_otex_RestOfEuropeMember_2D9F864ABF404EF1659094E84571B9E6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805" xlink:to="loc_otex_RestOfEuropeMember_2D9F864ABF404EF1659094E84571B9E6" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_AllOtherCountriesMember" xlink:label="loc_otex_AllOtherCountriesMember_1FE2CCC99C6C04BC3BB894E84571DD6F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_C55ACD4FE5F83488C4C394E845716805" xlink:to="loc_otex_AllOtherCountriesMember_1FE2CCC99C6C04BC3BB894E84571DD6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncurrentAssets" xlink:label="loc_us-gaap_NoncurrentAssets_B41D5CCDA865C2103ADF94E84571964D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_52D46E36F77893BA6ECB94E84571F035" xlink:to="loc_us-gaap_NoncurrentAssets_B41D5CCDA865C2103ADF94E84571964D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SegmentInformationRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_55B880B99628DF1C8F32A683DA1F87F4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_C1CFB8142FD7596B18D7A5F2F713D9B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_55B880B99628DF1C8F32A683DA1F87F4" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_C1CFB8142FD7596B18D7A5F2F713D9B7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_35C7156C47AAF451B99DA5F2F713A4D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_C1CFB8142FD7596B18D7A5F2F713D9B7" xlink:to="loc_us-gaap_StatementGeographicalAxis_35C7156C47AAF451B99DA5F2F713A4D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_35C7156C47AAF451B99DA5F2F713A4D3" xlink:to="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_35C7156C47AAF451B99DA5F2F713A4D3" xlink:to="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CA" xlink:label="loc_country_CA_014E3CBCA86A411066B7A5F2F7133B54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11" xlink:to="loc_country_CA_014E3CBCA86A411066B7A5F2F7133B54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_FED993DF5E20D0A30B23A5F2F7131EBC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11" xlink:to="loc_country_US_FED993DF5E20D0A30B23A5F2F7131EBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_DFAC576288407228811EA5F2F7149BA2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11" xlink:to="loc_country_GB_DFAC576288407228811EA5F2F7149BA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_DE" xlink:label="loc_country_DE_4F2B3C0DEEE3A1107711A5F2F71414DA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11" xlink:to="loc_country_DE_4F2B3C0DEEE3A1107711A5F2F71414DA" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RestOfEuropeMember" xlink:label="loc_otex_RestOfEuropeMember_2840612516CA18AA42D6A5F2F7144620" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11" xlink:to="loc_otex_RestOfEuropeMember_2840612516CA18AA42D6A5F2F7144620" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_AllOtherCountriesMember" xlink:label="loc_otex_AllOtherCountriesMember_940E8C5F47E3E5ABBD63A5F2F714BF7F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_115C952F228DF421F54AA5F2F7139D11" xlink:to="loc_otex_AllOtherCountriesMember_940E8C5F47E3E5ABBD63A5F2F714BF7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_FBE8C568B76B7A7565D8A683DA21F4E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_55B880B99628DF1C8F32A683DA1F87F4" xlink:to="loc_us-gaap_Revenues_FBE8C568B76B7A7565D8A683DA21F4E9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SegmentInformationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPayments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsLongTermIncentivePlansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_128F8CB4A1B65817BE209A44C5712F7D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_595A00E118765DDE87BFEFDCD07A0492" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_128F8CB4A1B65817BE209A44C5712F7D" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_595A00E118765DDE87BFEFDCD07A0492" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_C50D3A5065A553F69BD6CC1EBE6AD60C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_595A00E118765DDE87BFEFDCD07A0492" xlink:to="loc_us-gaap_PlanNameAxis_C50D3A5065A553F69BD6CC1EBE6AD60C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_EDDA64D393469C6BF9080B68B44E393D_6A6AD5F1A9B358189E41B8758CFAA364" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_C50D3A5065A553F69BD6CC1EBE6AD60C" xlink:to="loc_us-gaap_PlanNameDomain_EDDA64D393469C6BF9080B68B44E393D_6A6AD5F1A9B358189E41B8758CFAA364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_A6360D098DEA5348B865C5D8C9B1C603" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_C50D3A5065A553F69BD6CC1EBE6AD60C" xlink:to="loc_us-gaap_PlanNameDomain_A6360D098DEA5348B865C5D8C9B1C603" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_LongTermIncentivePlanMember" xlink:label="loc_otex_LongTermIncentivePlanMember_B553D94BDB315AC2AB438E622C7603ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_A6360D098DEA5348B865C5D8C9B1C603" xlink:to="loc_otex_LongTermIncentivePlanMember_B553D94BDB315AC2AB438E622C7603ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_E37C4018EFC35DEA932D9F3583558C26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_128F8CB4A1B65817BE209A44C5712F7D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_E37C4018EFC35DEA932D9F3583558C26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_CE087AF8FD095719B4D17FC5CE98DC0C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_128F8CB4A1B65817BE209A44C5712F7D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_CE087AF8FD095719B4D17FC5CE98DC0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_FAAD6DF5198259B290412B1A1CA17851" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_128F8CB4A1B65817BE209A44C5712F7D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_FAAD6DF5198259B290412B1A1CA17851" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_C75BFEFC19275C3A814CEDE042B2D2BB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_128F8CB4A1B65817BE209A44C5712F7D" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_C75BFEFC19275C3A814CEDE042B2D2BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_A5EA969CD1715E3EA21A5C41D2EA5C6B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_128F8CB4A1B65817BE209A44C5712F7D" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_A5EA969CD1715E3EA21A5C41D2EA5C6B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsRsusDsusAndEsppDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A56AE1FD58FBEDF29C8CCA5EDA04AE51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A56AE1FD58FBEDF29C8CCA5EDA04AE51" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_8C163F519917AA6A8E47CA5EDA04275A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A56AE1FD58FBEDF29C8CCA5EDA04AE51" xlink:to="loc_us-gaap_AwardTypeAxis_8C163F519917AA6A8E47CA5EDA04275A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A50928245EA650E35E5ECA5EDA04F021_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_8C163F519917AA6A8E47CA5EDA04275A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A50928245EA650E35E5ECA5EDA04F021_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A50928245EA650E35E5ECA5EDA04F021" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_8C163F519917AA6A8E47CA5EDA04275A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A50928245EA650E35E5ECA5EDA04F021" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_4A730ED2E7B2C9C4B3C2CA5EDA041496" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A50928245EA650E35E5ECA5EDA04F021" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_4A730ED2E7B2C9C4B3C2CA5EDA041496" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DeferredStockUnitsMember" xlink:label="loc_otex_DeferredStockUnitsMember_221E764532A959E45226CA5EDA05E48F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A50928245EA650E35E5ECA5EDA04F021" xlink:to="loc_otex_DeferredStockUnitsMember_221E764532A959E45226CA5EDA05E48F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_57F761C25EC5221098D1CA5EDA050113" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A50928245EA650E35E5ECA5EDA04F021" xlink:to="loc_us-gaap_EmployeeStockMember_57F761C25EC5221098D1CA5EDA050113" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_772D67E894CDB6F2B602CA5EDA059050" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_772D67E894CDB6F2B602CA5EDA059050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_E7757AC7FC1360AB3197CA5EDA0600CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_E7757AC7FC1360AB3197CA5EDA0600CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued_2CBDE192BFDE172F2764CA5EDA06F7C4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued_2CBDE192BFDE172F2764CA5EDA06F7C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_5C9576299F3C2AE78F46CA5EDA06070D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_5C9576299F3C2AE78F46CA5EDA06070D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_14535ED9EE5A51CEDB3ECA61F18C40DB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_14535ED9EE5A51CEDB3ECA61F18C40DB" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SharebasedCompensationArrangementbySharebasedPaymentAwardPurchasePriceDiscount" xlink:label="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardPurchasePriceDiscount_8F98FCA30B7E262F6AF8CA5EDA0CDEAA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardPurchasePriceDiscount_8F98FCA30B7E262F6AF8CA5EDA0CDEAA" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SharebasedCompensationArrangementbySharebasedPaymentAwardSharesEligibleforIssuance" xlink:label="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardSharesEligibleforIssuance_31D32D5394BC5234A868CA5EDA0D75A1" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardSharesEligibleforIssuance_31D32D5394BC5234A868CA5EDA0D75A1" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CashReceivedFromEmployeeStockPurchasePlan" xlink:label="loc_otex_CashReceivedFromEmployeeStockPurchasePlan_1F53FCCF0DF86DCD1E46CA5EDA0D971D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_06F571FFA225BD6EB228CA5EDA0521F8" xlink:to="loc_otex_CashReceivedFromEmployeeStockPurchasePlan_1F53FCCF0DF86DCD1E46CA5EDA0D971D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfOutstandingStockOptionsActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfShareBasedPaymentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_BC01DDC1FAC1316EC84EA5F2F876CA5C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8F6E108FCAC8D8490333A5F2F875D209" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_BC01DDC1FAC1316EC84EA5F2F876CA5C" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8F6E108FCAC8D8490333A5F2F875D209" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B1BEC07BD88B9AC6174DA5F2F8757743" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8F6E108FCAC8D8490333A5F2F875D209" xlink:to="loc_us-gaap_AwardTypeAxis_B1BEC07BD88B9AC6174DA5F2F8757743" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FB4DB75BD569C659610A5F2F875524B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B1BEC07BD88B9AC6174DA5F2F8757743" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FB4DB75BD569C659610A5F2F875524B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FB4DB75BD569C659610A5F2F875524B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B1BEC07BD88B9AC6174DA5F2F8757743" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FB4DB75BD569C659610A5F2F875524B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_45407CB7B382004DF7A6A5F2F8757676" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FB4DB75BD569C659610A5F2F875524B" xlink:to="loc_us-gaap_EmployeeStockOptionMember_45407CB7B382004DF7A6A5F2F8757676" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_B9D79488DB260F4B6CF4A5F2F8756113" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FB4DB75BD569C659610A5F2F875524B" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_B9D79488DB260F4B6CF4A5F2F8756113" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_PerformanceStockUnitsMember" xlink:label="loc_otex_PerformanceStockUnitsMember_B6C9EA9C10A6FE8EE270A5F2F8758E3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedStockUnitsRSUMember_B9D79488DB260F4B6CF4A5F2F8756113" xlink:to="loc_otex_PerformanceStockUnitsMember_B6C9EA9C10A6FE8EE270A5F2F8758E3A" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_DeferredStockUnitsMember" xlink:label="loc_otex_DeferredStockUnitsMember_2B1B3D077C46785ACF55A5F2F875DEA4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FB4DB75BD569C659610A5F2F875524B" xlink:to="loc_otex_DeferredStockUnitsMember_2B1B3D077C46785ACF55A5F2F875DEA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_0071CF6116CA763F607DA5F2F8755254" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FB4DB75BD569C659610A5F2F875524B" xlink:to="loc_us-gaap_EmployeeStockMember_0071CF6116CA763F607DA5F2F8755254" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_E17E6B4479915CFDA019A5F2F8751A17" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8F6E108FCAC8D8490333A5F2F875D209" xlink:to="loc_us-gaap_PlanNameAxis_E17E6B4479915CFDA019A5F2F8751A17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_7047EC8EEBD12A5036FEA5F2F8751116_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_E17E6B4479915CFDA019A5F2F8751A17" xlink:to="loc_us-gaap_PlanNameDomain_7047EC8EEBD12A5036FEA5F2F8751116_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_7047EC8EEBD12A5036FEA5F2F8751116" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_E17E6B4479915CFDA019A5F2F8751A17" xlink:to="loc_us-gaap_PlanNameDomain_7047EC8EEBD12A5036FEA5F2F8751116" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_LongTermIncentivePlanMember" xlink:label="loc_otex_LongTermIncentivePlanMember_98F7CAA022770039ACB0A5F2F875C6F4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_7047EC8EEBD12A5036FEA5F2F8751116" xlink:to="loc_otex_LongTermIncentivePlanMember_98F7CAA022770039ACB0A5F2F875C6F4" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_OtherPlansMember" xlink:label="loc_otex_OtherPlansMember_DE79DF1FC3E110920C1FA5F2F8751873" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_7047EC8EEBD12A5036FEA5F2F8751116" xlink:to="loc_otex_OtherPlansMember_DE79DF1FC3E110920C1FA5F2F8751873" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_8A08E75267078FE4FE06A5F2F876B89F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_BC01DDC1FAC1316EC84EA5F2F876CA5C" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_8A08E75267078FE4FE06A5F2F876B89F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsScheduleOfWeightedAverageFairValueOfOptionsAndWeightedAverageAssumptionsUsedDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfInformationRegardingStockOptionsOutstandingDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9A3FD507EB229B09907A5F2F8092749" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5F8C5BC294C346C2D968A5F2F8088786" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9A3FD507EB229B09907A5F2F8092749" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5F8C5BC294C346C2D968A5F2F8088786" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_88B9636F488005336502A5F2F808F2FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5F8C5BC294C346C2D968A5F2F8088786" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_88B9636F488005336502A5F2F808F2FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_88B9636F488005336502A5F2F808F2FD" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_88B9636F488005336502A5F2F808F2FD" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeOneMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeOneMember_7EED783930CA741C43DEA5F2F8098B90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeOneMember_7EED783930CA741C43DEA5F2F8098B90" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeTwoMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeTwoMember_EF18ACFF7A670B9569E3A5F2F8093807" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeTwoMember_EF18ACFF7A670B9569E3A5F2F8093807" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeThreeMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeThreeMember_01C9C2FAFB5180464429A5F2F8099857" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeThreeMember_01C9C2FAFB5180464429A5F2F8099857" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeFourMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeFourMember_86A1C5AEE6B560F62B64A5F2F809298C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeFourMember_86A1C5AEE6B560F62B64A5F2F809298C" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeFiveMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeFiveMember_46412A07740AC8666F7BA5F2F809CAD1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeFiveMember_46412A07740AC8666F7BA5F2F809CAD1" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeSixMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeSixMember_EC56986BE5F653FD1F67A5F2F809CD35" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeSixMember_EC56986BE5F653FD1F67A5F2F809CD35" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeSevenMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeSevenMember_2CF9617E51AF0C465FA9A5F2F8099208" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeSevenMember_2CF9617E51AF0C465FA9A5F2F8099208" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeEightMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeEightMember_F32C399F5A17A5975D96A5F2F809285F" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeEightMember_F32C399F5A17A5975D96A5F2F809285F" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeNineMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeNineMember_417EA181813981571566A5F2F8092EEF" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeNineMember_417EA181813981571566A5F2F8092EEF" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeTenMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeTenMember_C7774FB3C94677722FA3A5F2F8098DDC" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeTenMember_C7774FB3C94677722FA3A5F2F8098DDC" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_StockOptionsExercisePriceRangeElevenMember" xlink:label="loc_otex_StockOptionsExercisePriceRangeElevenMember_5070B4DD1A9C643950FDA5F2F8097628" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_05933C0855293C48A1F0A5F2F8099CF1" xlink:to="loc_otex_StockOptionsExercisePriceRangeElevenMember_5070B4DD1A9C643950FDA5F2F8097628" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SharebasedCompensationSharesAuthorizedunderStockOptionPlansExercisePriceRangeAbstract" xlink:label="loc_otex_SharebasedCompensationSharesAuthorizedunderStockOptionPlansExercisePriceRangeAbstract_3F0F253013E5E2044566A60CBEA1938E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9A3FD507EB229B09907A5F2F8092749" xlink:to="loc_otex_SharebasedCompensationSharesAuthorizedunderStockOptionPlansExercisePriceRangeAbstract_3F0F253013E5E2044566A60CBEA1938E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_DAD3DF1A4CDA1321396BA5F2F809DCBE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_SharebasedCompensationSharesAuthorizedunderStockOptionPlansExercisePriceRangeAbstract_3F0F253013E5E2044566A60CBEA1938E" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_DAD3DF1A4CDA1321396BA5F2F809DCBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_6BCE08C5FE110D5976EEA5F2F809E8EA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_SharebasedCompensationSharesAuthorizedunderStockOptionPlansExercisePriceRangeAbstract_3F0F253013E5E2044566A60CBEA1938E" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_6BCE08C5FE110D5976EEA5F2F809E8EA" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingAbstract" xlink:label="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingAbstract_C49194B37DB3767DED89A5F2F8097A00" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9A3FD507EB229B09907A5F2F8092749" xlink:to="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingAbstract_C49194B37DB3767DED89A5F2F8097A00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_AB9736FE9353D54C274AA5F2F809E14C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingAbstract_C49194B37DB3767DED89A5F2F8097A00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_AB9736FE9353D54C274AA5F2F809E14C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_6CB867825848BEB67BD3A5F2F8091A9A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingAbstract_C49194B37DB3767DED89A5F2F8097A00" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_6CB867825848BEB67BD3A5F2F8091A9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_2FF3ABF6EBA599E879BDA5F2F80AF023" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsOutstandingAbstract_C49194B37DB3767DED89A5F2F8097A00" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_2FF3ABF6EBA599E879BDA5F2F80AF023" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisableAbstract" xlink:label="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisableAbstract_DAFC09BB8C14BC942B66A5F2F80A8EEF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9A3FD507EB229B09907A5F2F8092749" xlink:to="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisableAbstract_DAFC09BB8C14BC942B66A5F2F80A8EEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_A5EC92A932B9B3F85A84A5F2F80ADC02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisableAbstract_DAFC09BB8C14BC942B66A5F2F80A8EEF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_A5EC92A932B9B3F85A84A5F2F80ADC02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_F35DC2FB337F5D8185C5A5F2F80A4FC3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisableAbstract_DAFC09BB8C14BC942B66A5F2F80A8EEF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_F35DC2FB337F5D8185C5A5F2F80A4FC3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfOutstandingStockOptionsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5197A3A75C2ABA834545A5F2F864CBBE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5197A3A75C2ABA834545A5F2F864CBBE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C6058ED62AAE29F65D58A5F2F864430D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5197A3A75C2ABA834545A5F2F864CBBE" xlink:to="loc_us-gaap_AwardTypeAxis_C6058ED62AAE29F65D58A5F2F864430D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6A3611BDBEFF067C7872A5F2F86424F7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C6058ED62AAE29F65D58A5F2F864430D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6A3611BDBEFF067C7872A5F2F86424F7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6A3611BDBEFF067C7872A5F2F86424F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C6058ED62AAE29F65D58A5F2F864430D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6A3611BDBEFF067C7872A5F2F86424F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_6818B8B74A0B59AD3565A5F2F864353F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6A3611BDBEFF067C7872A5F2F86424F7" xlink:to="loc_us-gaap_EmployeeStockOptionMember_6818B8B74A0B59AD3565A5F2F864353F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_CF2891F5D048CFD89BB0A5F2F864B8BE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5197A3A75C2ABA834545A5F2F864CBBE" xlink:to="loc_us-gaap_RangeAxis_CF2891F5D048CFD89BB0A5F2F864B8BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C533829D9B0F60BF12EBA5F2F864CD15_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_CF2891F5D048CFD89BB0A5F2F864B8BE" xlink:to="loc_us-gaap_RangeMember_C533829D9B0F60BF12EBA5F2F864CD15_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_C533829D9B0F60BF12EBA5F2F864CD15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_CF2891F5D048CFD89BB0A5F2F864B8BE" xlink:to="loc_us-gaap_RangeMember_C533829D9B0F60BF12EBA5F2F864CD15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_393897FEB17478247AE6A5F2F864295C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C533829D9B0F60BF12EBA5F2F864CD15" xlink:to="loc_us-gaap_MinimumMember_393897FEB17478247AE6A5F2F864295C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_43DAC72CB0F20C49B195A5F2F864B036" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_C533829D9B0F60BF12EBA5F2F864CD15" xlink:to="loc_us-gaap_MaximumMember_43DAC72CB0F20C49B195A5F2F864B036" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_74F1739396B67520BC36A5F2F86566AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_74F1739396B67520BC36A5F2F86566AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_CB7A035C47E0475E658EA5F2F8650221" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_CB7A035C47E0475E658EA5F2F8650221" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_E21DB4604CD40A59658CA5F2F865A82D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_E21DB4604CD40A59658CA5F2F865A82D" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardExpirePeriodMinimum" xlink:label="loc_otex_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardExpirePeriodMinimum_B0AAC0B934BCE20B0A9BA5F2F8656ED0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_otex_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardExpirePeriodMinimum_B0AAC0B934BCE20B0A9BA5F2F8656ED0" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardExpirePeriodMaximum" xlink:label="loc_otex_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardExpirePeriodMaximum_74195AFDB16C9982E08BA5F2F86560D5" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_otex_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardExpirePeriodMaximum_74195AFDB16C9982E08BA5F2F86560D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_9BF3C3A21D6E0C1B77B4A5F2F865CD5D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_9BF3C3A21D6E0C1B77B4A5F2F865CD5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_A6A46D74C926019BFAC8A5F2F86531BB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_A6A46D74C926019BFAC8A5F2F86531BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationCashFlowEffectCashUsedToSettleAwards" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationCashFlowEffectCashUsedToSettleAwards_DE67A313CA346257B38FA5F2F865D9B8" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationCashFlowEffectCashUsedToSettleAwards_DE67A313CA346257B38FA5F2F865D9B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_9130E6BF301D5D29BC58A5F2F865BF4D" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_9130E6BF301D5D29BC58A5F2F865BF4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_9C62E37E94AD635B51E9A5F2F8657B78" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_9C62E37E94AD635B51E9A5F2F8657B78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions_F7EDEC049D2EA20CA202A5F2F8655166" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_54B7071AB0C5483837EEA5F2F865108B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions_F7EDEC049D2EA20CA202A5F2F8655166" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsSummaryOfStockOptionsOutstandingUnderVariousStockOptionPlansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0F6F91B0F12BD2D9F51FA5F2F818E568" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0F6F91B0F12BD2D9F51FA5F2F818E568" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_B310A85A41B2766218B1A5F2F8193624" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0F6F91B0F12BD2D9F51FA5F2F818E568" xlink:to="loc_us-gaap_PlanNameAxis_B310A85A41B2766218B1A5F2F8193624" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_379FC180BAA7987B433EA5F2F819B861_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_B310A85A41B2766218B1A5F2F8193624" xlink:to="loc_us-gaap_PlanNameDomain_379FC180BAA7987B433EA5F2F819B861_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_379FC180BAA7987B433EA5F2F819B861" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_B310A85A41B2766218B1A5F2F8193624" xlink:to="loc_us-gaap_PlanNameDomain_379FC180BAA7987B433EA5F2F819B861" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_A2004StockOptionPlanMember" xlink:label="loc_otex_A2004StockOptionPlanMember_CD47EEFBA4BBEA2B717EA5F2F8197C66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_379FC180BAA7987B433EA5F2F819B861" xlink:to="loc_otex_A2004StockOptionPlanMember_CD47EEFBA4BBEA2B717EA5F2F8197C66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_892362668DB56CD5AFC9A5F2F8188DFC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0F6F91B0F12BD2D9F51FA5F2F818E568" xlink:to="loc_us-gaap_RangeAxis_892362668DB56CD5AFC9A5F2F8188DFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_022A31D97703CD88B02BA5F2F81845F5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_892362668DB56CD5AFC9A5F2F8188DFC" xlink:to="loc_us-gaap_RangeMember_022A31D97703CD88B02BA5F2F81845F5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_022A31D97703CD88B02BA5F2F81845F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_892362668DB56CD5AFC9A5F2F8188DFC" xlink:to="loc_us-gaap_RangeMember_022A31D97703CD88B02BA5F2F81845F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_570C51F088D32DCD8519A5F2F8183CF6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_022A31D97703CD88B02BA5F2F81845F5" xlink:to="loc_us-gaap_MinimumMember_570C51F088D32DCD8519A5F2F8183CF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_798969F9D0918798CF06A5F2F8196169" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_022A31D97703CD88B02BA5F2F81845F5" xlink:to="loc_us-gaap_MaximumMember_798969F9D0918798CF06A5F2F8196169" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_1DC771FF60457BCB09E3A5F2F819A422" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_1DC771FF60457BCB09E3A5F2F819A422" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_77EBF4B46488E4C71DCFA5F2F8195801" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_77EBF4B46488E4C71DCFA5F2F8195801" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_90210C351CE59AB92BEDA5F2F819D13A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_90210C351CE59AB92BEDA5F2F819D13A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_7B263C6D326DF456C303A5F2F819B80F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_7B263C6D326DF456C303A5F2F819B80F" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsTerminationGracePeriods" xlink:label="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsTerminationGracePeriods_6EE1870FB9F0D0A67691A6013B232D68" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsTerminationGracePeriods_6EE1870FB9F0D0A67691A6013B232D68" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsVestingSchedule" xlink:label="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsVestingSchedule_817959C3FD34E39FEC88A6013B5A71AF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_otex_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsVestingSchedule_817959C3FD34E39FEC88A6013B5A71AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_6E8C4C0AC6A80A5CD535A6013B3BF4B3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_6E8C4C0AC6A80A5CD535A6013B3BF4B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_E9A143B701405A3EF8F2A6013B0CB5BA" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3CC3145F63E18F3C2655A5F2F8191EE0" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_E9A143B701405A3EF8F2A6013B0CB5BA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/ShareCapitalOptionPlansAndShareBasedPaymentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/SpecialChargesRecoveries" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/SpecialChargesRecoveriesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_6ACCA3C21BC0F040B4FEA5F2F7550124" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4238C2D7AE007C079294A5F2F7542E58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_6ACCA3C21BC0F040B4FEA5F2F7550124" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4238C2D7AE007C079294A5F2F7542E58" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_A875DBBC77121EB036BBA5F2F7544855" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4238C2D7AE007C079294A5F2F7542E58" xlink:to="loc_us-gaap_RestructuringPlanAxis_A875DBBC77121EB036BBA5F2F7544855" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C650C3ABB978AE44643BA5F2F7540A33_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_A875DBBC77121EB036BBA5F2F7544855" xlink:to="loc_us-gaap_RestructuringPlanDomain_C650C3ABB978AE44643BA5F2F7540A33_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C650C3ABB978AE44643BA5F2F7540A33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_A875DBBC77121EB036BBA5F2F7544855" xlink:to="loc_us-gaap_RestructuringPlanDomain_C650C3ABB978AE44643BA5F2F7540A33" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2018RestructuringPlanMember" xlink:label="loc_otex_Fiscal2018RestructuringPlanMember_3B49EE1A5007798C3FF0A5F2F754D4C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_C650C3ABB978AE44643BA5F2F7540A33" xlink:to="loc_otex_Fiscal2018RestructuringPlanMember_3B49EE1A5007798C3FF0A5F2F754D4C3" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2017RestructuringPlanMember" xlink:label="loc_otex_Fiscal2017RestructuringPlanMember_2E30AD0A132780C23572A5F2F754C9DF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_C650C3ABB978AE44643BA5F2F7540A33" xlink:to="loc_otex_Fiscal2017RestructuringPlanMember_2E30AD0A132780C23572A5F2F754C9DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_9597E05F8FCA3CAC2D1EA5F2F754B60E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4238C2D7AE007C079294A5F2F7542E58" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_9597E05F8FCA3CAC2D1EA5F2F754B60E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_9597E05F8FCA3CAC2D1EA5F2F754B60E" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_9597E05F8FCA3CAC2D1EA5F2F754B60E" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SpecialChargesMember" xlink:label="loc_otex_SpecialChargesMember_8EFB265F849C9A3F3E57A5F2F754C2D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_SpecialChargesMember_8EFB265F849C9A3F3E57A5F2F754C2D2" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_OnetimeERPImplementationProjectMember" xlink:label="loc_otex_OnetimeERPImplementationProjectMember_5DBF43860B6AFFF486BFA5F2F7544FF6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_OnetimeERPImplementationProjectMember_5DBF43860B6AFFF486BFA5F2F7544FF6" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_SystemImplementationCostsMember" xlink:label="loc_otex_SystemImplementationCostsMember_D0FD3BC7F83884C301C0A5F2F7548634" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_SystemImplementationCostsMember_D0FD3BC7F83884C301C0A5F2F7548634" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_MiscellaneousOtherChargesMember" xlink:label="loc_otex_MiscellaneousOtherChargesMember_BD9AC938DA106B7DB678A5F2F7544A0E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_MiscellaneousOtherChargesMember_BD9AC938DA106B7DB678A5F2F7544A0E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_PreAcquisitionSalesAndUseTaxLiabilitiesMember" xlink:label="loc_otex_PreAcquisitionSalesAndUseTaxLiabilitiesMember_95320252EA0BB8E63EA1A5F2F755D37E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_PreAcquisitionSalesAndUseTaxLiabilitiesMember_95320252EA0BB8E63EA1A5F2F755D37E" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_PreAcquisitionTaxLiabilitiesBecomingStatuteBarredMember" xlink:label="loc_otex_PreAcquisitionTaxLiabilitiesBecomingStatuteBarredMember_23D435C25DBF7F7B717AA5F2F754C275" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_PreAcquisitionTaxLiabilitiesBecomingStatuteBarredMember_23D435C25DBF7F7B717AA5F2F754C275" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_CommitmentFeesMember" xlink:label="loc_otex_CommitmentFeesMember_5E09597DA74F1BFF7D1AA5F2F7550302" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_CommitmentFeesMember_5E09597DA74F1BFF7D1AA5F2F7550302" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_PostAcquisitionIntegrationCostsMember" xlink:label="loc_otex_PostAcquisitionIntegrationCostsMember_061E845C68036651B74AA5F2F7553A17" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_PostAcquisitionIntegrationCostsMember_061E845C68036651B74AA5F2F7553A17" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_AssetsDisposedMember" xlink:label="loc_otex_AssetsDisposedMember_0AD4BE5456B77B087960A665D6A60F00" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_AssetsDisposedMember_0AD4BE5456B77B087960A665D6A60F00" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_InterestonCertainPreAcquisitionLiabilitiesMember" xlink:label="loc_otex_InterestonCertainPreAcquisitionLiabilitiesMember_1FAACD713CFD548C8266A5F2F7554EFB" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_208E57ED63DBFC30DC94A5F2F7548B4B" xlink:to="loc_otex_InterestonCertainPreAcquisitionLiabilitiesMember_1FAACD713CFD548C8266A5F2F7554EFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostExpectedCost1" xlink:label="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_A1BEE48FCB2ED8A23B6DA5F2F75597A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_6ACCA3C21BC0F040B4FEA5F2F7550124" xlink:to="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_A1BEE48FCB2ED8A23B6DA5F2F75597A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostCostIncurredToDate1" xlink:label="loc_us-gaap_RestructuringAndRelatedCostCostIncurredToDate1_5512FE980D5BD2F08EF1A5F2F755D083" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_6ACCA3C21BC0F040B4FEA5F2F7550124" xlink:to="loc_us-gaap_RestructuringAndRelatedCostCostIncurredToDate1_5512FE980D5BD2F08EF1A5F2F755D083" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_9B61CD073709D355664BA5F2F755FB9F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_6ACCA3C21BC0F040B4FEA5F2F7550124" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_9B61CD073709D355664BA5F2F755FB9F" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RestructuringChargesRecoveriesOther" xlink:label="loc_otex_RestructuringChargesRecoveriesOther_F75C939C041EEA17D8EBA5F2F755945A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_6ACCA3C21BC0F040B4FEA5F2F7550124" xlink:to="loc_otex_RestructuringChargesRecoveriesOther_F75C939C041EEA17D8EBA5F2F755945A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SpecialChargesRecoveriesScheduleOfRestructuringReserveDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_A359845640E789A83400A5F2F74FBBE9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_7581E63F51521ED7E324A5F2F74E71B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A359845640E789A83400A5F2F74FBBE9" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_7581E63F51521ED7E324A5F2F74E71B2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_27D1E15A2F92D4FF681BA5F2F74E3B37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_7581E63F51521ED7E324A5F2F74E71B2" xlink:to="loc_us-gaap_RestructuringPlanAxis_27D1E15A2F92D4FF681BA5F2F74E3B37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_2C1A34CA3A06C4D00F52A5F2F74F0A63_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_27D1E15A2F92D4FF681BA5F2F74E3B37" xlink:to="loc_us-gaap_RestructuringPlanDomain_2C1A34CA3A06C4D00F52A5F2F74F0A63_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_2C1A34CA3A06C4D00F52A5F2F74F0A63" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_27D1E15A2F92D4FF681BA5F2F74E3B37" xlink:to="loc_us-gaap_RestructuringPlanDomain_2C1A34CA3A06C4D00F52A5F2F74F0A63" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2018RestructuringPlanMember" xlink:label="loc_otex_Fiscal2018RestructuringPlanMember_0A090C522A4F0D981231A5F2F74FC300" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_2C1A34CA3A06C4D00F52A5F2F74F0A63" xlink:to="loc_otex_Fiscal2018RestructuringPlanMember_0A090C522A4F0D981231A5F2F74FC300" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2017RestructuringPlanMember" xlink:label="loc_otex_Fiscal2017RestructuringPlanMember_8E79E6EC9B460192F6E6A5F2F74F80F9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_2C1A34CA3A06C4D00F52A5F2F74F0A63" xlink:to="loc_otex_Fiscal2017RestructuringPlanMember_8E79E6EC9B460192F6E6A5F2F74F80F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_418AF3799A8996431E56A5F2F74FF011" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_7581E63F51521ED7E324A5F2F74E71B2" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_418AF3799A8996431E56A5F2F74FF011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_C22826EB5690CA60F688A5F2F74F2308_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_418AF3799A8996431E56A5F2F74FF011" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_C22826EB5690CA60F688A5F2F74F2308_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_C22826EB5690CA60F688A5F2F74F2308" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_418AF3799A8996431E56A5F2F74FF011" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_C22826EB5690CA60F688A5F2F74F2308" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeSeveranceMember" xlink:label="loc_us-gaap_EmployeeSeveranceMember_FCF0ADCAFF7510F0CB4CA5F2F74F5CC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_C22826EB5690CA60F688A5F2F74F2308" xlink:to="loc_us-gaap_EmployeeSeveranceMember_FCF0ADCAFF7510F0CB4CA5F2F74F5CC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FacilityClosingMember" xlink:label="loc_us-gaap_FacilityClosingMember_51FA6A4A1DFD12358F9DA5F2F74FE679" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_C22826EB5690CA60F688A5F2F74F2308" xlink:to="loc_us-gaap_FacilityClosingMember_51FA6A4A1DFD12358F9DA5F2F74FE679" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_F4B5ECD42134EBEA233CA5F2F74F7672" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A359845640E789A83400A5F2F74FBBE9" xlink:to="loc_us-gaap_RestructuringReserveRollForward_F4B5ECD42134EBEA233CA5F2F74F7672" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_777E84B7531A2BE18327A5F2F74F60FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_F4B5ECD42134EBEA233CA5F2F74F7672" xlink:to="loc_us-gaap_RestructuringReserve_777E84B7531A2BE18327A5F2F74F60FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveAccrualAdjustment1" xlink:label="loc_us-gaap_RestructuringReserveAccrualAdjustment1_937533BDFD4718CCDE0DA5F2F74FF490" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_F4B5ECD42134EBEA233CA5F2F74F7672" xlink:to="loc_us-gaap_RestructuringReserveAccrualAdjustment1_937533BDFD4718CCDE0DA5F2F74FF490" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_590864BC69C322CAF23DA5F2F74F5517" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_F4B5ECD42134EBEA233CA5F2F74F7672" xlink:to="loc_us-gaap_PaymentsForRestructuring_590864BC69C322CAF23DA5F2F74F5517" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RestructuringReserveForeignCurrencyTranslationGainLossandSettledwithoutCash" xlink:label="loc_otex_RestructuringReserveForeignCurrencyTranslationGainLossandSettledwithoutCash_DDD357E760BEF321EA8AA5F2F74F30FE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_F4B5ECD42134EBEA233CA5F2F74F7672" xlink:to="loc_otex_RestructuringReserveForeignCurrencyTranslationGainLossandSettledwithoutCash_DDD357E760BEF321EA8AA5F2F74F30FE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SpecialChargesRecoveriesScheduleOfSpecialChargesRelatedToRestructuringPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_0D3959CA480D0894F23DA5F2F758C1B5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_3348F7D396DB9D22A1FDA5F2F758094F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0D3959CA480D0894F23DA5F2F758C1B5" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_3348F7D396DB9D22A1FDA5F2F758094F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_84E1AF430C62D18DBC7DA5F2F7583FE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_3348F7D396DB9D22A1FDA5F2F758094F" xlink:to="loc_us-gaap_RestructuringPlanAxis_84E1AF430C62D18DBC7DA5F2F7583FE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_876DD4D14669C08B92C8A5F2F758ACDD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_84E1AF430C62D18DBC7DA5F2F7583FE4" xlink:to="loc_us-gaap_RestructuringPlanDomain_876DD4D14669C08B92C8A5F2F758ACDD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_876DD4D14669C08B92C8A5F2F758ACDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_84E1AF430C62D18DBC7DA5F2F7583FE4" xlink:to="loc_us-gaap_RestructuringPlanDomain_876DD4D14669C08B92C8A5F2F758ACDD" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2018RestructuringPlanMember" xlink:label="loc_otex_Fiscal2018RestructuringPlanMember_E85DEF78F178FD791B8EA5F2F7585441" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_876DD4D14669C08B92C8A5F2F758ACDD" xlink:to="loc_otex_Fiscal2018RestructuringPlanMember_E85DEF78F178FD791B8EA5F2F7585441" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2017RestructuringPlanMember" xlink:label="loc_otex_Fiscal2017RestructuringPlanMember_C0F45A4666BEEBAB3C44A5F2F7589F54" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_876DD4D14669C08B92C8A5F2F758ACDD" xlink:to="loc_otex_Fiscal2017RestructuringPlanMember_C0F45A4666BEEBAB3C44A5F2F7589F54" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RestructuringPlanspriortoFiscal2017RestructuringPlanMember" xlink:label="loc_otex_RestructuringPlanspriortoFiscal2017RestructuringPlanMember_AA799ECA2FA8F2FA3181A5F2F7580F79" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_876DD4D14669C08B92C8A5F2F758ACDD" xlink:to="loc_otex_RestructuringPlanspriortoFiscal2017RestructuringPlanMember_AA799ECA2FA8F2FA3181A5F2F7580F79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_8AEB25384FD13054C842A5F2F758E04B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0D3959CA480D0894F23DA5F2F758C1B5" xlink:to="loc_us-gaap_RestructuringCharges_8AEB25384FD13054C842A5F2F758E04B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_08E2592FACC2CFA0AA6CA5F2F7582EBE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0D3959CA480D0894F23DA5F2F758C1B5" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_08E2592FACC2CFA0AA6CA5F2F7582EBE" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_RestructuringChargesRecoveriesOther" xlink:label="loc_otex_RestructuringChargesRecoveriesOther_B2B9BE9EB5A4786ABC64A5F2F758F75E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0D3959CA480D0894F23DA5F2F758C1B5" xlink:to="loc_otex_RestructuringChargesRecoveriesOther_B2B9BE9EB5A4786ABC64A5F2F758F75E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringSettlementAndImpairmentProvisions" xlink:label="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_71EAE5CCA9F8FB7E79BAA5F2F75936FB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0D3959CA480D0894F23DA5F2F758C1B5" xlink:to="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_71EAE5CCA9F8FB7E79BAA5F2F75936FB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SpecialChargesRecoveriesTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_11F39E0F04085E9BB2CAAB5D1EFCB4AD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_2A430D65EB1A5AB488F118E7514B2BBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_11F39E0F04085E9BB2CAAB5D1EFCB4AD" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_2A430D65EB1A5AB488F118E7514B2BBF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_4D022207104B5B4DAEEE3DFC253947E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_2A430D65EB1A5AB488F118E7514B2BBF" xlink:to="loc_us-gaap_RestructuringPlanAxis_4D022207104B5B4DAEEE3DFC253947E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_BDE1645CB9EEF1635D66457C285E6B83_27B1ACA57F0F51319D674CDF23377191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_4D022207104B5B4DAEEE3DFC253947E5" xlink:to="loc_us-gaap_RestructuringPlanDomain_BDE1645CB9EEF1635D66457C285E6B83_27B1ACA57F0F51319D674CDF23377191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_6119470451F15EFBBC2E73A1693E1D3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_4D022207104B5B4DAEEE3DFC253947E5" xlink:to="loc_us-gaap_RestructuringPlanDomain_6119470451F15EFBBC2E73A1693E1D3F" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2018RestructuringPlanMember" xlink:label="loc_otex_Fiscal2018RestructuringPlanMember_62730C01F4AF5424BA5A9394D3E84A85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_6119470451F15EFBBC2E73A1693E1D3F" xlink:to="loc_otex_Fiscal2018RestructuringPlanMember_62730C01F4AF5424BA5A9394D3E84A85" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2017RestructuringPlanMember" xlink:label="loc_otex_Fiscal2017RestructuringPlanMember_4E1C622AAC0B5595BE00E606F2068FC5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_6119470451F15EFBBC2E73A1693E1D3F" xlink:to="loc_otex_Fiscal2017RestructuringPlanMember_4E1C622AAC0B5595BE00E606F2068FC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock_05D446F420645A16A8AF424F9396AEBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_11F39E0F04085E9BB2CAAB5D1EFCB4AD" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock_05D446F420645A16A8AF424F9396AEBA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SubsequentEvents" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/SubsequentEventsCashDividendsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_33245DDCFEF34622BF7CD2255E8AF5B4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_47271F2EEE623BAA4E40D2255E8A4658" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_33245DDCFEF34622BF7CD2255E8AF5B4" xlink:to="loc_us-gaap_SubsequentEventTable_47271F2EEE623BAA4E40D2255E8A4658" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_9D70B59A8177DAABC22CD2255E8AAE9D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_47271F2EEE623BAA4E40D2255E8A4658" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_9D70B59A8177DAABC22CD2255E8AAE9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_EB2FD41D1A61B9DE5A76D2255E8A5944_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_9D70B59A8177DAABC22CD2255E8AAE9D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_EB2FD41D1A61B9DE5A76D2255E8A5944_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_EB2FD41D1A61B9DE5A76D2255E8A5944" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_9D70B59A8177DAABC22CD2255E8AAE9D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_EB2FD41D1A61B9DE5A76D2255E8A5944" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_83ABA5416530B5964565D2255E8A95EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_EB2FD41D1A61B9DE5A76D2255E8A5944" xlink:to="loc_us-gaap_SubsequentEventMember_83ABA5416530B5964565D2255E8A95EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_8579646AF4E325A9B898D2255E8A2DA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_33245DDCFEF34622BF7CD2255E8AF5B4" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_8579646AF4E325A9B898D2255E8A2DA8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SubsequentEventsRestructuringPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_AD39BFB51DC84BEBC527D233DE8FE043" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_D9171C2B125573F9CCCAD233DE8E3BDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_AD39BFB51DC84BEBC527D233DE8FE043" xlink:to="loc_us-gaap_SubsequentEventTable_D9171C2B125573F9CCCAD233DE8E3BDE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_154B72B8E0AEC9593629D248073EFC01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_D9171C2B125573F9CCCAD233DE8E3BDE" xlink:to="loc_us-gaap_RestructuringPlanAxis_154B72B8E0AEC9593629D248073EFC01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_1BE09C2DABDA70236D77D248073F1385_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_154B72B8E0AEC9593629D248073EFC01" xlink:to="loc_us-gaap_RestructuringPlanDomain_1BE09C2DABDA70236D77D248073F1385_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_1BE09C2DABDA70236D77D248073F1385" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_154B72B8E0AEC9593629D248073EFC01" xlink:to="loc_us-gaap_RestructuringPlanDomain_1BE09C2DABDA70236D77D248073F1385" xlink:type="arc" />
    <link:loc xlink:href="otex-20180630.xsd#otex_Fiscal2019RestructuringPlanMember" xlink:label="loc_otex_Fiscal2019RestructuringPlanMember_2F3081705480301A2197D24862411D62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_1BE09C2DABDA70236D77D248073F1385" xlink:to="loc_otex_Fiscal2019RestructuringPlanMember_2F3081705480301A2197D24862411D62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_682F04A90C24BE46F86DD23459FD3FBE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_D9171C2B125573F9CCCAD233DE8E3BDE" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_682F04A90C24BE46F86DD23459FD3FBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_E4EA225D954052C8F6DAD23459FE4D90_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_682F04A90C24BE46F86DD23459FD3FBE" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_E4EA225D954052C8F6DAD23459FE4D90_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_E4EA225D954052C8F6DAD23459FE4D90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_682F04A90C24BE46F86DD23459FD3FBE" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_E4EA225D954052C8F6DAD23459FE4D90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeSeveranceMember" xlink:label="loc_us-gaap_EmployeeSeveranceMember_E824482777D8BBFCAFF0D23520CA4461" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_E4EA225D954052C8F6DAD23459FE4D90" xlink:to="loc_us-gaap_EmployeeSeveranceMember_E824482777D8BBFCAFF0D23520CA4461" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FacilityClosingMember" xlink:label="loc_us-gaap_FacilityClosingMember_9240AFFF53979E36BF96D23520F11C27" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_E4EA225D954052C8F6DAD23459FE4D90" xlink:to="loc_us-gaap_FacilityClosingMember_9240AFFF53979E36BF96D23520F11C27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_78E521D58D3D869B5198D233DEC4DC9F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_D9171C2B125573F9CCCAD233DE8E3BDE" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_78E521D58D3D869B5198D233DEC4DC9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_99E6E5AE766324A98755D233DEC50691_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_78E521D58D3D869B5198D233DEC4DC9F" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_99E6E5AE766324A98755D233DEC50691_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_99E6E5AE766324A98755D233DEC50691" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_78E521D58D3D869B5198D233DEC4DC9F" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_99E6E5AE766324A98755D233DEC50691" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_F33B3663BBE4565F3F99D233DEEFF227" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_99E6E5AE766324A98755D233DEC50691" xlink:to="loc_us-gaap_SubsequentEventMember_F33B3663BBE4565F3F99D233DEEFF227" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostExpectedCost1" xlink:label="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_E5B91CEC130094EC63E9D233DEAB719D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_AD39BFB51DC84BEBC527D233DE8FE043" xlink:to="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_E5B91CEC130094EC63E9D233DEAB719D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://opentext.com/role/SupplementalCashFlowDisclosures" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/SupplementalCashFlowDisclosuresDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://opentext.com/role/SupplementalCashFlowDisclosuresTables" xlink:type="extended" />
</link:linkbase>


