<?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://www.mongodb.com/role/BusinessCombinations" xlink:href="mdb-20190131.xsd#BusinessCombinations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/BusinessCombinationsAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#BusinessCombinationsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/BusinessCombinationsScheduleOfPurchasePriceAllocationDetails" xlink:href="mdb-20190131.xsd#BusinessCombinationsScheduleOfPurchasePriceAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/BusinessCombinationsScheduleOfPurchasePriceSummaryDetails" xlink:href="mdb-20190131.xsd#BusinessCombinationsScheduleOfPurchasePriceSummaryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/BusinessCombinationsTables" xlink:href="mdb-20190131.xsd#BusinessCombinationsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingencies" xlink:href="mdb-20190131.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingenciesFutureMinimumFinancingAndOperatingLeasesAndOtherNonCancellableAgreementsDetails" xlink:href="mdb-20190131.xsd#CommitmentsAndContingenciesFutureMinimumFinancingAndOperatingLeasesAndOtherNonCancellableAgreementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsAndContingenciesTables" xlink:href="mdb-20190131.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedBalanceSheets" xlink:href="mdb-20190131.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="mdb-20190131.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit" xlink:href="mdb-20190131.xsd#ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficitParenthetical" xlink:href="mdb-20190131.xsd#ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficitParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="mdb-20190131.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementsOfCashFlowsReconciliation" xlink:href="mdb-20190131.xsd#ConsolidatedStatementsOfCashFlowsReconciliation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementsOfComprehensiveLoss" xlink:href="mdb-20190131.xsd#ConsolidatedStatementsOfComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConsolidatedStatementsOfOperations" xlink:href="mdb-20190131.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotes" xlink:href="mdb-20190131.xsd#ConvertibleSeniorNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#ConvertibleSeniorNotesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesCappedCallsDetails" xlink:href="mdb-20190131.xsd#ConvertibleSeniorNotesCappedCallsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleOfInterestExpenseForNotesDetails" xlink:href="mdb-20190131.xsd#ConvertibleSeniorNotesScheduleOfInterestExpenseForNotesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleOfNetCarryingAmountOfEquityComponentOfNotesDetails" xlink:href="mdb-20190131.xsd#ConvertibleSeniorNotesScheduleOfNetCarryingAmountOfEquityComponentOfNotesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleOfNetCarryingAmountOfLiabilityComponentOfNotesDetails" xlink:href="mdb-20190131.xsd#ConvertibleSeniorNotesScheduleOfNetCarryingAmountOfLiabilityComponentOfNotesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesTables" xlink:href="mdb-20190131.xsd#ConvertibleSeniorNotesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/DocumentAndEntityInformationDocument" xlink:href="mdb-20190131.xsd#DocumentAndEntityInformationDocument" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans" xlink:href="mdb-20190131.xsd#EquityIncentivePlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2008And2016StockPlanDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlans2008And2016StockPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansEarlyExerciseOfStockOptionsDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlansEarlyExerciseOfStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfEsppValuationAssumptionsDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlansScheduleOfEsppValuationAssumptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfRsuActivityDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlansScheduleOfRsuActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfStockOptionActivityDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlansScheduleOfStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfStockOptionValuationAssumptionsDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlansScheduleOfStockOptionValuationAssumptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlansStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockOptionRepricingDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlansStockOptionRepricingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockOptionsAndRestrictedStockUnitsAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#EquityIncentivePlansStockOptionsAndRestrictedStockUnitsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansTables" xlink:href="mdb-20190131.xsd#EquityIncentivePlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurements" xlink:href="mdb-20190131.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:href="mdb-20190131.xsd#FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsTables" xlink:href="mdb-20190131.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNet" xlink:href="mdb-20190131.xsd#GoodwillAndAcquiredIntangibleAssetsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#GoodwillAndAcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails" xlink:href="mdb-20190131.xsd#GoodwillAndAcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetScheduleOfGoodwillDetails" xlink:href="mdb-20190131.xsd#GoodwillAndAcquiredIntangibleAssetsNetScheduleOfGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetScheduleOfIntangibleAssetsDetails" xlink:href="mdb-20190131.xsd#GoodwillAndAcquiredIntangibleAssetsNetScheduleOfIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetTables" xlink:href="mdb-20190131.xsd#GoodwillAndAcquiredIntangibleAssetsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxes" xlink:href="mdb-20190131.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#IncomeTaxesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfComponentsOfLossBeforeProvisionForIncomeTaxesDetails" xlink:href="mdb-20190131.xsd#IncomeTaxesScheduleOfComponentsOfLossBeforeProvisionForIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfComponentsOfProvisionForIncomeTaxDetails" xlink:href="mdb-20190131.xsd#IncomeTaxesScheduleOfComponentsOfProvisionForIncomeTaxDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="mdb-20190131.xsd#IncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfEffectiveIncomeTaxRateDetails" xlink:href="mdb-20190131.xsd#IncomeTaxesScheduleOfEffectiveIncomeTaxRateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails" xlink:href="mdb-20190131.xsd#IncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesTables" xlink:href="mdb-20190131.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShare" xlink:href="mdb-20190131.xsd#NetLossPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#NetLossPerShareAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" xlink:href="mdb-20190131.xsd#NetLossPerShareScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:href="mdb-20190131.xsd#NetLossPerShareScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareTables" xlink:href="mdb-20190131.xsd#NetLossPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusiness" xlink:href="mdb-20190131.xsd#OrganizationAndDescriptionOfBusiness" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyAndEquipmentNet" xlink:href="mdb-20190131.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyAndEquipmentNetAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#PropertyAndEquipmentNetAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyAndEquipmentNetScheduleDetails" xlink:href="mdb-20190131.xsd#PropertyAndEquipmentNetScheduleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyAndEquipmentNetTables" xlink:href="mdb-20190131.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/Revenue" xlink:href="mdb-20190131.xsd#Revenue" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueAdditionalInformationDetails" xlink:href="mdb-20190131.xsd#RevenueAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueContractAssetsDetails" xlink:href="mdb-20190131.xsd#RevenueContractAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueCostsCapitalizedToObtainContractsWithCustomersDetails" xlink:href="mdb-20190131.xsd#RevenueCostsCapitalizedToObtainContractsWithCustomersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails" xlink:href="mdb-20190131.xsd#RevenueRemainingPerformanceObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueScheduleOfDisaggregationOfRevenueDetails" xlink:href="mdb-20190131.xsd#RevenueScheduleOfDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueTables" xlink:href="mdb-20190131.xsd#RevenueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/StockholdersEquityDeficit" xlink:href="mdb-20190131.xsd#StockholdersEquityDeficit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/StockholdersEquityDeficitDetails" xlink:href="mdb-20190131.xsd#StockholdersEquityDeficitDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SubsequentEvents" xlink:href="mdb-20190131.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SubsequentEventsDetails" xlink:href="mdb-20190131.xsd#SubsequentEventsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesAdvertisingDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesAdvertisingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesConvertibleSeniorNotesDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesConvertibleSeniorNotesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillAndOtherAcquiredIntangibleAssetsDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillAndOtherAcquiredIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesMarketableSecuritiesDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsAsu201409Details" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsAsu201409Details" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRestrictedCashDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesRestrictedCashDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentUsefulLivesDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentUsefulLivesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesSegmentInformationDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesSegmentInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="mdb-20190131.xsd#SummaryOfSignificantAccountingPoliciesTables" 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://www.mongodb.com/role/BusinessCombinations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/BusinessCombinationsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6B4E37ABC6264602A030BFCEEC74E888" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6B4E37ABC6264602A030BFCEEC74E888" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_A01FD1475A79D11553A7BFCEEC748FF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6B4E37ABC6264602A030BFCEEC74E888" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_A01FD1475A79D11553A7BFCEEC748FF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0A000F66F8716AF36D9CBFCEEC74ABD0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A01FD1475A79D11553A7BFCEEC748FF8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0A000F66F8716AF36D9CBFCEEC74ABD0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0A000F66F8716AF36D9CBFCEEC74ABD0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A01FD1475A79D11553A7BFCEEC748FF8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0A000F66F8716AF36D9CBFCEEC74ABD0" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ObjectLabsCorporationMember" xlink:label="loc_mdb_ObjectLabsCorporationMember_0C45B6FD3DEC01CE811FBFCEEC748BB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0A000F66F8716AF36D9CBFCEEC74ABD0" xlink:to="loc_mdb_ObjectLabsCorporationMember_0C45B6FD3DEC01CE811FBFCEEC748BB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7D0F0852002118791C61BFCEEC747F65" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6B4E37ABC6264602A030BFCEEC74E888" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7D0F0852002118791C61BFCEEC747F65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9627DFB417C9BC128097BFCEEC74C579_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7D0F0852002118791C61BFCEEC747F65" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9627DFB417C9BC128097BFCEEC74C579_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9627DFB417C9BC128097BFCEEC74C579" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7D0F0852002118791C61BFCEEC747F65" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9627DFB417C9BC128097BFCEEC74C579" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_F059E5C3EB529F07FE55BFCEEC744128" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9627DFB417C9BC128097BFCEEC74C579" xlink:to="loc_us-gaap_CustomerRelationshipsMember_F059E5C3EB529F07FE55BFCEEC744128" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TechnologyBasedIntangibleAssetsMember" xlink:label="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_DA29E27DBA05EF591DF8BFCEEC74E5D1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9627DFB417C9BC128097BFCEEC74C579" xlink:to="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_DA29E27DBA05EF591DF8BFCEEC74E5D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_89A4690BC06BC78C3458BFCEEC75464A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_89A4690BC06BC78C3458BFCEEC75464A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_EF4534533124C63244AFBFCEEC752BCE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_EF4534533124C63244AFBFCEEC752BCE" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_PaymentsToAcquireBusinessesExcessCashAmount" xlink:label="loc_mdb_PaymentsToAcquireBusinessesExcessCashAmount_9DBCCB9DC49E9A0B1CDCBFCEEC752E25" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_mdb_PaymentsToAcquireBusinessesExcessCashAmount_9DBCCB9DC49E9A0B1CDCBFCEEC752E25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_C19820BF71A58D5C7632BFCEEC758EBB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_C19820BF71A58D5C7632BFCEEC758EBB" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredNumberOfFounders" xlink:label="loc_mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredNumberOfFounders_379638C5EBF0D8D7920BBFCEEC75FF5E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredNumberOfFounders_379638C5EBF0D8D7920BBFCEEC75FF5E" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredCurrentPercent" xlink:label="loc_mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredCurrentPercent_D608871D751169F974E9BFCEEC75F57E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredCurrentPercent_D608871D751169F974E9BFCEEC75F57E" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredNoncurrentPercent" xlink:label="loc_mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredNoncurrentPercent_751F3557420BAB9F6CC7BFCEEC75B5B2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_mdb_BusinessCombinationConsiderationTransferredLiabilitiesIncurredNoncurrentPercent_751F3557420BAB9F6CC7BFCEEC75B5B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_5B090BA02BD4E5EEE911BFCEEC7511C7" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_5B090BA02BD4E5EEE911BFCEEC7511C7" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_NumberOfAcquiredFiniteLivedIntangibleAssets" xlink:label="loc_mdb_NumberOfAcquiredFiniteLivedIntangibleAssets_70EB5916CE6DFBCB39CBBFCEEC753207" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_mdb_NumberOfAcquiredFiniteLivedIntangibleAssets_70EB5916CE6DFBCB39CBBFCEEC753207" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_B5841B7A30202312A78ABFCEEC75F127" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_B5841B7A30202312A78ABFCEEC75F127" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_8EB5321DDC2A55D5A7ABBFCEEC7592D9" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_8EB5321DDC2A55D5A7ABBFCEEC7592D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_B01041563438F7D664FBBFCEEC75EDFD" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A2758725F0FA40053144BFCEEC75BD07" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_B01041563438F7D664FBBFCEEC75EDFD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/BusinessCombinationsScheduleOfPurchasePriceAllocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_C30E3C9CE25381213FA39BA07CFB277B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_896C8768D9BE3825CA009BA07CF9EB59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C30E3C9CE25381213FA39BA07CFB277B" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_896C8768D9BE3825CA009BA07CF9EB59" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7463FEEFE9E30A52D9899BA07CF904DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_896C8768D9BE3825CA009BA07CF9EB59" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7463FEEFE9E30A52D9899BA07CF904DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A62C87D1B597425DD5A59BA07CF90526_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7463FEEFE9E30A52D9899BA07CF904DB" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A62C87D1B597425DD5A59BA07CF90526_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A62C87D1B597425DD5A59BA07CF90526" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7463FEEFE9E30A52D9899BA07CF904DB" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A62C87D1B597425DD5A59BA07CF90526" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_9834E1FCEEAFA1F1F1CC9BA07CFA6F44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A62C87D1B597425DD5A59BA07CF90526" xlink:to="loc_us-gaap_CustomerRelationshipsMember_9834E1FCEEAFA1F1F1CC9BA07CFA6F44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TechnologyBasedIntangibleAssetsMember" xlink:label="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_FFA2A16236EBC7D93F5F9BA07CFA30D7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A62C87D1B597425DD5A59BA07CF90526" xlink:to="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_FFA2A16236EBC7D93F5F9BA07CFA30D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_957118CFEADD93246E5A9BA07CFAF035" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_896C8768D9BE3825CA009BA07CF9EB59" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_957118CFEADD93246E5A9BA07CFAF035" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F3705846C4E6173919B89BA07CFA60CC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_957118CFEADD93246E5A9BA07CFAF035" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F3705846C4E6173919B89BA07CFA60CC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F3705846C4E6173919B89BA07CFA60CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_957118CFEADD93246E5A9BA07CFAF035" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F3705846C4E6173919B89BA07CFA60CC" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ObjectLabsCorporationMember" xlink:label="loc_mdb_ObjectLabsCorporationMember_1668B290C3CD84379A9A9BA07CFA65C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F3705846C4E6173919B89BA07CFA60CC" xlink:to="loc_mdb_ObjectLabsCorporationMember_1668B290C3CD84379A9A9BA07CFA65C0" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedFinancialAndTangibleAssets" xlink:label="loc_mdb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedFinancialAndTangibleAssets_0F57CBDE5AD507DB104D9BA07CFB63FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C30E3C9CE25381213FA39BA07CFB277B" xlink:to="loc_mdb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedFinancialAndTangibleAssets_0F57CBDE5AD507DB104D9BA07CFB63FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_60080768BA66DE77822C9BA07CFBA3BB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C30E3C9CE25381213FA39BA07CFB277B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_60080768BA66DE77822C9BA07CFBA3BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_32BAC9A21681401192079BA07CFB6B8A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C30E3C9CE25381213FA39BA07CFB277B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_32BAC9A21681401192079BA07CFB6B8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_D3DD0AEFE2407AFF31F69BA07CFBE524" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C30E3C9CE25381213FA39BA07CFB277B" xlink:to="loc_us-gaap_Goodwill_D3DD0AEFE2407AFF31F69BA07CFBE524" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_D83100CF58A6463A15F09BA07CFC58DA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_C30E3C9CE25381213FA39BA07CFB277B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_D83100CF58A6463A15F09BA07CFC58DA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/BusinessCombinationsScheduleOfPurchasePriceSummaryDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_2DCA06A847971CAD397078B1A51391AF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_095A46C9E2B6418D4D0778B1A513A506" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2DCA06A847971CAD397078B1A51391AF" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_095A46C9E2B6418D4D0778B1A513A506" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_2AC8293FEE282DA5E58978B1A5139467" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_095A46C9E2B6418D4D0778B1A513A506" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_2AC8293FEE282DA5E58978B1A5139467" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4DAB5E7831C3B55555D178B1A513E048_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2AC8293FEE282DA5E58978B1A5139467" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4DAB5E7831C3B55555D178B1A513E048_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4DAB5E7831C3B55555D178B1A513E048" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2AC8293FEE282DA5E58978B1A5139467" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4DAB5E7831C3B55555D178B1A513E048" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ObjectLabsCorporationMember" xlink:label="loc_mdb_ObjectLabsCorporationMember_DAA1D0134847779FCBC378B1A513D954" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4DAB5E7831C3B55555D178B1A513E048" xlink:to="loc_mdb_ObjectLabsCorporationMember_DAA1D0134847779FCBC378B1A513D954" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_8C01DF4910EDFE74D0C278B1A5133F70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2DCA06A847971CAD397078B1A51391AF" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_8C01DF4910EDFE74D0C278B1A5133F70" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_PaymentsToAcquireBusinessesExcessCashAmount" xlink:label="loc_mdb_PaymentsToAcquireBusinessesExcessCashAmount_696236715F72817988AC78C642CBBABE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2DCA06A847971CAD397078B1A51391AF" xlink:to="loc_mdb_PaymentsToAcquireBusinessesExcessCashAmount_696236715F72817988AC78C642CBBABE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_56CE29B147BE39DF3B5478C719E4E629" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2DCA06A847971CAD397078B1A51391AF" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_56CE29B147BE39DF3B5478C719E4E629" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_0AAF127CBBC1AE123A4E78C92B4D0739" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2DCA06A847971CAD397078B1A51391AF" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_0AAF127CBBC1AE123A4E78C92B4D0739" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/BusinessCombinationsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_194035856CFAE6F2A305CC425A1BCA89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:to="loc_us-gaap_LossContingenciesTable_194035856CFAE6F2A305CC425A1BCA89" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_32ED59C159A7B5065F6DCC425A1B7279" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_194035856CFAE6F2A305CC425A1BCA89" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_32ED59C159A7B5065F6DCC425A1B7279" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_FEFEB5948D7EA239EAC5CC425A1DD4CC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_32ED59C159A7B5065F6DCC425A1B7279" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_FEFEB5948D7EA239EAC5CC425A1DD4CC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_FEFEB5948D7EA239EAC5CC425A1DD4CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_32ED59C159A7B5065F6DCC425A1B7279" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_FEFEB5948D7EA239EAC5CC425A1DD4CC" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_OperatingLeaseinNewYorkMember" xlink:label="loc_mdb_OperatingLeaseinNewYorkMember_B15F49E2EE47D313DE25CC425A1D10D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_FEFEB5948D7EA239EAC5CC425A1DD4CC" xlink:to="loc_mdb_OperatingLeaseinNewYorkMember_B15F49E2EE47D313DE25CC425A1D10D6" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_OperatingLeaseinTexasMember" xlink:label="loc_mdb_OperatingLeaseinTexasMember_5267B22F102FFA50243CCC425A1DDCE8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_FEFEB5948D7EA239EAC5CC425A1DD4CC" xlink:to="loc_mdb_OperatingLeaseinTexasMember_5267B22F102FFA50243CCC425A1DDCE8" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_OperatingLeaseinAustraliaMember" xlink:label="loc_mdb_OperatingLeaseinAustraliaMember_998248099252A10F6332CC425A1DDC86" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_FEFEB5948D7EA239EAC5CC425A1DD4CC" xlink:to="loc_mdb_OperatingLeaseinAustraliaMember_998248099252A10F6332CC425A1DDC86" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_OperatingLeasesNetRentableArea" xlink:label="loc_mdb_OperatingLeasesNetRentableArea_46F21B4A2154B5648EB5CC425A1DB42D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:to="loc_mdb_OperatingLeasesNetRentableArea_46F21B4A2154B5648EB5CC425A1DB42D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseTermOfContract" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_2D198AFF2D346A60E54FCC425A1D3C3D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_2D198AFF2D346A60E54FCC425A1D3C3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesRentExpenseMinimumRentals" xlink:label="loc_us-gaap_OperatingLeasesRentExpenseMinimumRentals_6BA2EA67500BF2D63555CC425A1DEB02" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:to="loc_us-gaap_OperatingLeasesRentExpenseMinimumRentals_6BA2EA67500BF2D63555CC425A1DEB02" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_OperatingLeasesRentExpensePeriodPaymentsBeginAfterDeliveryOfPremises" xlink:label="loc_mdb_OperatingLeasesRentExpensePeriodPaymentsBeginAfterDeliveryOfPremises_D5AE92B0E90BD3AF29D7CC425A1D8711" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:to="loc_mdb_OperatingLeasesRentExpensePeriodPaymentsBeginAfterDeliveryOfPremises_D5AE92B0E90BD3AF29D7CC425A1D8711" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseAndRentalExpense" xlink:label="loc_us-gaap_LeaseAndRentalExpense_D3BD016EE7002129FEB2CC425A1B1D67" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:to="loc_us-gaap_LeaseAndRentalExpense_D3BD016EE7002129FEB2CC425A1B1D67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_B85AB8716CDB08AEC8F0CC425A1D006C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:to="loc_us-gaap_OperatingLeaseLiability_B85AB8716CDB08AEC8F0CC425A1D006C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_E182DC1AA34D9C946EE7CC425A1D0BD0" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_D90A6C78FCCCD07BDAECCC425A1DED10" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_E182DC1AA34D9C946EE7CC425A1D0BD0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingenciesFutureMinimumFinancingAndOperatingLeasesAndOtherNonCancellableAgreementsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_661568230286F4165F6F97DB47619F76" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_5C43F0A7D1D46469DA4697DB475DD09F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_661568230286F4165F6F97DB47619F76" xlink:to="loc_us-gaap_StatementTable_5C43F0A7D1D46469DA4697DB475DD09F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_421578BAB48D196D5A6997DB4761E722" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5C43F0A7D1D46469DA4697DB475DD09F" xlink:to="loc_us-gaap_StatementClassOfStockAxis_421578BAB48D196D5A6997DB4761E722" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E695088EA64A4A7E21E297DB476121C4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_421578BAB48D196D5A6997DB4761E722" xlink:to="loc_us-gaap_ClassOfStockDomain_E695088EA64A4A7E21E297DB476121C4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E695088EA64A4A7E21E297DB476121C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_421578BAB48D196D5A6997DB4761E722" xlink:to="loc_us-gaap_ClassOfStockDomain_E695088EA64A4A7E21E297DB476121C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_E51AA0C18136FCB844C897DB47617A0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_E695088EA64A4A7E21E297DB476121C4" xlink:to="loc_us-gaap_CommonClassAMember_E51AA0C18136FCB844C897DB47617A0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_7E6A6FB9644A463F1A9197DB476196BA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_E695088EA64A4A7E21E297DB476121C4" xlink:to="loc_us-gaap_CommonClassBMember_7E6A6FB9644A463F1A9197DB476196BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_661568230286F4165F6F97DB47619F76" xlink:to="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_468E43431B6CAFD716CD97DB476535EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:to="loc_us-gaap_AssetsCurrentAbstract_468E43431B6CAFD716CD97DB476535EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_8DFFF1B73219899A962097DB4765F95D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_468E43431B6CAFD716CD97DB476535EF" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_8DFFF1B73219899A962097DB4765F95D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_AAE66286D8BF04B8431397DB4765102A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_468E43431B6CAFD716CD97DB476535EF" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_AAE66286D8BF04B8431397DB4765102A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_5E9FC268228E5906918C97DB47650D1F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_468E43431B6CAFD716CD97DB476535EF" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_5E9FC268228E5906918C97DB47650D1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCostsCurrent" xlink:label="loc_us-gaap_DeferredCostsCurrent_7B3C867CFE1EC5CFE14197DB4765700A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_468E43431B6CAFD716CD97DB476535EF" xlink:to="loc_us-gaap_DeferredCostsCurrent_7B3C867CFE1EC5CFE14197DB4765700A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_CC32102C7ED4CAA04B9697DB4765A33D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_468E43431B6CAFD716CD97DB476535EF" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_CC32102C7ED4CAA04B9697DB4765A33D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_33110A5A66DE85E8222397DB47659E95" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_468E43431B6CAFD716CD97DB476535EF" xlink:to="loc_us-gaap_AssetsCurrent_33110A5A66DE85E8222397DB47659E95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_8BBCE4ADF496CC9E18C997DB4765A38D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_8BBCE4ADF496CC9E18C997DB4765A38D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_9C979079A3E86021B61497DB4765E6C5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:to="loc_us-gaap_Goodwill_9C979079A3E86021B61497DB4765E6C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6F584F0B044EC4891C3F97DB47654720" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6F584F0B044EC4891C3F97DB47654720" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_E5C1D0832D78BA66E3CB97DB4765E027" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_E5C1D0832D78BA66E3CB97DB4765E027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_7E3082E53D27366B291297DB4765B8EF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_7E3082E53D27366B291297DB4765B8EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_D1FEB92AF457592E308B97DB47658191" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_5D95E662893A5A91C1C097DB4761305D" xlink:to="loc_us-gaap_Assets_D1FEB92AF457592E308B97DB47658191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_661568230286F4165F6F97DB47619F76" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_87BFFCA754617D14C01097DB476938EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_87BFFCA754617D14C01097DB476938EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_C60FDDA302B07928B96397DB47692C82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_87BFFCA754617D14C01097DB476938EC" xlink:to="loc_us-gaap_AccountsPayableCurrent_C60FDDA302B07928B96397DB47692C82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_6987ED2119A704A7397697DB476923F5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_87BFFCA754617D14C01097DB476938EC" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_6987ED2119A704A7397697DB476923F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_499E444D1F064E93505E97DB4769A845" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_87BFFCA754617D14C01097DB476938EC" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_499E444D1F064E93505E97DB4769A845" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_9D1C9406A0625C4DF3A397DB47696E45" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_87BFFCA754617D14C01097DB476938EC" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_9D1C9406A0625C4DF3A397DB47696E45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_B38BCFCCC6B49E02ACFE97DB47696EBF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_87BFFCA754617D14C01097DB476938EC" xlink:to="loc_us-gaap_LiabilitiesCurrent_B38BCFCCC6B49E02ACFE97DB47696EBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRentCreditNoncurrent" xlink:label="loc_us-gaap_DeferredRentCreditNoncurrent_43DA1EA24BC8B15C886597DB4769C965" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_DeferredRentCreditNoncurrent_43DA1EA24BC8B15C886597DB4769C965" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_E70B99FA3DDF2E03A84E97DB4769F3D0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_E70B99FA3DDF2E03A84E97DB4769F3D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_B9018A0B85A9D10FCEE097DB476D74E1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_B9018A0B85A9D10FCEE097DB476D74E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtNoncurrent" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_30C150CA3B2047F04FDF97DB476DF87A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_30C150CA3B2047F04FDF97DB476DF87A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_0C35FD8EDAD1F236988B97DB476DF1F1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_0C35FD8EDAD1F236988B97DB476DF1F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_7886CE7970CF9FFF135D97DB476D346A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_Liabilities_7886CE7970CF9FFF135D97DB476D346A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_F270C778584E1441450097DB476DE5E4" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_CommitmentsAndContingencies_F270C778584E1441450097DB476DE5E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_BB11AAE971ADFB02D05797DB476D1BF5" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_StockholdersEquityAbstract_BB11AAE971ADFB02D05797DB476D1BF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_2C8A3847D918302FA65B97DB47711AC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_BB11AAE971ADFB02D05797DB476D1BF5" xlink:to="loc_us-gaap_CommonStockValue_2C8A3847D918302FA65B97DB47711AC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_CE7AFCF62E9A75BDEDE497DB47718CF9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_BB11AAE971ADFB02D05797DB476D1BF5" xlink:to="loc_us-gaap_AdditionalPaidInCapital_CE7AFCF62E9A75BDEDE497DB47718CF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_46E165DC23A4DA2A574597DB4771A375" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_BB11AAE971ADFB02D05797DB476D1BF5" xlink:to="loc_us-gaap_TreasuryStockValue_46E165DC23A4DA2A574597DB4771A375" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6B47D06942285060093497DB4771061D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_BB11AAE971ADFB02D05797DB476D1BF5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6B47D06942285060093497DB4771061D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_46BC27244E002A36F43997DB47714CEC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_BB11AAE971ADFB02D05797DB476D1BF5" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_46BC27244E002A36F43997DB47714CEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_D7C8FBD7567EA8747B2397DB477193B7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_BB11AAE971ADFB02D05797DB476D1BF5" xlink:to="loc_us-gaap_StockholdersEquity_D7C8FBD7567EA8747B2397DB477193B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_E5847E8439A6959AEA0297DB4771DF69" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_FD7299895642D5AF63E297DB4765C01E" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_E5847E8439A6959AEA0297DB4771DF69" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_6D322EF4F2F338E45B6D97DB95BD833F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_02026747501D663A402C97DB95BD1B89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6D322EF4F2F338E45B6D97DB95BD833F" xlink:to="loc_us-gaap_StatementTable_02026747501D663A402C97DB95BD1B89" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_691FA18A69F070E16DBD97DB95BD9EFE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_02026747501D663A402C97DB95BD1B89" xlink:to="loc_us-gaap_StatementClassOfStockAxis_691FA18A69F070E16DBD97DB95BD9EFE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1F6DFBC389CB1BDB9DE397DB95BD2074_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_691FA18A69F070E16DBD97DB95BD9EFE" xlink:to="loc_us-gaap_ClassOfStockDomain_1F6DFBC389CB1BDB9DE397DB95BD2074_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1F6DFBC389CB1BDB9DE397DB95BD2074" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_691FA18A69F070E16DBD97DB95BD9EFE" xlink:to="loc_us-gaap_ClassOfStockDomain_1F6DFBC389CB1BDB9DE397DB95BD2074" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_8B95A6E38F291395785F97DB95BDECBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1F6DFBC389CB1BDB9DE397DB95BD2074" xlink:to="loc_us-gaap_CommonClassAMember_8B95A6E38F291395785F97DB95BDECBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_696F1B8B5B1A0F3E65CC97DB95BD89C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1F6DFBC389CB1BDB9DE397DB95BD2074" xlink:to="loc_us-gaap_CommonClassBMember_696F1B8B5B1A0F3E65CC97DB95BD89C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_597F7FD85F208DDD2DB697DB95BD406B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6D322EF4F2F338E45B6D97DB95BD833F" xlink:to="loc_us-gaap_AssetsCurrentAbstract_597F7FD85F208DDD2DB697DB95BD406B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_590B39422540FE7473ED97DB95C12B57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_597F7FD85F208DDD2DB697DB95BD406B" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_590B39422540FE7473ED97DB95C12B57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_63870D4FBFBC8CFE5B3F97DB95C129BF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6D322EF4F2F338E45B6D97DB95BD833F" xlink:to="loc_us-gaap_StockholdersEquityAbstract_63870D4FBFBC8CFE5B3F97DB95C129BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_26193FC726E6E8E1268897DB95C17A35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_63870D4FBFBC8CFE5B3F97DB95C129BF" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_26193FC726E6E8E1268897DB95C17A35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_8C9675FB557595198B5697DB95C1AAE0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_63870D4FBFBC8CFE5B3F97DB95C129BF" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_8C9675FB557595198B5697DB95C1AAE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_8251D6E98C436EEBB9D797DB95C27C5D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_63870D4FBFBC8CFE5B3F97DB95C129BF" xlink:to="loc_us-gaap_CommonStockSharesIssued_8251D6E98C436EEBB9D797DB95C27C5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_40AFBC842837F2027F0497DB95C2FAAC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_63870D4FBFBC8CFE5B3F97DB95C129BF" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_40AFBC842837F2027F0497DB95C2FAAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_E156308F71F64D548F1C97DB95C2FB04" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_63870D4FBFBC8CFE5B3F97DB95C129BF" xlink:to="loc_us-gaap_TreasuryStockShares_E156308F71F64D548F1C97DB95C2FB04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_1CB0BDDB04A6AE499D2697DB95C28F16" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_63870D4FBFBC8CFE5B3F97DB95C129BF" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_1CB0BDDB04A6AE499D2697DB95C28F16" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficit" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_7CB3BDBBCEDA34D5903AB540104E0F04" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_FA16548A6E4C2F23DBDCB540104D6A32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7CB3BDBBCEDA34D5903AB540104E0F04" xlink:to="loc_us-gaap_StatementTable_FA16548A6E4C2F23DBDCB540104D6A32" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_75091D3680C584552AC1B540104D6E36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_FA16548A6E4C2F23DBDCB540104D6A32" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_75091D3680C584552AC1B540104D6E36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_75091D3680C584552AC1B540104D6E36" xlink:to="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_75091D3680C584552AC1B540104D6E36" xlink:to="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_C11C746979EA064AD20BB540104E95B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731" xlink:to="loc_us-gaap_CommonStockMember_C11C746979EA064AD20BB540104E95B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_7AF68592F39B564FCF98B540104E883B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_7AF68592F39B564FCF98B540104E883B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_D02E64C51B294285416EB540104E5962" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731" xlink:to="loc_us-gaap_TreasuryStockMember_D02E64C51B294285416EB540104E5962" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_0A7DF9480FBCAD1FF67EB540104E3672" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_0A7DF9480FBCAD1FF67EB540104E3672" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_6C863AE8F936D989B6EAB540104E1B05" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_545C56A72AA9D445731CB540104ED731" xlink:to="loc_us-gaap_RetainedEarningsMember_6C863AE8F936D989B6EAB540104E1B05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_EA223C224D52091062F2B540104E9C03" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_FA16548A6E4C2F23DBDCB540104D6A32" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_EA223C224D52091062F2B540104E9C03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_91988856EA2230B5D860B540104EA78B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_EA223C224D52091062F2B540104E9C03" xlink:to="loc_us-gaap_TypeOfAdoptionMember_91988856EA2230B5D860B540104EA78B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_91988856EA2230B5D860B540104EA78B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_EA223C224D52091062F2B540104E9C03" xlink:to="loc_us-gaap_TypeOfAdoptionMember_91988856EA2230B5D860B540104EA78B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_720510FCDCF8DAC88B93B540104E2C03" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_91988856EA2230B5D860B540104EA78B" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_720510FCDCF8DAC88B93B540104E2C03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInTemporaryEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7CB3BDBBCEDA34D5903AB540104E0F04" xlink:to="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TemporaryEquitySharesOutstanding" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_DCF684CD26CA2510D651B540104EDB9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_DCF684CD26CA2510D651B540104EDB9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_E6362808BF6234113212B540104E7BCF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_E6362808BF6234113212B540104E7BCF" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssues" xlink:label="loc_mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssues_9E44B721F502E3EA3998B540104E52C0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:to="loc_mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssues_9E44B721F502E3EA3998B540104E52C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues_2A9CBFB92D8DEBC7C7DAB540104E8E0E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:to="loc_us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues_2A9CBFB92D8DEBC7C7DAB540104E8E0E" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants" xlink:label="loc_mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants_6C2B0CEBE428FD8C6813B540104E797A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:to="loc_mdb_TemporaryEquityStockIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants_6C2B0CEBE428FD8C6813B540104E797A" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants" xlink:label="loc_mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants_F5C45F1E6EB41D2B43C6B540104E8AFA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:to="loc_mdb_TemporaryEquityIssuedDuringPeriodSharesNewIssuesForExerciseOfWarrants_F5C45F1E6EB41D2B43C6B540104E8AFA" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_TemporaryEquityEliminationAsPartOfReorganizationShares" xlink:label="loc_mdb_TemporaryEquityEliminationAsPartOfReorganizationShares_B3221EE92B2E2E795234B5401052DAEA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:to="loc_mdb_TemporaryEquityEliminationAsPartOfReorganizationShares_B3221EE92B2E2E795234B5401052DAEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TemporaryEquityEliminationAsPartofReorganization" xlink:label="loc_us-gaap_TemporaryEquityEliminationAsPartofReorganization_3F49EEBFAD23B8B27E93B5401052714A" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_175405794B160A98FB9CB540104EECF5" xlink:to="loc_us-gaap_TemporaryEquityEliminationAsPartofReorganization_3F49EEBFAD23B8B27E93B5401052714A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7CB3BDBBCEDA34D5903AB540104E0F04" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_62D77D061684F1269D46B5401053D06D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_62D77D061684F1269D46B5401053D06D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_D4119EC4FC355F414EE5B5401053B4D3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_StockholdersEquity_D4119EC4FC355F414EE5B5401053B4D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_DE9D591DE952A4EF9BF0B54010541F56" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_DE9D591DE952A4EF9BF0B54010541F56" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants" xlink:label="loc_mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants_F6501B28B2B73CFF4B0FB540105462F1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_mdb_StockIssuedDuringPeriodSharesNewIssuesforExerciseOfWarrants_F6501B28B2B73CFF4B0FB540105462F1" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_StockIssuedDuringPeriodValueNewIssuesForExerciseOfWarrants" xlink:label="loc_mdb_StockIssuedDuringPeriodValueNewIssuesForExerciseOfWarrants_D2BBB997C45C252D0864B54010545F26" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_mdb_StockIssuedDuringPeriodValueNewIssuesForExerciseOfWarrants_D2BBB997C45C252D0864B54010545F26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_D629D3FB7743706A8F1DB54010544870" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_D629D3FB7743706A8F1DB54010544870" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_AdjustmentstoAdditionalPaidinCapitalExerciseofStockOptions" xlink:label="loc_mdb_AdjustmentstoAdditionalPaidinCapitalExerciseofStockOptions_A69B5E9D7C48DFB48146B5401054E5FE" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_mdb_AdjustmentstoAdditionalPaidinCapitalExerciseofStockOptions_A69B5E9D7C48DFB48146B5401054E5FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_E6F6C39E64DB824C215CB54010545129" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_E6F6C39E64DB824C215CB54010545129" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_539F7B4A88BB7D6AEE61B5401054851C" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_539F7B4A88BB7D6AEE61B5401054851C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_DFD8DE285D802007D804B54010543E4F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_DFD8DE285D802007D804B54010543E4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_AD265A3ADDDBE6F342EDB54010547CA0" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_AD265A3ADDDBE6F342EDB54010547CA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_A8357F6CF56BBDFCEA4EB5401054B242" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_A8357F6CF56BBDFCEA4EB5401054B242" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_AdjustmentsToAdditionalPaidinCapitalEarlyExerciseofStockOptions" xlink:label="loc_mdb_AdjustmentsToAdditionalPaidinCapitalEarlyExerciseofStockOptions_EA0A3E93689BB2AFBD99B54010548252" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_mdb_AdjustmentsToAdditionalPaidinCapitalEarlyExerciseofStockOptions_EA0A3E93689BB2AFBD99B54010548252" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_27ECD09383B22FD2CA35B5401054EFE4" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_27ECD09383B22FD2CA35B5401054EFE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_4B9210C22E5D01A04155B54010546ADA" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_4B9210C22E5D01A04155B54010546ADA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalConvertibleDebtWithConversionFeature" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalConvertibleDebtWithConversionFeature_EC619887424668F083A4B5401054083B" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalConvertibleDebtWithConversionFeature_EC619887424668F083A4B5401054083B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_42C076E744AB25F29CD8B5401054BF6F" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_42C076E744AB25F29CD8B5401054BF6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_C03B57F1AA19DE3BCD4BB5401054B83B" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_C03B57F1AA19DE3BCD4BB5401054B83B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_23543B11A8D5785EF717B5401054947D" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_23543B11A8D5785EF717B5401054947D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_25A5F9592CB51D8E0CDCB5401054BE5F" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_B1D874A689D345AD3A1DB5401053F0FE" xlink:to="loc_us-gaap_NetIncomeLoss_25A5F9592CB51D8E0CDCB5401054BE5F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementOfRedeemableConvertiblePreferredStockAndStockholdersEquityDeficitParenthetical" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_2BF58F83C17B3B2462DC3A9BC6489A40" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_E654E059ED9276F603243A9BC6484213" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2BF58F83C17B3B2462DC3A9BC6489A40" xlink:to="loc_us-gaap_StatementTable_E654E059ED9276F603243A9BC6484213" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_F9DFE10E1A55918B06E53A9BC64834CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_E654E059ED9276F603243A9BC6484213" xlink:to="loc_us-gaap_StatementClassOfStockAxis_F9DFE10E1A55918B06E53A9BC64834CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_C270B1B9F71B01EFC4DC3A9BC6483CDA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_F9DFE10E1A55918B06E53A9BC64834CF" xlink:to="loc_us-gaap_ClassOfStockDomain_C270B1B9F71B01EFC4DC3A9BC6483CDA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_C270B1B9F71B01EFC4DC3A9BC6483CDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_F9DFE10E1A55918B06E53A9BC64834CF" xlink:to="loc_us-gaap_ClassOfStockDomain_C270B1B9F71B01EFC4DC3A9BC6483CDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SeriesFPreferredStockMember" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_5E851E216C853DDEA6AA3A9BC6482245" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_C270B1B9F71B01EFC4DC3A9BC6483CDA" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_5E851E216C853DDEA6AA3A9BC6482245" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_EC461FBFA4277B65FD943A9BC648C5C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2BF58F83C17B3B2462DC3A9BC6489A40" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_EC461FBFA4277B65FD943A9BC648C5C6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementsOfCashFlowsReconciliation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementsOfComprehensiveLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_3A9210504096FE22DDF497DB95B33FB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_StatementTable_3A9210504096FE22DDF497DB95B33FB4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_786F11FDE39286BA9A9697DB95B3EE4F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3A9210504096FE22DDF497DB95B33FB4" xlink:to="loc_srt_ProductOrServiceAxis_786F11FDE39286BA9A9697DB95B3EE4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_697A7DAA1D4A5BEC9D4597DB95B338ED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_786F11FDE39286BA9A9697DB95B3EE4F" xlink:to="loc_srt_ProductsAndServicesDomain_697A7DAA1D4A5BEC9D4597DB95B338ED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_697A7DAA1D4A5BEC9D4597DB95B338ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_786F11FDE39286BA9A9697DB95B3EE4F" xlink:to="loc_srt_ProductsAndServicesDomain_697A7DAA1D4A5BEC9D4597DB95B338ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LicenseMember" xlink:label="loc_us-gaap_LicenseMember_4F3EA621F79FD83BD84E97DB95B3B229" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_697A7DAA1D4A5BEC9D4597DB95B338ED" xlink:to="loc_us-gaap_LicenseMember_4F3EA621F79FD83BD84E97DB95B3B229" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ServiceMember" xlink:label="loc_us-gaap_ServiceMember_B8A445D843481F1F0FE097DB95B3FA91" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_697A7DAA1D4A5BEC9D4597DB95B338ED" xlink:to="loc_us-gaap_ServiceMember_B8A445D843481F1F0FE097DB95B3FA91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract_2936CD87A1527ADE9A3B97DB95B3E3B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_RevenuesAbstract_2936CD87A1527ADE9A3B97DB95B3E3B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_DC05C7C1354214A10CAC97DB95B347E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_2936CD87A1527ADE9A3B97DB95B3E3B7" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_DC05C7C1354214A10CAC97DB95B347E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfRevenueAbstract" xlink:label="loc_us-gaap_CostOfRevenueAbstract_CDA8C8F6A3D3C42CFB9997DB95B35F73" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_CostOfRevenueAbstract_CDA8C8F6A3D3C42CFB9997DB95B35F73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_017DB19EADE816C85C0597DB95B3C304" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_CDA8C8F6A3D3C42CFB9997DB95B35F73" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_017DB19EADE816C85C0597DB95B3C304" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_B642B1955752E964FAD497DB95B30B2A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_GrossProfit_B642B1955752E964FAD497DB95B30B2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_4C24B04220345FDAD6B597DB95B3F091" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_OperatingExpensesAbstract_4C24B04220345FDAD6B597DB95B3F091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_C7AB830B6515C2D4644697DB95B36FB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_4C24B04220345FDAD6B597DB95B3F091" xlink:to="loc_us-gaap_SellingAndMarketingExpense_C7AB830B6515C2D4644697DB95B36FB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_516F587FF9C7B6D4A25197DB95B388C3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_4C24B04220345FDAD6B597DB95B3F091" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_516F587FF9C7B6D4A25197DB95B388C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_59803F31E09F3D45AC3597DB95B3C483" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_4C24B04220345FDAD6B597DB95B3F091" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_59803F31E09F3D45AC3597DB95B3C483" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_E0D3FD48BD3687DB672097DB95B3EC2D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_4C24B04220345FDAD6B597DB95B3F091" xlink:to="loc_us-gaap_OperatingExpenses_E0D3FD48BD3687DB672097DB95B3EC2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_2D009ADFB98827736E5E97DB95B773B4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_OperatingIncomeLoss_2D009ADFB98827736E5E97DB95B773B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseAbstract" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_3062D79FE08E9F20F1A497DB95B7CA0C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_3062D79FE08E9F20F1A497DB95B7CA0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentIncomeNet" xlink:label="loc_us-gaap_InvestmentIncomeNet_F8287151F8F0435B76A897DB95B7EA82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_3062D79FE08E9F20F1A497DB95B7CA0C" xlink:to="loc_us-gaap_InvestmentIncomeNet_F8287151F8F0435B76A897DB95B7EA82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_D396A1CC122E28D1B49097DB95B7CE0F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_3062D79FE08E9F20F1A497DB95B7CA0C" xlink:to="loc_us-gaap_InterestExpense_D396A1CC122E28D1B49097DB95B7CE0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_83061C9F8F963886F1FC97DB95B7B5E7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_3062D79FE08E9F20F1A497DB95B7CA0C" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_83061C9F8F963886F1FC97DB95B7B5E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_468D7A4F295F5DF2C91F97DB95B70F37" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_468D7A4F295F5DF2C91F97DB95B70F37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_FEE7B57B738320B883AA97DB95B760F9" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_FEE7B57B738320B883AA97DB95B760F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_00BC85F8ADC7463E0EAE97DB95B7BE33" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_NetIncomeLoss_00BC85F8ADC7463E0EAE97DB95B7BE33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted" xlink:label="loc_us-gaap_EarningsPerShareBasicAndDiluted_537A5BBE181153BA238097DB95B7CAA5" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_EarningsPerShareBasicAndDiluted_537A5BBE181153BA238097DB95B7CAA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:label="loc_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_4B02A7DDC97CF649B2AB97DB95B79866" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_73F6B4DE94776029406497DB95B33FC9" xlink:to="loc_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_4B02A7DDC97CF649B2AB97DB95B79866" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_2F7B050229F82CB05CF3BFCEEBFE7074" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentTable_2F7B050229F82CB05CF3BFCEEBFE7074" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_4AE4CA5C91A0D28DA914BFCEEBFF62A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2F7B050229F82CB05CF3BFCEEBFE7074" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_4AE4CA5C91A0D28DA914BFCEEBFF62A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_60ED6D29531EB0BFC5ACBFCEEBFFF913_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4AE4CA5C91A0D28DA914BFCEEBFF62A3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_60ED6D29531EB0BFC5ACBFCEEBFFF913_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_60ED6D29531EB0BFC5ACBFCEEBFFF913" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4AE4CA5C91A0D28DA914BFCEEBFF62A3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_60ED6D29531EB0BFC5ACBFCEEBFFF913" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_F84CE62325FECCC0DB8CBFCEEBFF7B20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_60ED6D29531EB0BFC5ACBFCEEBFFF913" xlink:to="loc_us-gaap_ConvertibleDebtMember_F84CE62325FECCC0DB8CBFCEEBFF7B20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_E98EEF896CFB95955873BFCEEBFFAC7C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2F7B050229F82CB05CF3BFCEEBFE7074" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_E98EEF896CFB95955873BFCEEBFFAC7C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_57657C13BC5A42E1FF32BFCEEBFF3D06_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_E98EEF896CFB95955873BFCEEBFFAC7C" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_57657C13BC5A42E1FF32BFCEEBFF3D06_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_57657C13BC5A42E1FF32BFCEEBFF3D06" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_E98EEF896CFB95955873BFCEEBFFAC7C" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_57657C13BC5A42E1FF32BFCEEBFF3D06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodOneMember" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_37B89B7EDC6353EB899CBFCEEBFFE727" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_57657C13BC5A42E1FF32BFCEEBFF3D06" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_37B89B7EDC6353EB899CBFCEEBFFE727" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodTwoMember" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_F7BDB798454C50298E3EBFCEEBFFBBAE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_57657C13BC5A42E1FF32BFCEEBFF3D06" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_F7BDB798454C50298E3EBFCEEBFFBBAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_6D676D87838924892EEABFCEEBFFB25C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2F7B050229F82CB05CF3BFCEEBFE7074" xlink:to="loc_us-gaap_DebtInstrumentAxis_6D676D87838924892EEABFCEEBFFB25C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_B86B81A9B40089F234D6BFCEEBFF5A62_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_6D676D87838924892EEABFCEEBFFB25C" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_B86B81A9B40089F234D6BFCEEBFF5A62_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_B86B81A9B40089F234D6BFCEEBFF5A62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_6D676D87838924892EEABFCEEBFFB25C" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_B86B81A9B40089F234D6BFCEEBFF5A62" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ConvertibleSeniorNotesLiabilityComponentMember" xlink:label="loc_mdb_ConvertibleSeniorNotesLiabilityComponentMember_7546943C83935F036AC5BFCEEBFF0F01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B86B81A9B40089F234D6BFCEEBFF5A62" xlink:to="loc_mdb_ConvertibleSeniorNotesLiabilityComponentMember_7546943C83935F036AC5BFCEEBFF0F01" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ConvertibleSeniorNotesEquityComponentMember" xlink:label="loc_mdb_ConvertibleSeniorNotesEquityComponentMember_566FF6071CA52779E78BBFCEEBFFF687" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B86B81A9B40089F234D6BFCEEBFF5A62" xlink:to="loc_mdb_ConvertibleSeniorNotesEquityComponentMember_566FF6071CA52779E78BBFCEEBFFF687" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_775FB258F01E20D7FB58BFCEEC001F8F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2F7B050229F82CB05CF3BFCEEBFE7074" xlink:to="loc_srt_RangeAxis_775FB258F01E20D7FB58BFCEEC001F8F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_0486CD4C5FCD8BC889DEBFCEEC00F9C6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_775FB258F01E20D7FB58BFCEEC001F8F" xlink:to="loc_srt_RangeMember_0486CD4C5FCD8BC889DEBFCEEC00F9C6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_0486CD4C5FCD8BC889DEBFCEEC00F9C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_775FB258F01E20D7FB58BFCEEC001F8F" xlink:to="loc_srt_RangeMember_0486CD4C5FCD8BC889DEBFCEEC00F9C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_17A876BCBA7B88BAB2C2BFCEEC00E430" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0486CD4C5FCD8BC889DEBFCEEC00F9C6" xlink:to="loc_srt_MinimumMember_17A876BCBA7B88BAB2C2BFCEEC00E430" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_E05E4982EE0A66A2A080BFCEEC007091" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0486CD4C5FCD8BC889DEBFCEEC00F9C6" xlink:to="loc_srt_MaximumMember_E05E4982EE0A66A2A080BFCEEC007091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_9D1E50AC9F8880479DADBFCEEC008ADE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_9D1E50AC9F8880479DADBFCEEC008ADE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_39748478E5F5CD5B2DA9BFCEEC00AE92" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_39748478E5F5CD5B2DA9BFCEEC00AE92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromConvertibleDebt" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_1254A7BF3752B59D5B79BFCEEC00AA2C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_1254A7BF3752B59D5B79BFCEEC00AA2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentConvertibleConversionRatio1" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_E75E5A0CC17CFC266500BFCEEC007A2A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_E75E5A0CC17CFC266500BFCEEC007A2A" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_DebtInstrumentConvertibleConversionRatioDenominator" xlink:label="loc_mdb_DebtInstrumentConvertibleConversionRatioDenominator_355F6C25D163B79BF65ABFCEEC007542" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_mdb_DebtInstrumentConvertibleConversionRatioDenominator_355F6C25D163B79BF65ABFCEEC007542" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_4E85AF1C553550F06DC6BFCEEC000D81" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_4E85AF1C553550F06DC6BFCEEC000D81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentConvertibleThresholdTradingDays" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_E3DA4F5B14E59543BBDABFCEEC0049D2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_E3DA4F5B14E59543BBDABFCEEC0049D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_27B6EE60EF074681F338BFCEEC00BDD4" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_27B6EE60EF074681F338BFCEEC00BDD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_5226C6D9419F5A03B402BFCEEC006464" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_5226C6D9419F5A03B402BFCEEC006464" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate" xlink:label="loc_mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate_4567A0C23D36F9EED883BFCEEC002F94" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate_4567A0C23D36F9EED883BFCEEC002F94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_9A37B585B41B6EEBD941BFCEEC0083D4" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_9A37B585B41B6EEBD941BFCEEC0083D4" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent" xlink:label="loc_mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent_23390E58E6326D35E910BFCEEC00B4CC" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent_23390E58E6326D35E910BFCEEC00B4CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredFinanceCostsGross" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_AEF71E451FB4C4D7D092BFCEEC00D2F7" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_AEF71E451FB4C4D7D092BFCEEC00D2F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_54C88A13087CA7BA8A5FBFCEEC008C9E" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_54C88A13087CA7BA8A5FBFCEEC008C9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtFairValueDisclosures" xlink:label="loc_us-gaap_ConvertibleDebtFairValueDisclosures_7069B6F6061A8ECFC5B3BFCEEC06173B" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_48AD3C46B36BD5FA1518BFCEEC00721D" xlink:to="loc_us-gaap_ConvertibleDebtFairValueDisclosures_7069B6F6061A8ECFC5B3BFCEEC06173B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesCappedCallsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityLineItems" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_4619412E45EF16112C0B4F87B76A3097" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityEquityTable" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_680DB6DAFD710CD704194F87B76A020C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_4619412E45EF16112C0B4F87B76A3097" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_680DB6DAFD710CD704194F87B76A020C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityEquityAxis" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_E1AE3AC0E282CEB7F51D4F87B76A02BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_680DB6DAFD710CD704194F87B76A020C" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_E1AE3AC0E282CEB7F51D4F87B76A02BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_EFB80E7CCC42CD5F92494F87B76A5694_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_E1AE3AC0E282CEB7F51D4F87B76A02BB" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_EFB80E7CCC42CD5F92494F87B76A5694_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_EFB80E7CCC42CD5F92494F87B76A5694" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_E1AE3AC0E282CEB7F51D4F87B76A02BB" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_EFB80E7CCC42CD5F92494F87B76A5694" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_0EE84F62C4B170E8C5604F87B76A378A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_EFB80E7CCC42CD5F92494F87B76A5694" xlink:to="loc_us-gaap_CallOptionMember_0EE84F62C4B170E8C5604F87B76A378A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_BC20005A3E69DE5ABD3A4F87B76AFA2B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_680DB6DAFD710CD704194F87B76A020C" xlink:to="loc_us-gaap_StatementClassOfStockAxis_BC20005A3E69DE5ABD3A4F87B76AFA2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_EEB82C507CF24EC94E094F87B76AC9D7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_BC20005A3E69DE5ABD3A4F87B76AFA2B" xlink:to="loc_us-gaap_ClassOfStockDomain_EEB82C507CF24EC94E094F87B76AC9D7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_EEB82C507CF24EC94E094F87B76AC9D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_BC20005A3E69DE5ABD3A4F87B76AFA2B" xlink:to="loc_us-gaap_ClassOfStockDomain_EEB82C507CF24EC94E094F87B76AC9D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_80D2AE18AAE358A87E054F87B76AD77C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_EEB82C507CF24EC94E094F87B76AC9D7" xlink:to="loc_us-gaap_CommonClassAMember_80D2AE18AAE358A87E054F87B76AD77C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityStrikePrice1" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityStrikePrice1_769260AB2DD8E3743FA64F87B76AFA61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_4619412E45EF16112C0B4F87B76A3097" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityStrikePrice1_769260AB2DD8E3743FA64F87B76AFA61" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_OptionIndexedToIssuersEquityCapPrice" xlink:label="loc_mdb_OptionIndexedToIssuersEquityCapPrice_B8B8924E2D2D7BC58E604F87B76AD12C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_4619412E45EF16112C0B4F87B76A3097" xlink:to="loc_mdb_OptionIndexedToIssuersEquityCapPrice_B8B8924E2D2D7BC58E604F87B76AD12C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityShares" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityShares_4B512D3AC512C0621CE04F87B76A59A0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_4619412E45EF16112C0B4F87B76A3097" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityShares_4B512D3AC512C0621CE04F87B76A59A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_BCFEF444CBDB484CD6D64F87B76A751C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_4619412E45EF16112C0B4F87B76A3097" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_BCFEF444CBDB484CD6D64F87B76A751C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleOfInterestExpenseForNotesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_0640B762163C4CDD58044F87B71BD410" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_72531781DCFAA09585384F87B71A6D73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0640B762163C4CDD58044F87B71BD410" xlink:to="loc_us-gaap_DebtInstrumentTable_72531781DCFAA09585384F87B71A6D73" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_8BA13852115C42934A694F87B71B84BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_72531781DCFAA09585384F87B71A6D73" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_8BA13852115C42934A694F87B71B84BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_C28D3210D9B7A1234FDE4F87B71BE0ED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8BA13852115C42934A694F87B71B84BE" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_C28D3210D9B7A1234FDE4F87B71BE0ED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_C28D3210D9B7A1234FDE4F87B71BE0ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8BA13852115C42934A694F87B71B84BE" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_C28D3210D9B7A1234FDE4F87B71BE0ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_97EA031C98A338F7FBF04F87B71B06D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_C28D3210D9B7A1234FDE4F87B71BE0ED" xlink:to="loc_us-gaap_ConvertibleDebtMember_97EA031C98A338F7FBF04F87B71B06D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseDebtExcludingAmortization" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_F78D6A42C6C491329F8D4F87B71B8B53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0640B762163C4CDD58044F87B71BD410" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_F78D6A42C6C491329F8D4F87B71B8B53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_9501D2FF7523383DF4DD4F87B71C77C4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0640B762163C4CDD58044F87B71BD410" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_9501D2FF7523383DF4DD4F87B71C77C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_FA646031A14669C532A84F87B71C1CF6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0640B762163C4CDD58044F87B71BD410" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_FA646031A14669C532A84F87B71C1CF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseDebt" xlink:label="loc_us-gaap_InterestExpenseDebt_396EBD0EA6C3AC21D6C94F87B71CCD40" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0640B762163C4CDD58044F87B71BD410" xlink:to="loc_us-gaap_InterestExpenseDebt_396EBD0EA6C3AC21D6C94F87B71CCD40" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleOfNetCarryingAmountOfEquityComponentOfNotesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_E205B625F9556DA2FE0E4F87B684EE99" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_60050FF2B7DE346C66594F87B683D436" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E205B625F9556DA2FE0E4F87B684EE99" xlink:to="loc_us-gaap_DebtInstrumentTable_60050FF2B7DE346C66594F87B683D436" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_529FB6661B147D584D784F87B6837F38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_60050FF2B7DE346C66594F87B683D436" xlink:to="loc_us-gaap_DebtInstrumentAxis_529FB6661B147D584D784F87B6837F38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_2296242DDC36EA9EC41E4F87B683E80D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_529FB6661B147D584D784F87B6837F38" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_2296242DDC36EA9EC41E4F87B683E80D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_2296242DDC36EA9EC41E4F87B683E80D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_529FB6661B147D584D784F87B6837F38" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_2296242DDC36EA9EC41E4F87B683E80D" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ConvertibleSeniorNotesEquityComponentMember" xlink:label="loc_mdb_ConvertibleSeniorNotesEquityComponentMember_506A35EF79DAFBC1745B4F87B683E5BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2296242DDC36EA9EC41E4F87B683E80D" xlink:to="loc_mdb_ConvertibleSeniorNotesEquityComponentMember_506A35EF79DAFBC1745B4F87B683E5BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_D53F2AB07EE6AD78E8504F87B683DF4C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_60050FF2B7DE346C66594F87B683D436" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_D53F2AB07EE6AD78E8504F87B683DF4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_15611E2977286B611E434F87B683D3A1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_D53F2AB07EE6AD78E8504F87B683DF4C" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_15611E2977286B611E434F87B683D3A1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_15611E2977286B611E434F87B683D3A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_D53F2AB07EE6AD78E8504F87B683DF4C" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_15611E2977286B611E434F87B683D3A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_0683436376B1C8DBF80A4F87B683C235" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_15611E2977286B611E434F87B683D3A1" xlink:to="loc_us-gaap_ConvertibleDebtMember_0683436376B1C8DBF80A4F87B683C235" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent" xlink:label="loc_mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent_857915EE1DDA11D03DC04F87B684AB49" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E205B625F9556DA2FE0E4F87B684EE99" xlink:to="loc_mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent_857915EE1DDA11D03DC04F87B684AB49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredFinanceCostsGross" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_8CE7AC3C50A8348B37474F87B6849B7B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E205B625F9556DA2FE0E4F87B684EE99" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_8CE7AC3C50A8348B37474F87B6849B7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent" xlink:label="loc_us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent_6867427550E993AEAEBE4F87B6842E46" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E205B625F9556DA2FE0E4F87B684EE99" xlink:to="loc_us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent_6867427550E993AEAEBE4F87B6842E46" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleOfNetCarryingAmountOfLiabilityComponentOfNotesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_C5077A85323AF31A78794F87B5F10268" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_7F6EF5598BE8992B77304F87B5F0CA09" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C5077A85323AF31A78794F87B5F10268" xlink:to="loc_us-gaap_DebtInstrumentTable_7F6EF5598BE8992B77304F87B5F0CA09" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_E00742AFA7EEC7602C804F87B5F0F894" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7F6EF5598BE8992B77304F87B5F0CA09" xlink:to="loc_us-gaap_DebtInstrumentAxis_E00742AFA7EEC7602C804F87B5F0F894" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_B147F9F57C039732AD0C4F87B5F0A6A9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_E00742AFA7EEC7602C804F87B5F0F894" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_B147F9F57C039732AD0C4F87B5F0A6A9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_B147F9F57C039732AD0C4F87B5F0A6A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_E00742AFA7EEC7602C804F87B5F0F894" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_B147F9F57C039732AD0C4F87B5F0A6A9" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ConvertibleSeniorNotesLiabilityComponentMember" xlink:label="loc_mdb_ConvertibleSeniorNotesLiabilityComponentMember_431F04AEF77C58967BE14F87B5F1EDB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B147F9F57C039732AD0C4F87B5F0A6A9" xlink:to="loc_mdb_ConvertibleSeniorNotesLiabilityComponentMember_431F04AEF77C58967BE14F87B5F1EDB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_2851F12C1B66F9BCF7E44F87B5F15194" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7F6EF5598BE8992B77304F87B5F0CA09" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_2851F12C1B66F9BCF7E44F87B5F15194" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_B52CBF862F3EB93548564F87B5F11D95_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_2851F12C1B66F9BCF7E44F87B5F15194" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_B52CBF862F3EB93548564F87B5F11D95_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_B52CBF862F3EB93548564F87B5F11D95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_2851F12C1B66F9BCF7E44F87B5F15194" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_B52CBF862F3EB93548564F87B5F11D95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_66B18829DDA8FE60A5764F87B5F13434" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_B52CBF862F3EB93548564F87B5F11D95" xlink:to="loc_us-gaap_ConvertibleDebtMember_66B18829DDA8FE60A5764F87B5F13434" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_F52107359C1BF95E96134F87B5F25C39" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C5077A85323AF31A78794F87B5F10268" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_F52107359C1BF95E96134F87B5F25C39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_0A6026BBEC3D9D77D3204F87B5F2AD62" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C5077A85323AF31A78794F87B5F10268" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_0A6026BBEC3D9D77D3204F87B5F2AD62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredFinanceCostsGross" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_FDCA23A84D8A4F9068A64F87B5F2502F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C5077A85323AF31A78794F87B5F10268" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_FDCA23A84D8A4F9068A64F87B5F2502F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_60A3E373153AFC95FF224F87B5F25DCB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C5077A85323AF31A78794F87B5F10268" xlink:to="loc_us-gaap_LongTermDebt_60A3E373153AFC95FF224F87B5F25DCB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/DocumentAndEntityInformationDocument" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_7EC8784AA57DD5E70501BFCEED3A83C2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_6195BAEBF2CB2730CC4DBFCEED39F43D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7EC8784AA57DD5E70501BFCEED3A83C2" xlink:to="loc_us-gaap_StatementTable_6195BAEBF2CB2730CC4DBFCEED39F43D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_6CC6855FDF7D4FD87176BFCEED397BD7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_6195BAEBF2CB2730CC4DBFCEED39F43D" xlink:to="loc_us-gaap_StatementClassOfStockAxis_6CC6855FDF7D4FD87176BFCEED397BD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_D3B443DE2CEB4FF6A7AABFCEED391664_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6CC6855FDF7D4FD87176BFCEED397BD7" xlink:to="loc_us-gaap_ClassOfStockDomain_D3B443DE2CEB4FF6A7AABFCEED391664_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_D3B443DE2CEB4FF6A7AABFCEED391664" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6CC6855FDF7D4FD87176BFCEED397BD7" xlink:to="loc_us-gaap_ClassOfStockDomain_D3B443DE2CEB4FF6A7AABFCEED391664" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_F782BCDA00B3D34B5549BFCEED391755" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_D3B443DE2CEB4FF6A7AABFCEED391664" xlink:to="loc_us-gaap_CommonClassAMember_F782BCDA00B3D34B5549BFCEED391755" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_F2FF2BD3DC7173A5D570BFCEED398A15" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_D3B443DE2CEB4FF6A7AABFCEED391664" xlink:to="loc_us-gaap_CommonClassBMember_F2FF2BD3DC7173A5D570BFCEED398A15" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_FA0EE32AE82689D73DACBFCEED3A1031" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7EC8784AA57DD5E70501BFCEED3A83C2" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_FA0EE32AE82689D73DACBFCEED3A1031" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2008And2016StockPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6FA91B513E16C2675F48BFCEEAC609DF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E579FC3190A504FF606EBFCEEAC51469" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6FA91B513E16C2675F48BFCEEAC609DF" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E579FC3190A504FF606EBFCEEAC51469" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_86E9429491F6D487455FBFCEEAC51058" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E579FC3190A504FF606EBFCEEAC51469" xlink:to="loc_srt_RangeAxis_86E9429491F6D487455FBFCEEAC51058" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_D44CB7B3A7DFDC1774ACBFCEEAC5259F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_86E9429491F6D487455FBFCEEAC51058" xlink:to="loc_srt_RangeMember_D44CB7B3A7DFDC1774ACBFCEEAC5259F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_D44CB7B3A7DFDC1774ACBFCEEAC5259F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_86E9429491F6D487455FBFCEEAC51058" xlink:to="loc_srt_RangeMember_D44CB7B3A7DFDC1774ACBFCEEAC5259F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_C1D923E75F3B02759FD4BFCEEAC50C45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_D44CB7B3A7DFDC1774ACBFCEEAC5259F" xlink:to="loc_srt_MinimumMember_C1D923E75F3B02759FD4BFCEEAC50C45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_BBCB63288122E4A1D44ABFCEEAC58C01" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E579FC3190A504FF606EBFCEEAC51469" xlink:to="loc_us-gaap_TitleOfIndividualAxis_BBCB63288122E4A1D44ABFCEEAC58C01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_A9FDC090A1865571E2A0BFCEEAC5DC0D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_BBCB63288122E4A1D44ABFCEEAC58C01" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_A9FDC090A1865571E2A0BFCEEAC5DC0D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_A9FDC090A1865571E2A0BFCEEAC5DC0D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_BBCB63288122E4A1D44ABFCEEAC58C01" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_A9FDC090A1865571E2A0BFCEEAC5DC0D" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_Over10StockholderMember" xlink:label="loc_mdb_Over10StockholderMember_1FA4ADB0208CF5D2D062BFCEEAC57A61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_A9FDC090A1865571E2A0BFCEEAC5DC0D" xlink:to="loc_mdb_Over10StockholderMember_1FA4ADB0208CF5D2D062BFCEEAC57A61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_88438A0CAA9531171B81BFCEEAC52129" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E579FC3190A504FF606EBFCEEAC51469" xlink:to="loc_us-gaap_VestingAxis_88438A0CAA9531171B81BFCEEAC52129" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_9CE5F20371FAD98054E3BFCEEAC52992_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_88438A0CAA9531171B81BFCEEAC52129" xlink:to="loc_us-gaap_VestingDomain_9CE5F20371FAD98054E3BFCEEAC52992_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_9CE5F20371FAD98054E3BFCEEAC52992" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_88438A0CAA9531171B81BFCEEAC52129" xlink:to="loc_us-gaap_VestingDomain_9CE5F20371FAD98054E3BFCEEAC52992" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_D10A3B35D6E546B0196ABFCEEAC5DDEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_9CE5F20371FAD98054E3BFCEEAC52992" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_D10A3B35D6E546B0196ABFCEEAC5DDEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_74863AA81E2274FEA454BFCEEAC5C3E9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_9CE5F20371FAD98054E3BFCEEAC52992" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_74863AA81E2274FEA454BFCEEAC5C3E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_D6937175A003E85F0E3BBFCEEAC63D35" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E579FC3190A504FF606EBFCEEAC51469" xlink:to="loc_us-gaap_AwardTypeAxis_D6937175A003E85F0E3BBFCEEAC63D35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CF4F636AAF2ED91CDBCBFCEEAC6004E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_D6937175A003E85F0E3BBFCEEAC63D35" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CF4F636AAF2ED91CDBCBFCEEAC6004E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CF4F636AAF2ED91CDBCBFCEEAC6004E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_D6937175A003E85F0E3BBFCEEAC63D35" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CF4F636AAF2ED91CDBCBFCEEAC6004E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_115F23E58BED0F034864BFCEEAC63B87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CF4F636AAF2ED91CDBCBFCEEAC6004E" xlink:to="loc_us-gaap_EmployeeStockOptionMember_115F23E58BED0F034864BFCEEAC63B87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_A9A8BD3ED0C9355D50A1BFCEEAC69E7E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9CF4F636AAF2ED91CDBCBFCEEAC6004E" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_A9A8BD3ED0C9355D50A1BFCEEAC69E7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_9F86E3A4D8473512AEF7BFCEEAC6CE2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6FA91B513E16C2675F48BFCEEAC609DF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_9F86E3A4D8473512AEF7BFCEEAC6CE2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_6E02D730FF59E0EF8639BFCEEAC624BB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6FA91B513E16C2675F48BFCEEAC609DF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_6E02D730FF59E0EF8639BFCEEAC624BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_A588C0755CE872A1172FBFCEEAC6038F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6FA91B513E16C2675F48BFCEEAC609DF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_A588C0755CE872A1172FBFCEEAC6038F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_BD2B2E985AD96534CF8FBFCEEAC62EE3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6FA91B513E16C2675F48BFCEEAC609DF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_BD2B2E985AD96534CF8FBFCEEAC62EE3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4C49914D7B136B6AF07DBFCEEAAD43FD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_927D1EEE8DBD0734A0ABBFCEEAAC5751" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4C49914D7B136B6AF07DBFCEEAAD43FD" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_927D1EEE8DBD0734A0ABBFCEEAAC5751" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_56C2810F10AE45A9F3F6BFCEEAAD55D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_927D1EEE8DBD0734A0ABBFCEEAAC5751" xlink:to="loc_us-gaap_AwardTypeAxis_56C2810F10AE45A9F3F6BFCEEAAD55D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76AD242DBF522B25FFD1BFCEEAADBE14_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_56C2810F10AE45A9F3F6BFCEEAAD55D6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76AD242DBF522B25FFD1BFCEEAADBE14_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76AD242DBF522B25FFD1BFCEEAADBE14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_56C2810F10AE45A9F3F6BFCEEAAD55D6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76AD242DBF522B25FFD1BFCEEAADBE14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_452052FFF8244B13E648BFCEEAADB5C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76AD242DBF522B25FFD1BFCEEAADBE14" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_452052FFF8244B13E648BFCEEAADB5C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_AFE34192C4CF76A43676BFCEEAADA8D5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_927D1EEE8DBD0734A0ABBFCEEAAC5751" xlink:to="loc_us-gaap_VestingAxis_AFE34192C4CF76A43676BFCEEAADA8D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_C9D2F8BC78C9147E94AFBFCEEAAD3D22_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_AFE34192C4CF76A43676BFCEEAADA8D5" xlink:to="loc_us-gaap_VestingDomain_C9D2F8BC78C9147E94AFBFCEEAAD3D22_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_C9D2F8BC78C9147E94AFBFCEEAAD3D22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_AFE34192C4CF76A43676BFCEEAADA8D5" xlink:to="loc_us-gaap_VestingDomain_C9D2F8BC78C9147E94AFBFCEEAAD3D22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_4506DBA44012D4573F0FBFCEEAADBBCE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_C9D2F8BC78C9147E94AFBFCEEAAD3D22" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_4506DBA44012D4573F0FBFCEEAADBBCE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_D84626526FAA2E99BF07BFCEEAADFC02" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_C9D2F8BC78C9147E94AFBFCEEAAD3D22" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_D84626526FAA2E99BF07BFCEEAADFC02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_35B249716D0BFBD9FB17BFCEEAADCCC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4C49914D7B136B6AF07DBFCEEAAD43FD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_35B249716D0BFBD9FB17BFCEEAADCCC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_208A253E1337871175EBBFCEEAAD82AF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4C49914D7B136B6AF07DBFCEEAAD43FD" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_208A253E1337871175EBBFCEEAAD82AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_ABEFA80472FD2AE6E8F4BFCEEAAD82A4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4C49914D7B136B6AF07DBFCEEAAD43FD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_ABEFA80472FD2AE6E8F4BFCEEAAD82A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_7A686C7D5E87571BCB8BBFCEEAAD0F8A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4C49914D7B136B6AF07DBFCEEAAD43FD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_7A686C7D5E87571BCB8BBFCEEAAD0F8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_AA9A59C059BB53565352BFCEEAAD0F15" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4C49914D7B136B6AF07DBFCEEAAD43FD" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_AA9A59C059BB53565352BFCEEAAD0F15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_C2C6D69C51FF5C676A7FBFCEEAAD8097" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4C49914D7B136B6AF07DBFCEEAAD43FD" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_C2C6D69C51FF5C676A7FBFCEEAAD8097" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1E74FA0D2C55DBDE18174FBE4E62B6C1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_212B9CF91338C41C80664FBE4E61DEAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1E74FA0D2C55DBDE18174FBE4E62B6C1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_212B9CF91338C41C80664FBE4E61DEAC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C617297B5311AD59A0F04FBE4E61DF7D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_212B9CF91338C41C80664FBE4E61DEAC" xlink:to="loc_us-gaap_AwardTypeAxis_C617297B5311AD59A0F04FBE4E61DF7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71B04C6D871963FFCD654FBE4E6172CF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C617297B5311AD59A0F04FBE4E61DF7D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71B04C6D871963FFCD654FBE4E6172CF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71B04C6D871963FFCD654FBE4E6172CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C617297B5311AD59A0F04FBE4E61DF7D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71B04C6D871963FFCD654FBE4E6172CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_950314A3CE7ED113F5EE4FBE4E61270D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_71B04C6D871963FFCD654FBE4E6172CF" xlink:to="loc_us-gaap_EmployeeStockMember_950314A3CE7ED113F5EE4FBE4E61270D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_78C9D5BD7711A39903124FBE4E6196B0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_212B9CF91338C41C80664FBE4E61DEAC" xlink:to="loc_us-gaap_StatementClassOfStockAxis_78C9D5BD7711A39903124FBE4E6196B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_D230A008FA26307D0CB64FBE4E62F4BF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_78C9D5BD7711A39903124FBE4E6196B0" xlink:to="loc_us-gaap_ClassOfStockDomain_D230A008FA26307D0CB64FBE4E62F4BF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_D230A008FA26307D0CB64FBE4E62F4BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_78C9D5BD7711A39903124FBE4E6196B0" xlink:to="loc_us-gaap_ClassOfStockDomain_D230A008FA26307D0CB64FBE4E62F4BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_462935EFFBA65C4950294FBE4E627005" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_D230A008FA26307D0CB64FBE4E62F4BF" xlink:to="loc_us-gaap_CommonClassAMember_462935EFFBA65C4950294FBE4E627005" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_A8AB89529CFA74FD12C14FBE4E62CB7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1E74FA0D2C55DBDE18174FBE4E62B6C1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_A8AB89529CFA74FD12C14FBE4E62CB7C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_E4347FF776498F1F83E14FBE4E6286FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1E74FA0D2C55DBDE18174FBE4E62B6C1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_E4347FF776498F1F83E14FBE4E6286FE" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods" xlink:label="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_7B5DC81630AE1C760E6C4FBE4E623091" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1E74FA0D2C55DBDE18174FBE4E62B6C1" xlink:to="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_7B5DC81630AE1C760E6C4FBE4E623091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_7300DB8E7BB2A1DE4C634FBE4E6293A9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1E74FA0D2C55DBDE18174FBE4E62B6C1" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_7300DB8E7BB2A1DE4C634FBE4E6293A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_726849D57A120F48DDC54FBE4E626222" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1E74FA0D2C55DBDE18174FBE4E62B6C1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_726849D57A120F48DDC54FBE4E626222" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_3D80B11B66D7F7131ED14FBE4E621A86" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1E74FA0D2C55DBDE18174FBE4E62B6C1" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_3D80B11B66D7F7131ED14FBE4E621A86" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansEarlyExerciseOfStockOptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01FC03FF2185CA5DD0393A9BC60264C8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_40BBAA71EF19785F7B233A9BC602E03D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01FC03FF2185CA5DD0393A9BC60264C8" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_40BBAA71EF19785F7B233A9BC602E03D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_DF5A5C06DC9C373664043A9BC602224E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_40BBAA71EF19785F7B233A9BC602E03D" xlink:to="loc_us-gaap_AwardTypeAxis_DF5A5C06DC9C373664043A9BC602224E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B144B1BFED3ADBC9A053A9BC6025C75_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_DF5A5C06DC9C373664043A9BC602224E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B144B1BFED3ADBC9A053A9BC6025C75_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B144B1BFED3ADBC9A053A9BC6025C75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_DF5A5C06DC9C373664043A9BC602224E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B144B1BFED3ADBC9A053A9BC6025C75" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_EarlyExercisedEmployeeStockOptionMember" xlink:label="loc_mdb_EarlyExercisedEmployeeStockOptionMember_5622DC576657F96FD3453A9BC6023130" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B144B1BFED3ADBC9A053A9BC6025C75" xlink:to="loc_mdb_EarlyExercisedEmployeeStockOptionMember_5622DC576657F96FD3453A9BC6023130" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_E3185663108290BF591F3A9BC60290B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01FC03FF2185CA5DD0393A9BC60264C8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_E3185663108290BF591F3A9BC60290B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_F32E7471B7A403C4DD143A9BC602A6EB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01FC03FF2185CA5DD0393A9BC60264C8" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_F32E7471B7A403C4DD143A9BC602A6EB" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares" xlink:label="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares_74B44FE03FD1D34912CF3A9BC6022907" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01FC03FF2185CA5DD0393A9BC60264C8" xlink:to="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares_74B44FE03FD1D34912CF3A9BC6022907" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase" xlink:label="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase_11DECAB9BBBAADBAA1433A9BC6020A80" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_01FC03FF2185CA5DD0393A9BC60264C8" xlink:to="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase_11DECAB9BBBAADBAA1433A9BC6020A80" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfEsppValuationAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_392CD0DC733836EC4074B5400DBE47C6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0D140E912A7A4A79F8D4B5400DB76118" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_392CD0DC733836EC4074B5400DBE47C6" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0D140E912A7A4A79F8D4B5400DB76118" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_D663D7C9955F7A1C2D59B5400DB89D3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0D140E912A7A4A79F8D4B5400DB76118" xlink:to="loc_srt_RangeAxis_D663D7C9955F7A1C2D59B5400DB89D3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_0DE4FB1CAA27E9060B21B5400DB833BF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_D663D7C9955F7A1C2D59B5400DB89D3C" xlink:to="loc_srt_RangeMember_0DE4FB1CAA27E9060B21B5400DB833BF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_0DE4FB1CAA27E9060B21B5400DB833BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_D663D7C9955F7A1C2D59B5400DB89D3C" xlink:to="loc_srt_RangeMember_0DE4FB1CAA27E9060B21B5400DB833BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_E94D7E379543D8791CEFB5400DB9C122" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0DE4FB1CAA27E9060B21B5400DB833BF" xlink:to="loc_srt_MinimumMember_E94D7E379543D8791CEFB5400DB9C122" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_E2D4684B0E41C2636F0BB5400DB92A56" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0DE4FB1CAA27E9060B21B5400DB833BF" xlink:to="loc_srt_MaximumMember_E2D4684B0E41C2636F0BB5400DB92A56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_BE6131809D07FD436F62B5400DB9F59D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0D140E912A7A4A79F8D4B5400DB76118" xlink:to="loc_us-gaap_AwardTypeAxis_BE6131809D07FD436F62B5400DB9F59D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AFE569186817DC2A7C58B5400DBE9421_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_BE6131809D07FD436F62B5400DB9F59D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AFE569186817DC2A7C58B5400DBE9421_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AFE569186817DC2A7C58B5400DBE9421" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_BE6131809D07FD436F62B5400DB9F59D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AFE569186817DC2A7C58B5400DBE9421" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockMember" xlink:label="loc_us-gaap_EmployeeStockMember_AE71FC687C3FAF3FA81EB5400DBEAE3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_AFE569186817DC2A7C58B5400DBE9421" xlink:to="loc_us-gaap_EmployeeStockMember_AE71FC687C3FAF3FA81EB5400DBEAE3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_142F407B0E8AFF189AFCB5400DBF48C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_392CD0DC733836EC4074B5400DBE47C6" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_142F407B0E8AFF189AFCB5400DBF48C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_0C8BF84D37E501E460A4B5400DBF2DC7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_392CD0DC733836EC4074B5400DBE47C6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_0C8BF84D37E501E460A4B5400DBF2DC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_90BD4832A7165A2A5E03B5400DBF34C2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_392CD0DC733836EC4074B5400DBE47C6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_90BD4832A7165A2A5E03B5400DBF34C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_EF67E142BDFC2D29BB5BB5400DC07D8B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_392CD0DC733836EC4074B5400DBE47C6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_EF67E142BDFC2D29BB5BB5400DC07D8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_44CF668EAFB5027B9169B5400DC05D38" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_392CD0DC733836EC4074B5400DBE47C6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_44CF668EAFB5027B9169B5400DC05D38" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfRsuActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E29FEE34FC8FC0C8D9374FBE4F0DB69E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_67317C8164F1B58843A54FBE4F0CE81C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E29FEE34FC8FC0C8D9374FBE4F0DB69E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_67317C8164F1B58843A54FBE4F0CE81C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_3839CDA074176CC4B62E4FBE4F0DDEF9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_67317C8164F1B58843A54FBE4F0CE81C" xlink:to="loc_us-gaap_AwardTypeAxis_3839CDA074176CC4B62E4FBE4F0DDEF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9F16847CF0D0CCD4B114FBE4F0D50A8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_3839CDA074176CC4B62E4FBE4F0DDEF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9F16847CF0D0CCD4B114FBE4F0D50A8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9F16847CF0D0CCD4B114FBE4F0D50A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_3839CDA074176CC4B62E4FBE4F0DDEF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9F16847CF0D0CCD4B114FBE4F0D50A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_B61763E21EF4107876834FBE4F0D0968" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D9F16847CF0D0CCD4B114FBE4F0D50A8" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_B61763E21EF4107876834FBE4F0D0968" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E18E486C484FEA77A0654FC5B1FF2E4A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E29FEE34FC8FC0C8D9374FBE4F0DB69E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E18E486C484FEA77A0654FC5B1FF2E4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_D71CE8C39BA8C728FF044FBE4F0E5A83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E18E486C484FEA77A0654FC5B1FF2E4A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_D71CE8C39BA8C728FF044FBE4F0E5A83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2746CD3CE51625FD16744FBE4F0E34F0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E18E486C484FEA77A0654FC5B1FF2E4A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2746CD3CE51625FD16744FBE4F0E34F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_6BC113C58DD2BE3425924FBE4F0E016D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E18E486C484FEA77A0654FC5B1FF2E4A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_6BC113C58DD2BE3425924FBE4F0E016D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_E4AEA1560532BB8C91E14FBE4F0EF872" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E18E486C484FEA77A0654FC5B1FF2E4A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_E4AEA1560532BB8C91E14FBE4F0EF872" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0A4A5FDBEB2DAC94DD874FC768019468" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E29FEE34FC8FC0C8D9374FBE4F0DB69E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0A4A5FDBEB2DAC94DD874FC768019468" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_7559A5B7974553DF95584FBE4F0E04CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0A4A5FDBEB2DAC94DD874FC768019468" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_7559A5B7974553DF95584FBE4F0E04CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9DD179089326340C3A8A4FBE4F0EE1F1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0A4A5FDBEB2DAC94DD874FC768019468" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9DD179089326340C3A8A4FBE4F0EE1F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_84905489F6D225615E134FBE4F0E314A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0A4A5FDBEB2DAC94DD874FC768019468" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_84905489F6D225615E134FBE4F0E314A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_16414230644CC32A92004FBE4F0E0659" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0A4A5FDBEB2DAC94DD874FC768019468" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_16414230644CC32A92004FBE4F0E0659" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfStockOptionActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_59C889F17184C1152F12BFBACE43E811" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_59C889F17184C1152F12BFBACE43E811" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B2E0D52BF894CE34CEB2BFBACE43BD65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_59C889F17184C1152F12BFBACE43E811" xlink:to="loc_us-gaap_AwardTypeAxis_B2E0D52BF894CE34CEB2BFBACE43BD65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_050004B479A4D5B48852BFBACE43F588_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B2E0D52BF894CE34CEB2BFBACE43BD65" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_050004B479A4D5B48852BFBACE43F588_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_050004B479A4D5B48852BFBACE43F588" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B2E0D52BF894CE34CEB2BFBACE43BD65" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_050004B479A4D5B48852BFBACE43F588" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_67E9AB554A073C6036A2BFBACE43C9D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_050004B479A4D5B48852BFBACE43F588" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_67E9AB554A073C6036A2BFBACE43C9D7" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_2826EDE56CCAB6BE46CABFBACE468FCE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_2826EDE56CCAB6BE46CABFBACE468FCE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_F97E88A6A55A9D2100B2BFBACE46050C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_F97E88A6A55A9D2100B2BFBACE46050C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_30A3D3886BA6F3E5BC19BFBACE468F8F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_30A3D3886BA6F3E5BC19BFBACE468F8F" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ShareBasedCompensationByShareBasedPaymentAwardEarlyExercisesinPeriodSharesAvailableforGrant" xlink:label="loc_mdb_ShareBasedCompensationByShareBasedPaymentAwardEarlyExercisesinPeriodSharesAvailableforGrant_A1A8E284CA0168D40A99BFBACE466A0A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:to="loc_mdb_ShareBasedCompensationByShareBasedPaymentAwardEarlyExercisesinPeriodSharesAvailableforGrant_A1A8E284CA0168D40A99BFBACE466A0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_09071F358829CDC2844FBFBACE46D03B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_09071F358829CDC2844FBFBACE46D03B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_BFE15A81BDDCAE300222BFBACE478910" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_BFE15A81BDDCAE300222BFBACE478910" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_7B1142E7412243BE7121BFBACE476F57" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_B711E1F2129FF60EBD63BFBACE4489F0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_7B1142E7412243BE7121BFBACE476F57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_687D061DAA6694687F83BFBACE470ABE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_687D061DAA6694687F83BFBACE470ABE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_DBAE62A2596EE490BF64BFBACE471ADD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_687D061DAA6694687F83BFBACE470ABE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_DBAE62A2596EE490BF64BFBACE471ADD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_ECFCE2E06E9DA603DF9DBFBACE488FA9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_687D061DAA6694687F83BFBACE470ABE" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_ECFCE2E06E9DA603DF9DBFBACE488FA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_D5E7D2322722F52A6E23BFBACE48A032" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_D5E7D2322722F52A6E23BFBACE48A032" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_8B818715174717955A63BFBACE48896A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_8B818715174717955A63BFBACE48896A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_04125F578DB063C14B86BFBACE494E56" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_04125F578DB063C14B86BFBACE494E56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_F53CF851CB633031C96EBFBACE4994BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_04125F578DB063C14B86BFBACE494E56" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_F53CF851CB633031C96EBFBACE4994BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_610460B481370F8D023FBFBACE4932E6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_04125F578DB063C14B86BFBACE494E56" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_610460B481370F8D023FBFBACE4932E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_905899E4993A4D879466BFBACE499F19" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_04125F578DB063C14B86BFBACE494E56" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_905899E4993A4D879466BFBACE499F19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_8FC95FB23BA590CD3552BFBACE498703" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_04125F578DB063C14B86BFBACE494E56" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_8FC95FB23BA590CD3552BFBACE498703" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_1208C58DEBB227A01D46BFBACE491F48" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_1208C58DEBB227A01D46BFBACE491F48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_F3F5EDA3BD24D16DCCB6BFBACE4A6C57" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_F3F5EDA3BD24D16DCCB6BFBACE4A6C57" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_7D7FD848C1D0D3C47142BFBACE4A9ACF" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_7D7FD848C1D0D3C47142BFBACE4A9ACF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_32D958FCC93E7BD56B80BFBACE4AF298" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_7D7FD848C1D0D3C47142BFBACE4A9ACF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_32D958FCC93E7BD56B80BFBACE4AF298" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_A4562DC5C19411CAD679BFBACE4AD795" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_7D7FD848C1D0D3C47142BFBACE4A9ACF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_A4562DC5C19411CAD679BFBACE4AD795" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_87E16BE89B06635AD3BCBFBACE4A0872" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_7D7FD848C1D0D3C47142BFBACE4A9ACF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_87E16BE89B06635AD3BCBFBACE4A0872" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_346EED614311BBD1D6A2BFBACE4BAB56" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9224814D1FB2969702F7BFBACE44D021" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_346EED614311BBD1D6A2BFBACE4BAB56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_77643AA07157D270FAF2BFBACE4B0B7D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_346EED614311BBD1D6A2BFBACE4BAB56" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_77643AA07157D270FAF2BFBACE4B0B7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_6A1BFC0F7B5ACCC5AB91BFBACE4B28E0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_346EED614311BBD1D6A2BFBACE4BAB56" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_6A1BFC0F7B5ACCC5AB91BFBACE4B28E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_20B665F74CCEDEFFAE3EBFBACE4B25B9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_346EED614311BBD1D6A2BFBACE4BAB56" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_20B665F74CCEDEFFAE3EBFBACE4B25B9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleOfStockOptionValuationAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9904F4ADE2F640B18270B5B870B3BC43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9904F4ADE2F640B18270B5B870B3BC43" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_46518F41714BEF585929B5B870B4F487" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9904F4ADE2F640B18270B5B870B3BC43" xlink:to="loc_us-gaap_AwardTypeAxis_46518F41714BEF585929B5B870B4F487" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_83036DA451F6E00410EFB5B870B4B7E0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_46518F41714BEF585929B5B870B4F487" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_83036DA451F6E00410EFB5B870B4B7E0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_83036DA451F6E00410EFB5B870B4B7E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_46518F41714BEF585929B5B870B4F487" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_83036DA451F6E00410EFB5B870B4B7E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_376FFC325E6CFB0C2E2FB5B870B42A29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_83036DA451F6E00410EFB5B870B4B7E0" xlink:to="loc_us-gaap_EmployeeStockOptionMember_376FFC325E6CFB0C2E2FB5B870B42A29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_B5E81BE1AF534942FB10B5B870B5D4FD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9904F4ADE2F640B18270B5B870B3BC43" xlink:to="loc_srt_RangeAxis_B5E81BE1AF534942FB10B5B870B5D4FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_D61851F37D4BE6F79EC9B5B870B57401_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_B5E81BE1AF534942FB10B5B870B5D4FD" xlink:to="loc_srt_RangeMember_D61851F37D4BE6F79EC9B5B870B57401_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_D61851F37D4BE6F79EC9B5B870B57401" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_B5E81BE1AF534942FB10B5B870B5D4FD" xlink:to="loc_srt_RangeMember_D61851F37D4BE6F79EC9B5B870B57401" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_B349A9ED193E85D88147B5B870B54B56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_D61851F37D4BE6F79EC9B5B870B57401" xlink:to="loc_srt_MinimumMember_B349A9ED193E85D88147B5B870B54B56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_9F1AA7D904481B497280B5B870B52F73" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_D61851F37D4BE6F79EC9B5B870B57401" xlink:to="loc_srt_MaximumMember_9F1AA7D904481B497280B5B870B52F73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_AA3250681EC446C7EE92B5B870B6A332" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_AA3250681EC446C7EE92B5B870B6A332" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_5AC5B2C9B25FC49641D3B5B870B6892F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_5AC5B2C9B25FC49641D3B5B870B6892F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_0A500AC7835497E4640CB5B870B67B0F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_0A500AC7835497E4640CB5B870B67B0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_426392F242822C837649B5B870B64EDE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_426392F242822C837649B5B870B64EDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_0D54E6BDAD3E6A7363BEB5B870B7D7B2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_0D54E6BDAD3E6A7363BEB5B870B7D7B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_6BC297D32CE8A049980EB5B870B7C680" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_6BC297D32CE8A049980EB5B870B7C680" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_ABBE66FFE1D56EBF0B9AB5B870B7AE4B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EDB0D9034A06DDDB304CB5B870B6F829" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_ABBE66FFE1D56EBF0B9AB5B870B7AE4B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockBasedCompensationExpenseRecognizedInStatementOfOperationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED549433458A135156FC3A9BC6FA39EB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DB38D16939123CBDF0373A9BC6F95E11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED549433458A135156FC3A9BC6FA39EB" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DB38D16939123CBDF0373A9BC6F95E11" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_B4CEFC323E9243E33DD03A9BC6F9930D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DB38D16939123CBDF0373A9BC6F95E11" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_B4CEFC323E9243E33DD03A9BC6F9930D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_B4CEFC323E9243E33DD03A9BC6F9930D" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_B4CEFC323E9243E33DD03A9BC6F9930D" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_CostofRevenueSubscriptionMember" xlink:label="loc_mdb_CostofRevenueSubscriptionMember_2AE77BF3247B5A2457703A9BC6FA460B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5" xlink:to="loc_mdb_CostofRevenueSubscriptionMember_2AE77BF3247B5A2457703A9BC6FA460B" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_CostofRevenueServicesMember" xlink:label="loc_mdb_CostofRevenueServicesMember_79CA5FF00AA5317898A33A9BC6FAE972" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5" xlink:to="loc_mdb_CostofRevenueServicesMember_79CA5FF00AA5317898A33A9BC6FAE972" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_6E38FA8DC0AA115F9D993A9BC6FA37AD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_6E38FA8DC0AA115F9D993A9BC6FA37AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_F9C1F2BECE073E3E17233A9BC6FAB7D1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_F9C1F2BECE073E3E17233A9BC6FAB7D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_8FF98599BEC910859D283A9BC6FA2C03" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_712838D7FF9E192099A33A9BC6F93DE5" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_8FF98599BEC910859D283A9BC6FA2C03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_5B282F336FA3589CB04A3A9BC6FA970E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED549433458A135156FC3A9BC6FA39EB" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_5B282F336FA3589CB04A3A9BC6FA970E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockOptionRepricingDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9895333403C2291D95A53A9BC4541B62" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9865F8E10FAC65283EFF3A9BC4531B94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9895333403C2291D95A53A9BC4541B62" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9865F8E10FAC65283EFF3A9BC4531B94" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_0E56E095B55C6DE265DA3A9BC453F51B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9865F8E10FAC65283EFF3A9BC4531B94" xlink:to="loc_us-gaap_AwardTypeAxis_0E56E095B55C6DE265DA3A9BC453F51B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCB1A7563A13562EE9493A9BC453B82F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0E56E095B55C6DE265DA3A9BC453F51B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCB1A7563A13562EE9493A9BC453B82F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCB1A7563A13562EE9493A9BC453B82F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0E56E095B55C6DE265DA3A9BC453F51B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCB1A7563A13562EE9493A9BC453B82F" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_StockOptionRepricingMember" xlink:label="loc_mdb_StockOptionRepricingMember_44150641E48F72AFB84D3A9BC4539FE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCB1A7563A13562EE9493A9BC453B82F" xlink:to="loc_mdb_StockOptionRepricingMember_44150641E48F72AFB84D3A9BC4539FE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_8D555A7CF2552A7636C23A9BC453DA4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9865F8E10FAC65283EFF3A9BC4531B94" xlink:to="loc_srt_RangeAxis_8D555A7CF2552A7636C23A9BC453DA4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_9C220BF5AE2997D445743A9BC454BED3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_8D555A7CF2552A7636C23A9BC453DA4D" xlink:to="loc_srt_RangeMember_9C220BF5AE2997D445743A9BC454BED3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_9C220BF5AE2997D445743A9BC454BED3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_8D555A7CF2552A7636C23A9BC453DA4D" xlink:to="loc_srt_RangeMember_9C220BF5AE2997D445743A9BC454BED3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_68945FECF2C2179D57F03A9BC454C7FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9C220BF5AE2997D445743A9BC454BED3" xlink:to="loc_srt_MinimumMember_68945FECF2C2179D57F03A9BC454C7FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_54AD721C8AD0C0BF558C3A9BC454624D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9865F8E10FAC65283EFF3A9BC4531B94" xlink:to="loc_us-gaap_TitleOfIndividualAxis_54AD721C8AD0C0BF558C3A9BC454624D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_EDCD99437BD1F11B27E73A9BC45427A6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_54AD721C8AD0C0BF558C3A9BC454624D" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_EDCD99437BD1F11B27E73A9BC45427A6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_EDCD99437BD1F11B27E73A9BC45427A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_54AD721C8AD0C0BF558C3A9BC454624D" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_EDCD99437BD1F11B27E73A9BC45427A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExecutiveOfficerMember" xlink:label="loc_us-gaap_ExecutiveOfficerMember_33F1EA4ACF41C193FFA43A9BC45491CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_EDCD99437BD1F11B27E73A9BC45427A6" xlink:to="loc_us-gaap_ExecutiveOfficerMember_33F1EA4ACF41C193FFA43A9BC45491CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_FC53149C1C92A92646433A9BC4542CC2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9895333403C2291D95A53A9BC4541B62" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_FC53149C1C92A92646433A9BC4542CC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_B3A4A9A1C54A01C27A353A9BC45441CA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9895333403C2291D95A53A9BC4541B62" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_B3A4A9A1C54A01C27A353A9BC45441CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost_7304250821DB4C5A56223A9BC4549A94" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9895333403C2291D95A53A9BC4541B62" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost_7304250821DB4C5A56223A9BC4549A94" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockOptionsAndRestrictedStockUnitsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6118FBFE3CC8A6FB194077F03F45F8C4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_49B90C58AE86EC3BF54B77F03F43A672" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6118FBFE3CC8A6FB194077F03F45F8C4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_49B90C58AE86EC3BF54B77F03F43A672" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_2297B452E6113782E7D877F03F430CF9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_49B90C58AE86EC3BF54B77F03F43A672" xlink:to="loc_us-gaap_AwardTypeAxis_2297B452E6113782E7D877F03F430CF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2B0A0BC4438119F57CF377F03F43AC3D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2297B452E6113782E7D877F03F430CF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2B0A0BC4438119F57CF377F03F43AC3D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2B0A0BC4438119F57CF377F03F43AC3D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2297B452E6113782E7D877F03F430CF9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2B0A0BC4438119F57CF377F03F43AC3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_0BF1FD2E27FFF79183F877F03F44A140" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2B0A0BC4438119F57CF377F03F43AC3D" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_0BF1FD2E27FFF79183F877F03F44A140" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_0C9FA177CFAA1DAC512E77F03F44835A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2B0A0BC4438119F57CF377F03F43AC3D" xlink:to="loc_us-gaap_EmployeeStockOptionMember_0C9FA177CFAA1DAC512E77F03F44835A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_668D420E045DF9A1028777F03F458040" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6118FBFE3CC8A6FB194077F03F45F8C4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_668D420E045DF9A1028777F03F458040" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_976DE185692F748D1FD677F03F45D5D7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6118FBFE3CC8A6FB194077F03F45F8C4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_976DE185692F748D1FD677F03F45D5D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_EA1837BCAE6F876C0C6677F03F458C01" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6118FBFE3CC8A6FB194077F03F45F8C4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_EA1837BCAE6F876C0C6677F03F458C01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_76D5200985D3A752A88B77F03F456C7B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6118FBFE3CC8A6FB194077F03F45F8C4" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_76D5200985D3A752A88B77F03F456C7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_75A5A8A49623582FDF7277F03F462C9B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6118FBFE3CC8A6FB194077F03F45F8C4" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_75A5A8A49623582FDF7277F03F462C9B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6709C7BC685CC0D016494F4438C9A9BA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C7589A6F5A8A05EFA1934F4438C8858F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6709C7BC685CC0D016494F4438C9A9BA" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C7589A6F5A8A05EFA1934F4438C8858F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_F686120EBC3875ACEEBB4F4438C8C0FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C7589A6F5A8A05EFA1934F4438C8858F" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_F686120EBC3875ACEEBB4F4438C8C0FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_38886EB282A596E193024F4438C8E17F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_F686120EBC3875ACEEBB4F4438C8C0FD" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_38886EB282A596E193024F4438C8E17F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_38886EB282A596E193024F4438C8E17F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_F686120EBC3875ACEEBB4F4438C8C0FD" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_38886EB282A596E193024F4438C8E17F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_186D8BAFE09295F5FAF54F4438C8707A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_38886EB282A596E193024F4438C8E17F" xlink:to="loc_us-gaap_MoneyMarketFundsMember_186D8BAFE09295F5FAF54F4438C8707A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_E9E850BFD905A43278AF4F4438C99900" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_38886EB282A596E193024F4438C8E17F" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_E9E850BFD905A43278AF4F4438C99900" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_621D752AB916316741D84F4438C94FE3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C7589A6F5A8A05EFA1934F4438C8858F" xlink:to="loc_us-gaap_FinancialInstrumentAxis_621D752AB916316741D84F4438C94FE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_496806C14B920AE11E854F4438C9C9B4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_621D752AB916316741D84F4438C94FE3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_496806C14B920AE11E854F4438C9C9B4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_496806C14B920AE11E854F4438C9C9B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_621D752AB916316741D84F4438C94FE3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_496806C14B920AE11E854F4438C9C9B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_24A24F2897EAC1B0570B4F4438C9691E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_496806C14B920AE11E854F4438C9C9B4" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_24A24F2897EAC1B0570B4F4438C9691E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2DFD01FA646DE838CDE54F4438C92224" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C7589A6F5A8A05EFA1934F4438C8858F" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2DFD01FA646DE838CDE54F4438C92224" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_E9D3141E3CA89EA199994F4438C9A4C2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2DFD01FA646DE838CDE54F4438C92224" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_E9D3141E3CA89EA199994F4438C9A4C2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_E9D3141E3CA89EA199994F4438C9A4C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2DFD01FA646DE838CDE54F4438C92224" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_E9D3141E3CA89EA199994F4438C9A4C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_6F9399D9ED27B3C029304F4438C9C2E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_E9D3141E3CA89EA199994F4438C9A4C2" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_6F9399D9ED27B3C029304F4438C9C2E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1C2651945C13B07E64F84F4438C9223F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C7589A6F5A8A05EFA1934F4438C8858F" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1C2651945C13B07E64F84F4438C9223F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A94EC1E2573E06D425254F4438C947EC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1C2651945C13B07E64F84F4438C9223F" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A94EC1E2573E06D425254F4438C947EC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A94EC1E2573E06D425254F4438C947EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1C2651945C13B07E64F84F4438C9223F" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A94EC1E2573E06D425254F4438C947EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_D864EA5F335B4CE8460E4F4438C9D012" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A94EC1E2573E06D425254F4438C947EC" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_D864EA5F335B4CE8460E4F4438C9D012" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_9F822A068917E29A14054F4438C9272E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A94EC1E2573E06D425254F4438C947EC" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_9F822A068917E29A14054F4438C9272E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_370A79951A6CAF612F3D4F4438C936FF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A94EC1E2573E06D425254F4438C947EC" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_370A79951A6CAF612F3D4F4438C936FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_EF93992E6FE08437B5944F4438C96388" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6709C7BC685CC0D016494F4438C9A9BA" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_EF93992E6FE08437B5944F4438C96388" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAbstract" xlink:label="loc_us-gaap_CashAndCashEquivalentsAbstract_149A8A8996ED50F9CF754F4438CA241E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_EF93992E6FE08437B5944F4438C96388" xlink:to="loc_us-gaap_CashAndCashEquivalentsAbstract_149A8A8996ED50F9CF754F4438CA241E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_3F671396138F043797874F4438CAB5AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsAbstract_149A8A8996ED50F9CF754F4438CA241E" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_3F671396138F043797874F4438CAB5AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestmentsAbstract" xlink:label="loc_us-gaap_ShortTermInvestmentsAbstract_FD1BC93714EF5A60938E4F4438CA7B57" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_EF93992E6FE08437B5944F4438C96388" xlink:to="loc_us-gaap_ShortTermInvestmentsAbstract_FD1BC93714EF5A60938E4F4438CA7B57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1AC474F668C2272AB5604F4438CACB8A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_FD1BC93714EF5A60938E4F4438CA7B57" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1AC474F668C2272AB5604F4438CACB8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_ADC482624C28224CF2EA4F4438CF7593" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_EF93992E6FE08437B5944F4438C96388" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_ADC482624C28224CF2EA4F4438CF7593" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_1E9AE0DA3C2FA066F478C6A94FB5430D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_8E88E755D6E58ADA13BBC6A94FB4F073" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_1E9AE0DA3C2FA066F478C6A94FB5430D" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_8E88E755D6E58ADA13BBC6A94FB4F073" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AE9139A93F8B394C1E7BC6A94FB56FE0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_8E88E755D6E58ADA13BBC6A94FB4F073" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AE9139A93F8B394C1E7BC6A94FB56FE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0ED1CC48C38C43381646C6A94FB5321B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AE9139A93F8B394C1E7BC6A94FB56FE0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0ED1CC48C38C43381646C6A94FB5321B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0ED1CC48C38C43381646C6A94FB5321B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AE9139A93F8B394C1E7BC6A94FB56FE0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0ED1CC48C38C43381646C6A94FB5321B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_B09D3026DBAF3991B4F2C6A94FB5516B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0ED1CC48C38C43381646C6A94FB5321B" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_B09D3026DBAF3991B4F2C6A94FB5516B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InternetDomainNamesMember" xlink:label="loc_us-gaap_InternetDomainNamesMember_2A5CA2435B176D60C5B9C6A94FB56959" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0ED1CC48C38C43381646C6A94FB5321B" xlink:to="loc_us-gaap_InternetDomainNamesMember_2A5CA2435B176D60C5B9C6A94FB56959" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_FF04E99A15B6E15CC0C6C6A94FB5C229" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0ED1CC48C38C43381646C6A94FB5321B" xlink:to="loc_us-gaap_CustomerRelationshipsMember_FF04E99A15B6E15CC0C6C6A94FB5C229" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_0F62564F68A113993C4CC6A94FB56D89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_1E9AE0DA3C2FA066F478C6A94FB5430D" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_0F62564F68A113993C4CC6A94FB56D89" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetScheduleOfGoodwillDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetScheduleOfIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C9C7E41D0A838B706919C6A9505B114F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_2C47372BD9CD9FE068F6C6A950583598" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C9C7E41D0A838B706919C6A9505B114F" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_2C47372BD9CD9FE068F6C6A950583598" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01B635281BBB45EFE728C6A95058BAF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_2C47372BD9CD9FE068F6C6A950583598" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01B635281BBB45EFE728C6A95058BAF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1708CDFB081D3397BFCAC6A950588010_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01B635281BBB45EFE728C6A95058BAF4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1708CDFB081D3397BFCAC6A950588010_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1708CDFB081D3397BFCAC6A950588010" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01B635281BBB45EFE728C6A95058BAF4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1708CDFB081D3397BFCAC6A950588010" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_39B7672334736B4E4DF3C6A9505803FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1708CDFB081D3397BFCAC6A950588010" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_39B7672334736B4E4DF3C6A9505803FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InternetDomainNamesMember" xlink:label="loc_us-gaap_InternetDomainNamesMember_6C5F12BEF13476283682C6A9505B87D9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1708CDFB081D3397BFCAC6A950588010" xlink:to="loc_us-gaap_InternetDomainNamesMember_6C5F12BEF13476283682C6A9505B87D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_C908F74B811E4B6A9609C6A9505BE512" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1708CDFB081D3397BFCAC6A950588010" xlink:to="loc_us-gaap_CustomerRelationshipsMember_C908F74B811E4B6A9609C6A9505BE512" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_891E1AA46864FEE52F8EC6A9505B48F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C9C7E41D0A838B706919C6A9505B114F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_891E1AA46864FEE52F8EC6A9505B48F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_D6BE499833B7DC3175F8C6A9505B11DE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C9C7E41D0A838B706919C6A9505B114F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_D6BE499833B7DC3175F8C6A9505B11DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_7BEE96DC376E3DBCEE35C6A9505B003E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_C9C7E41D0A838B706919C6A9505B114F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_7BEE96DC376E3DBCEE35C6A9505B003E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillAndAcquiredIntangibleAssetsNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_1EF2AD9B027695A39DB1CB8AC0A1B9D6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_FCFF93ECDF347F1A64EBCB8AC0A0E19F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_1EF2AD9B027695A39DB1CB8AC0A1B9D6" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_FCFF93ECDF347F1A64EBCB8AC0A0E19F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_05D3AAD25C538D8B642BCB8AC0A0552E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_FCFF93ECDF347F1A64EBCB8AC0A0E19F" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_05D3AAD25C538D8B642BCB8AC0A0552E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_F9F3DB3EC954B20CDD7ECB8AC0A0CE1A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_05D3AAD25C538D8B642BCB8AC0A0552E" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_F9F3DB3EC954B20CDD7ECB8AC0A0CE1A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_F9F3DB3EC954B20CDD7ECB8AC0A0CE1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_05D3AAD25C538D8B642BCB8AC0A0552E" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_F9F3DB3EC954B20CDD7ECB8AC0A0CE1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchMember" xlink:label="loc_us-gaap_ResearchMember_054E8CE66107CA91F9F5CB8AC0A02A5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_F9F3DB3EC954B20CDD7ECB8AC0A0CE1A" xlink:to="loc_us-gaap_ResearchMember_054E8CE66107CA91F9F5CB8AC0A02A5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_CCFEF48DD3B90B391E53CB8AC0A00084" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_FCFF93ECDF347F1A64EBCB8AC0A0E19F" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_CCFEF48DD3B90B391E53CB8AC0A00084" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_D5DCE01DC42B371CBAF6CB8AC0A0026D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_CCFEF48DD3B90B391E53CB8AC0A00084" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_D5DCE01DC42B371CBAF6CB8AC0A0026D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_D5DCE01DC42B371CBAF6CB8AC0A0026D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_CCFEF48DD3B90B391E53CB8AC0A00084" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_D5DCE01DC42B371CBAF6CB8AC0A0026D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_F474BE90B3BD5BBFD53DCB8AC0A1F72F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_D5DCE01DC42B371CBAF6CB8AC0A0026D" xlink:to="loc_us-gaap_DomesticCountryMember_F474BE90B3BD5BBFD53DCB8AC0A1F72F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_23AD863A3E318248B68ACB8AC0A14C19" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_D5DCE01DC42B371CBAF6CB8AC0A0026D" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_23AD863A3E318248B68ACB8AC0A14C19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_75675D556FA956067EA6CB8AC0A1C499" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_D5DCE01DC42B371CBAF6CB8AC0A0026D" xlink:to="loc_us-gaap_ForeignCountryMember_75675D556FA956067EA6CB8AC0A1C499" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_AFDA8116F618C39CEACCCB8AC0A18214" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_1EF2AD9B027695A39DB1CB8AC0A1B9D6" xlink:to="loc_us-gaap_OperatingLossCarryforwards_AFDA8116F618C39CEACCCB8AC0A18214" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_45A53E4AAC23EBD9A0D4CB8AC0A15BAB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_1EF2AD9B027695A39DB1CB8AC0A1B9D6" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_45A53E4AAC23EBD9A0D4CB8AC0A15BAB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfComponentsOfLossBeforeProvisionForIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfComponentsOfProvisionForIncomeTaxDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfEffectiveIncomeTaxRateDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_8FE3641479E6A1D61C67BFE5C10F96E1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_CC9D2A09F3813ED2455DBFE5C10E012B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_8FE3641479E6A1D61C67BFE5C10F96E1" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_CC9D2A09F3813ED2455DBFE5C10E012B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_3206AFB302A7BC5BA38BBFE5C10E2B96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_CC9D2A09F3813ED2455DBFE5C10E012B" xlink:to="loc_us-gaap_StatementClassOfStockAxis_3206AFB302A7BC5BA38BBFE5C10E2B96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_EE2BB23F70484AE4E73EBFE5C10F1B51_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_3206AFB302A7BC5BA38BBFE5C10E2B96" xlink:to="loc_us-gaap_ClassOfStockDomain_EE2BB23F70484AE4E73EBFE5C10F1B51_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_EE2BB23F70484AE4E73EBFE5C10F1B51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_3206AFB302A7BC5BA38BBFE5C10E2B96" xlink:to="loc_us-gaap_ClassOfStockDomain_EE2BB23F70484AE4E73EBFE5C10F1B51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_BAC35DA72F0335002092BFE5C206606D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_EE2BB23F70484AE4E73EBFE5C10F1B51" xlink:to="loc_us-gaap_CommonClassAMember_BAC35DA72F0335002092BFE5C206606D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_7B6BA0BE115578FCD3B3BFE5C24684B6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_EE2BB23F70484AE4E73EBFE5C10F1B51" xlink:to="loc_us-gaap_CommonClassBMember_7B6BA0BE115578FCD3B3BFE5C24684B6" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_CommonStockVotingRightsNumberofVotesPerShare" xlink:label="loc_mdb_CommonStockVotingRightsNumberofVotesPerShare_4E00AD65BEAE3B293FBCBFE5C1832298" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_8FE3641479E6A1D61C67BFE5C10F96E1" xlink:to="loc_mdb_CommonStockVotingRightsNumberofVotesPerShare_4E00AD65BEAE3B293FBCBFE5C1832298" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfDilutedNetLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_6D8DB0ADE86747E3441B91563739B50F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_D0749DB08176E146B45191563736F713" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_6D8DB0ADE86747E3441B91563739B50F" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_D0749DB08176E146B45191563736F713" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_EF9B1BDD8F6691733EC5915637371B8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_D0749DB08176E146B45191563736F713" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_EF9B1BDD8F6691733EC5915637371B8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_EF9B1BDD8F6691733EC5915637371B8D" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_EF9B1BDD8F6691733EC5915637371B8D" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RedeemableConvertiblePreferredStockMember" xlink:label="loc_us-gaap_RedeemableConvertiblePreferredStockMember_115582CDB98C34FBAEE29156373797E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:to="loc_us-gaap_RedeemableConvertiblePreferredStockMember_115582CDB98C34FBAEE29156373797E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember" xlink:label="loc_us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember_A999022DEB7FC9F740A39156373806D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:to="loc_us-gaap_WarrantsAndRightsSubjectToMandatoryRedemptionMember_A999022DEB7FC9F740A39156373806D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaap_WarrantMember_85207BD3B86B7383CBF091563738D94B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:to="loc_us-gaap_WarrantMember_85207BD3B86B7383CBF091563738D94B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_18091A50508F302045F1915637382E08" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:to="loc_us-gaap_EmployeeStockOptionMember_18091A50508F302045F1915637382E08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_6F016AB1FE21BE69B009915637389679" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_6F016AB1FE21BE69B009915637389679" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_EarlyExercisedEmployeeStockOptionMember" xlink:label="loc_mdb_EarlyExercisedEmployeeStockOptionMember_E9DC0F27CB0C97FA232A91563738D693" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:to="loc_mdb_EarlyExercisedEmployeeStockOptionMember_E9DC0F27CB0C97FA232A91563738D693" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtSecuritiesMember" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_A7DB8E8553556AC54386915637388BD6" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A28D20D552CFDAD3845091563737C1D4" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_A7DB8E8553556AC54386915637388BD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_07FF277D11F165E7D741915637381D3F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_D0749DB08176E146B45191563736F713" xlink:to="loc_us-gaap_StatementClassOfStockAxis_07FF277D11F165E7D741915637381D3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_69BD16452F058570656F915637395B8C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_07FF277D11F165E7D741915637381D3F" xlink:to="loc_us-gaap_ClassOfStockDomain_69BD16452F058570656F915637395B8C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_69BD16452F058570656F915637395B8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_07FF277D11F165E7D741915637381D3F" xlink:to="loc_us-gaap_ClassOfStockDomain_69BD16452F058570656F915637395B8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_C8B29E273B0F06CE22FB9156373940E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_69BD16452F058570656F915637395B8C" xlink:to="loc_us-gaap_CommonClassAMember_C8B29E273B0F06CE22FB9156373940E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_4F8B898A7408C1B67106915637391D4A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_69BD16452F058570656F915637395B8C" xlink:to="loc_us-gaap_CommonClassBMember_4F8B898A7408C1B67106915637391D4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9A234DE70434D1D7BE4D9156373ABA78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_6D8DB0ADE86747E3441B91563739B50F" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9A234DE70434D1D7BE4D9156373ABA78" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareScheduleOfBasicAndDilutedEarningsLossPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/OrganizationAndDescriptionOfBusiness" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyAndEquipmentNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyAndEquipmentNetAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyAndEquipmentNetScheduleDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_AD169A55057067E3BABB3A9BC4A11A3B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5A06F0A403078E4802DF3A9BC4A08B08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_AD169A55057067E3BABB3A9BC4A11A3B" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5A06F0A403078E4802DF3A9BC4A08B08" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_90526CEEA547B9B8A1373A9BC4A0ED51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5A06F0A403078E4802DF3A9BC4A08B08" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_90526CEEA547B9B8A1373A9BC4A0ED51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_90526CEEA547B9B8A1373A9BC4A0ED51" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_90526CEEA547B9B8A1373A9BC4A0ED51" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_D04D2073488AF149988A3A9BC4A0EE6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:to="loc_us-gaap_ComputerEquipmentMember_D04D2073488AF149988A3A9BC4A0EE6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_CF5EA294A4B0C02241C73A9BC4A17B9B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_CF5EA294A4B0C02241C73A9BC4A17B9B" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ComputerAndOfficeEquipmentMember" xlink:label="loc_mdb_ComputerAndOfficeEquipmentMember_58AD9CF0E0D76FC7D5FD3A9BC4A1ECA7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:to="loc_mdb_ComputerAndOfficeEquipmentMember_58AD9CF0E0D76FC7D5FD3A9BC4A1ECA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_0C7797DB111B0CA4E2833A9BC4A1965C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_0C7797DB111B0CA4E2833A9BC4A1965C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_731A0E0A95217E6109FF3A9BC4A15886" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_731A0E0A95217E6109FF3A9BC4A15886" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_8A156BCA0EF0BD21D8FD3A9BC4A1A14A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:to="loc_us-gaap_ConstructionInProgressMember_8A156BCA0EF0BD21D8FD3A9BC4A1A14A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_8E420290434D56BE45E43A9BC4A1020A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_A5F5B9A03641E667B16B3A9BC4A0659D" xlink:to="loc_us-gaap_BuildingMember_8E420290434D56BE45E43A9BC4A1020A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_4948E10B2D305D9D8AAF3A9BC4A13F77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_AD169A55057067E3BABB3A9BC4A11A3B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_4948E10B2D305D9D8AAF3A9BC4A13F77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_4CDCFB0D8323750E78073A9BC4A106F3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_AD169A55057067E3BABB3A9BC4A11A3B" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_4CDCFB0D8323750E78073A9BC4A106F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_C5A8784F981058F3417B3A9BC4A178B8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_AD169A55057067E3BABB3A9BC4A11A3B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_C5A8784F981058F3417B3A9BC4A178B8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyAndEquipmentNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/Revenue" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_2A5A2FA497B3CE84E1EAC78901BAC07B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_365539F523F67C4F4EC4C78901B972FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_2A5A2FA497B3CE84E1EAC78901BAC07B" xlink:to="loc_us-gaap_ConcentrationRiskTable_365539F523F67C4F4EC4C78901B972FD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_C43FCC37C46D3868BD5EC78901B900A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_365539F523F67C4F4EC4C78901B972FD" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_C43FCC37C46D3868BD5EC78901B900A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_3C602D821291D5FF926BC78901B9B23F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_C43FCC37C46D3868BD5EC78901B900A7" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_3C602D821291D5FF926BC78901B9B23F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_3C602D821291D5FF926BC78901B9B23F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_C43FCC37C46D3868BD5EC78901B900A7" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_3C602D821291D5FF926BC78901B9B23F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeographicConcentrationRiskMember" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_0C668C84DEB8A31B501EC78901B9F8A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_3C602D821291D5FF926BC78901B9B23F" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_0C668C84DEB8A31B501EC78901B9F8A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_A63C16161D6C7F26DE8DC78901B912D8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_365539F523F67C4F4EC4C78901B972FD" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_A63C16161D6C7F26DE8DC78901B912D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9DC3130A5B3C527590B9C78901B90DD1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_A63C16161D6C7F26DE8DC78901B912D8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9DC3130A5B3C527590B9C78901B90DD1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9DC3130A5B3C527590B9C78901B90DD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_A63C16161D6C7F26DE8DC78901B912D8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9DC3130A5B3C527590B9C78901B90DD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_BF1CB8A2ADB0ACA301D3C78901BA0E84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9DC3130A5B3C527590B9C78901B90DD1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_BF1CB8A2ADB0ACA301D3C78901BA0E84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_E74AE848A5DB725E31C7C78901BA1EAC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_365539F523F67C4F4EC4C78901B972FD" xlink:to="loc_srt_StatementGeographicalAxis_E74AE848A5DB725E31C7C78901BA1EAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_AAA835401BC4FF7AED1BC78901BAA609_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_E74AE848A5DB725E31C7C78901BA1EAC" xlink:to="loc_srt_SegmentGeographicalDomain_AAA835401BC4FF7AED1BC78901BAA609_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_AAA835401BC4FF7AED1BC78901BAA609" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_E74AE848A5DB725E31C7C78901BA1EAC" xlink:to="loc_srt_SegmentGeographicalDomain_AAA835401BC4FF7AED1BC78901BAA609" 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_4D92C6CE87D1E3477D08C78901BACB0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_AAA835401BC4FF7AED1BC78901BAA609" xlink:to="loc_country_US_4D92C6CE87D1E3477D08C78901BACB0B" 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_6B9AB4394B51E8CAD842C78901BA2906" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_AAA835401BC4FF7AED1BC78901BAA609" xlink:to="loc_country_GB_6B9AB4394B51E8CAD842C78901BA2906" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueAbstract" xlink:label="loc_us-gaap_DisaggregationOfRevenueAbstract_3F7F5FDCC11AF525A371C78901BA829F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_2A5A2FA497B3CE84E1EAC78901BAC07B" xlink:to="loc_us-gaap_DisaggregationOfRevenueAbstract_3F7F5FDCC11AF525A371C78901BA829F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_FD3A6C918FF1D301144DC78901BAAB23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueAbstract_3F7F5FDCC11AF525A371C78901BA829F" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_FD3A6C918FF1D301144DC78901BAAB23" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueContractAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueCostsCapitalizedToObtainContractsWithCustomersDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_B0819C583AC50048CCBEC6C019FB276E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_A4AEB5A3C8F0B537941DC6C019F6A618" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_B0819C583AC50048CCBEC6C019FB276E" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_A4AEB5A3C8F0B537941DC6C019F6A618" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_D5F1D57CB445C67B046EC6C019F66CCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_A4AEB5A3C8F0B537941DC6C019F6A618" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_D5F1D57CB445C67B046EC6C019F66CCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_B6399DE53027E271BB0FC6F894E5428B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_B0819C583AC50048CCBEC6C019FB276E" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_B6399DE53027E271BB0FC6F894E5428B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_7E392D9B8F717C0B25E3C6C8B5BD9C40" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_B0819C583AC50048CCBEC6C019FB276E" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_7E392D9B8F717C0B25E3C6C8B5BD9C40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_E5FEFB6B90A619E1E40DC6C019FB55B2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_B0819C583AC50048CCBEC6C019FB276E" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_E5FEFB6B90A619E1E40DC6C019FB55B2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueScheduleOfDisaggregationOfRevenueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_EF610DB6CC8ABCDBC071CB8B7464F4B9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_2265DBB8647B43E2E470CB8B7463A8DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_EF610DB6CC8ABCDBC071CB8B7464F4B9" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_2265DBB8647B43E2E470CB8B7463A8DD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_B0C7FB0A80543C0AAE29CB8B746327C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_2265DBB8647B43E2E470CB8B7463A8DD" xlink:to="loc_srt_StatementGeographicalAxis_B0C7FB0A80543C0AAE29CB8B746327C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_BBE492A174FDC3043A74CB8B7463A5F6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_B0C7FB0A80543C0AAE29CB8B746327C9" xlink:to="loc_srt_SegmentGeographicalDomain_BBE492A174FDC3043A74CB8B7463A5F6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_BBE492A174FDC3043A74CB8B7463A5F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_B0C7FB0A80543C0AAE29CB8B746327C9" xlink:to="loc_srt_SegmentGeographicalDomain_BBE492A174FDC3043A74CB8B7463A5F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_AmericasMember" xlink:label="loc_srt_AmericasMember_930F9E3A977A2747B01DCB8B7464D5B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_BBE492A174FDC3043A74CB8B7463A5F6" xlink:to="loc_srt_AmericasMember_930F9E3A977A2747B01DCB8B7464D5B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EMEAMember" xlink:label="loc_us-gaap_EMEAMember_2D2CF459291B944BE6A3CBCAF1CEEE01" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_BBE492A174FDC3043A74CB8B7463A5F6" xlink:to="loc_us-gaap_EMEAMember_2D2CF459291B944BE6A3CBCAF1CEEE01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_AsiaPacificMember" xlink:label="loc_srt_AsiaPacificMember_CD069FA52E82866B836CCB8B74641795" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_BBE492A174FDC3043A74CB8B7463A5F6" xlink:to="loc_srt_AsiaPacificMember_CD069FA52E82866B836CCB8B74641795" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_369B3835BE83CFC5E3BCCB8B7464BA1F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_2265DBB8647B43E2E470CB8B7463A8DD" xlink:to="loc_srt_ProductOrServiceAxis_369B3835BE83CFC5E3BCCB8B7464BA1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_2E83212A0DAE79875F5FCB8B7464C145_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_369B3835BE83CFC5E3BCCB8B7464BA1F" xlink:to="loc_srt_ProductsAndServicesDomain_2E83212A0DAE79875F5FCB8B7464C145_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_2E83212A0DAE79875F5FCB8B7464C145" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_369B3835BE83CFC5E3BCCB8B7464BA1F" xlink:to="loc_srt_ProductsAndServicesDomain_2E83212A0DAE79875F5FCB8B7464C145" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_MongoDBAtlasRelatedMember" xlink:label="loc_mdb_MongoDBAtlasRelatedMember_AB7B7AB6A116C9DDC5B6CB8B746472A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_2E83212A0DAE79875F5FCB8B7464C145" xlink:to="loc_mdb_MongoDBAtlasRelatedMember_AB7B7AB6A116C9DDC5B6CB8B746472A6" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_OtherSubscriptionMember" xlink:label="loc_mdb_OtherSubscriptionMember_E1B9B80D0B59EF2649D2CB8B7464FA41" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_2E83212A0DAE79875F5FCB8B7464C145" xlink:to="loc_mdb_OtherSubscriptionMember_E1B9B80D0B59EF2649D2CB8B7464FA41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ServiceMember" xlink:label="loc_us-gaap_ServiceMember_26BD01633F83D202F038CB8B7464268F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_2E83212A0DAE79875F5FCB8B7464C145" xlink:to="loc_us-gaap_ServiceMember_26BD01633F83D202F038CB8B7464268F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_E51B7CF0C7FE19DA9AE6CB8B7464C841" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_EF610DB6CC8ABCDBC071CB8B7464F4B9" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_E51B7CF0C7FE19DA9AE6CB8B7464C841" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/StockholdersEquityDeficit" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/StockholdersEquityDeficitDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_9D4BDCFB7C0522EED61F4F4437F9CC7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_9D4BDCFB7C0522EED61F4F4437F9CC7E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_601E559F8B78DDD564B44F4437FA5618" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_9D4BDCFB7C0522EED61F4F4437F9CC7E" xlink:to="loc_us-gaap_StatementClassOfStockAxis_601E559F8B78DDD564B44F4437FA5618" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_01A8FF41A7DF89121E0C4F4437FA3294_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_601E559F8B78DDD564B44F4437FA5618" xlink:to="loc_us-gaap_ClassOfStockDomain_01A8FF41A7DF89121E0C4F4437FA3294_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_01A8FF41A7DF89121E0C4F4437FA3294" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_601E559F8B78DDD564B44F4437FA5618" xlink:to="loc_us-gaap_ClassOfStockDomain_01A8FF41A7DF89121E0C4F4437FA3294" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_29C904F81445FF49261D4F4437FAC93E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_01A8FF41A7DF89121E0C4F4437FA3294" xlink:to="loc_us-gaap_CommonClassAMember_29C904F81445FF49261D4F4437FAC93E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_CCC227A5C33B793C03964F4437FA3BF0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_01A8FF41A7DF89121E0C4F4437FA3294" xlink:to="loc_us-gaap_CommonClassBMember_CCC227A5C33B793C03964F4437FA3BF0" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_CommonStockVotingRightsNumberofVotesPerShare" xlink:label="loc_mdb_CommonStockVotingRightsNumberofVotesPerShare_F7D78122E1EB10226FD44F4437FAF179" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:to="loc_mdb_CommonStockVotingRightsNumberofVotesPerShare_F7D78122E1EB10226FD44F4437FAF179" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder" xlink:label="loc_mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder_681B9DD9EC95D8FFC5394F4437FA6DF2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:to="loc_mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder_681B9DD9EC95D8FFC5394F4437FA6DF2" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_CommonStockConversionFeaturePercentofOutstandingStock" xlink:label="loc_mdb_CommonStockConversionFeaturePercentofOutstandingStock_48085DC25F3C014D0B324F4437FA7BC0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:to="loc_mdb_CommonStockConversionFeaturePercentofOutstandingStock_48085DC25F3C014D0B324F4437FA7BC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_15914896C8AC2A7E1E424F4437FABF6C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_15914896C8AC2A7E1E424F4437FABF6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_841F3CC68628682BBDA34F4437FA6678" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_841F3CC68628682BBDA34F4437FA6678" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_5EF8736D0D8DA80877CE4F4437FA6C14" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:to="loc_us-gaap_CommonStockSharesIssued_5EF8736D0D8DA80877CE4F4437FA6C14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_30D544DBA9F6A0A057824F4437FA8156" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_758157D6A1626582A52B4F4437FA990C" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_30D544DBA9F6A0A057824F4437FA8156" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SubsequentEvents" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_5D9F88EF6FC9ECE867DFBFC96DF143EC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_621B30859FDC783E313CBFC96DF00EF3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_5D9F88EF6FC9ECE867DFBFC96DF143EC" xlink:to="loc_us-gaap_SubsequentEventTable_621B30859FDC783E313CBFC96DF00EF3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_FF8EDDB270F29889D9C8BFC96DF19AEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_621B30859FDC783E313CBFC96DF00EF3" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_FF8EDDB270F29889D9C8BFC96DF19AEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_8CE0B2F8DB5C7118494EBFC96DF1E249_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_FF8EDDB270F29889D9C8BFC96DF19AEA" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_8CE0B2F8DB5C7118494EBFC96DF1E249_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_8CE0B2F8DB5C7118494EBFC96DF1E249" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_FF8EDDB270F29889D9C8BFC96DF19AEA" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_8CE0B2F8DB5C7118494EBFC96DF1E249" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_7D2DECBBBA59BAB730F1BFC96DF16BC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_8CE0B2F8DB5C7118494EBFC96DF1E249" xlink:to="loc_us-gaap_SubsequentEventMember_7D2DECBBBA59BAB730F1BFC96DF16BC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherCommitmentsAxis" xlink:label="loc_us-gaap_OtherCommitmentsAxis_7ED64863C8710DEABCB9BFCF8B5A968F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_621B30859FDC783E313CBFC96DF00EF3" xlink:to="loc_us-gaap_OtherCommitmentsAxis_7ED64863C8710DEABCB9BFCF8B5A968F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_FC03E982DB40B20E4DD2BFCF8B63469F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_7ED64863C8710DEABCB9BFCF8B5A968F" xlink:to="loc_us-gaap_OtherCommitmentsDomain_FC03E982DB40B20E4DD2BFCF8B63469F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_FC03E982DB40B20E4DD2BFCF8B63469F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_7ED64863C8710DEABCB9BFCF8B5A968F" xlink:to="loc_us-gaap_OtherCommitmentsDomain_FC03E982DB40B20E4DD2BFCF8B63469F" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_EnterprisePartnershipArrangementMember" xlink:label="loc_mdb_EnterprisePartnershipArrangementMember_3DC699C53FF61BF0BB5EBFD0160AF51B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_FC03E982DB40B20E4DD2BFCF8B63469F" xlink:to="loc_mdb_EnterprisePartnershipArrangementMember_3DC699C53FF61BF0BB5EBFD0160AF51B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherCommitment" xlink:label="loc_us-gaap_OtherCommitment_C10506C94A28BFDFC5A8BFCE020EFD84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_5D9F88EF6FC9ECE867DFBFC96DF143EC" xlink:to="loc_us-gaap_OtherCommitment_C10506C94A28BFDFC5A8BFCE020EFD84" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_OtherCommitmentPeriod" xlink:label="loc_mdb_OtherCommitmentPeriod_5DDA946A38E8155CEA27BFCEB9D3C705" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_5D9F88EF6FC9ECE867DFBFC96DF143EC" xlink:to="loc_mdb_OtherCommitmentPeriod_5DDA946A38E8155CEA27BFCEB9D3C705" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesAdvertisingDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesConvertibleSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_0616895ACDD7967C2A39502CC0BC1802" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_16983BA1BA27FEE92619502CC0BBF3CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0616895ACDD7967C2A39502CC0BC1802" xlink:to="loc_us-gaap_DebtInstrumentTable_16983BA1BA27FEE92619502CC0BBF3CD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_CA8D84AD18BEDE971919502CC0BC90A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_16983BA1BA27FEE92619502CC0BBF3CD" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_CA8D84AD18BEDE971919502CC0BC90A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_34EF0267D797D244F22A502CC0BCA76E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_CA8D84AD18BEDE971919502CC0BC90A9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_34EF0267D797D244F22A502CC0BCA76E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_34EF0267D797D244F22A502CC0BCA76E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_CA8D84AD18BEDE971919502CC0BC90A9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_34EF0267D797D244F22A502CC0BCA76E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_783A1171277AA69FEF27502CC0BCFADF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_34EF0267D797D244F22A502CC0BCA76E" xlink:to="loc_us-gaap_ConvertibleDebtMember_783A1171277AA69FEF27502CC0BCFADF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_9A52E829301BE4F592A7502CC0BC36E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0616895ACDD7967C2A39502CC0BC1802" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_9A52E829301BE4F592A7502CC0BC36E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_53762850D5B9A44EEE91502CC0BCDCD9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0616895ACDD7967C2A39502CC0BC1802" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_53762850D5B9A44EEE91502CC0BCDCD9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillAndOtherAcquiredIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_DF45BB552D1B4E8F72CBB53C2C897807" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_DD9A3B773F850281899CB53C2C88CB16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_DF45BB552D1B4E8F72CBB53C2C897807" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_DD9A3B773F850281899CB53C2C88CB16" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_31233818D7C112B4CFB9B53FCDAD56DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_DD9A3B773F850281899CB53C2C88CB16" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_31233818D7C112B4CFB9B53FCDAD56DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_32184462D9A84D69DA09B53FCFDF0316_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_31233818D7C112B4CFB9B53FCDAD56DE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_32184462D9A84D69DA09B53FCFDF0316_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_32184462D9A84D69DA09B53FCFDF0316" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_31233818D7C112B4CFB9B53FCDAD56DE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_32184462D9A84D69DA09B53FCFDF0316" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_9AFA141D316817D2C432B53FCE62E874" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_32184462D9A84D69DA09B53FCFDF0316" xlink:to="loc_us-gaap_CustomerRelationshipsMember_9AFA141D316817D2C432B53FCE62E874" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_E9B862CBA719E2458171B53C2C88B62D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_DD9A3B773F850281899CB53C2C88CB16" xlink:to="loc_srt_RangeAxis_E9B862CBA719E2458171B53C2C88B62D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_037C521EC03C6E6EF8CAB53C2C88F645_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_E9B862CBA719E2458171B53C2C88B62D" xlink:to="loc_srt_RangeMember_037C521EC03C6E6EF8CAB53C2C88F645_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_037C521EC03C6E6EF8CAB53C2C88F645" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_E9B862CBA719E2458171B53C2C88B62D" xlink:to="loc_srt_RangeMember_037C521EC03C6E6EF8CAB53C2C88F645" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_FAD3895A4EBEDB8AAC53B53C2C89FF6C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_037C521EC03C6E6EF8CAB53C2C88F645" xlink:to="loc_srt_MinimumMember_FAD3895A4EBEDB8AAC53B53C2C89FF6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_798C77DF163C4595AE11B53C2C894480" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_037C521EC03C6E6EF8CAB53C2C88F645" xlink:to="loc_srt_MaximumMember_798C77DF163C4595AE11B53C2C894480" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_2A9706CCCFF42E1C089CB53C2C899092" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_DF45BB552D1B4E8F72CBB53C2C897807" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_2A9706CCCFF42E1C089CB53C2C899092" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesMarketableSecuritiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsAsu201409Details" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_91B34F3348FEC32F2177CA65D16DE1F8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_3FFDBC25DA2B1B2ED2FECA65D16C3CC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_91B34F3348FEC32F2177CA65D16DE1F8" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_3FFDBC25DA2B1B2ED2FECA65D16C3CC9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis_2C978067C271594E99B3CA65D16CDA37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_3FFDBC25DA2B1B2ED2FECA65D16C3CC9" xlink:to="loc_srt_RestatementAxis_2C978067C271594E99B3CA65D16CDA37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_F4EABAA4C36E1EA3DC12CA65D16DBE6B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_2C978067C271594E99B3CA65D16CDA37" xlink:to="loc_srt_RestatementDomain_F4EABAA4C36E1EA3DC12CA65D16DBE6B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_F4EABAA4C36E1EA3DC12CA65D16DBE6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_2C978067C271594E99B3CA65D16CDA37" xlink:to="loc_srt_RestatementDomain_F4EABAA4C36E1EA3DC12CA65D16DBE6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScenarioPreviouslyReportedMember" xlink:label="loc_srt_ScenarioPreviouslyReportedMember_92A86916CD7EB9C67C4CCA65D16D70F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_F4EABAA4C36E1EA3DC12CA65D16DBE6B" xlink:to="loc_srt_ScenarioPreviouslyReportedMember_92A86916CD7EB9C67C4CCA65D16D70F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RestatementAdjustmentMember" xlink:label="loc_srt_RestatementAdjustmentMember_99D249E714818CE6F980CA65D16DAFA3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_F4EABAA4C36E1EA3DC12CA65D16DBE6B" xlink:to="loc_srt_RestatementAdjustmentMember_99D249E714818CE6F980CA65D16DAFA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_51567A24ED0CD69011E9CA65D16DFC3E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_3FFDBC25DA2B1B2ED2FECA65D16C3CC9" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_51567A24ED0CD69011E9CA65D16DFC3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_7BD7AC96E69D8E5503EECA65D16DC690_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_51567A24ED0CD69011E9CA65D16DFC3E" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_7BD7AC96E69D8E5503EECA65D16DC690_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_7BD7AC96E69D8E5503EECA65D16DC690" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_51567A24ED0CD69011E9CA65D16DFC3E" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_7BD7AC96E69D8E5503EECA65D16DC690" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_9DF5E0E9FE8A7613853BCA65D16D5937" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_7BD7AC96E69D8E5503EECA65D16DC690" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_9DF5E0E9FE8A7613853BCA65D16D5937" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_57BD2D4C2E4A2762BFDECA65D16D9C3E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_3FFDBC25DA2B1B2ED2FECA65D16C3CC9" xlink:to="loc_srt_ProductOrServiceAxis_57BD2D4C2E4A2762BFDECA65D16D9C3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_51C5FDD993BAAEE41292CA65D16D2220_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_57BD2D4C2E4A2762BFDECA65D16D9C3E" xlink:to="loc_srt_ProductsAndServicesDomain_51C5FDD993BAAEE41292CA65D16D2220_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_51C5FDD993BAAEE41292CA65D16D2220" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_57BD2D4C2E4A2762BFDECA65D16D9C3E" xlink:to="loc_srt_ProductsAndServicesDomain_51C5FDD993BAAEE41292CA65D16D2220" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LicenseMember" xlink:label="loc_us-gaap_LicenseMember_8E70EE4A6ADEA1B60804CA65D16D863B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_51C5FDD993BAAEE41292CA65D16D2220" xlink:to="loc_us-gaap_LicenseMember_8E70EE4A6ADEA1B60804CA65D16D863B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ServiceMember" xlink:label="loc_us-gaap_ServiceMember_FB4C44D971410BD3F462CA65D16D428A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_51C5FDD993BAAEE41292CA65D16D2220" xlink:to="loc_us-gaap_ServiceMember_FB4C44D971410BD3F462CA65D16D428A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementAbstract" xlink:label="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_91B34F3348FEC32F2177CA65D16DE1F8" xlink:to="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract_588C2588AB32CBB6B1B6CA65D16DBF5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:to="loc_us-gaap_RevenuesAbstract_588C2588AB32CBB6B1B6CA65D16DBF5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_FE94B6B3F8F5BE4A672CCA65D16DD403" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_588C2588AB32CBB6B1B6CA65D16DBF5E" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_FE94B6B3F8F5BE4A672CCA65D16DD403" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfRevenueAbstract" xlink:label="loc_us-gaap_CostOfRevenueAbstract_3678EC9C49EFCAE2FAFCCA65D16D3FA7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:to="loc_us-gaap_CostOfRevenueAbstract_3678EC9C49EFCAE2FAFCCA65D16D3FA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_C9C3D5D1872B4A7DB1BCCA65D16DFBEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_3678EC9C49EFCAE2FAFCCA65D16D3FA7" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_C9C3D5D1872B4A7DB1BCCA65D16DFBEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_86381A12BD202AA72E0ACA65D16E1F03" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:to="loc_us-gaap_GrossProfit_86381A12BD202AA72E0ACA65D16E1F03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_2667CF3739AE689F811ECA65D16E8AC0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:to="loc_us-gaap_OperatingExpensesAbstract_2667CF3739AE689F811ECA65D16E8AC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_0649EA94D1C870724F04CA65D16E3D21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_2667CF3739AE689F811ECA65D16E8AC0" xlink:to="loc_us-gaap_SellingAndMarketingExpense_0649EA94D1C870724F04CA65D16E3D21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_D5DB23BC706D9B12B097CA65D16EBC11" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:to="loc_us-gaap_OperatingIncomeLoss_D5DB23BC706D9B12B097CA65D16EBC11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_F7F0D517AD5BC8C7D377CA7422503043" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:to="loc_us-gaap_NetIncomeLoss_F7F0D517AD5BC8C7D377CA7422503043" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted" xlink:label="loc_us-gaap_EarningsPerShareBasicAndDiluted_9DB3BD5094B305B7FF78CA65D16EF4FD" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract_D791864C5B862CC28CA1CA65D16D22D9" xlink:to="loc_us-gaap_EarningsPerShareBasicAndDiluted_9DB3BD5094B305B7FF78CA65D16EF4FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_5A8E4850A53C24A73B00CA65D16E790F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_91B34F3348FEC32F2177CA65D16DE1F8" xlink:to="loc_us-gaap_StatementOfFinancialPositionAbstract_5A8E4850A53C24A73B00CA65D16E790F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_108D27DD7237C7DC5992CA65D16EED62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_5A8E4850A53C24A73B00CA65D16E790F" xlink:to="loc_us-gaap_AssetsAbstract_108D27DD7237C7DC5992CA65D16EED62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCostsCurrent" xlink:label="loc_us-gaap_DeferredCostsCurrent_6A5246A2D7EB058399B7CA65D16EB98F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_108D27DD7237C7DC5992CA65D16EED62" xlink:to="loc_us-gaap_DeferredCostsCurrent_6A5246A2D7EB058399B7CA65D16EB98F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_DCDEA3D30D2EE66C8178CA65D16E58D9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_108D27DD7237C7DC5992CA65D16EED62" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_DCDEA3D30D2EE66C8178CA65D16E58D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_6EE0FA3B3DF707255108CA65D16E07D7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_108D27DD7237C7DC5992CA65D16EED62" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_6EE0FA3B3DF707255108CA65D16E07D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1C0994B02F04EA1D25E6CA65D16E1A2E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_5A8E4850A53C24A73B00CA65D16E790F" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1C0994B02F04EA1D25E6CA65D16E1A2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_C70C7A6772FAEEE6CDD5CA65D16EBAF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1C0994B02F04EA1D25E6CA65D16E1A2E" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_C70C7A6772FAEEE6CDD5CA65D16EBAF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_7921BAC42BD9642E4E64CA65D16E5716" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1C0994B02F04EA1D25E6CA65D16E1A2E" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_7921BAC42BD9642E4E64CA65D16E5716" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_FCA34082D0C5D3EADD72CA65D16EF53D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1C0994B02F04EA1D25E6CA65D16E1A2E" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_FCA34082D0C5D3EADD72CA65D16EF53D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="loc_us-gaap_StatementOfCashFlowsAbstract_16433333C1B13C24720BCA65D16E46B4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_91B34F3348FEC32F2177CA65D16DE1F8" xlink:to="loc_us-gaap_StatementOfCashFlowsAbstract_16433333C1B13C24720BCA65D16E46B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4152CC81693FE26AB112CA65D16EA383" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_16433333C1B13C24720BCA65D16E46B4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_4152CC81693FE26AB112CA65D16EA383" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredCharges" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredCharges_C015D7685C682F41026CCA65D16EB324" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_16433333C1B13C24720BCA65D16E46B4" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredCharges_C015D7685C682F41026CCA65D16EB324" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_7A9BA7B3723FF4805E03CA65D16E904C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_16433333C1B13C24720BCA65D16E46B4" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_7A9BA7B3723FF4805E03CA65D16E904C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRestrictedCashDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentUsefulLivesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_21561CA679C2175F46EB4F436E5ECBCA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_0194FD5AA2DD753632AC4F436E5BAC25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_21561CA679C2175F46EB4F436E5ECBCA" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_0194FD5AA2DD753632AC4F436E5BAC25" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D9C0ADB1CC76A07476154F436E5B6786" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_0194FD5AA2DD753632AC4F436E5BAC25" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D9C0ADB1CC76A07476154F436E5B6786" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D9C0ADB1CC76A07476154F436E5B6786" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D9C0ADB1CC76A07476154F436E5B6786" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012" xlink:type="arc" />
    <link:loc xlink:href="mdb-20190131.xsd#mdb_ComputerAndOfficeEquipmentMember" xlink:label="loc_mdb_ComputerAndOfficeEquipmentMember_9C027E74317F30B06B764F436E5B4A5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012" xlink:to="loc_mdb_ComputerAndOfficeEquipmentMember_9C027E74317F30B06B764F436E5B4A5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_E54EFDBDA5BB60961A7E4F436E5D8C23" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_E54EFDBDA5BB60961A7E4F436E5D8C23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_7C0F0EB54B7A644006694F436E5D95BB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012" xlink:to="loc_us-gaap_ComputerEquipmentMember_7C0F0EB54B7A644006694F436E5D95BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_C41FAED63872BD370D174F436E5D1BF9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_C41FAED63872BD370D174F436E5D1BF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_43C5DB3BD29C38FBCB2C4F4D526C03A0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1DDF6F08312FAF928D7D4F436E5BD012" xlink:to="loc_us-gaap_BuildingMember_43C5DB3BD29C38FBCB2C4F4D526C03A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_EE39A89B1ED63200DD7E4F436E5DDAD9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_0194FD5AA2DD753632AC4F436E5BAC25" xlink:to="loc_srt_RangeAxis_EE39A89B1ED63200DD7E4F436E5DDAD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_6EE2C1461E5DB19726AE4F436E5E9DBD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_EE39A89B1ED63200DD7E4F436E5DDAD9" xlink:to="loc_srt_RangeMember_6EE2C1461E5DB19726AE4F436E5E9DBD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_6EE2C1461E5DB19726AE4F436E5E9DBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_EE39A89B1ED63200DD7E4F436E5DDAD9" xlink:to="loc_srt_RangeMember_6EE2C1461E5DB19726AE4F436E5E9DBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_F703B98211BA141922794F436E5EC045" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_6EE2C1461E5DB19726AE4F436E5E9DBD" xlink:to="loc_srt_MinimumMember_F703B98211BA141922794F436E5EC045" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_518A34568C8906E73B7E4F436E5EC5CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_6EE2C1461E5DB19726AE4F436E5E9DBD" xlink:to="loc_srt_MaximumMember_518A34568C8906E73B7E4F436E5EC5CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_246BF38A7587EC49F60C4F436E5E72BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_21561CA679C2175F46EB4F436E5ECBCA" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_246BF38A7587EC49F60C4F436E5E72BC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesSegmentInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
</link:linkbase>
