<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:e3c838c8-6768-4957-b752-dda17588db11,g:cfbbb06e-7b31-4a88-9c95-a2b0205e66c6-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/DocumentandEntityInformationDocument" xlink:type="simple" xlink:href="mdb-20210131.xsd#DocumentandEntityInformationDocument"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/DocumentandEntityInformationDocument" xlink:type="extended" id="i9095f9b336bf4596b2cdfdc08b73633f_DocumentandEntityInformationDocument"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="mdb-20210131.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended" id="idd6b7a6018af4d1bbf3a31e403d5ddb1_CONSOLIDATEDBALANCESHEETS">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_1cc16ada-56c7-4340-8032-f168bc3e419c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1cc16ada-56c7-4340-8032-f168bc3e419c" xlink:to="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_b9b9952c-1d33-499b-8893-3acf1dc48885" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:to="loc_us-gaap_AssetsCurrentAbstract_b9b9952c-1d33-499b-8893-3acf1dc48885" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9b4959f1-6860-4c66-b77f-8c5858f2f15b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_b9b9952c-1d33-499b-8893-3acf1dc48885" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9b4959f1-6860-4c66-b77f-8c5858f2f15b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_7fe5d42d-0fd6-46c7-933b-bf35e35b1907" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_b9b9952c-1d33-499b-8893-3acf1dc48885" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_7fe5d42d-0fd6-46c7-933b-bf35e35b1907" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_f274f54b-305d-45ae-a603-7ae6f23181c0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_b9b9952c-1d33-499b-8893-3acf1dc48885" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_f274f54b-305d-45ae-a603-7ae6f23181c0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsCurrent_aec91253-adb7-4aaf-849b-8305cc2f9246" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredCostsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_b9b9952c-1d33-499b-8893-3acf1dc48885" xlink:to="loc_us-gaap_DeferredCostsCurrent_aec91253-adb7-4aaf-849b-8305cc2f9246" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_4192da2f-27e7-4057-8628-a2f0df352da4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_b9b9952c-1d33-499b-8893-3acf1dc48885" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_4192da2f-27e7-4057-8628-a2f0df352da4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_32389e43-5082-47a8-982b-93a6711f2df1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_b9b9952c-1d33-499b-8893-3acf1dc48885" xlink:to="loc_us-gaap_AssetsCurrent_32389e43-5082-47a8-982b-93a6711f2df1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_491c9604-e1f4-4c26-84a8-0269f5e9b0de" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_491c9604-e1f4-4c26-84a8-0269f5e9b0de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_4c313a64-b6e3-49f5-8b2c-27ddc1f14367" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_4c313a64-b6e3-49f5-8b2c-27ddc1f14367" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_d4ad1df6-fab7-4094-b4b1-e97dbccfa1b3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:to="loc_us-gaap_Goodwill_d4ad1df6-fab7-4094-b4b1-e97dbccfa1b3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_ce0d54c9-654d-45f3-bec8-f3ea51602535" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_ce0d54c9-654d-45f3-bec8-f3ea51602535" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_347c8ad7-b2ef-413c-a759-9536e2c4c69d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_347c8ad7-b2ef-413c-a759-9536e2c4c69d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_e0323022-3905-420e-9457-22f07e4606cb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_e0323022-3905-420e-9457-22f07e4606cb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_6c6b69dd-65d4-4bdf-9fc2-369856d81b7a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e2674012-07f3-4b45-9be1-e243a239f330" xlink:to="loc_us-gaap_Assets_6c6b69dd-65d4-4bdf-9fc2-369856d81b7a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1cc16ada-56c7-4340-8032-f168bc3e419c" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_53578996-99ab-4e16-9a4b-eb2eae9d65bb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_53578996-99ab-4e16-9a4b-eb2eae9d65bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_00255c1e-90e8-4f50-830b-3602fbf417cd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_53578996-99ab-4e16-9a4b-eb2eae9d65bb" xlink:to="loc_us-gaap_AccountsPayableCurrent_00255c1e-90e8-4f50-830b-3602fbf417cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_d8f6af82-6f93-4470-80f1-25131f96ca60" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_53578996-99ab-4e16-9a4b-eb2eae9d65bb" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_d8f6af82-6f93-4470-80f1-25131f96ca60" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_040ec75f-426c-490c-9926-a2ef067c08df" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_53578996-99ab-4e16-9a4b-eb2eae9d65bb" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_040ec75f-426c-490c-9926-a2ef067c08df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_3e7383d2-50a2-4d60-b9d4-5aa223d75589" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_53578996-99ab-4e16-9a4b-eb2eae9d65bb" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_3e7383d2-50a2-4d60-b9d4-5aa223d75589" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_8d32b89d-b62d-4d97-b753-efcdcff1e62e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_53578996-99ab-4e16-9a4b-eb2eae9d65bb" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_8d32b89d-b62d-4d97-b753-efcdcff1e62e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_982ff135-6b62-46b8-8f5c-0eccff489b77" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_53578996-99ab-4e16-9a4b-eb2eae9d65bb" xlink:to="loc_us-gaap_LiabilitiesCurrent_982ff135-6b62-46b8-8f5c-0eccff489b77" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0640ebb6-72c7-48ff-8cdc-d9006eb66b3d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0640ebb6-72c7-48ff-8cdc-d9006eb66b3d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_16cbbe88-2189-4c2d-b793-bf1346d94143" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_16cbbe88-2189-4c2d-b793-bf1346d94143" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_5bb3db8b-63a5-4e83-ab31-ec035dfd65fc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_5bb3db8b-63a5-4e83-ab31-ec035dfd65fc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_18d55327-30d4-450c-b3e1-9fa3fb898c87" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_18d55327-30d4-450c-b3e1-9fa3fb898c87" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_372c321c-c7df-4fd9-8701-f2a998f42d77" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_372c321c-c7df-4fd9-8701-f2a998f42d77" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_2f7553ce-a577-44b6-badc-7fc4ee76d712" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_Liabilities_2f7553ce-a577-44b6-badc-7fc4ee76d712" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_7ff39075-a7af-44f6-bed8-2f033338f4a5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_CommitmentsAndContingencies_7ff39075-a7af-44f6-bed8-2f033338f4a5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_c9fe8fb8-db92-4124-b49f-ec9ea501bddd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_c9fe8fb8-db92-4124-b49f-ec9ea501bddd" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_2495c7d1-7d2e-4ea9-8986-e8b9139e3351" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_StockholdersEquityAbstract_2495c7d1-7d2e-4ea9-8986-e8b9139e3351" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_38584d0e-8cef-4633-a19a-8dd766a9e02e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_2495c7d1-7d2e-4ea9-8986-e8b9139e3351" xlink:to="loc_us-gaap_CommonStockValue_38584d0e-8cef-4633-a19a-8dd766a9e02e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_74012a68-e1db-4c57-bf05-09987dc94e30" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_2495c7d1-7d2e-4ea9-8986-e8b9139e3351" xlink:to="loc_us-gaap_AdditionalPaidInCapital_74012a68-e1db-4c57-bf05-09987dc94e30" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_952bda51-b0f3-4c13-945f-a6d63ef21715" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_2495c7d1-7d2e-4ea9-8986-e8b9139e3351" xlink:to="loc_us-gaap_TreasuryStockValue_952bda51-b0f3-4c13-945f-a6d63ef21715" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_678847c0-0c61-44b1-add2-168f17af0e74" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_2495c7d1-7d2e-4ea9-8986-e8b9139e3351" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_678847c0-0c61-44b1-add2-168f17af0e74" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a61d568b-704a-4026-aca2-c8cf81bab22f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_2495c7d1-7d2e-4ea9-8986-e8b9139e3351" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a61d568b-704a-4026-aca2-c8cf81bab22f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_50872ed0-2f1d-4913-b202-c37a88af01c7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_2495c7d1-7d2e-4ea9-8986-e8b9139e3351" xlink:to="loc_us-gaap_StockholdersEquity_50872ed0-2f1d-4913-b202-c37a88af01c7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_4f86ad4c-db27-4c76-9221-55f31e760c76" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9b5d13a5-f031-4d42-97f0-e7da87ee6528" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_4f86ad4c-db27-4c76-9221-55f31e760c76" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_7cd341d0-a090-4907-a857-068172525eb7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_1cc16ada-56c7-4340-8032-f168bc3e419c" xlink:to="loc_us-gaap_StatementTable_7cd341d0-a090-4907-a857-068172525eb7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_965211ff-7599-4e93-93ff-76e34d84aa85" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7cd341d0-a090-4907-a857-068172525eb7" xlink:to="loc_us-gaap_StatementClassOfStockAxis_965211ff-7599-4e93-93ff-76e34d84aa85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_965211ff-7599-4e93-93ff-76e34d84aa85_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_965211ff-7599-4e93-93ff-76e34d84aa85" xlink:to="loc_us-gaap_ClassOfStockDomain_965211ff-7599-4e93-93ff-76e34d84aa85_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_9313a57c-5039-4bb1-a0bf-0f93c7bf9399" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_965211ff-7599-4e93-93ff-76e34d84aa85" xlink:to="loc_us-gaap_ClassOfStockDomain_9313a57c-5039-4bb1-a0bf-0f93c7bf9399" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_4cafc089-02cd-460d-b3e8-af5597bf8fb1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_9313a57c-5039-4bb1-a0bf-0f93c7bf9399" xlink:to="loc_us-gaap_CommonClassAMember_4cafc089-02cd-460d-b3e8-af5597bf8fb1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_38435714-7769-438c-8404-48f4f82b5fc4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_9313a57c-5039-4bb1-a0bf-0f93c7bf9399" xlink:to="loc_us-gaap_CommonClassBMember_38435714-7769-438c-8404-48f4f82b5fc4" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="mdb-20210131.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended" id="i2617f303095a41dfbe4c0e6576f78cbc_CONSOLIDATEDBALANCESHEETSParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_698869e4-e19f-4ccd-be32-d8df6068c03e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_aad19715-a094-4d93-8268-676ab6b0df54" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_698869e4-e19f-4ccd-be32-d8df6068c03e" xlink:to="loc_us-gaap_AssetsCurrentAbstract_aad19715-a094-4d93-8268-676ab6b0df54" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_4591f319-d9d5-469a-b807-33176948802b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_aad19715-a094-4d93-8268-676ab6b0df54" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_4591f319-d9d5-469a-b807-33176948802b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_d82fdeee-c287-4652-96d6-0de557af9c9b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_698869e4-e19f-4ccd-be32-d8df6068c03e" xlink:to="loc_us-gaap_StockholdersEquityAbstract_d82fdeee-c287-4652-96d6-0de557af9c9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_d8ea20cf-fcb7-4234-bbc4-35723a92e4a8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_d82fdeee-c287-4652-96d6-0de557af9c9b" xlink:to="loc_us-gaap_CommonStockSharesIssued_d8ea20cf-fcb7-4234-bbc4-35723a92e4a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_4361a12e-2be0-4f78-966e-0b891e056a7a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_d82fdeee-c287-4652-96d6-0de557af9c9b" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_4361a12e-2be0-4f78-966e-0b891e056a7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_3e2605fc-96ec-4b17-8afa-ab57c494953c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_698869e4-e19f-4ccd-be32-d8df6068c03e" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_3e2605fc-96ec-4b17-8afa-ab57c494953c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_b056622d-6bb8-4937-9847-20d4d839ba90" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_698869e4-e19f-4ccd-be32-d8df6068c03e" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_b056622d-6bb8-4937-9847-20d4d839ba90" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockShares_d75f6794-5f96-4950-84b1-efe677b4202b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_698869e4-e19f-4ccd-be32-d8df6068c03e" xlink:to="loc_us-gaap_TreasuryStockShares_d75f6794-5f96-4950-84b1-efe677b4202b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_a3ff96d6-f112-4674-9b76-b4a058902c69" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_698869e4-e19f-4ccd-be32-d8df6068c03e" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_a3ff96d6-f112-4674-9b76-b4a058902c69" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_a2b07669-d0ed-416c-8e4e-c164b6791be8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_698869e4-e19f-4ccd-be32-d8df6068c03e" xlink:to="loc_us-gaap_StatementTable_a2b07669-d0ed-416c-8e4e-c164b6791be8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_ff0434e4-55fe-44f9-bccb-86eb1fda92a5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a2b07669-d0ed-416c-8e4e-c164b6791be8" xlink:to="loc_us-gaap_StatementClassOfStockAxis_ff0434e4-55fe-44f9-bccb-86eb1fda92a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ff0434e4-55fe-44f9-bccb-86eb1fda92a5_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_ff0434e4-55fe-44f9-bccb-86eb1fda92a5" xlink:to="loc_us-gaap_ClassOfStockDomain_ff0434e4-55fe-44f9-bccb-86eb1fda92a5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_43b28ccf-aa93-4aee-8b1e-679a13d1ffb4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_ff0434e4-55fe-44f9-bccb-86eb1fda92a5" xlink:to="loc_us-gaap_ClassOfStockDomain_43b28ccf-aa93-4aee-8b1e-679a13d1ffb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_9d2abbaa-5dad-459a-b4d3-cb3b9ccbec31" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_43b28ccf-aa93-4aee-8b1e-679a13d1ffb4" xlink:to="loc_us-gaap_CommonClassAMember_9d2abbaa-5dad-459a-b4d3-cb3b9ccbec31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_8dede1ff-3bbd-4b0c-a4d3-13e964fb1d36" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_43b28ccf-aa93-4aee-8b1e-679a13d1ffb4" xlink:to="loc_us-gaap_CommonClassBMember_8dede1ff-3bbd-4b0c-a4d3-13e964fb1d36" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="mdb-20210131.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended" id="ic1327560e9f94f9c9eb40826f23eb780_CONSOLIDATEDSTATEMENTSOFOPERATIONS">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_3d3352ee-649b-4ec1-8cb8-ba51b9e12f9f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_RevenuesAbstract_3d3352ee-649b-4ec1-8cb8-ba51b9e12f9f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_17b64edd-ff87-4939-9ea6-0b45b63ec995" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_3d3352ee-649b-4ec1-8cb8-ba51b9e12f9f" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_17b64edd-ff87-4939-9ea6-0b45b63ec995" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenueAbstract_42fb7569-1a96-4c9f-9ff2-ce1a93d89fba" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfRevenueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_CostOfRevenueAbstract_42fb7569-1a96-4c9f-9ff2-ce1a93d89fba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_780fcfb3-ab77-4726-8c92-28d7b0b4a59e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_42fb7569-1a96-4c9f-9ff2-ce1a93d89fba" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_780fcfb3-ab77-4726-8c92-28d7b0b4a59e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_c54d133d-852b-4396-ab0b-748d84db1ee1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GrossProfit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_GrossProfit_c54d133d-852b-4396-ab0b-748d84db1ee1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpensesAbstract_a8af1b40-c6f5-4fa2-8001-f4cbdf716922" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_OperatingExpensesAbstract_a8af1b40-c6f5-4fa2-8001-f4cbdf716922" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_828034c5-c739-4c90-8faa-b18f3d7cc197" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_a8af1b40-c6f5-4fa2-8001-f4cbdf716922" xlink:to="loc_us-gaap_SellingAndMarketingExpense_828034c5-c739-4c90-8faa-b18f3d7cc197" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_73151a2b-a76d-4ce5-84ad-1bf21d750cd5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_a8af1b40-c6f5-4fa2-8001-f4cbdf716922" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_73151a2b-a76d-4ce5-84ad-1bf21d750cd5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_22540521-9172-4538-93cb-d400050e9d54" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_a8af1b40-c6f5-4fa2-8001-f4cbdf716922" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_22540521-9172-4538-93cb-d400050e9d54" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_2665edd6-fe05-4c37-ab87-3ac9105667a8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_a8af1b40-c6f5-4fa2-8001-f4cbdf716922" xlink:to="loc_us-gaap_OperatingExpenses_2665edd6-fe05-4c37-ab87-3ac9105667a8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_4624305b-6cb2-4261-8edc-8a3f50c11a9d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_OperatingIncomeLoss_4624305b-6cb2-4261-8edc-8a3f50c11a9d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_944a75de-9498-4e20-bacd-bc9bc1a35a90" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_944a75de-9498-4e20-bacd-bc9bc1a35a90" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNet_c226c125-ee6f-4bc8-aaf2-cb0a17d91cec" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentIncomeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_944a75de-9498-4e20-bacd-bc9bc1a35a90" xlink:to="loc_us-gaap_InvestmentIncomeNet_c226c125-ee6f-4bc8-aaf2-cb0a17d91cec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_9b3d7979-59bb-434d-af31-9df3d690a2bc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_944a75de-9498-4e20-bacd-bc9bc1a35a90" xlink:to="loc_us-gaap_InterestExpense_9b3d7979-59bb-434d-af31-9df3d690a2bc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_c16a2439-2ab8-406f-9a0c-d8a6f09424ba" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_944a75de-9498-4e20-bacd-bc9bc1a35a90" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_c16a2439-2ab8-406f-9a0c-d8a6f09424ba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_53dd0af7-2a06-458e-9b88-d038ef72a9c3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_53dd0af7-2a06-458e-9b88-d038ef72a9c3" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_498b9b97-2284-4937-a57d-c34aaaa799eb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_498b9b97-2284-4937-a57d-c34aaaa799eb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_23cc768e-1d9e-43e6-9ed0-bf02e87bbf62" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_NetIncomeLoss_23cc768e-1d9e-43e6-9ed0-bf02e87bbf62" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicAndDiluted_18168994-6677-4737-8beb-26b287625cc6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_EarningsPerShareBasicAndDiluted_18168994-6677-4737-8beb-26b287625cc6" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_fc7c34a9-662b-47b9-8649-f741f6c794eb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_fc7c34a9-662b-47b9-8649-f741f6c794eb" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_d5808cd3-ae77-430b-9ab3-9b1736131a6e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_1f02a454-b071-4d77-ad34-647969431a05" xlink:to="loc_us-gaap_StatementTable_d5808cd3-ae77-430b-9ab3-9b1736131a6e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_5cb321db-8868-4b34-9b62-75c9f1ceded3" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_d5808cd3-ae77-430b-9ab3-9b1736131a6e" xlink:to="loc_srt_ProductOrServiceAxis_5cb321db-8868-4b34-9b62-75c9f1ceded3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_5cb321db-8868-4b34-9b62-75c9f1ceded3_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_5cb321db-8868-4b34-9b62-75c9f1ceded3" xlink:to="loc_srt_ProductsAndServicesDomain_5cb321db-8868-4b34-9b62-75c9f1ceded3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_ac60a4bc-8cf5-4812-a921-b39b9bdc40d9" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_5cb321db-8868-4b34-9b62-75c9f1ceded3" xlink:to="loc_srt_ProductsAndServicesDomain_ac60a4bc-8cf5-4812-a921-b39b9bdc40d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicenseMember_5848b3c8-9dfd-47a9-8d34-73b5dfb25649" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LicenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_ac60a4bc-8cf5-4812-a921-b39b9bdc40d9" xlink:to="loc_us-gaap_LicenseMember_5848b3c8-9dfd-47a9-8d34-73b5dfb25649" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServiceMember_d4871f40-488b-4cd3-b699-68d22e4063c1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_ac60a4bc-8cf5-4812-a921-b39b9bdc40d9" xlink:to="loc_us-gaap_ServiceMember_d4871f40-488b-4cd3-b699-68d22e4063c1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="mdb-20210131.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" xlink:type="extended" id="i90d6e6dfe671442699809c5adc98997f_CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT" xlink:type="simple" xlink:href="mdb-20210131.xsd#CONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT" xlink:type="extended" id="i46e7766c5de84c1797f1a8a298eb4f6b_CONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_c2789a3b-11b8-4e09-9e87-1775b643d063" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c2789a3b-11b8-4e09-9e87-1775b643d063" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_9c29671a-0eb3-4e4f-a040-e1bfc61a343a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_9c29671a-0eb3-4e4f-a040-e1bfc61a343a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_8e8f605c-31c7-4534-a5f3-60bd16b3f2e9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_StockholdersEquity_8e8f605c-31c7-4534-a5f3-60bd16b3f2e9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_01ad921a-cfc8-41fe-9f83-2d10bd6043b8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_01ad921a-cfc8-41fe-9f83-2d10bd6043b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_ee7ff3f4-9665-4c6d-8a45-0bbdc8c6ecd1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_ee7ff3f4-9665-4c6d-8a45-0bbdc8c6ecd1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_150d7f33-7169-42d8-91f7-942405c90455" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_150d7f33-7169-42d8-91f7-942405c90455" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_EarlyExercisesStockRepurchasedDuringPeriodShares_569d32ae-9562-4648-96e2-d7d9caf4ef1d" xlink:href="mdb-20210131.xsd#mdb_EarlyExercisesStockRepurchasedDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_mdb_EarlyExercisesStockRepurchasedDuringPeriodShares_569d32ae-9562-4648-96e2-d7d9caf4ef1d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_AdjustmentsToAdditionalPaidInCapitalEarlyExerciseOfStockOptions_8c211897-e125-4fdc-9800-3e741ef95c67" xlink:href="mdb-20210131.xsd#mdb_AdjustmentsToAdditionalPaidInCapitalEarlyExerciseOfStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_mdb_AdjustmentsToAdditionalPaidInCapitalEarlyExerciseOfStockOptions_8c211897-e125-4fdc-9800-3e741ef95c67" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_93627304-4f9a-4bce-b14b-a6665cb5dcd0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_93627304-4f9a-4bce-b14b-a6665cb5dcd0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_4482fe2a-6beb-4f84-b4f0-79d9692e3d5e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_4482fe2a-6beb-4f84-b4f0-79d9692e3d5e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_7f56dbca-6b6c-4e4a-82c2-f8480f19b3f5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_7f56dbca-6b6c-4e4a-82c2-f8480f19b3f5" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_1452bb4d-5ad3-40c5-b305-4603dc5918d9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_1452bb4d-5ad3-40c5-b305-4603dc5918d9" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_ae85907b-5e9f-4113-a972-d8b04983650e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_ae85907b-5e9f-4113-a972-d8b04983650e" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_a32f5d52-febb-4881-b67f-61ce55e81d56" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_a32f5d52-febb-4881-b67f-61ce55e81d56" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt_c9fd3922-e6e3-4e0e-951a-306884b4f99a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt_c9fd3922-e6e3-4e0e-951a-306884b4f99a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_AdjustmentstoAdditionalPaidinCapitalPurchaseofCappedCallsforConvertibleNoteHedges_69193458-9058-404f-ad3f-97dad6a57860" xlink:href="mdb-20210131.xsd#mdb_AdjustmentstoAdditionalPaidinCapitalPurchaseofCappedCallsforConvertibleNoteHedges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_mdb_AdjustmentstoAdditionalPaidinCapitalPurchaseofCappedCallsforConvertibleNoteHedges_69193458-9058-404f-ad3f-97dad6a57860" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_6c271b03-0fba-4abe-83fb-4a0f014e3abe" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_6c271b03-0fba-4abe-83fb-4a0f014e3abe" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ReclassificationsOfPermanentEquityToTemporary_3808c1a6-e1de-4bd4-b42c-ad86b301a3e0" xlink:href="mdb-20210131.xsd#mdb_ReclassificationsOfPermanentEquityToTemporary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_mdb_ReclassificationsOfPermanentEquityToTemporary_3808c1a6-e1de-4bd4-b42c-ad86b301a3e0" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_b3993fff-20ac-4e74-9c40-f51b396bb992" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_b3993fff-20ac-4e74-9c40-f51b396bb992" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_64d9104c-66ac-4d01-809a-f3feebe3207e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_64d9104c-66ac-4d01-809a-f3feebe3207e" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_ba94cd74-f92f-4329-9a03-72929eecfdc4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5b1a5ea8-d8c4-4a40-870b-e5d4e66ef9fa" xlink:to="loc_us-gaap_NetIncomeLoss_ba94cd74-f92f-4329-9a03-72929eecfdc4" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_87eebd12-9539-48a6-88eb-a1b467d2d817" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4e0daeb7-7a93-4221-b84f-6ac751c83ef0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_15261e6a-5968-499f-96f9-55114c6f121b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_c2789a3b-11b8-4e09-9e87-1775b643d063" xlink:to="loc_us-gaap_StatementTable_15261e6a-5968-499f-96f9-55114c6f121b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_6c53c48d-b79b-40d3-b9d7-156368d12615" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_15261e6a-5968-499f-96f9-55114c6f121b" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6c53c48d-b79b-40d3-b9d7-156368d12615" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_6c53c48d-b79b-40d3-b9d7-156368d12615_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6c53c48d-b79b-40d3-b9d7-156368d12615" xlink:to="loc_us-gaap_EquityComponentDomain_6c53c48d-b79b-40d3-b9d7-156368d12615_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_90f48eee-276e-4d42-b0f9-19d1cdb50b2b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6c53c48d-b79b-40d3-b9d7-156368d12615" xlink:to="loc_us-gaap_EquityComponentDomain_90f48eee-276e-4d42-b0f9-19d1cdb50b2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_639d3464-550e-4f6f-b5f5-30498389a4e4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_90f48eee-276e-4d42-b0f9-19d1cdb50b2b" xlink:to="loc_us-gaap_CommonStockMember_639d3464-550e-4f6f-b5f5-30498389a4e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_030be3d6-857b-4b28-91c4-bc5f1659e19b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_90f48eee-276e-4d42-b0f9-19d1cdb50b2b" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_030be3d6-857b-4b28-91c4-bc5f1659e19b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockMember_8296c307-c6cd-4589-9567-407f142391b3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_90f48eee-276e-4d42-b0f9-19d1cdb50b2b" xlink:to="loc_us-gaap_TreasuryStockMember_8296c307-c6cd-4589-9567-407f142391b3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_e401956d-269b-4c2c-a1e8-c5deb7623c15" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_90f48eee-276e-4d42-b0f9-19d1cdb50b2b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_e401956d-269b-4c2c-a1e8-c5deb7623c15" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_734ea7db-ed4b-4534-84e8-46e41ef61085" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_90f48eee-276e-4d42-b0f9-19d1cdb50b2b" xlink:to="loc_us-gaap_RetainedEarningsMember_734ea7db-ed4b-4534-84e8-46e41ef61085" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CumulativeEffectPeriodofAdoptionAxis_72a21da8-db14-4144-adaf-6d29659fc0f9" xlink:href="mdb-20210131.xsd#mdb_CumulativeEffectPeriodofAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_15261e6a-5968-499f-96f9-55114c6f121b" xlink:to="loc_mdb_CumulativeEffectPeriodofAdoptionAxis_72a21da8-db14-4144-adaf-6d29659fc0f9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_72a21da8-db14-4144-adaf-6d29659fc0f9_default" xlink:href="mdb-20210131.xsd#mdb_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mdb_CumulativeEffectPeriodofAdoptionAxis_72a21da8-db14-4144-adaf-6d29659fc0f9" xlink:to="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_72a21da8-db14-4144-adaf-6d29659fc0f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_fcfcc3b1-9546-46b5-92d2-786c655150f4" xlink:href="mdb-20210131.xsd#mdb_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mdb_CumulativeEffectPeriodofAdoptionAxis_72a21da8-db14-4144-adaf-6d29659fc0f9" xlink:to="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_fcfcc3b1-9546-46b5-92d2-786c655150f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CumulativeEffectPeriodofAdoptionAdjustmentMember_de9e9c65-c5ff-4671-973a-4f9a4dc0373b" xlink:href="mdb-20210131.xsd#mdb_CumulativeEffectPeriodofAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_fcfcc3b1-9546-46b5-92d2-786c655150f4" xlink:to="loc_mdb_CumulativeEffectPeriodofAdoptionAdjustmentMember_de9e9c65-c5ff-4671-973a-4f9a4dc0373b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="mdb-20210131.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended" id="i132f7bbd08d44ec485b303d161dfb4d5_CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSReconciliation" xlink:type="simple" xlink:href="mdb-20210131.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSReconciliation"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSReconciliation" xlink:type="extended" id="iaa51a65c12814c1e8b3532a5204ef230_CONSOLIDATEDSTATEMENTSOFCASHFLOWSReconciliation"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/OrganizationandDescriptionofBusiness" xlink:type="simple" xlink:href="mdb-20210131.xsd#OrganizationandDescriptionofBusiness"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/OrganizationandDescriptionofBusiness" xlink:type="extended" id="idee6d98211844a788e4c21dfcf4d1c2f_OrganizationandDescriptionofBusiness"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPolicies"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPolicies" xlink:type="extended" id="id1d94df905b94f85a11c54817f146078_SummaryofSignificantAccountingPolicies"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesPolicies"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended" id="i5c69a9b3e1934ade9a439cc2ca44bb80_SummaryofSignificantAccountingPoliciesPolicies"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="extended" id="ided4792bcc3e49f38d516fafbd9046e7_SummaryofSignificantAccountingPoliciesTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesMarketableSecuritiesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesMarketableSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesMarketableSecuritiesDetails" xlink:type="extended" id="ieaaa27c408634672a91a0e144d88c6bc_SummaryofSignificantAccountingPoliciesMarketableSecuritiesDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRestrictedCashDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesRestrictedCashDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRestrictedCashDetails" xlink:type="extended" id="i5991faafe4434dd5815b923c4d9d3ae8_SummaryofSignificantAccountingPoliciesRestrictedCashDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails" xlink:type="extended" id="idec06d24f3fc43ca8d02f99a8db40e59_SummaryofSignificantAccountingPoliciesCapitalizedSoftwareCostsDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesScheduleofPropertyPlantandEquipmentUsefulLivesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesScheduleofPropertyPlantandEquipmentUsefulLivesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesScheduleofPropertyPlantandEquipmentUsefulLivesDetails" xlink:type="extended" id="ibb8ce30bd9cf4c018c3e765eeb414bf1_SummaryofSignificantAccountingPoliciesScheduleofPropertyPlantandEquipmentUsefulLivesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_9704a282-cc92-4edb-ba89-a3668610fadc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_0fcece13-99dd-409b-9036-3fab33aa462a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_9704a282-cc92-4edb-ba89-a3668610fadc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_0fcece13-99dd-409b-9036-3fab33aa462a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_96fb38e9-fffd-4e5d-8763-03c02cea65a9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_9704a282-cc92-4edb-ba89-a3668610fadc" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_96fb38e9-fffd-4e5d-8763-03c02cea65a9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_9b5cbf57-cd0e-45c2-8b07-54303f62b6f6" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_96fb38e9-fffd-4e5d-8763-03c02cea65a9" xlink:to="loc_srt_RangeAxis_9b5cbf57-cd0e-45c2-8b07-54303f62b6f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9b5cbf57-cd0e-45c2-8b07-54303f62b6f6_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_9b5cbf57-cd0e-45c2-8b07-54303f62b6f6" xlink:to="loc_srt_RangeMember_9b5cbf57-cd0e-45c2-8b07-54303f62b6f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d84aa09a-c7c0-4518-b375-8c2d6913b85b" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_9b5cbf57-cd0e-45c2-8b07-54303f62b6f6" xlink:to="loc_srt_RangeMember_d84aa09a-c7c0-4518-b375-8c2d6913b85b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_d7726c24-af32-42e7-907a-a716b6e6da12" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d84aa09a-c7c0-4518-b375-8c2d6913b85b" xlink:to="loc_srt_MinimumMember_d7726c24-af32-42e7-907a-a716b6e6da12" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_cc5d425b-2422-40fd-9c9f-35ca2b84bfd9" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d84aa09a-c7c0-4518-b375-8c2d6913b85b" xlink:to="loc_srt_MaximumMember_cc5d425b-2422-40fd-9c9f-35ca2b84bfd9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_aa0d76d1-1131-4d98-a251-d22cfa21f182" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_96fb38e9-fffd-4e5d-8763-03c02cea65a9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_aa0d76d1-1131-4d98-a251-d22cfa21f182" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_aa0d76d1-1131-4d98-a251-d22cfa21f182_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_aa0d76d1-1131-4d98-a251-d22cfa21f182" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_aa0d76d1-1131-4d98-a251-d22cfa21f182_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ad01ab80-d343-492d-8b71-19712cdbabcd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_aa0d76d1-1131-4d98-a251-d22cfa21f182" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ad01ab80-d343-492d-8b71-19712cdbabcd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ComputerAndOfficeEquipmentMember_d770b49a-49fd-4a20-a38c-2fef4ee47896" xlink:href="mdb-20210131.xsd#mdb_ComputerAndOfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ad01ab80-d343-492d-8b71-19712cdbabcd" xlink:to="loc_mdb_ComputerAndOfficeEquipmentMember_d770b49a-49fd-4a20-a38c-2fef4ee47896" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComputerEquipmentMember_d1113492-f4d4-4d8b-9823-1a7357921039" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComputerEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ad01ab80-d343-492d-8b71-19712cdbabcd" xlink:to="loc_us-gaap_ComputerEquipmentMember_d1113492-f4d4-4d8b-9823-1a7357921039" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_c3608723-f010-48d4-9a3a-b230b8525466" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ad01ab80-d343-492d-8b71-19712cdbabcd" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_c3608723-f010-48d4-9a3a-b230b8525466" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_89b0d389-a1eb-4550-b68a-2630a41bc95f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ad01ab80-d343-492d-8b71-19712cdbabcd" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_89b0d389-a1eb-4550-b68a-2630a41bc95f" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillandOtherAcquiredIntangibleAssetsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillandOtherAcquiredIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillandOtherAcquiredIntangibleAssetsDetails" xlink:type="extended" id="i0f3cda9e3b5341769b4cb76b1b1e8609_SummaryofSignificantAccountingPoliciesLongLivedAssetsIncludingGoodwillandOtherAcquiredIntangibleAssetsDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesRevenueRecognitionDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRevenueRecognitionDetails" xlink:type="extended" id="i93698dac8bf2497abfe36a6bbd1d850d_SummaryofSignificantAccountingPoliciesRevenueRecognitionDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesAdvertisingDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesAdvertisingDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesAdvertisingDetails" xlink:type="extended" id="i5106f54e37ce43dab1b009f75f229669_SummaryofSignificantAccountingPoliciesAdvertisingDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesStockBasedCompensationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesStockBasedCompensationDetails" xlink:type="extended" id="i5dc4f199bfb643ecbc361b79dc0b630b_SummaryofSignificantAccountingPoliciesStockBasedCompensationDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesSegmentInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesSegmentInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesSegmentInformationDetails" xlink:type="extended" id="i94a8702f8c4e4fbf9a62a80a6acce993_SummaryofSignificantAccountingPoliciesSegmentInformationDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesRelatedPartyTransactionsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRelatedPartyTransactionsDetails" xlink:type="extended" id="i027190826ee146808844f0811fa5611b_SummaryofSignificantAccountingPoliciesRelatedPartyTransactionsDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="extended" id="ie64f5d03cab84ec291717eaaf593ff89_SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_8baa4f40-87f7-49f1-94ad-6daf6b341478" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_8baa4f40-87f7-49f1-94ad-6daf6b341478" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_acea10c4-2fa7-49e5-ad21-2d48e31c1a98" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_OperatingLeaseLiability_acea10c4-2fa7-49e5-ad21-2d48e31c1a98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DeferredRentLiability_4f7235d1-421a-4c01-adbd-504e9370a4a8" xlink:href="mdb-20210131.xsd#mdb_DeferredRentLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_mdb_DeferredRentLiability_4f7235d1-421a-4c01-adbd-504e9370a4a8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_e918e131-d2bc-471c-99d5-f4096044748b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_e918e131-d2bc-471c-99d5-f4096044748b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_baa764c2-7bec-4c8a-80cf-f1645b5bc32a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_baa764c2-7bec-4c8a-80cf-f1645b5bc32a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_dec4dbe2-07da-4bd2-8ecc-60bcc0b0f9c6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_FinanceLeaseLiability_dec4dbe2-07da-4bd2-8ecc-60bcc0b0f9c6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_e4c4553e-ae87-4aeb-bcba-e8684621b295" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_e4c4553e-ae87-4aeb-bcba-e8684621b295" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b849e5b3-36ad-436e-a3bc-e89530cd8d3b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_StockholdersEquity_b849e5b3-36ad-436e-a3bc-e89530cd8d3b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_49d02571-88e9-4c9c-aac4-3d5d6c44938a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_49d02571-88e9-4c9c-aac4-3d5d6c44938a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_7560cfda-13de-432a-a8fe-5fb988679303" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_7560cfda-13de-432a-a8fe-5fb988679303" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_959c491e-f318-47b3-95a2-2d80f3dface2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_ed6bac44-da2a-4334-aec8-dc41ecb44e69" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_959c491e-f318-47b3-95a2-2d80f3dface2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_caa931c9-e9b5-4cd2-a344-15959709f7b1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_959c491e-f318-47b3-95a2-2d80f3dface2" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_caa931c9-e9b5-4cd2-a344-15959709f7b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_caa931c9-e9b5-4cd2-a344-15959709f7b1_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_caa931c9-e9b5-4cd2-a344-15959709f7b1" xlink:to="loc_us-gaap_EquityComponentDomain_caa931c9-e9b5-4cd2-a344-15959709f7b1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_ccaef090-ddd8-40d1-8cc2-eb375b40f93c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_caa931c9-e9b5-4cd2-a344-15959709f7b1" xlink:to="loc_us-gaap_EquityComponentDomain_ccaef090-ddd8-40d1-8cc2-eb375b40f93c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_bb99d9af-36de-4124-b21e-1c1eea21dc0c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ccaef090-ddd8-40d1-8cc2-eb375b40f93c" xlink:to="loc_us-gaap_RetainedEarningsMember_bb99d9af-36de-4124-b21e-1c1eea21dc0c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_ac18444c-7fc5-4d55-89a6-19784069cda3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ccaef090-ddd8-40d1-8cc2-eb375b40f93c" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_ac18444c-7fc5-4d55-89a6-19784069cda3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CumulativeEffectPeriodofAdoptionAxis_fde27d37-5d3d-4c17-a88f-aa8b6b0efce1" xlink:href="mdb-20210131.xsd#mdb_CumulativeEffectPeriodofAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_959c491e-f318-47b3-95a2-2d80f3dface2" xlink:to="loc_mdb_CumulativeEffectPeriodofAdoptionAxis_fde27d37-5d3d-4c17-a88f-aa8b6b0efce1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_fde27d37-5d3d-4c17-a88f-aa8b6b0efce1_default" xlink:href="mdb-20210131.xsd#mdb_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mdb_CumulativeEffectPeriodofAdoptionAxis_fde27d37-5d3d-4c17-a88f-aa8b6b0efce1" xlink:to="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_fde27d37-5d3d-4c17-a88f-aa8b6b0efce1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_2dcc5ae7-80ed-41bc-93f6-cd408141e9b1" xlink:href="mdb-20210131.xsd#mdb_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mdb_CumulativeEffectPeriodofAdoptionAxis_fde27d37-5d3d-4c17-a88f-aa8b6b0efce1" xlink:to="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_2dcc5ae7-80ed-41bc-93f6-cd408141e9b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CumulativeEffectPeriodofAdoptionAdjustmentMember_a0d3c736-6c1b-459d-9a73-b71b19a01b21" xlink:href="mdb-20210131.xsd#mdb_CumulativeEffectPeriodofAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_CumulativeEffectPeriodOfAdoptionDomain_2dcc5ae7-80ed-41bc-93f6-cd408141e9b1" xlink:to="loc_mdb_CumulativeEffectPeriodofAdoptionAdjustmentMember_a0d3c736-6c1b-459d-9a73-b71b19a01b21" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_e2ad9001-e118-4804-9307-9a6c05108b32" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_959c491e-f318-47b3-95a2-2d80f3dface2" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_e2ad9001-e118-4804-9307-9a6c05108b32" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_e2ad9001-e118-4804-9307-9a6c05108b32_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_e2ad9001-e118-4804-9307-9a6c05108b32" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_e2ad9001-e118-4804-9307-9a6c05108b32_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_aeae0cc3-d050-4347-9bc3-d9f87e4dcb1a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_e2ad9001-e118-4804-9307-9a6c05108b32" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_aeae0cc3-d050-4347-9bc3-d9f87e4dcb1a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_5d6104f7-2cc3-45b1-8941-52d315b10a0f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_aeae0cc3-d050-4347-9bc3-d9f87e4dcb1a" xlink:to="loc_us-gaap_SubsequentEventMember_5d6104f7-2cc3-45b1-8941-52d315b10a0f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_36ad8710-87e7-46a8-81bd-8bddbc84800f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_959c491e-f318-47b3-95a2-2d80f3dface2" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_36ad8710-87e7-46a8-81bd-8bddbc84800f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_36ad8710-87e7-46a8-81bd-8bddbc84800f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_36ad8710-87e7-46a8-81bd-8bddbc84800f" xlink:to="loc_us-gaap_TypeOfAdoptionMember_36ad8710-87e7-46a8-81bd-8bddbc84800f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_cf556858-05fa-4752-998a-b0579f7aa29c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_36ad8710-87e7-46a8-81bd-8bddbc84800f" xlink:to="loc_us-gaap_TypeOfAdoptionMember_cf556858-05fa-4752-998a-b0579f7aa29c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_AccountingStandardsUpdate192016Member_719b968d-a472-439b-a9ba-0a2331d8a51d" xlink:href="mdb-20210131.xsd#mdb_AccountingStandardsUpdate192016Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_cf556858-05fa-4752-998a-b0579f7aa29c" xlink:to="loc_mdb_AccountingStandardsUpdate192016Member_719b968d-a472-439b-a9ba-0a2331d8a51d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_080186c6-1d30-4ac4-9f3e-1d478b2faae5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_959c491e-f318-47b3-95a2-2d80f3dface2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_080186c6-1d30-4ac4-9f3e-1d478b2faae5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_080186c6-1d30-4ac4-9f3e-1d478b2faae5_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_080186c6-1d30-4ac4-9f3e-1d478b2faae5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_080186c6-1d30-4ac4-9f3e-1d478b2faae5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ce4365af-2f0c-4d54-9356-8e3fdfc11d77" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_080186c6-1d30-4ac4-9f3e-1d478b2faae5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ce4365af-2f0c-4d54-9356-8e3fdfc11d77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_6ef2f1c0-2905-4623-8136-61b4f77dc214" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ce4365af-2f0c-4d54-9356-8e3fdfc11d77" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_6ef2f1c0-2905-4623-8136-61b4f77dc214" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurements" xlink:type="simple" xlink:href="mdb-20210131.xsd#FairValueMeasurements"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurements" xlink:type="extended" id="i1c51af447e7349e1ab1672ed09c0aed3_FairValueMeasurements"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#FairValueMeasurementsTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsTables" xlink:type="extended" id="iff8c44037370494c90f8e20b2ebaeae7_FairValueMeasurementsTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="extended" id="i289cd530e0c44f5eb92072be79f5e18f_FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_94add68e-ddba-4d86-93ca-56145619f8fc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_143f4eb4-9fcf-431b-ba51-f88a8b912e94" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_94add68e-ddba-4d86-93ca-56145619f8fc" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_143f4eb4-9fcf-431b-ba51-f88a8b912e94" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAbstract_54241bf4-5997-40d0-a720-0b0a46d1adc7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_143f4eb4-9fcf-431b-ba51-f88a8b912e94" xlink:to="loc_us-gaap_CashAndCashEquivalentsAbstract_54241bf4-5997-40d0-a720-0b0a46d1adc7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_f0c61633-06d1-442d-94b8-4ef46366101e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsAbstract_54241bf4-5997-40d0-a720-0b0a46d1adc7" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_f0c61633-06d1-442d-94b8-4ef46366101e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestmentsAbstract_9c988e72-a918-46b4-b3c8-c1f10e2a9176" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShortTermInvestmentsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_143f4eb4-9fcf-431b-ba51-f88a8b912e94" xlink:to="loc_us-gaap_ShortTermInvestmentsAbstract_9c988e72-a918-46b4-b3c8-c1f10e2a9176" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b8875bd2-8baa-4401-96bc-6e0f580a934b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_9c988e72-a918-46b4-b3c8-c1f10e2a9176" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b8875bd2-8baa-4401-96bc-6e0f580a934b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_841b5d19-b610-4e7a-a277-6ebdeac4d2d8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_143f4eb4-9fcf-431b-ba51-f88a8b912e94" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_841b5d19-b610-4e7a-a277-6ebdeac4d2d8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4bd19254-a1fb-4e26-8e9d-7fbcb0cd77dc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_94add68e-ddba-4d86-93ca-56145619f8fc" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4bd19254-a1fb-4e26-8e9d-7fbcb0cd77dc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_5a92777b-bc68-4e43-af7c-d8937810c0ca" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4bd19254-a1fb-4e26-8e9d-7fbcb0cd77dc" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_5a92777b-bc68-4e43-af7c-d8937810c0ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_5a92777b-bc68-4e43-af7c-d8937810c0ca_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_5a92777b-bc68-4e43-af7c-d8937810c0ca" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_5a92777b-bc68-4e43-af7c-d8937810c0ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_72dd2dff-2b61-4dc6-9278-39f43ae22a6d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_5a92777b-bc68-4e43-af7c-d8937810c0ca" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_72dd2dff-2b61-4dc6-9278-39f43ae22a6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_492ed7cf-e834-496e-8be5-f704cccb2c68" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_72dd2dff-2b61-4dc6-9278-39f43ae22a6d" xlink:to="loc_us-gaap_MoneyMarketFundsMember_492ed7cf-e834-496e-8be5-f704cccb2c68" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_da6864c1-a09d-4d3c-91cb-bb6b58529e4f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_72dd2dff-2b61-4dc6-9278-39f43ae22a6d" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_da6864c1-a09d-4d3c-91cb-bb6b58529e4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_0f713b18-d89d-46a6-bd6c-5d4e1e5ffd41" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4bd19254-a1fb-4e26-8e9d-7fbcb0cd77dc" xlink:to="loc_us-gaap_FinancialInstrumentAxis_0f713b18-d89d-46a6-bd6c-5d4e1e5ffd41" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0f713b18-d89d-46a6-bd6c-5d4e1e5ffd41_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_0f713b18-d89d-46a6-bd6c-5d4e1e5ffd41" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0f713b18-d89d-46a6-bd6c-5d4e1e5ffd41_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_89a4cb82-197a-4755-b83c-23381aa779a3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_0f713b18-d89d-46a6-bd6c-5d4e1e5ffd41" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_89a4cb82-197a-4755-b83c-23381aa779a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_03b92efd-c6ff-4336-8816-7a5fe43050db" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_89a4cb82-197a-4755-b83c-23381aa779a3" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_03b92efd-c6ff-4336-8816-7a5fe43050db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_af955268-7a5c-4d02-b107-da269d3e2868" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4bd19254-a1fb-4e26-8e9d-7fbcb0cd77dc" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_af955268-7a5c-4d02-b107-da269d3e2868" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_af955268-7a5c-4d02-b107-da269d3e2868_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_af955268-7a5c-4d02-b107-da269d3e2868" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_af955268-7a5c-4d02-b107-da269d3e2868_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_8870128e-2f22-4f65-818e-c55c41c59831" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_af955268-7a5c-4d02-b107-da269d3e2868" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_8870128e-2f22-4f65-818e-c55c41c59831" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_a9e88661-7b76-4e0a-90d7-2f34bda51ac6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_8870128e-2f22-4f65-818e-c55c41c59831" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_a9e88661-7b76-4e0a-90d7-2f34bda51ac6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_bd615d1b-4692-4d60-8067-05c6724720ee" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_4bd19254-a1fb-4e26-8e9d-7fbcb0cd77dc" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_bd615d1b-4692-4d60-8067-05c6724720ee" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_bd615d1b-4692-4d60-8067-05c6724720ee_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_bd615d1b-4692-4d60-8067-05c6724720ee" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_bd615d1b-4692-4d60-8067-05c6724720ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_130f44b3-c990-4277-8d33-42cfff0a5c5d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_bd615d1b-4692-4d60-8067-05c6724720ee" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_130f44b3-c990-4277-8d33-42cfff0a5c5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_c6fef26e-7bcd-4a46-83ad-a9a8e2522b97" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_130f44b3-c990-4277-8d33-42cfff0a5c5d" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_c6fef26e-7bcd-4a46-83ad-a9a8e2522b97" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_e0b70b4a-f605-435d-af1e-9e5661c87bb5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_130f44b3-c990-4277-8d33-42cfff0a5c5d" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_e0b70b4a-f605-435d-af1e-9e5661c87bb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_d355b06a-f9d8-4a30-b936-5068168fa2be" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_130f44b3-c990-4277-8d33-42cfff0a5c5d" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_d355b06a-f9d8-4a30-b936-5068168fa2be" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#FairValueMeasurementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended" id="i25df07daf03d4fa8adc17b69ff61ee40_FairValueMeasurementsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_cb3e8a68-f012-418f-8850-75e375c14466" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_aa2e3ade-ec5a-4165-958b-89f7c84b32a5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_cb3e8a68-f012-418f-8850-75e375c14466" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_aa2e3ade-ec5a-4165-958b-89f7c84b32a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesGainLoss_82cf76c0-b8d5-4ffd-9000-c32334649bbd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_cb3e8a68-f012-418f-8850-75e375c14466" xlink:to="loc_us-gaap_DebtSecuritiesGainLoss_82cf76c0-b8d5-4ffd-9000-c32334649bbd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_c9d48cdc-5e5d-4564-8b8c-5535ee55799e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_cb3e8a68-f012-418f-8850-75e375c14466" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_c9d48cdc-5e5d-4564-8b8c-5535ee55799e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_efb68d19-2378-4b2a-b1d2-437173a0e8a4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_c9d48cdc-5e5d-4564-8b8c-5535ee55799e" xlink:to="loc_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_efb68d19-2378-4b2a-b1d2-437173a0e8a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_efb68d19-2378-4b2a-b1d2-437173a0e8a4_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassificationOfVariableInterestEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_efb68d19-2378-4b2a-b1d2-437173a0e8a4" xlink:to="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_efb68d19-2378-4b2a-b1d2-437173a0e8a4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_40ae9ca9-5343-4cd9-8610-76f01ee602ad" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassificationOfVariableInterestEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_efb68d19-2378-4b2a-b1d2-437173a0e8a4" xlink:to="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_40ae9ca9-5343-4cd9-8610-76f01ee602ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_bc3dd468-83d5-4f69-8c69-37bf21c1a037" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_40ae9ca9-5343-4cd9-8610-76f01ee602ad" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_bc3dd468-83d5-4f69-8c69-37bf21c1a037" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyandEquipmentNet" xlink:type="simple" xlink:href="mdb-20210131.xsd#PropertyandEquipmentNet"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyandEquipmentNet" xlink:type="extended" id="i5d41827ca309400d81e731ff68c7d947_PropertyandEquipmentNet"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyandEquipmentNetTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#PropertyandEquipmentNetTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyandEquipmentNetTables" xlink:type="extended" id="i40ce1d5a51034584adda9db2aa5fd178_PropertyandEquipmentNetTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyandEquipmentNetScheduleDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#PropertyandEquipmentNetScheduleDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyandEquipmentNetScheduleDetails" xlink:type="extended" id="ic26783f842ec4899b47a8b998e453a42_PropertyandEquipmentNetScheduleDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_604581e9-b6d7-4b5e-b5e4-2b7bde1614f6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_14bee518-eaed-4df6-a541-da642c4faf74" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_604581e9-b6d7-4b5e-b5e4-2b7bde1614f6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_14bee518-eaed-4df6-a541-da642c4faf74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_7c09bf49-3194-4f59-9641-277a582c8a25" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_604581e9-b6d7-4b5e-b5e4-2b7bde1614f6" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_7c09bf49-3194-4f59-9641-277a582c8a25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_5f9246e0-82d9-442e-85f4-b7f033c5efa1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_604581e9-b6d7-4b5e-b5e4-2b7bde1614f6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_5f9246e0-82d9-442e-85f4-b7f033c5efa1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_cb78a905-be4f-4832-b937-5f754b3bd471" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_604581e9-b6d7-4b5e-b5e4-2b7bde1614f6" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_cb78a905-be4f-4832-b937-5f754b3bd471" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3476fe2d-55d3-41cc-b248-9c9cb7ae9d7b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_cb78a905-be4f-4832-b937-5f754b3bd471" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3476fe2d-55d3-41cc-b248-9c9cb7ae9d7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3476fe2d-55d3-41cc-b248-9c9cb7ae9d7b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3476fe2d-55d3-41cc-b248-9c9cb7ae9d7b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3476fe2d-55d3-41cc-b248-9c9cb7ae9d7b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3476fe2d-55d3-41cc-b248-9c9cb7ae9d7b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComputerEquipmentMember_8ff421eb-8501-4df6-b320-0f01ee23b6da" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComputerEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:to="loc_us-gaap_ComputerEquipmentMember_8ff421eb-8501-4df6-b320-0f01ee23b6da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_9a2441b1-48bc-4bb2-91dd-ffd89d77a5fe" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_9a2441b1-48bc-4bb2-91dd-ffd89d77a5fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ComputerAndOfficeEquipmentMember_4c598159-7fb0-431a-a5b9-03cbb692203f" xlink:href="mdb-20210131.xsd#mdb_ComputerAndOfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:to="loc_mdb_ComputerAndOfficeEquipmentMember_4c598159-7fb0-431a-a5b9-03cbb692203f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_0e7030f1-463a-4b3b-af46-d49599bc6b49" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_0e7030f1-463a-4b3b-af46-d49599bc6b49" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_df93c25b-e632-4939-8840-c9c433b88b6d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_df93c25b-e632-4939-8840-c9c433b88b6d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_d5be8ea5-b810-4371-a6c2-e5c84c8c2758" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:to="loc_us-gaap_ConstructionInProgressMember_d5be8ea5-b810-4371-a6c2-e5c84c8c2758" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdsAndLeaseholdImprovementsMember_f4eb0e85-a795-434e-9660-2294c67370be" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseholdsAndLeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_62646397-fdd7-49e5-8f75-848737f3218c" xlink:to="loc_us-gaap_LeaseholdsAndLeaseholdImprovementsMember_f4eb0e85-a795-434e-9660-2294c67370be" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyandEquipmentNetAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#PropertyandEquipmentNetAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyandEquipmentNetAdditionalInformationDetails" xlink:type="extended" id="i2a23a5819af94d1eaeff6aa983aa79c4_PropertyandEquipmentNetAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_be0b4675-f646-44db-bb54-98e3cccb3758" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DepreciationAndAmortizationPropertyPlantandEquipment_7d2e5472-b57a-4e96-8b71-cb95c2dc5341" xlink:href="mdb-20210131.xsd#mdb_DepreciationAndAmortizationPropertyPlantandEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_be0b4675-f646-44db-bb54-98e3cccb3758" xlink:to="loc_mdb_DepreciationAndAmortizationPropertyPlantandEquipment_7d2e5472-b57a-4e96-8b71-cb95c2dc5341" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseImpairmentLoss_c7cc814c-9553-4ced-a227-1550c4058f6f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_be0b4675-f646-44db-bb54-98e3cccb3758" xlink:to="loc_us-gaap_OperatingLeaseImpairmentLoss_c7cc814c-9553-4ced-a227-1550c4058f6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AreaOfRealEstateProperty_8b1f8099-11c3-4a7d-bf76-d4b1c3be77d2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AreaOfRealEstateProperty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_be0b4675-f646-44db-bb54-98e3cccb3758" xlink:to="loc_us-gaap_AreaOfRealEstateProperty_8b1f8099-11c3-4a7d-bf76-d4b1c3be77d2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_3103f3da-a33e-4f6f-b1ed-7f6f58626223" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_be0b4675-f646-44db-bb54-98e3cccb3758" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_3103f3da-a33e-4f6f-b1ed-7f6f58626223" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_efb83411-94b3-403d-86c7-23547f853202" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_3103f3da-a33e-4f6f-b1ed-7f6f58626223" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_efb83411-94b3-403d-86c7-23547f853202" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_efb83411-94b3-403d-86c7-23547f853202_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_efb83411-94b3-403d-86c7-23547f853202" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_efb83411-94b3-403d-86c7-23547f853202_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_5ccb25af-4240-4b39-9b07-7314e0daeffe" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_efb83411-94b3-403d-86c7-23547f853202" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_5ccb25af-4240-4b39-9b07-7314e0daeffe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DublinLeaseMember_7b56a9be-30ad-4da2-92e2-72c57b67d5a9" xlink:href="mdb-20210131.xsd#mdb_DublinLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_5ccb25af-4240-4b39-9b07-7314e0daeffe" xlink:to="loc_mdb_DublinLeaseMember_7b56a9be-30ad-4da2-92e2-72c57b67d5a9" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNet" xlink:type="simple" xlink:href="mdb-20210131.xsd#GoodwillandAcquiredIntangibleAssetsNet"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNet" xlink:type="extended" id="i5d8222803a5647e7ac8e84860d2c6219_GoodwillandAcquiredIntangibleAssetsNet"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#GoodwillandAcquiredIntangibleAssetsNetTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetTables" xlink:type="extended" id="icfadece9c5dc44328946e5c3b713c163_GoodwillandAcquiredIntangibleAssetsNetTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetScheduleofGoodwillDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#GoodwillandAcquiredIntangibleAssetsNetScheduleofGoodwillDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetScheduleofGoodwillDetails" xlink:type="extended" id="if75f5803ed2f459b854682c7c4bb416d_GoodwillandAcquiredIntangibleAssetsNetScheduleofGoodwillDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#GoodwillandAcquiredIntangibleAssetsNetScheduleofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetScheduleofIntangibleAssetsDetails" xlink:type="extended" id="i17439055d7744f24abc827397a11413f_GoodwillandAcquiredIntangibleAssetsNetScheduleofIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_909ff10f-aba3-4b41-bf6b-24c51c4be319" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_411cec68-0393-4f17-916d-28ca7c3d4e96" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_909ff10f-aba3-4b41-bf6b-24c51c4be319" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_411cec68-0393-4f17-916d-28ca7c3d4e96" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_adabea80-c064-4fb1-b589-27af40148ce3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_909ff10f-aba3-4b41-bf6b-24c51c4be319" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_adabea80-c064-4fb1-b589-27af40148ce3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_dbf10bed-12aa-4f65-b7c9-0c086ae25823" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_909ff10f-aba3-4b41-bf6b-24c51c4be319" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_dbf10bed-12aa-4f65-b7c9-0c086ae25823" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_fa0e8bbc-e549-4652-90f0-2964a9553f72" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_909ff10f-aba3-4b41-bf6b-24c51c4be319" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_fa0e8bbc-e549-4652-90f0-2964a9553f72" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1dc2d202-63eb-444c-adbe-089239cf9e7c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_fa0e8bbc-e549-4652-90f0-2964a9553f72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1dc2d202-63eb-444c-adbe-089239cf9e7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1dc2d202-63eb-444c-adbe-089239cf9e7c_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1dc2d202-63eb-444c-adbe-089239cf9e7c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1dc2d202-63eb-444c-adbe-089239cf9e7c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5d1eeec1-341e-4c74-abac-71b49fc575ab" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1dc2d202-63eb-444c-adbe-089239cf9e7c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5d1eeec1-341e-4c74-abac-71b49fc575ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_cc764a20-8bc2-4cbd-aa92-30f5c5668c3c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5d1eeec1-341e-4c74-abac-71b49fc575ab" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_cc764a20-8bc2-4cbd-aa92-30f5c5668c3c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternetDomainNamesMember_a21ac1c3-c1c1-49dc-aec8-ee3495bf779f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InternetDomainNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5d1eeec1-341e-4c74-abac-71b49fc575ab" xlink:to="loc_us-gaap_InternetDomainNamesMember_a21ac1c3-c1c1-49dc-aec8-ee3495bf779f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_80826c50-5b6a-49aa-9495-6a8006596ea8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5d1eeec1-341e-4c74-abac-71b49fc575ab" xlink:to="loc_us-gaap_CustomerRelationshipsMember_80826c50-5b6a-49aa-9495-6a8006596ea8" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#GoodwillandAcquiredIntangibleAssetsNetAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:type="extended" id="i968f83ea632b4babbb9c962baaca2a82_GoodwillandAcquiredIntangibleAssetsNetAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_fa04549f-110d-4278-99e9-e806ae76e9f3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_66995199-9f00-4fda-8424-b4ad44760671" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_fa04549f-110d-4278-99e9-e806ae76e9f3" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_66995199-9f00-4fda-8424-b4ad44760671" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_3048b8f1-79f7-4a6a-891f-71c9122b974a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_fa04549f-110d-4278-99e9-e806ae76e9f3" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_3048b8f1-79f7-4a6a-891f-71c9122b974a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_bcab6d6e-3f48-4db0-b70b-f62ac75688c0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_fa04549f-110d-4278-99e9-e806ae76e9f3" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_bcab6d6e-3f48-4db0-b70b-f62ac75688c0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_c1d34fa7-6b4f-4bda-8fc5-6ddd061a2c4a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_bcab6d6e-3f48-4db0-b70b-f62ac75688c0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_c1d34fa7-6b4f-4bda-8fc5-6ddd061a2c4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_c1d34fa7-6b4f-4bda-8fc5-6ddd061a2c4a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_c1d34fa7-6b4f-4bda-8fc5-6ddd061a2c4a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_c1d34fa7-6b4f-4bda-8fc5-6ddd061a2c4a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0d2a2554-c787-4bb3-ab56-9c3d1f2e6d03" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_c1d34fa7-6b4f-4bda-8fc5-6ddd061a2c4a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0d2a2554-c787-4bb3-ab56-9c3d1f2e6d03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_25f7a3f0-e527-402a-9bcb-98d7d5d0d4a8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0d2a2554-c787-4bb3-ab56-9c3d1f2e6d03" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_25f7a3f0-e527-402a-9bcb-98d7d5d0d4a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_f377ac6a-7b9e-4e48-b087-4218ffeacd54" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0d2a2554-c787-4bb3-ab56-9c3d1f2e6d03" xlink:to="loc_us-gaap_CustomerRelationshipsMember_f377ac6a-7b9e-4e48-b087-4218ffeacd54" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#GoodwillandAcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails" xlink:type="extended" id="ied6ca55049a2451f8d4bcc0b1b678c0f_GoodwillandAcquiredIntangibleAssetsNetFutureAmortizationExpenseDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotes" xlink:type="simple" xlink:href="mdb-20210131.xsd#ConvertibleSeniorNotes"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotes" xlink:type="extended" id="i7a1737dabcc6417cb94bc6ba6d29daa6_ConvertibleSeniorNotes"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#ConvertibleSeniorNotesTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesTables" xlink:type="extended" id="ie0bd5e1a0883483b9c7844afda88b151_ConvertibleSeniorNotesTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#ConvertibleSeniorNotesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesAdditionalInformationDetails" xlink:type="extended" id="i27c2b15796ba4471a8bb0a93968beff6_ConvertibleSeniorNotesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_2f407bbd-dbd2-4ee3-ac7c-953e64e3bcc3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_2f407bbd-dbd2-4ee3-ac7c-953e64e3bcc3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_40e99ea1-3958-4c5e-978d-bea91b185646" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_40e99ea1-3958-4c5e-978d-bea91b185646" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_e241f46a-6139-4835-8f9a-9c32d3f0cce5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_e241f46a-6139-4835-8f9a-9c32d3f0cce5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_FairValueCashConsiderationEffectiveDiscountRate_642af98e-8292-459f-b5be-82253064bf72" xlink:href="mdb-20210131.xsd#mdb_FairValueCashConsiderationEffectiveDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_mdb_FairValueCashConsiderationEffectiveDiscountRate_642af98e-8292-459f-b5be-82253064bf72" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_2e18aac2-74b1-47fe-aacf-06cdb45de49f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentConvertibleConversionRatio1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_2e18aac2-74b1-47fe-aacf-06cdb45de49f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtInstrumentConvertibleConversionRatioDenominator_dfeb2435-c3e0-4992-8a8a-d730e2f285b1" xlink:href="mdb-20210131.xsd#mdb_DebtInstrumentConvertibleConversionRatioDenominator"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_mdb_DebtInstrumentConvertibleConversionRatioDenominator_dfeb2435-c3e0-4992-8a8a-d730e2f285b1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_881a423c-b8f1-4445-b9cc-4c4041b8045b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_881a423c-b8f1-4445-b9cc-4c4041b8045b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_410ba176-9ef5-4cb4-aa02-233541b930fd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentConvertibleThresholdTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_410ba176-9ef5-4cb4-aa02-233541b930fd" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_70b854f3-dbff-4749-94cf-3161491b8eab" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_70b854f3-dbff-4749-94cf-3161491b8eab" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_4a012fda-7a3b-4066-9e03-9bd677f0851b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_4a012fda-7a3b-4066-9e03-9bd677f0851b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate_2676e4af-b389-46f8-9e78-7ce57d4bedcd" xlink:href="mdb-20210131.xsd#mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate_2676e4af-b389-46f8-9e78-7ce57d4bedcd" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_6c438425-6f28-47e3-b7d3-f421932c88c2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_6c438425-6f28-47e3-b7d3-f421932c88c2" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_0998b0a0-f31e-4675-94d3-1e0210297874" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_LongTermDebt_0998b0a0-f31e-4675-94d3-1e0210297874" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent_dfd214f6-7e49-4bbf-9a48-f9d90a37af93" xlink:href="mdb-20210131.xsd#mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_mdb_DebtInstrumentConvertibleGrossAmountofEquityComponent_dfd214f6-7e49-4bbf-9a48-f9d90a37af93" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_f1008fca-a433-4449-b0cd-b1cb3ca1773c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_f1008fca-a433-4449-b0cd-b1cb3ca1773c" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_549dfdf0-4623-4ac3-83d9-c897aaa8637c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_549dfdf0-4623-4ac3-83d9-c897aaa8637c" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_8703c1ba-966c-467c-8e2d-46a1ca8fa367" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DeferredTaxLiabilities_8703c1ba-966c-467c-8e2d-46a1ca8fa367" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtConversionConvertedInstrumentAmount1_8f13d3eb-1a07-43a8-b0e3-7afdf9c38f9c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtConversionConvertedInstrumentAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtConversionConvertedInstrumentAmount1_8f13d3eb-1a07-43a8-b0e3-7afdf9c38f9c" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_88de25e2-128b-4347-b39d-5ef4b650ff9a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_88de25e2-128b-4347-b39d-5ef4b650ff9a" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtFairValueDisclosures_a00155aa-0bd9-4eab-8f19-b5dc67ab697b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtFairValueDisclosures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_ConvertibleDebtFairValueDisclosures_a00155aa-0bd9-4eab-8f19-b5dc67ab697b" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_87af4f59-cb6c-4fa9-a5fa-272459a6646e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0ee2e5b8-ef61-4414-996f-0ef99c6303ae" xlink:to="loc_us-gaap_DebtInstrumentTable_87af4f59-cb6c-4fa9-a5fa-272459a6646e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_2451b7fa-f807-4c6b-bd05-9260be719a4e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_87af4f59-cb6c-4fa9-a5fa-272459a6646e" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_2451b7fa-f807-4c6b-bd05-9260be719a4e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_2451b7fa-f807-4c6b-bd05-9260be719a4e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_2451b7fa-f807-4c6b-bd05-9260be719a4e" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_2451b7fa-f807-4c6b-bd05-9260be719a4e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_2e2e9ee3-d452-454d-8a83-b96489e5beec" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_2451b7fa-f807-4c6b-bd05-9260be719a4e" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_2e2e9ee3-d452-454d-8a83-b96489e5beec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMember_bb73432b-252b-4979-98a7-2ef222ec8bd6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_2e2e9ee3-d452-454d-8a83-b96489e5beec" xlink:to="loc_us-gaap_EquityMember_bb73432b-252b-4979-98a7-2ef222ec8bd6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_7e473a9d-e942-4976-be66-37a91ba66ca0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_87af4f59-cb6c-4fa9-a5fa-272459a6646e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_7e473a9d-e942-4976-be66-37a91ba66ca0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7e473a9d-e942-4976-be66-37a91ba66ca0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7e473a9d-e942-4976-be66-37a91ba66ca0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7e473a9d-e942-4976-be66-37a91ba66ca0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_be08e033-5d06-4f0b-ae37-82eec20d20a8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7e473a9d-e942-4976-be66-37a91ba66ca0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_be08e033-5d06-4f0b-ae37-82eec20d20a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_5570cd41-dabc-42f2-a5a9-b156591a2ac1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_be08e033-5d06-4f0b-ae37-82eec20d20a8" xlink:to="loc_us-gaap_ConvertibleDebtMember_5570cd41-dabc-42f2-a5a9-b156591a2ac1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_68b4bc43-357a-4833-b6e7-610c1d256774" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_87af4f59-cb6c-4fa9-a5fa-272459a6646e" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_68b4bc43-357a-4833-b6e7-610c1d256774" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_68b4bc43-357a-4833-b6e7-610c1d256774_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_68b4bc43-357a-4833-b6e7-610c1d256774" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_68b4bc43-357a-4833-b6e7-610c1d256774_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_382c7490-247d-4436-a3d0-906880783417" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_68b4bc43-357a-4833-b6e7-610c1d256774" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_382c7490-247d-4436-a3d0-906880783417" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_5381622c-3e30-4f83-be92-dabb2a7822a6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_382c7490-247d-4436-a3d0-906880783417" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_5381622c-3e30-4f83-be92-dabb2a7822a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_4f49ec82-96b8-4e3e-8ca5-fb1081ae75b8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentRedemptionPeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_382c7490-247d-4436-a3d0-906880783417" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_4f49ec82-96b8-4e3e-8ca5-fb1081ae75b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_5b2c0ec2-bc2c-4bc7-880e-a36b93c00c8a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_87af4f59-cb6c-4fa9-a5fa-272459a6646e" xlink:to="loc_us-gaap_DebtInstrumentAxis_5b2c0ec2-bc2c-4bc7-880e-a36b93c00c8a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5b2c0ec2-bc2c-4bc7-880e-a36b93c00c8a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_5b2c0ec2-bc2c-4bc7-880e-a36b93c00c8a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5b2c0ec2-bc2c-4bc7-880e-a36b93c00c8a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_5b2c0ec2-bc2c-4bc7-880e-a36b93c00c8a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_1c41d94c-5ddd-4481-83b9-454cffdfc0fc" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_1c41d94c-5ddd-4481-83b9-454cffdfc0fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_AdditionalConvertibleSeniorNotesDue2026Member_1bf57047-1f19-4b9b-b15e-a8d9ba4db92a" xlink:href="mdb-20210131.xsd#mdb_AdditionalConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_AdditionalConvertibleSeniorNotesDue2026Member_1bf57047-1f19-4b9b-b15e-a8d9ba4db92a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_A2024NotesPartialRepurchaseMember_20bd0e54-aa55-4276-976d-bb7ce88d2098" xlink:href="mdb-20210131.xsd#mdb_A2024NotesPartialRepurchaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_A2024NotesPartialRepurchaseMember_20bd0e54-aa55-4276-976d-bb7ce88d2098" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleSeniorNotesLiabilityComponentMember_d27c21c2-1c27-4fbd-a38b-a388cf85e730" xlink:href="mdb-20210131.xsd#mdb_ConvertibleSeniorNotesLiabilityComponentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_ConvertibleSeniorNotesLiabilityComponentMember_d27c21c2-1c27-4fbd-a38b-a388cf85e730" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleSeniorNotesEquityComponentMember_8228abe2-bb7b-46ae-bbba-edf5960c5d4d" xlink:href="mdb-20210131.xsd#mdb_ConvertibleSeniorNotesEquityComponentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_ConvertibleSeniorNotesEquityComponentMember_8228abe2-bb7b-46ae-bbba-edf5960c5d4d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleSeniorNotesInterestComponentMember_88bd9e0c-eedd-4649-843d-1f1733c0d67e" xlink:href="mdb-20210131.xsd#mdb_ConvertibleSeniorNotesInterestComponentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_ConvertibleSeniorNotesInterestComponentMember_88bd9e0c-eedd-4649-843d-1f1733c0d67e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleSeniorNotesDue2026LiabilityComponentMember_395565ba-8ac0-48a5-aa1d-21328132d94e" xlink:href="mdb-20210131.xsd#mdb_ConvertibleSeniorNotesDue2026LiabilityComponentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_ConvertibleSeniorNotesDue2026LiabilityComponentMember_395565ba-8ac0-48a5-aa1d-21328132d94e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleSeniorNotesDue2026EquityComponentMember_79b6b4db-3ad6-40c0-9bb7-622e0b0697d7" xlink:href="mdb-20210131.xsd#mdb_ConvertibleSeniorNotesDue2026EquityComponentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_ConvertibleSeniorNotesDue2026EquityComponentMember_79b6b4db-3ad6-40c0-9bb7-622e0b0697d7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2024Member_3c3563de-32ea-4582-8c15-63926badeaa0" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14c9dd1f-0add-4c40-b475-df91c39b4f0d" xlink:to="loc_mdb_ConvertibleNotesDue2024Member_3c3563de-32ea-4582-8c15-63926badeaa0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_0cf1fe8f-3761-43c2-af52-962391482e87" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_87af4f59-cb6c-4fa9-a5fa-272459a6646e" xlink:to="loc_srt_RangeAxis_0cf1fe8f-3761-43c2-af52-962391482e87" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0cf1fe8f-3761-43c2-af52-962391482e87_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_0cf1fe8f-3761-43c2-af52-962391482e87" xlink:to="loc_srt_RangeMember_0cf1fe8f-3761-43c2-af52-962391482e87_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_52655cf6-7441-43b2-8cc5-9e02f4a2b4d4" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_0cf1fe8f-3761-43c2-af52-962391482e87" xlink:to="loc_srt_RangeMember_52655cf6-7441-43b2-8cc5-9e02f4a2b4d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_c909ed41-fede-48ea-8729-71f30d507c56" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_52655cf6-7441-43b2-8cc5-9e02f4a2b4d4" xlink:to="loc_srt_MinimumMember_c909ed41-fede-48ea-8729-71f30d507c56" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_5cd4560c-e25d-4e40-b8e9-4de8c3b31734" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_52655cf6-7441-43b2-8cc5-9e02f4a2b4d4" xlink:to="loc_srt_MaximumMember_5cd4560c-e25d-4e40-b8e9-4de8c3b31734" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleofNetCarryingAmountoftheLiabilityComponentoftheNotesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#ConvertibleSeniorNotesScheduleofNetCarryingAmountoftheLiabilityComponentoftheNotesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleofNetCarryingAmountoftheLiabilityComponentoftheNotesDetails" xlink:type="extended" id="if11d8257976e4706b91dc69ee60fa3b9_ConvertibleSeniorNotesScheduleofNetCarryingAmountoftheLiabilityComponentoftheNotesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_be18a258-e147-4246-af92-7393e3280443" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_be18a258-e147-4246-af92-7393e3280443" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_abd0c7ca-8df6-4493-96bd-bf6e631171d1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_abd0c7ca-8df6-4493-96bd-bf6e631171d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_0e975236-9bf8-46d8-9fce-85dd404a5986" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_0e975236-9bf8-46d8-9fce-85dd404a5986" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_51d69260-c907-4e4d-a2c6-2a9ece9269dc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:to="loc_us-gaap_LongTermDebt_51d69260-c907-4e4d-a2c6-2a9ece9269dc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_9b2e4606-f9b0-4828-8294-e062962c9d94" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_9b2e4606-f9b0-4828-8294-e062962c9d94" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtInstrumentConvertibleCarryingAmountOfLiabilityComponent_cbe8656c-fcb5-440c-8dbf-d03f24d0b847" xlink:href="mdb-20210131.xsd#mdb_DebtInstrumentConvertibleCarryingAmountOfLiabilityComponent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:to="loc_mdb_DebtInstrumentConvertibleCarryingAmountOfLiabilityComponent_cbe8656c-fcb5-440c-8dbf-d03f24d0b847" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_c494e56c-a7b8-4519-93dc-398686f0b5a5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_c494e56c-a7b8-4519-93dc-398686f0b5a5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_b653732f-13fa-4110-8812-b30964b7b58e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04c1e502-3135-458d-af34-87978629631e" xlink:to="loc_us-gaap_DebtInstrumentTable_b653732f-13fa-4110-8812-b30964b7b58e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_d06d2c42-5de6-4d90-838f-1323d92a9385" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_b653732f-13fa-4110-8812-b30964b7b58e" xlink:to="loc_us-gaap_DebtInstrumentAxis_d06d2c42-5de6-4d90-838f-1323d92a9385" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d06d2c42-5de6-4d90-838f-1323d92a9385_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_d06d2c42-5de6-4d90-838f-1323d92a9385" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d06d2c42-5de6-4d90-838f-1323d92a9385_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_b0c5c544-8506-4368-bd69-bd8c869d5feb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_d06d2c42-5de6-4d90-838f-1323d92a9385" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_b0c5c544-8506-4368-bd69-bd8c869d5feb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2024Member_a82730f0-ff79-4caa-8a10-b89473d2aefb" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b0c5c544-8506-4368-bd69-bd8c869d5feb" xlink:to="loc_mdb_ConvertibleNotesDue2024Member_a82730f0-ff79-4caa-8a10-b89473d2aefb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_A2024NotesPartialRepurchaseMember_7ffc337a-40f3-4a94-8fa7-5d51d2a7317b" xlink:href="mdb-20210131.xsd#mdb_A2024NotesPartialRepurchaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b0c5c544-8506-4368-bd69-bd8c869d5feb" xlink:to="loc_mdb_A2024NotesPartialRepurchaseMember_7ffc337a-40f3-4a94-8fa7-5d51d2a7317b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleSeniorNotesLiabilityComponentMember_82fda5f5-9a54-459f-bd22-156e620b034d" xlink:href="mdb-20210131.xsd#mdb_ConvertibleSeniorNotesLiabilityComponentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b0c5c544-8506-4368-bd69-bd8c869d5feb" xlink:to="loc_mdb_ConvertibleSeniorNotesLiabilityComponentMember_82fda5f5-9a54-459f-bd22-156e620b034d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_729f176d-0738-44ab-a6d8-b9364daf5a27" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b0c5c544-8506-4368-bd69-bd8c869d5feb" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_729f176d-0738-44ab-a6d8-b9364daf5a27" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_3ecc2164-d6ca-4023-84de-1f697b06518d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_b653732f-13fa-4110-8812-b30964b7b58e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_3ecc2164-d6ca-4023-84de-1f697b06518d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3ecc2164-d6ca-4023-84de-1f697b06518d_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3ecc2164-d6ca-4023-84de-1f697b06518d" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3ecc2164-d6ca-4023-84de-1f697b06518d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_5c84956b-2773-4c80-bb7e-aa94d5bbc486" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3ecc2164-d6ca-4023-84de-1f697b06518d" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_5c84956b-2773-4c80-bb7e-aa94d5bbc486" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_37dd4187-1f6d-4b6c-b0ab-736cbcd5cccf" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_5c84956b-2773-4c80-bb7e-aa94d5bbc486" xlink:to="loc_us-gaap_ConvertibleDebtMember_37dd4187-1f6d-4b6c-b0ab-736cbcd5cccf" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleofInterestExpensefortheNotesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#ConvertibleSeniorNotesScheduleofInterestExpensefortheNotesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleofInterestExpensefortheNotesDetails" xlink:type="extended" id="iada3ec26eb97432491d1ecfd5f8e5f1e_ConvertibleSeniorNotesScheduleofInterestExpensefortheNotesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_23beedb5-5e83-4ef1-a8f8-7638b47fc065" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_3bbe9272-599d-4d40-bc3f-b6fcb63787a7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpenseDebtExcludingAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23beedb5-5e83-4ef1-a8f8-7638b47fc065" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_3bbe9272-599d-4d40-bc3f-b6fcb63787a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_3f6fda09-3ede-4212-9f75-82f93fc64b3e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23beedb5-5e83-4ef1-a8f8-7638b47fc065" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_3f6fda09-3ede-4212-9f75-82f93fc64b3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_d5266e5b-c6de-4fc7-a670-4e74c4cbb666" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23beedb5-5e83-4ef1-a8f8-7638b47fc065" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_d5266e5b-c6de-4fc7-a670-4e74c4cbb666" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_fb296f70-46ca-4666-b3bf-534dc49692ba" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpenseDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23beedb5-5e83-4ef1-a8f8-7638b47fc065" xlink:to="loc_us-gaap_InterestExpenseDebt_fb296f70-46ca-4666-b3bf-534dc49692ba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_72fbbfe7-9e4f-443c-aa49-531ed1e360f3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23beedb5-5e83-4ef1-a8f8-7638b47fc065" xlink:to="loc_us-gaap_DebtInstrumentTable_72fbbfe7-9e4f-443c-aa49-531ed1e360f3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_67415184-0956-40cf-a560-055ee7c708dc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_72fbbfe7-9e4f-443c-aa49-531ed1e360f3" xlink:to="loc_us-gaap_DebtInstrumentAxis_67415184-0956-40cf-a560-055ee7c708dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_67415184-0956-40cf-a560-055ee7c708dc_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_67415184-0956-40cf-a560-055ee7c708dc" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_67415184-0956-40cf-a560-055ee7c708dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5a05ef5a-0e5b-46d0-97b0-5f0afe328fa6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_67415184-0956-40cf-a560-055ee7c708dc" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5a05ef5a-0e5b-46d0-97b0-5f0afe328fa6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2024Member_573d8cfe-e0b6-4e13-814d-0f910ef76266" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5a05ef5a-0e5b-46d0-97b0-5f0afe328fa6" xlink:to="loc_mdb_ConvertibleNotesDue2024Member_573d8cfe-e0b6-4e13-814d-0f910ef76266" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_2d50d234-0a86-4bd4-a55e-c4638fe9da12" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5a05ef5a-0e5b-46d0-97b0-5f0afe328fa6" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_2d50d234-0a86-4bd4-a55e-c4638fe9da12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_7b5eb7a1-5636-49ba-8983-937c66e82624" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_72fbbfe7-9e4f-443c-aa49-531ed1e360f3" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_7b5eb7a1-5636-49ba-8983-937c66e82624" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7b5eb7a1-5636-49ba-8983-937c66e82624_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7b5eb7a1-5636-49ba-8983-937c66e82624" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7b5eb7a1-5636-49ba-8983-937c66e82624_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4a6c74c2-7c31-498c-b13d-b5b169f3a1be" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7b5eb7a1-5636-49ba-8983-937c66e82624" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4a6c74c2-7c31-498c-b13d-b5b169f3a1be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_09d64fb8-6d1c-4f91-9abe-ee8ba6c16d31" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4a6c74c2-7c31-498c-b13d-b5b169f3a1be" xlink:to="loc_us-gaap_ConvertibleDebtMember_09d64fb8-6d1c-4f91-9abe-ee8ba6c16d31" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesCappedCallsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#ConvertibleSeniorNotesCappedCallsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesCappedCallsDetails" xlink:type="extended" id="i0c0083b2c1f94792a2d580f8e828435f_ConvertibleSeniorNotesCappedCallsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_186ad96f-cfa5-4087-9470-7dcfe7db74a4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityStrikePrice1_104a1519-acd8-4421-918e-9ef08a9f0312" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityStrikePrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_186ad96f-cfa5-4087-9470-7dcfe7db74a4" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityStrikePrice1_104a1519-acd8-4421-918e-9ef08a9f0312" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_OptionIndexedToIssuersEquityCapPrice_754323be-2409-4cdb-86fe-327396968395" xlink:href="mdb-20210131.xsd#mdb_OptionIndexedToIssuersEquityCapPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_186ad96f-cfa5-4087-9470-7dcfe7db74a4" xlink:to="loc_mdb_OptionIndexedToIssuersEquityCapPrice_754323be-2409-4cdb-86fe-327396968395" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityShares_d416aea0-6b95-4bc9-973b-fd4c678b8e75" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_186ad96f-cfa5-4087-9470-7dcfe7db74a4" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityShares_d416aea0-6b95-4bc9-973b-fd4c678b8e75" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_6f665710-ebe4-41d8-a0aa-bca4c32829c9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_186ad96f-cfa5-4087-9470-7dcfe7db74a4" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_6f665710-ebe4-41d8-a0aa-bca4c32829c9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_0fb92222-e9ea-4f9f-a4bb-d286467cc3d8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityEquityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_186ad96f-cfa5-4087-9470-7dcfe7db74a4" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_0fb92222-e9ea-4f9f-a4bb-d286467cc3d8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_741e2e0e-517d-451a-b12c-8f10b963e4fc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_0fb92222-e9ea-4f9f-a4bb-d286467cc3d8" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_741e2e0e-517d-451a-b12c-8f10b963e4fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_741e2e0e-517d-451a-b12c-8f10b963e4fc_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_741e2e0e-517d-451a-b12c-8f10b963e4fc" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_741e2e0e-517d-451a-b12c-8f10b963e4fc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9798e5b6-7d2a-4f64-9b11-70bef6c2a50e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_741e2e0e-517d-451a-b12c-8f10b963e4fc" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9798e5b6-7d2a-4f64-9b11-70bef6c2a50e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_09abbf2a-663c-48c0-a4ba-f6f0cde89991" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_9798e5b6-7d2a-4f64-9b11-70bef6c2a50e" xlink:to="loc_us-gaap_ConvertibleDebtMember_09abbf2a-663c-48c0-a4ba-f6f0cde89991" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_a06d7a8f-8723-4ba4-babe-23bd8fbc5d03" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_0fb92222-e9ea-4f9f-a4bb-d286467cc3d8" xlink:to="loc_us-gaap_DebtInstrumentAxis_a06d7a8f-8723-4ba4-babe-23bd8fbc5d03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_a06d7a8f-8723-4ba4-babe-23bd8fbc5d03_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_a06d7a8f-8723-4ba4-babe-23bd8fbc5d03" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_a06d7a8f-8723-4ba4-babe-23bd8fbc5d03_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d9fc86d6-c163-4c2f-a8d7-61f65ff89356" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_a06d7a8f-8723-4ba4-babe-23bd8fbc5d03" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d9fc86d6-c163-4c2f-a8d7-61f65ff89356" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_b9caaed8-113f-4051-826d-696a9b317ed0" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_d9fc86d6-c163-4c2f-a8d7-61f65ff89356" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_b9caaed8-113f-4051-826d-696a9b317ed0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_f6515826-7e7d-4660-b3d3-7a7de3fb19a5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_0fb92222-e9ea-4f9f-a4bb-d286467cc3d8" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_f6515826-7e7d-4660-b3d3-7a7de3fb19a5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_f6515826-7e7d-4660-b3d3-7a7de3fb19a5_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_f6515826-7e7d-4660-b3d3-7a7de3fb19a5" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_f6515826-7e7d-4660-b3d3-7a7de3fb19a5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_fc845638-969b-44d1-b884-7d0dc65d7008" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_f6515826-7e7d-4660-b3d3-7a7de3fb19a5" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_fc845638-969b-44d1-b884-7d0dc65d7008" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CallOptionMember_bdf3622a-94ed-4aa6-a2b5-e83e2705dcad" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CallOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_fc845638-969b-44d1-b884-7d0dc65d7008" xlink:to="loc_us-gaap_CallOptionMember_bdf3622a-94ed-4aa6-a2b5-e83e2705dcad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_83045406-e455-465e-8810-2474cc293e0f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_0fb92222-e9ea-4f9f-a4bb-d286467cc3d8" xlink:to="loc_us-gaap_StatementClassOfStockAxis_83045406-e455-465e-8810-2474cc293e0f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_83045406-e455-465e-8810-2474cc293e0f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_83045406-e455-465e-8810-2474cc293e0f" xlink:to="loc_us-gaap_ClassOfStockDomain_83045406-e455-465e-8810-2474cc293e0f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ef6c45d3-048e-46da-9324-f54fc2311241" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_83045406-e455-465e-8810-2474cc293e0f" xlink:to="loc_us-gaap_ClassOfStockDomain_ef6c45d3-048e-46da-9324-f54fc2311241" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_fadd0312-8dfe-4ba1-afb6-d59b29a51257" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ef6c45d3-048e-46da-9324-f54fc2311241" xlink:to="loc_us-gaap_CommonClassAMember_fadd0312-8dfe-4ba1-afb6-d59b29a51257" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/Leases" xlink:type="simple" xlink:href="mdb-20210131.xsd#Leases"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/Leases" xlink:type="extended" id="i088ea9bdeaed4dba93f4cab70f509218_Leases"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/LeasesTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#LeasesTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/LeasesTables" xlink:type="extended" id="id5d75e25d925440a9476a0c1255c469a_LeasesTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/LeasesNarrativeDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#LeasesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/LeasesNarrativeDetails" xlink:type="extended" id="i441c7359b6c64fdaa4d1d8cc43c49c2d_LeasesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AreaOfRealEstateProperty_4e6c1d75-f679-4e49-b273-e40c8b3510ce" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AreaOfRealEstateProperty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_AreaOfRealEstateProperty_4e6c1d75-f679-4e49-b273-e40c8b3510ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeFinanceLeaseTermOfContract1_42bd662e-a883-4f19-9e2d-69cf1853ba52" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeFinanceLeaseTermOfContract1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_LesseeFinanceLeaseTermOfContract1_42bd662e-a883-4f19-9e2d-69cf1853ba52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_30056ff1-1b3f-435d-ae95-877e1ae2faba" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_30056ff1-1b3f-435d-ae95-877e1ae2faba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeFinanceLeaseOptionToExtend_4bdb0641-57b2-49e0-bc87-6277588c4803" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeFinanceLeaseOptionToExtend"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_LesseeFinanceLeaseOptionToExtend_4bdb0641-57b2-49e0-bc87-6277588c4803" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_28e4d9b3-0306-4bb3-884f-5c597af4043f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_28e4d9b3-0306-4bb3-884f-5c597af4043f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_dd0b1d62-a532-47bb-af3d-098c23cd8ec1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_dd0b1d62-a532-47bb-af3d-098c23cd8ec1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_caf0e7bc-aba2-4e7b-96d3-0bc44c3496dc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_caf0e7bc-aba2-4e7b-96d3-0bc44c3496dc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesRentExpenseMinimumRentals_3da201a9-188c-496b-a170-cccfeb7c270e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesRentExpenseMinimumRentals"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_OperatingLeasesRentExpenseMinimumRentals_3da201a9-188c-496b-a170-cccfeb7c270e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_OperatingLeasesRentExpenseDueDateSubsequentToLeaseCommencementDate_cbc84383-28ae-4337-9d75-2604145fc40c" xlink:href="mdb-20210131.xsd#mdb_OperatingLeasesRentExpenseDueDateSubsequentToLeaseCommencementDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_mdb_OperatingLeasesRentExpenseDueDateSubsequentToLeaseCommencementDate_cbc84383-28ae-4337-9d75-2604145fc40c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_LesseeOperatingLeaseLeaseNotYetCommencedUndiscountedAmount_dc152182-44f0-4121-8a9f-7a02e60250e2" xlink:href="mdb-20210131.xsd#mdb_LesseeOperatingLeaseLeaseNotYetCommencedUndiscountedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_mdb_LesseeOperatingLeaseLeaseNotYetCommencedUndiscountedAmount_dc152182-44f0-4121-8a9f-7a02e60250e2" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_a37d7ff2-9657-443b-8cfc-fc1a85cd6db3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_b241246f-7ec4-4671-8ae7-adf851f997f6" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_a37d7ff2-9657-443b-8cfc-fc1a85cd6db3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_e5d4a7be-26eb-4b37-90df-3664bd354c25" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_a37d7ff2-9657-443b-8cfc-fc1a85cd6db3" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_e5d4a7be-26eb-4b37-90df-3664bd354c25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_e5d4a7be-26eb-4b37-90df-3664bd354c25_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_e5d4a7be-26eb-4b37-90df-3664bd354c25" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_e5d4a7be-26eb-4b37-90df-3664bd354c25_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_f8ceee4c-a6ab-41e8-8b49-274dd0075615" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_e5d4a7be-26eb-4b37-90df-3664bd354c25" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_f8ceee4c-a6ab-41e8-8b49-274dd0075615" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_NYOfficeLeaseMember_615a0dd6-f02b-444d-8c47-316bdcdca526" xlink:href="mdb-20210131.xsd#mdb_NYOfficeLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_f8ceee4c-a6ab-41e8-8b49-274dd0075615" xlink:to="loc_mdb_NYOfficeLeaseMember_615a0dd6-f02b-444d-8c47-316bdcdca526" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_OperatingLeaseinTexasMember_dc025b92-365f-4a9c-b49a-09449273cfad" xlink:href="mdb-20210131.xsd#mdb_OperatingLeaseinTexasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_f8ceee4c-a6ab-41e8-8b49-274dd0075615" xlink:to="loc_mdb_OperatingLeaseinTexasMember_dc025b92-365f-4a9c-b49a-09449273cfad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_OperatingLeaseinAustraliaMember_7182b17c-6faa-4fcf-9750-941f5ea9b5f2" xlink:href="mdb-20210131.xsd#mdb_OperatingLeaseinAustraliaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_f8ceee4c-a6ab-41e8-8b49-274dd0075615" xlink:to="loc_mdb_OperatingLeaseinAustraliaMember_7182b17c-6faa-4fcf-9750-941f5ea9b5f2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DublinLeaseMember_f358e587-86fd-468c-8720-46496e1a6c33" xlink:href="mdb-20210131.xsd#mdb_DublinLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_f8ceee4c-a6ab-41e8-8b49-274dd0075615" xlink:to="loc_mdb_DublinLeaseMember_f358e587-86fd-468c-8720-46496e1a6c33" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_PaloAltoMember_1d098c19-0d6d-419a-a748-f5b44324f7e1" xlink:href="mdb-20210131.xsd#mdb_PaloAltoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_f8ceee4c-a6ab-41e8-8b49-274dd0075615" xlink:to="loc_mdb_PaloAltoMember_1d098c19-0d6d-419a-a748-f5b44324f7e1" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/LeasesComponentsofLeaseExpenseDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#LeasesComponentsofLeaseExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/LeasesComponentsofLeaseExpenseDetails" xlink:type="extended" id="i9b44be86a9aa416dac74886cdd237347_LeasesComponentsofLeaseExpenseDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/LeasesBalanceSheetComponentsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#LeasesBalanceSheetComponentsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/LeasesBalanceSheetComponentsDetails" xlink:type="extended" id="i96143533c4d34ac59d650105a07836d6_LeasesBalanceSheetComponentsDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/LeasesSupplementalInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#LeasesSupplementalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/LeasesSupplementalInformationDetails" xlink:type="extended" id="i9fb6d375cde94d9d954c92219070baac_LeasesSupplementalInformationDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/LeasesLeaseMaturitiesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#LeasesLeaseMaturitiesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/LeasesLeaseMaturitiesDetails" xlink:type="extended" id="i20aab94a2d164c74a294df5abe8a8bee_LeasesLeaseMaturitiesDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="mdb-20210131.xsd#CommitmentsandContingencies"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsandContingencies" xlink:type="extended" id="i6df3fc6066e147a6a0e3c9def116879d_CommitmentsandContingencies"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsandContingenciesTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#CommitmentsandContingenciesTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsandContingenciesTables" xlink:type="extended" id="ib09cb7fa65c14985a53f86cbe9eb41ff_CommitmentsandContingenciesTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsandContingenciesFutureMinimumFinancingandOperatingLeasesandOtherNonCancellableAgreementsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#CommitmentsandContingenciesFutureMinimumFinancingandOperatingLeasesandOtherNonCancellableAgreementsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsandContingenciesFutureMinimumFinancingandOperatingLeasesandOtherNonCancellableAgreementsDetails" xlink:type="extended" id="i70b4a9dfec5b4c1d92f537fdbe11e275_CommitmentsandContingenciesFutureMinimumFinancingandOperatingLeasesandOtherNonCancellableAgreementsDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsandContingenciesAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#CommitmentsandContingenciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsandContingenciesAdditionalInformationDetails" xlink:type="extended" id="i116025082f8745ff9e4f9412960651bd_CommitmentsandContingenciesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_de32384e-9090-43bd-8076-afca9c159557" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitment_5109677e-72ac-48f0-aa68-a8ffb01eea04" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_de32384e-9090-43bd-8076-afca9c159557" xlink:to="loc_us-gaap_OtherCommitment_5109677e-72ac-48f0-aa68-a8ffb01eea04" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_9e13f099-a448-40bf-81c3-6a76d5c9b124" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingencyAccrualAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_de32384e-9090-43bd-8076-afca9c159557" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_9e13f099-a448-40bf-81c3-6a76d5c9b124" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsTable_16eab893-7183-4320-950a-7f6badf4dec4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_de32384e-9090-43bd-8076-afca9c159557" xlink:to="loc_us-gaap_OtherCommitmentsTable_16eab893-7183-4320-950a-7f6badf4dec4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsAxis_041a12a8-842d-4f98-b5b5-6ec6c39e1429" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_16eab893-7183-4320-950a-7f6badf4dec4" xlink:to="loc_us-gaap_OtherCommitmentsAxis_041a12a8-842d-4f98-b5b5-6ec6c39e1429" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_041a12a8-842d-4f98-b5b5-6ec6c39e1429_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_041a12a8-842d-4f98-b5b5-6ec6c39e1429" xlink:to="loc_us-gaap_OtherCommitmentsDomain_041a12a8-842d-4f98-b5b5-6ec6c39e1429_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_2486d5b7-3dfd-4c07-b11f-ce2f05d84c54" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_041a12a8-842d-4f98-b5b5-6ec6c39e1429" xlink:to="loc_us-gaap_OtherCommitmentsDomain_2486d5b7-3dfd-4c07-b11f-ce2f05d84c54" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_PartnershipArrangementMember_b0e1d1bc-2865-4bbb-8fb0-af4471b38471" xlink:href="mdb-20210131.xsd#mdb_PartnershipArrangementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_2486d5b7-3dfd-4c07-b11f-ce2f05d84c54" xlink:to="loc_mdb_PartnershipArrangementMember_b0e1d1bc-2865-4bbb-8fb0-af4471b38471" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/StockholdersEquityDeficit" xlink:type="simple" xlink:href="mdb-20210131.xsd#StockholdersEquityDeficit"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/StockholdersEquityDeficit" xlink:type="extended" id="i3471c1f8de9b4f229834c26b4fa7b539_StockholdersEquityDeficit"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/StockholdersEquityDeficitDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#StockholdersEquityDeficitDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/StockholdersEquityDeficitDetails" xlink:type="extended" id="ife90b9a1e4fa4cc98ebd0420be77b0c6_StockholdersEquityDeficitDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_4987156a-4e44-41a4-b73f-919ca504aa5a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_4987156a-4e44-41a4-b73f-919ca504aa5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CommonStockConversionPercentOfTotalSharesOutstandingPreConversion_f4d0f573-3609-4723-aa40-640431857e6d" xlink:href="mdb-20210131.xsd#mdb_CommonStockConversionPercentOfTotalSharesOutstandingPreConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_mdb_CommonStockConversionPercentOfTotalSharesOutstandingPreConversion_f4d0f573-3609-4723-aa40-640431857e6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CommonStockConversionSharesAuthorizedDecrease_a0d6870f-d94f-4766-a510-16505c622309" xlink:href="mdb-20210131.xsd#mdb_CommonStockConversionSharesAuthorizedDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_mdb_CommonStockConversionSharesAuthorizedDecrease_a0d6870f-d94f-4766-a510-16505c622309" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_NumberofClassofCommonStock_8da63053-8406-4677-b9f1-44cde98575cd" xlink:href="mdb-20210131.xsd#mdb_NumberofClassofCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_mdb_NumberofClassofCommonStock_8da63053-8406-4677-b9f1-44cde98575cd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CommonStockVotingRightsNumberOfVotes_38424503-2fa1-4bfe-be06-4db2aefeabd3" xlink:href="mdb-20210131.xsd#mdb_CommonStockVotingRightsNumberOfVotes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_mdb_CommonStockVotingRightsNumberOfVotes_38424503-2fa1-4bfe-be06-4db2aefeabd3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder_8792b2df-348d-4c26-8729-b55f720cb615" xlink:href="mdb-20210131.xsd#mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_mdb_CommonStockConversionFeaturePeriodOfAutomaticConversionAfterDeathOfFounder_8792b2df-348d-4c26-8729-b55f720cb615" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CommonStockConversionFeaturePercentofOutstandingStock_42504c58-5840-4d14-9bbb-97f8c0fc70ea" xlink:href="mdb-20210131.xsd#mdb_CommonStockConversionFeaturePercentofOutstandingStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_mdb_CommonStockConversionFeaturePercentofOutstandingStock_42504c58-5840-4d14-9bbb-97f8c0fc70ea" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_be9051d8-914f-49f6-8ca3-26018c2a57f3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_be9051d8-914f-49f6-8ca3-26018c2a57f3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_a4850446-bc42-44f1-82c0-b3acdbcf6052" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_us-gaap_CommonStockSharesIssued_a4850446-bc42-44f1-82c0-b3acdbcf6052" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_04843410-bd57-4b68-a7ec-796885ea6d0c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_10291000-e5a0-484e-b5d3-119353f33530" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_04843410-bd57-4b68-a7ec-796885ea6d0c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_4f363d72-2cae-4bad-8e11-a173033ed9ce" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_04843410-bd57-4b68-a7ec-796885ea6d0c" xlink:to="loc_us-gaap_StatementClassOfStockAxis_4f363d72-2cae-4bad-8e11-a173033ed9ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_4f363d72-2cae-4bad-8e11-a173033ed9ce_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4f363d72-2cae-4bad-8e11-a173033ed9ce" xlink:to="loc_us-gaap_ClassOfStockDomain_4f363d72-2cae-4bad-8e11-a173033ed9ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7709482a-aa4a-4318-9833-4b8b87a23790" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4f363d72-2cae-4bad-8e11-a173033ed9ce" xlink:to="loc_us-gaap_ClassOfStockDomain_7709482a-aa4a-4318-9833-4b8b87a23790" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_a1482d0b-27db-4580-b4e2-03adc6c3e287" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7709482a-aa4a-4318-9833-4b8b87a23790" xlink:to="loc_us-gaap_CommonClassBMember_a1482d0b-27db-4580-b4e2-03adc6c3e287" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_095ba379-57d5-4481-a547-9ddd036d94e2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7709482a-aa4a-4318-9833-4b8b87a23790" xlink:to="loc_us-gaap_CommonClassAMember_095ba379-57d5-4481-a547-9ddd036d94e2" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/Revenue" xlink:type="simple" xlink:href="mdb-20210131.xsd#Revenue"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/Revenue" xlink:type="extended" id="if990c3152cb64ea4b6b2fa514e172940_Revenue"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueTables" xlink:type="extended" id="ia9680e9cf7934f7a8ce72e13946809c7_RevenueTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueScheduleofDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueScheduleofDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueScheduleofDisaggregationofRevenueDetails" xlink:type="extended" id="ia72c14f0086c4beca3791ac0da3e9a38_RevenueScheduleofDisaggregationofRevenueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_81dd6862-87ec-4906-8bb3-84bb9d007a39" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6179670c-d6b9-49a3-8968-2fc6a72ddef7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_81dd6862-87ec-4906-8bb3-84bb9d007a39" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6179670c-d6b9-49a3-8968-2fc6a72ddef7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_83f8b2cd-d46f-4a3d-8ffe-7ac77f4e1f45" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_81dd6862-87ec-4906-8bb3-84bb9d007a39" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_83f8b2cd-d46f-4a3d-8ffe-7ac77f4e1f45" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_c8fd4aa9-08cb-464e-9a6a-5878f3ad7185" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_83f8b2cd-d46f-4a3d-8ffe-7ac77f4e1f45" xlink:to="loc_srt_StatementGeographicalAxis_c8fd4aa9-08cb-464e-9a6a-5878f3ad7185" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_c8fd4aa9-08cb-464e-9a6a-5878f3ad7185_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_c8fd4aa9-08cb-464e-9a6a-5878f3ad7185" xlink:to="loc_srt_SegmentGeographicalDomain_c8fd4aa9-08cb-464e-9a6a-5878f3ad7185_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_83b6d715-8817-4eee-a477-040a14c2f279" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_c8fd4aa9-08cb-464e-9a6a-5878f3ad7185" xlink:to="loc_srt_SegmentGeographicalDomain_83b6d715-8817-4eee-a477-040a14c2f279" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AmericasMember_77cdf4f5-b3c5-47db-b833-4c83da67172c" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_AmericasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_83b6d715-8817-4eee-a477-040a14c2f279" xlink:to="loc_srt_AmericasMember_77cdf4f5-b3c5-47db-b833-4c83da67172c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EMEAMember_e373143d-ff11-465f-b80a-de61927d85d7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EMEAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_83b6d715-8817-4eee-a477-040a14c2f279" xlink:to="loc_us-gaap_EMEAMember_e373143d-ff11-465f-b80a-de61927d85d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AsiaPacificMember_c4cb0016-0ce7-4002-ab12-b7d1735eb05c" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_AsiaPacificMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_83b6d715-8817-4eee-a477-040a14c2f279" xlink:to="loc_srt_AsiaPacificMember_c4cb0016-0ce7-4002-ab12-b7d1735eb05c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_8fc2c44a-08f5-4ad5-8302-24a946ef9ec0" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_83f8b2cd-d46f-4a3d-8ffe-7ac77f4e1f45" xlink:to="loc_srt_ProductOrServiceAxis_8fc2c44a-08f5-4ad5-8302-24a946ef9ec0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_8fc2c44a-08f5-4ad5-8302-24a946ef9ec0_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_8fc2c44a-08f5-4ad5-8302-24a946ef9ec0" xlink:to="loc_srt_ProductsAndServicesDomain_8fc2c44a-08f5-4ad5-8302-24a946ef9ec0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_d44c5601-b6d5-4b1c-98c2-1d54c3a40204" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_8fc2c44a-08f5-4ad5-8302-24a946ef9ec0" xlink:to="loc_srt_ProductsAndServicesDomain_d44c5601-b6d5-4b1c-98c2-1d54c3a40204" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_MongoDBAtlasRelatedMember_95caad08-4144-44fc-ba0a-d23e1e50c704" xlink:href="mdb-20210131.xsd#mdb_MongoDBAtlasRelatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_d44c5601-b6d5-4b1c-98c2-1d54c3a40204" xlink:to="loc_mdb_MongoDBAtlasRelatedMember_95caad08-4144-44fc-ba0a-d23e1e50c704" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_OtherSubscriptionMember_516085ed-8789-4cc9-9177-401bdd487219" xlink:href="mdb-20210131.xsd#mdb_OtherSubscriptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_d44c5601-b6d5-4b1c-98c2-1d54c3a40204" xlink:to="loc_mdb_OtherSubscriptionMember_516085ed-8789-4cc9-9177-401bdd487219" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServiceMember_d5a01d5a-3ae6-494d-8b59-b2b7ccd350a4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_d44c5601-b6d5-4b1c-98c2-1d54c3a40204" xlink:to="loc_us-gaap_ServiceMember_d5a01d5a-3ae6-494d-8b59-b2b7ccd350a4" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="extended" id="i7e5481f1c3b049738aec67248162939b_RevenueDisaggregationofRevenueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_d0f857ac-743b-4a84-8fa0-53de18b60716" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueAbstract_023a3dc0-9f8f-462f-a799-203a11a0be7b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_d0f857ac-743b-4a84-8fa0-53de18b60716" xlink:to="loc_us-gaap_DisaggregationOfRevenueAbstract_023a3dc0-9f8f-462f-a799-203a11a0be7b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_281a07c9-832c-451a-835a-0a67ec812bdc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueAbstract_023a3dc0-9f8f-462f-a799-203a11a0be7b" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_281a07c9-832c-451a-835a-0a67ec812bdc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTable_78d603ce-f28f-41c6-b6be-d3ebaa9c2988" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_d0f857ac-743b-4a84-8fa0-53de18b60716" xlink:to="loc_us-gaap_ConcentrationRiskTable_78d603ce-f28f-41c6-b6be-d3ebaa9c2988" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_379fea8c-36c9-4c62-b5de-957fe152a0d0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_78d603ce-f28f-41c6-b6be-d3ebaa9c2988" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_379fea8c-36c9-4c62-b5de-957fe152a0d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_379fea8c-36c9-4c62-b5de-957fe152a0d0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_379fea8c-36c9-4c62-b5de-957fe152a0d0" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_379fea8c-36c9-4c62-b5de-957fe152a0d0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_a1cdac78-9ef4-45b5-809e-278ae6ff7301" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_379fea8c-36c9-4c62-b5de-957fe152a0d0" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_a1cdac78-9ef4-45b5-809e-278ae6ff7301" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_8902baa1-c019-442e-9146-b4e8ea1e5017" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_a1cdac78-9ef4-45b5-809e-278ae6ff7301" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_8902baa1-c019-442e-9146-b4e8ea1e5017" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_a3b9e6f0-317a-4281-a90f-7ce6363b10b4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_78d603ce-f28f-41c6-b6be-d3ebaa9c2988" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_a3b9e6f0-317a-4281-a90f-7ce6363b10b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_a3b9e6f0-317a-4281-a90f-7ce6363b10b4_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_a3b9e6f0-317a-4281-a90f-7ce6363b10b4" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_a3b9e6f0-317a-4281-a90f-7ce6363b10b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_656a5efa-8fd2-4cc4-bb2a-fb3265de3be7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_a3b9e6f0-317a-4281-a90f-7ce6363b10b4" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_656a5efa-8fd2-4cc4-bb2a-fb3265de3be7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_268ab60e-da02-4aa7-af6b-746f99b4447b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_656a5efa-8fd2-4cc4-bb2a-fb3265de3be7" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_268ab60e-da02-4aa7-af6b-746f99b4447b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_f4ad7690-77c5-4e18-a998-7429c82fa297" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_78d603ce-f28f-41c6-b6be-d3ebaa9c2988" xlink:to="loc_srt_StatementGeographicalAxis_f4ad7690-77c5-4e18-a998-7429c82fa297" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_f4ad7690-77c5-4e18-a998-7429c82fa297_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_f4ad7690-77c5-4e18-a998-7429c82fa297" xlink:to="loc_srt_SegmentGeographicalDomain_f4ad7690-77c5-4e18-a998-7429c82fa297_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_77a59a3d-d265-4f0d-8bb1-e5c8f1d39721" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_f4ad7690-77c5-4e18-a998-7429c82fa297" xlink:to="loc_srt_SegmentGeographicalDomain_77a59a3d-d265-4f0d-8bb1-e5c8f1d39721" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_936673ad-4f87-45c8-aee7-3752096d3d5a" xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_77a59a3d-d265-4f0d-8bb1-e5c8f1d39721" xlink:to="loc_country_US_936673ad-4f87-45c8-aee7-3752096d3d5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_d8bb811b-3e70-477e-9eb2-907ceb9eefe0" xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_77a59a3d-d265-4f0d-8bb1-e5c8f1d39721" xlink:to="loc_country_GB_d8bb811b-3e70-477e-9eb2-907ceb9eefe0" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueContractLiabilitiesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueContractLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueContractLiabilitiesDetails" xlink:type="extended" id="icd3c839f089d42a79ef54ccdffdc51b8_RevenueContractLiabilitiesDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueRemainingPerformanceObligationsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails" xlink:type="extended" id="id93ff7c58a9d4c79956c602d3ec9356b_RevenueRemainingPerformanceObligationsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_1e6acd23-9290-4f4d-8641-3f995c21c618" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_1e6acd23-9290-4f4d-8641-3f995c21c618" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_9bcd2050-3e31-48f0-8e00-7d9de5a6f155" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_9bcd2050-3e31-48f0-8e00-7d9de5a6f155" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_7a41ddea-7a1d-4353-992b-10194ed5e674" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_7a41ddea-7a1d-4353-992b-10194ed5e674" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_ca49e1cd-ad3d-4533-8bbd-1c3e2b88fce4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_ca49e1cd-ad3d-4533-8bbd-1c3e2b88fce4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_6fc396a7-c2cd-49ca-a513-08417f727137" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_ca49e1cd-ad3d-4533-8bbd-1c3e2b88fce4" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_6fc396a7-c2cd-49ca-a513-08417f727137" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails_1" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueRemainingPerformanceObligationsDetails_1"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails_1" xlink:type="extended" id="ied16ad4718e5436a8a393588b75a7c77_RevenueRemainingPerformanceObligationsDetails_1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_1e6acd23-9290-4f4d-8641-3f995c21c618" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_1e6acd23-9290-4f4d-8641-3f995c21c618" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_9bcd2050-3e31-48f0-8e00-7d9de5a6f155" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_9bcd2050-3e31-48f0-8e00-7d9de5a6f155" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_7a41ddea-7a1d-4353-992b-10194ed5e674" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_7a41ddea-7a1d-4353-992b-10194ed5e674" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_ca49e1cd-ad3d-4533-8bbd-1c3e2b88fce4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0d70d92c-11f2-4d6a-b08e-fb704389d023" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_ca49e1cd-ad3d-4533-8bbd-1c3e2b88fce4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueUnbilledReceivablesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueUnbilledReceivablesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueUnbilledReceivablesDetails" xlink:type="extended" id="i37d694d289f740e5acddd603f2318de0_RevenueUnbilledReceivablesDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueAllowanceforDoubtfulAccountsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueAllowanceforDoubtfulAccountsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueAllowanceforDoubtfulAccountsDetails" xlink:type="extended" id="i6339091b89b84c079c816c57c3b41043_RevenueAllowanceforDoubtfulAccountsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceLineItems_c491a926-f25e-4ab7-89f7-2501fd1de1d0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ValuationAllowanceLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_3491f060-d4d6-458d-9ccf-c796cc046ccb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_c491a926-f25e-4ab7-89f7-2501fd1de1d0" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_3491f060-d4d6-458d-9ccf-c796cc046ccb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_485d5e3d-f2c8-40dc-84b0-583fc4ff9de1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_3b7ff23c-c7f1-4d47-8d48-9059d9d2eb55" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_c491a926-f25e-4ab7-89f7-2501fd1de1d0" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_3b7ff23c-c7f1-4d47-8d48-9059d9d2eb55" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsAccountsReceivablePreviouslyWrittenOffRecovery_a451fed4-34b7-428e-abd6-e08430353157" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsAccountsReceivablePreviouslyWrittenOffRecovery"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_c491a926-f25e-4ab7-89f7-2501fd1de1d0" xlink:to="loc_us-gaap_ProceedsAccountsReceivablePreviouslyWrittenOffRecovery_a451fed4-34b7-428e-abd6-e08430353157" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_04e634f5-4d40-4534-816c-84125ffbc89e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceTable_b425254a-eb92-4c32-b401-973aa2a1d639" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ValuationAllowanceTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_c491a926-f25e-4ab7-89f7-2501fd1de1d0" xlink:to="loc_us-gaap_ValuationAllowanceTable_b425254a-eb92-4c32-b401-973aa2a1d639" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_98618ba0-819e-4a6a-8717-8bff5cc8485f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAllowanceTable_b425254a-eb92-4c32-b401-973aa2a1d639" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_98618ba0-819e-4a6a-8717-8bff5cc8485f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_98618ba0-819e-4a6a-8717-8bff5cc8485f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_98618ba0-819e-4a6a-8717-8bff5cc8485f" xlink:to="loc_us-gaap_TypeOfAdoptionMember_98618ba0-819e-4a6a-8717-8bff5cc8485f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_904a95c1-9d68-4f4d-934c-2f1674cab2d9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_98618ba0-819e-4a6a-8717-8bff5cc8485f" xlink:to="loc_us-gaap_TypeOfAdoptionMember_904a95c1-9d68-4f4d-934c-2f1674cab2d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdate201613Member_8395f90a-8ee4-46d7-996b-adfab3f080a7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountingStandardsUpdate201613Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_904a95c1-9d68-4f4d-934c-2f1674cab2d9" xlink:to="loc_us-gaap_AccountingStandardsUpdate201613Member_8395f90a-8ee4-46d7-996b-adfab3f080a7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueCostsCapitalizedtoObtainContractswithCustomersDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#RevenueCostsCapitalizedtoObtainContractswithCustomersDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueCostsCapitalizedtoObtainContractswithCustomersDetails" xlink:type="extended" id="ieeb693be688c41b89d6bdde722d810bb_RevenueCostsCapitalizedtoObtainContractswithCustomersDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlans"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans" xlink:type="extended" id="i138adcb2c12644c99e90ecdf8d599d58_EquityIncentivePlans"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlansTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansTables" xlink:type="extended" id="i0e24351552844de29605f5fb10d2c0ba_EquityIncentivePlansTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2008and2016StockPlanDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlans2008and2016StockPlanDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2008and2016StockPlanDetails" xlink:type="extended" id="i08d2d299885546dd96bc9e1df6baf712_EquityIncentivePlans2008and2016StockPlanDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5564cb56-23c4-4595-a836-186e5dac8a75" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_fc49e2a9-30ed-45cc-bc40-f322b372f1da" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5564cb56-23c4-4595-a836-186e5dac8a75" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_fc49e2a9-30ed-45cc-bc40-f322b372f1da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_b029294f-7fd7-4172-b62f-39b0d5ff0026" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5564cb56-23c4-4595-a836-186e5dac8a75" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_b029294f-7fd7-4172-b62f-39b0d5ff0026" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_49171688-8491-4fea-94c3-d867b78ddb20" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5564cb56-23c4-4595-a836-186e5dac8a75" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_49171688-8491-4fea-94c3-d867b78ddb20" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease_bf9140b4-01ed-4ad2-9e7d-fbb36d77cb1e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5564cb56-23c4-4595-a836-186e5dac8a75" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease_bf9140b4-01ed-4ad2-9e7d-fbb36d77cb1e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_92f63434-e33a-4844-9c9e-8e554846e1ad" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5564cb56-23c4-4595-a836-186e5dac8a75" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_92f63434-e33a-4844-9c9e-8e554846e1ad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_ef500bcf-67f2-4f7f-8133-f200c4ed45f5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5564cb56-23c4-4595-a836-186e5dac8a75" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_ef500bcf-67f2-4f7f-8133-f200c4ed45f5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8a32ac7e-9df3-4ffe-9295-0a8d513c13f2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5564cb56-23c4-4595-a836-186e5dac8a75" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8a32ac7e-9df3-4ffe-9295-0a8d513c13f2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_8835d074-10f3-4484-8f21-d051ce7de498" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8a32ac7e-9df3-4ffe-9295-0a8d513c13f2" xlink:to="loc_srt_RangeAxis_8835d074-10f3-4484-8f21-d051ce7de498" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_8835d074-10f3-4484-8f21-d051ce7de498_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_8835d074-10f3-4484-8f21-d051ce7de498" xlink:to="loc_srt_RangeMember_8835d074-10f3-4484-8f21-d051ce7de498_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_5ba09e05-a5d3-4d73-96a7-a284434240ec" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_8835d074-10f3-4484-8f21-d051ce7de498" xlink:to="loc_srt_RangeMember_5ba09e05-a5d3-4d73-96a7-a284434240ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_827f332f-82db-4ab7-a431-32b9c647f6ff" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_5ba09e05-a5d3-4d73-96a7-a284434240ec" xlink:to="loc_srt_MinimumMember_827f332f-82db-4ab7-a431-32b9c647f6ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_f1d2c897-9224-4057-8006-43c3b2a152db" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8a32ac7e-9df3-4ffe-9295-0a8d513c13f2" xlink:to="loc_srt_TitleOfIndividualAxis_f1d2c897-9224-4057-8006-43c3b2a152db" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_f1d2c897-9224-4057-8006-43c3b2a152db_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_f1d2c897-9224-4057-8006-43c3b2a152db" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_f1d2c897-9224-4057-8006-43c3b2a152db_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_ef7779c0-02c4-4eb5-be31-66180b8b6b90" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_f1d2c897-9224-4057-8006-43c3b2a152db" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_ef7779c0-02c4-4eb5-be31-66180b8b6b90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_Over10StockholderMember_c87cc36e-114e-4035-89d6-c6a25041e3e8" xlink:href="mdb-20210131.xsd#mdb_Over10StockholderMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_ef7779c0-02c4-4eb5-be31-66180b8b6b90" xlink:to="loc_mdb_Over10StockholderMember_c87cc36e-114e-4035-89d6-c6a25041e3e8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_c9bc96a8-0d63-4abf-8294-0d703fc95d8f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8a32ac7e-9df3-4ffe-9295-0a8d513c13f2" xlink:to="loc_us-gaap_VestingAxis_c9bc96a8-0d63-4abf-8294-0d703fc95d8f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_c9bc96a8-0d63-4abf-8294-0d703fc95d8f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_c9bc96a8-0d63-4abf-8294-0d703fc95d8f" xlink:to="loc_us-gaap_VestingDomain_c9bc96a8-0d63-4abf-8294-0d703fc95d8f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_ff3cfd02-db68-4199-bc11-6132072c8e13" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_c9bc96a8-0d63-4abf-8294-0d703fc95d8f" xlink:to="loc_us-gaap_VestingDomain_ff3cfd02-db68-4199-bc11-6132072c8e13" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_db835623-a91b-4924-ad3f-e31d477d9ecd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_ff3cfd02-db68-4199-bc11-6132072c8e13" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_db835623-a91b-4924-ad3f-e31d477d9ecd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_36021fc5-d8c5-414d-8710-ab265057ee75" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_ff3cfd02-db68-4199-bc11-6132072c8e13" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_36021fc5-d8c5-414d-8710-ab265057ee75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_04d6f697-24aa-45d1-bddd-d24f9e9377c7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8a32ac7e-9df3-4ffe-9295-0a8d513c13f2" xlink:to="loc_us-gaap_AwardTypeAxis_04d6f697-24aa-45d1-bddd-d24f9e9377c7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_04d6f697-24aa-45d1-bddd-d24f9e9377c7_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_04d6f697-24aa-45d1-bddd-d24f9e9377c7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_04d6f697-24aa-45d1-bddd-d24f9e9377c7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c1590e4f-531e-4720-a4ad-90c0059cc7a0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_04d6f697-24aa-45d1-bddd-d24f9e9377c7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c1590e4f-531e-4720-a4ad-90c0059cc7a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_5e873106-8889-48f9-8187-9567a26b2200" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c1590e4f-531e-4720-a4ad-90c0059cc7a0" xlink:to="loc_us-gaap_EmployeeStockOptionMember_5e873106-8889-48f9-8187-9567a26b2200" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_30776ab1-0858-489e-98b0-77dc93d25bc1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c1590e4f-531e-4720-a4ad-90c0059cc7a0" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_30776ab1-0858-489e-98b0-77dc93d25bc1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleofStockOptionActivityDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlansScheduleofStockOptionActivityDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleofStockOptionActivityDetails" xlink:type="extended" id="i4723c523f277485fa573b4d0e6e1e4b4_EquityIncentivePlansScheduleofStockOptionActivityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_6c692a76-af81-47b4-be6a-ec2fdf67d0c8" xlink:href="mdb-20210131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_6c692a76-af81-47b4-be6a-ec2fdf67d0c8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_bb779aa5-1b2f-4042-bf35-9d062f3654e3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_6c692a76-af81-47b4-be6a-ec2fdf67d0c8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_bb779aa5-1b2f-4042-bf35-9d062f3654e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_04ab5954-afca-4ac0-82ba-66bbb22e611f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_bb779aa5-1b2f-4042-bf35-9d062f3654e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_04ab5954-afca-4ac0-82ba-66bbb22e611f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_d6d92dd9-f0e6-4bf2-9898-cffaf087ba31" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_bb779aa5-1b2f-4042-bf35-9d062f3654e3" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_d6d92dd9-f0e6-4bf2-9898-cffaf087ba31" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_af412e74-e1a7-438d-845d-247fbd695e2a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_bb779aa5-1b2f-4042-bf35-9d062f3654e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_af412e74-e1a7-438d-845d-247fbd695e2a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_b6f3d38b-ce56-48e3-87f0-75933e04be54" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_76dde8a1-a6a0-492d-9b84-7bacfb7f1e24" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardSharesAvailableforGrantRollForward_6c692a76-af81-47b4-be6a-ec2fdf67d0c8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_76dde8a1-a6a0-492d-9b84-7bacfb7f1e24" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_ab1ba725-1301-4864-88a0-b496e67e06ba" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_76dde8a1-a6a0-492d-9b84-7bacfb7f1e24" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_ab1ba725-1301-4864-88a0-b496e67e06ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_c0ecdac0-73b7-459e-8ce7-76c5a4d43a54" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_76dde8a1-a6a0-492d-9b84-7bacfb7f1e24" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_c0ecdac0-73b7-459e-8ce7-76c5a4d43a54" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_c9d9e3ed-5740-4df2-b377-3e13309a83a1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_76dde8a1-a6a0-492d-9b84-7bacfb7f1e24" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_c9d9e3ed-5740-4df2-b377-3e13309a83a1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_a17e9e9c-4306-4620-aa1c-f561545ffada" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_26eb22fb-8fcf-4205-ae5f-43a726b1a282" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_26eb22fb-8fcf-4205-ae5f-43a726b1a282" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_daf5ab92-c43d-4a5f-899d-dd8e636301b7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_daf5ab92-c43d-4a5f-899d-dd8e636301b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_b3ccf998-4588-4235-b394-8847da363f69" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_b3ccf998-4588-4235-b394-8847da363f69" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_cd94c41d-1a1d-44fc-8553-c8714efaa778" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_cd94c41d-1a1d-44fc-8553-c8714efaa778" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_e36265d9-e26d-4df8-82ec-8d2d089e46de" xlink:href="mdb-20210131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_e36265d9-e26d-4df8-82ec-8d2d089e46de" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_4efbdc91-61ca-4813-9bde-ada5b0f5a8ed" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_e36265d9-e26d-4df8-82ec-8d2d089e46de" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_4efbdc91-61ca-4813-9bde-ada5b0f5a8ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_9ec3fdf0-a9d5-426f-a463-4511c34b7057" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_e36265d9-e26d-4df8-82ec-8d2d089e46de" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_9ec3fdf0-a9d5-426f-a463-4511c34b7057" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_6cdb813b-fc4d-4b82-bd86-7ecfb011c6c3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardWeightedAverageRemainingContractualTermRollForward_e36265d9-e26d-4df8-82ec-8d2d089e46de" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_6cdb813b-fc4d-4b82-bd86-7ecfb011c6c3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_657abfce-6007-4227-b4b7-ba721ae13812" xlink:href="mdb-20210131.xsd#mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:to="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_657abfce-6007-4227-b4b7-ba721ae13812" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_8f5d0f3f-4aca-4926-8eb2-d84a2606c29e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_657abfce-6007-4227-b4b7-ba721ae13812" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_8f5d0f3f-4aca-4926-8eb2-d84a2606c29e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_fada13b6-b3d0-4514-8f41-292a706d7e9d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_657abfce-6007-4227-b4b7-ba721ae13812" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_fada13b6-b3d0-4514-8f41-292a706d7e9d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_aab52b08-72f4-4b8b-a151-57ed413cc523" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdb_ShareBasedCompensationArrangementbySharebasedPaymentAwardAggregateIntrinsicValueRollForward_657abfce-6007-4227-b4b7-ba721ae13812" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_aab52b08-72f4-4b8b-a151-57ed413cc523" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a5690eaf-c4d2-4872-8e0b-8a5254d39c43" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_714ccca0-7595-4f88-99f8-82bb8de858bc" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a5690eaf-c4d2-4872-8e0b-8a5254d39c43" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_df40b135-a72f-4455-8aa8-ee2b135bc91c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a5690eaf-c4d2-4872-8e0b-8a5254d39c43" xlink:to="loc_us-gaap_AwardTypeAxis_df40b135-a72f-4455-8aa8-ee2b135bc91c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_df40b135-a72f-4455-8aa8-ee2b135bc91c_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_df40b135-a72f-4455-8aa8-ee2b135bc91c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_df40b135-a72f-4455-8aa8-ee2b135bc91c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22528e2c-a1b3-4ea6-9950-3075d079cdc6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_df40b135-a72f-4455-8aa8-ee2b135bc91c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22528e2c-a1b3-4ea6-9950-3075d079cdc6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_59b17b4b-75e6-4056-8a32-85d1617dc4f2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_22528e2c-a1b3-4ea6-9950-3075d079cdc6" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_59b17b4b-75e6-4056-8a32-85d1617dc4f2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockOptionsandRestrictedStockUnitsAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlansStockOptionsandRestrictedStockUnitsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockOptionsandRestrictedStockUnitsAdditionalInformationDetails" xlink:type="extended" id="i537a4272bee241abb83992b4eff31f63_EquityIncentivePlansStockOptionsandRestrictedStockUnitsAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17d8c456-f6a2-450b-baf4-e0c5fab91c9d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_5edb763c-532c-4923-8acf-0b2f42b645cd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17d8c456-f6a2-450b-baf4-e0c5fab91c9d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_5edb763c-532c-4923-8acf-0b2f42b645cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_4bfdbb40-6d53-4b53-bad4-59c3a073cb3a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17d8c456-f6a2-450b-baf4-e0c5fab91c9d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_4bfdbb40-6d53-4b53-bad4-59c3a073cb3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_842fe1b4-cb3b-46f6-a118-bc837220c99e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17d8c456-f6a2-450b-baf4-e0c5fab91c9d" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_842fe1b4-cb3b-46f6-a118-bc837220c99e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_14734c1a-0d0f-4f76-bd56-12fd4c1ebddb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17d8c456-f6a2-450b-baf4-e0c5fab91c9d" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_14734c1a-0d0f-4f76-bd56-12fd4c1ebddb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_f8967c49-c860-44ab-a2d1-ba073d175d62" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17d8c456-f6a2-450b-baf4-e0c5fab91c9d" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_f8967c49-c860-44ab-a2d1-ba073d175d62" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_b8843baa-a43a-43fa-8fa5-a955cf2d35e8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17d8c456-f6a2-450b-baf4-e0c5fab91c9d" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_b8843baa-a43a-43fa-8fa5-a955cf2d35e8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_77c1562a-2518-4da2-a7a2-ad1756cfc3bf" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17d8c456-f6a2-450b-baf4-e0c5fab91c9d" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_77c1562a-2518-4da2-a7a2-ad1756cfc3bf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_4a6a79db-ba8d-403c-85c8-c9fbfc721444" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_77c1562a-2518-4da2-a7a2-ad1756cfc3bf" xlink:to="loc_us-gaap_AwardTypeAxis_4a6a79db-ba8d-403c-85c8-c9fbfc721444" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4a6a79db-ba8d-403c-85c8-c9fbfc721444_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_4a6a79db-ba8d-403c-85c8-c9fbfc721444" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4a6a79db-ba8d-403c-85c8-c9fbfc721444_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2e8387da-1ff1-44df-9c25-073ec3068b9c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_4a6a79db-ba8d-403c-85c8-c9fbfc721444" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2e8387da-1ff1-44df-9c25-073ec3068b9c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_45ea3030-0f24-4015-86f5-2144e8e6401e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2e8387da-1ff1-44df-9c25-073ec3068b9c" xlink:to="loc_us-gaap_EmployeeStockOptionMember_45ea3030-0f24-4015-86f5-2144e8e6401e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_f4057d28-6a7c-4585-a608-c53c831470fc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2e8387da-1ff1-44df-9c25-073ec3068b9c" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_f4057d28-6a7c-4585-a608-c53c831470fc" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleofRSUActivityDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlansScheduleofRSUActivityDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleofRSUActivityDetails" xlink:type="extended" id="i8caf1754cc6a42ccba0b8e83303bfd4e_EquityIncentivePlansScheduleofRSUActivityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_63fcb3ee-d389-4bad-98f5-614b0365ebff" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_16161e14-3173-40b9-a141-ed836ad6a660" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_63fcb3ee-d389-4bad-98f5-614b0365ebff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_16161e14-3173-40b9-a141-ed836ad6a660" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_6d417a1c-79b8-4b86-a562-38ab987d5d27" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_16161e14-3173-40b9-a141-ed836ad6a660" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_6d417a1c-79b8-4b86-a562-38ab987d5d27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_3be3a1da-8413-4471-8c17-e869e7b7a6c2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_16161e14-3173-40b9-a141-ed836ad6a660" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_3be3a1da-8413-4471-8c17-e869e7b7a6c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_9c379c20-249b-4306-9174-f5f05dd95631" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_16161e14-3173-40b9-a141-ed836ad6a660" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_9c379c20-249b-4306-9174-f5f05dd95631" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_af9df14b-ff04-4b23-a486-cf392df13a57" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_16161e14-3173-40b9-a141-ed836ad6a660" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_af9df14b-ff04-4b23-a486-cf392df13a57" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_90b1abbe-1ec9-4bd1-8525-34a36e525eb9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_04d9792b-2add-4801-b216-4a0eb0c2474b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_63fcb3ee-d389-4bad-98f5-614b0365ebff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_04d9792b-2add-4801-b216-4a0eb0c2474b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_49676a27-1502-4854-915a-c08d328bdc4b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_04d9792b-2add-4801-b216-4a0eb0c2474b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_49676a27-1502-4854-915a-c08d328bdc4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9aeda867-1022-4c47-afa7-7b42689ab5b5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_04d9792b-2add-4801-b216-4a0eb0c2474b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9aeda867-1022-4c47-afa7-7b42689ab5b5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_58194678-9c13-4860-92c7-4a18c5caeeeb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_04d9792b-2add-4801-b216-4a0eb0c2474b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_58194678-9c13-4860-92c7-4a18c5caeeeb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_c5d77640-8ca3-4e61-bcdc-18b0bba158e4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_04d9792b-2add-4801-b216-4a0eb0c2474b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_c5d77640-8ca3-4e61-bcdc-18b0bba158e4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_53610de2-ecea-43ae-9bc6-b18d56bab585" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_29c15a7e-4d00-4e5d-960e-bef78c34b42f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_63fcb3ee-d389-4bad-98f5-614b0365ebff" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_29c15a7e-4d00-4e5d-960e-bef78c34b42f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_3bdd7164-b4fb-473e-a5e7-18e558762331" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_29c15a7e-4d00-4e5d-960e-bef78c34b42f" xlink:to="loc_us-gaap_AwardTypeAxis_3bdd7164-b4fb-473e-a5e7-18e558762331" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3bdd7164-b4fb-473e-a5e7-18e558762331_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_3bdd7164-b4fb-473e-a5e7-18e558762331" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3bdd7164-b4fb-473e-a5e7-18e558762331_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7ce7c4bc-c3a2-46dc-b987-517989fc8e03" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_3bdd7164-b4fb-473e-a5e7-18e558762331" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7ce7c4bc-c3a2-46dc-b987-517989fc8e03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_e11b4527-8f10-403a-9ae7-86f926a6ccc3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7ce7c4bc-c3a2-46dc-b987-517989fc8e03" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_e11b4527-8f10-403a-9ae7-86f926a6ccc3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:type="extended" id="i9bb5f2e27fe84afbadb4ce973fc3d0f8_EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_ca3c2b3b-8b93-489d-8be2-cc318e16fed2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_ca3c2b3b-8b93-489d-8be2-cc318e16fed2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_2ee9b303-f005-4f14-9dbe-1ed6257c3a12" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_2ee9b303-f005-4f14-9dbe-1ed6257c3a12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_08ba258a-2d6e-4b7a-bd61-c61b7b43ab17" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_08ba258a-2d6e-4b7a-bd61-c61b7b43ab17" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_86757190-b88f-4675-be08-d0c5155b012d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_86757190-b88f-4675-be08-d0c5155b012d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_ff7435c6-5b2c-4ec4-b22a-d275e6c94795" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_ff7435c6-5b2c-4ec4-b22a-d275e6c94795" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ShareBasedPaymentArrangementCashPaidForExerciseOfStockAppreciationRights_93e78de3-3b07-4094-af94-2c6516681607" xlink:href="mdb-20210131.xsd#mdb_ShareBasedPaymentArrangementCashPaidForExerciseOfStockAppreciationRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_mdb_ShareBasedPaymentArrangementCashPaidForExerciseOfStockAppreciationRights_93e78de3-3b07-4094-af94-2c6516681607" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised_0e2c7b7f-bc7c-4ec2-bd01-5cc6cd80841a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised_0e2c7b7f-bc7c-4ec2-bd01-5cc6cd80841a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_ae4ccac1-ccd9-416d-a803-6ce26b196359" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_ae4ccac1-ccd9-416d-a803-6ce26b196359" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_36ee59d9-6bc0-4832-87a5-a7f0451065f1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_90ca7807-8bdc-46af-8bbe-4646ba74c784" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_36ee59d9-6bc0-4832-87a5-a7f0451065f1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_a1a5c4bc-a01b-413a-be4b-f948913d2828" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_36ee59d9-6bc0-4832-87a5-a7f0451065f1" xlink:to="loc_us-gaap_VestingAxis_a1a5c4bc-a01b-413a-be4b-f948913d2828" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_a1a5c4bc-a01b-413a-be4b-f948913d2828_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_a1a5c4bc-a01b-413a-be4b-f948913d2828" xlink:to="loc_us-gaap_VestingDomain_a1a5c4bc-a01b-413a-be4b-f948913d2828_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_6784a4cb-15cf-47c7-ad22-92e64ba75d10" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_a1a5c4bc-a01b-413a-be4b-f948913d2828" xlink:to="loc_us-gaap_VestingDomain_6784a4cb-15cf-47c7-ad22-92e64ba75d10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_edb54c1c-55a4-4135-9c15-d228863489e8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_6784a4cb-15cf-47c7-ad22-92e64ba75d10" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_edb54c1c-55a4-4135-9c15-d228863489e8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_8544ac81-31db-445b-b5e2-3437d361d38e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_6784a4cb-15cf-47c7-ad22-92e64ba75d10" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_8544ac81-31db-445b-b5e2-3437d361d38e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_33656956-0925-482e-8db1-877e703d7d67" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_36ee59d9-6bc0-4832-87a5-a7f0451065f1" xlink:to="loc_us-gaap_AwardTypeAxis_33656956-0925-482e-8db1-877e703d7d67" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_33656956-0925-482e-8db1-877e703d7d67_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_33656956-0925-482e-8db1-877e703d7d67" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_33656956-0925-482e-8db1-877e703d7d67_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80b069f2-8deb-48e0-bbbe-7d210c300ff6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_33656956-0925-482e-8db1-877e703d7d67" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80b069f2-8deb-48e0-bbbe-7d210c300ff6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_484beaf5-db43-4475-9331-a61d31ce6161" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80b069f2-8deb-48e0-bbbe-7d210c300ff6" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_484beaf5-db43-4475-9331-a61d31ce6161" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlans2017EmployeeStockPurchasePlanDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:type="extended" id="ic7466c29185e4f89a77a507937c16008_EquityIncentivePlans2017EmployeeStockPurchasePlanDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_f27a1f36-8689-4e4c-b818-a0a9a258d044" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_f27a1f36-8689-4e4c-b818-a0a9a258d044" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_e2a50ff5-388b-474a-b756-546dd30ed2f1" xlink:href="mdb-20210131.xsd#mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_e2a50ff5-388b-474a-b756-546dd30ed2f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_3eee6cf7-1745-4cac-a5e0-12be6039e462" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_3eee6cf7-1745-4cac-a5e0-12be6039e462" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease_5f479217-e295-470c-bc03-f618e83f9013" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease_5f479217-e295-470c-bc03-f618e83f9013" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_8074a4b6-82db-496c-9d4a-27828d620e46" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_8074a4b6-82db-496c-9d4a-27828d620e46" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_d0b7c2d7-eddf-48cd-812d-fea75f7e36ab" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_d0b7c2d7-eddf-48cd-812d-fea75f7e36ab" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_6eb29b3c-45a0-4ba1-b8bf-d1343386121e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_6eb29b3c-45a0-4ba1-b8bf-d1343386121e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_6f0bd157-cf20-455c-8bd1-3d81e87f5bb5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_6f0bd157-cf20-455c-8bd1-3d81e87f5bb5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bb07d61b-50ac-4df7-99cd-4e14975b16a5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d769ffe8-6b3d-49d0-89af-6e2423733ebe" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bb07d61b-50ac-4df7-99cd-4e14975b16a5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_dc0057d1-5a1d-48be-8951-1af25bb31c5b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bb07d61b-50ac-4df7-99cd-4e14975b16a5" xlink:to="loc_us-gaap_AwardTypeAxis_dc0057d1-5a1d-48be-8951-1af25bb31c5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_dc0057d1-5a1d-48be-8951-1af25bb31c5b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_dc0057d1-5a1d-48be-8951-1af25bb31c5b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_dc0057d1-5a1d-48be-8951-1af25bb31c5b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48eb7632-d920-47f9-95fd-defb9afc6225" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_dc0057d1-5a1d-48be-8951-1af25bb31c5b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48eb7632-d920-47f9-95fd-defb9afc6225" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_d4894fdf-5439-457a-8f2e-85f907967af9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48eb7632-d920-47f9-95fd-defb9afc6225" xlink:to="loc_us-gaap_EmployeeStockMember_d4894fdf-5439-457a-8f2e-85f907967af9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_7041c684-cc40-4182-b2b4-25a5cc407f77" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bb07d61b-50ac-4df7-99cd-4e14975b16a5" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7041c684-cc40-4182-b2b4-25a5cc407f77" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7041c684-cc40-4182-b2b4-25a5cc407f77_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7041c684-cc40-4182-b2b4-25a5cc407f77" xlink:to="loc_us-gaap_ClassOfStockDomain_7041c684-cc40-4182-b2b4-25a5cc407f77_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_cdac0b78-385e-4c5d-b060-6134c917a6ec" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7041c684-cc40-4182-b2b4-25a5cc407f77" xlink:to="loc_us-gaap_ClassOfStockDomain_cdac0b78-385e-4c5d-b060-6134c917a6ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_2b951217-f61b-4cbe-931f-bf166632a362" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_cdac0b78-385e-4c5d-b060-6134c917a6ec" xlink:to="loc_us-gaap_CommonClassAMember_2b951217-f61b-4cbe-931f-bf166632a362" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_e23e4e8e-0a9b-4002-a031-24d9d91b0994" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bb07d61b-50ac-4df7-99cd-4e14975b16a5" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_e23e4e8e-0a9b-4002-a031-24d9d91b0994" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e23e4e8e-0a9b-4002-a031-24d9d91b0994_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e23e4e8e-0a9b-4002-a031-24d9d91b0994" xlink:to="loc_us-gaap_EquityComponentDomain_e23e4e8e-0a9b-4002-a031-24d9d91b0994_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_010c4602-d58f-4b8a-af49-b71d1598ffb2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e23e4e8e-0a9b-4002-a031-24d9d91b0994" xlink:to="loc_us-gaap_EquityComponentDomain_010c4602-d58f-4b8a-af49-b71d1598ffb2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_46529efc-96bd-4252-b916-af882a83a4b8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_010c4602-d58f-4b8a-af49-b71d1598ffb2" xlink:to="loc_us-gaap_CommonStockMember_46529efc-96bd-4252-b916-af882a83a4b8" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockOptionRepricingDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlansStockOptionRepricingDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockOptionRepricingDetails" xlink:type="extended" id="i7ce373965908446b9a86968d9fb8f53c_EquityIncentivePlansStockOptionRepricingDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b4729fd0-d1dd-417d-ae88-b677e6d9b688" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_35470633-d2ff-46ae-8107-0c6e4cecbb36" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b4729fd0-d1dd-417d-ae88-b677e6d9b688" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_35470633-d2ff-46ae-8107-0c6e4cecbb36" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_c5b0766e-70ba-4f07-941d-c21c5e54055c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b4729fd0-d1dd-417d-ae88-b677e6d9b688" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_c5b0766e-70ba-4f07-941d-c21c5e54055c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost_26f84136-053d-47a5-b423-0fb2d129ebce" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b4729fd0-d1dd-417d-ae88-b677e6d9b688" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost_26f84136-053d-47a5-b423-0fb2d129ebce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92cfb6ba-562a-42ff-a754-9f83ce532753" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b4729fd0-d1dd-417d-ae88-b677e6d9b688" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92cfb6ba-562a-42ff-a754-9f83ce532753" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_ea6ba84c-3b8d-4b59-8d74-2563b45b549e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92cfb6ba-562a-42ff-a754-9f83ce532753" xlink:to="loc_us-gaap_AwardTypeAxis_ea6ba84c-3b8d-4b59-8d74-2563b45b549e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ea6ba84c-3b8d-4b59-8d74-2563b45b549e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_ea6ba84c-3b8d-4b59-8d74-2563b45b549e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ea6ba84c-3b8d-4b59-8d74-2563b45b549e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4313e620-e223-4243-b413-aae617b99cc5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_ea6ba84c-3b8d-4b59-8d74-2563b45b549e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4313e620-e223-4243-b413-aae617b99cc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_StockOptionRepricingMember_34b5c563-a6ea-404f-bbf0-14f044274559" xlink:href="mdb-20210131.xsd#mdb_StockOptionRepricingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4313e620-e223-4243-b413-aae617b99cc5" xlink:to="loc_mdb_StockOptionRepricingMember_34b5c563-a6ea-404f-bbf0-14f044274559" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_53079eb3-60cb-4536-8ab7-a475c1aa9b25" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92cfb6ba-562a-42ff-a754-9f83ce532753" xlink:to="loc_srt_RangeAxis_53079eb3-60cb-4536-8ab7-a475c1aa9b25" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_53079eb3-60cb-4536-8ab7-a475c1aa9b25_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_53079eb3-60cb-4536-8ab7-a475c1aa9b25" xlink:to="loc_srt_RangeMember_53079eb3-60cb-4536-8ab7-a475c1aa9b25_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_87c4404c-9ddd-4f58-91ce-c24669630b4d" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_53079eb3-60cb-4536-8ab7-a475c1aa9b25" xlink:to="loc_srt_RangeMember_87c4404c-9ddd-4f58-91ce-c24669630b4d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_9cc41ade-d69b-4fd7-ad96-9afb47b1d411" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_87c4404c-9ddd-4f58-91ce-c24669630b4d" xlink:to="loc_srt_MinimumMember_9cc41ade-d69b-4fd7-ad96-9afb47b1d411" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_9c2a7fea-5c6a-4f13-b174-4194429644a2" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92cfb6ba-562a-42ff-a754-9f83ce532753" xlink:to="loc_srt_TitleOfIndividualAxis_9c2a7fea-5c6a-4f13-b174-4194429644a2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_9c2a7fea-5c6a-4f13-b174-4194429644a2_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_9c2a7fea-5c6a-4f13-b174-4194429644a2" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_9c2a7fea-5c6a-4f13-b174-4194429644a2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_470dd78c-e60e-466d-ab99-5db882719210" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_9c2a7fea-5c6a-4f13-b174-4194429644a2" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_470dd78c-e60e-466d-ab99-5db882719210" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ExecutiveOfficerMember_3f9c1e73-92d0-4e93-8ca7-2dc223a1cbf8" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_470dd78c-e60e-466d-ab99-5db882719210" xlink:to="loc_srt_ExecutiveOfficerMember_3f9c1e73-92d0-4e93-8ca7-2dc223a1cbf8" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansEarlyExerciseofStockOptionsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlansEarlyExerciseofStockOptionsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansEarlyExerciseofStockOptionsDetails" xlink:type="extended" id="idfa78baaf969436aa74b9fe92c160427_EquityIncentivePlansEarlyExerciseofStockOptionsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e055e425-f8c5-4259-83e4-37f23ff9b2be" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_47fc1c04-e3e4-40f1-85f1-2515a6584f57" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e055e425-f8c5-4259-83e4-37f23ff9b2be" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_47fc1c04-e3e4-40f1-85f1-2515a6584f57" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_26cb56fb-491b-4ecf-8107-c22fea86087f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e055e425-f8c5-4259-83e4-37f23ff9b2be" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_26cb56fb-491b-4ecf-8107-c22fea86087f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares_95876171-7cf5-4ae5-ab2f-98d7b3849bdb" xlink:href="mdb-20210131.xsd#mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e055e425-f8c5-4259-83e4-37f23ff9b2be" xlink:to="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsCommonStockSubjecttoRepurchaseShares_95876171-7cf5-4ae5-ab2f-98d7b3849bdb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase_4763fe34-b643-4e99-8652-ffd56ba8583e" xlink:href="mdb-20210131.xsd#mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e055e425-f8c5-4259-83e4-37f23ff9b2be" xlink:to="loc_mdb_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsFairValueofSharesSubjecttoRepurchase_4763fe34-b643-4e99-8652-ffd56ba8583e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_143eb12a-7a3c-4a7b-98f1-7d3820875a2b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e055e425-f8c5-4259-83e4-37f23ff9b2be" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_143eb12a-7a3c-4a7b-98f1-7d3820875a2b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_f899477f-1916-44f4-80c7-e1ca90e51baa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_143eb12a-7a3c-4a7b-98f1-7d3820875a2b" xlink:to="loc_us-gaap_AwardTypeAxis_f899477f-1916-44f4-80c7-e1ca90e51baa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f899477f-1916-44f4-80c7-e1ca90e51baa_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_f899477f-1916-44f4-80c7-e1ca90e51baa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f899477f-1916-44f4-80c7-e1ca90e51baa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_86781503-4324-49bf-aba8-b556d1762468" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_f899477f-1916-44f4-80c7-e1ca90e51baa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_86781503-4324-49bf-aba8-b556d1762468" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_EarlyExercisedEmployeeStockOptionMember_8732f1d2-bc40-48c3-b238-4724803b4cd7" xlink:href="mdb-20210131.xsd#mdb_EarlyExercisedEmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_86781503-4324-49bf-aba8-b556d1762468" xlink:to="loc_mdb_EarlyExercisedEmployeeStockOptionMember_8732f1d2-bc40-48c3-b238-4724803b4cd7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleofESPPValuationAssumptionsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlansScheduleofESPPValuationAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleofESPPValuationAssumptionsDetails" xlink:type="extended" id="ib183eef59e3a483297bdc4fcca896289_EquityIncentivePlansScheduleofESPPValuationAssumptionsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6cb60d4-80d4-4dfd-97ab-48b34e115738" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_4532b4e1-ed50-4665-a0af-4b597e6dfadb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6cb60d4-80d4-4dfd-97ab-48b34e115738" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_4532b4e1-ed50-4665-a0af-4b597e6dfadb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_50f0cd36-0aea-4442-adcb-8df3dc4966e0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6cb60d4-80d4-4dfd-97ab-48b34e115738" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_50f0cd36-0aea-4442-adcb-8df3dc4966e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_dff2e817-4dc6-4cbb-9780-ea0d9bf18d20" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6cb60d4-80d4-4dfd-97ab-48b34e115738" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_dff2e817-4dc6-4cbb-9780-ea0d9bf18d20" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_ebd2326c-6879-448a-99bb-b2d7fc4bf41b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6cb60d4-80d4-4dfd-97ab-48b34e115738" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_ebd2326c-6879-448a-99bb-b2d7fc4bf41b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_64938764-385b-4dd1-985d-1f228136aa84" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6cb60d4-80d4-4dfd-97ab-48b34e115738" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_64938764-385b-4dd1-985d-1f228136aa84" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_10eb6e87-1eae-4045-b3dd-b11195bdc7af" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6cb60d4-80d4-4dfd-97ab-48b34e115738" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_10eb6e87-1eae-4045-b3dd-b11195bdc7af" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5fd7b3e8-22af-428a-9029-97430764f28e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e6cb60d4-80d4-4dfd-97ab-48b34e115738" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5fd7b3e8-22af-428a-9029-97430764f28e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_c008c576-16c8-497f-bc14-60476124efbe" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5fd7b3e8-22af-428a-9029-97430764f28e" xlink:to="loc_us-gaap_AwardTypeAxis_c008c576-16c8-497f-bc14-60476124efbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c008c576-16c8-497f-bc14-60476124efbe_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_c008c576-16c8-497f-bc14-60476124efbe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c008c576-16c8-497f-bc14-60476124efbe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2c40f8b2-f34e-4e71-9321-544f1222cd5d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_c008c576-16c8-497f-bc14-60476124efbe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2c40f8b2-f34e-4e71-9321-544f1222cd5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_57c9af70-582a-40eb-9379-c48b37417554" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2c40f8b2-f34e-4e71-9321-544f1222cd5d" xlink:to="loc_us-gaap_EmployeeStockMember_57c9af70-582a-40eb-9379-c48b37417554" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d06dc9b9-d481-4123-9304-8d9d6c4c2258" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5fd7b3e8-22af-428a-9029-97430764f28e" xlink:to="loc_srt_RangeAxis_d06dc9b9-d481-4123-9304-8d9d6c4c2258" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d06dc9b9-d481-4123-9304-8d9d6c4c2258_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d06dc9b9-d481-4123-9304-8d9d6c4c2258" xlink:to="loc_srt_RangeMember_d06dc9b9-d481-4123-9304-8d9d6c4c2258_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9418c2b1-9244-4eef-bc4e-be574e2327c7" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d06dc9b9-d481-4123-9304-8d9d6c4c2258" xlink:to="loc_srt_RangeMember_9418c2b1-9244-4eef-bc4e-be574e2327c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_c50683f6-5200-4767-846c-fc76bfff5ae1" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9418c2b1-9244-4eef-bc4e-be574e2327c7" xlink:to="loc_srt_MinimumMember_c50683f6-5200-4767-846c-fc76bfff5ae1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2a045813-5b73-47ea-b091-5f449072c315" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9418c2b1-9244-4eef-bc4e-be574e2327c7" xlink:to="loc_srt_MaximumMember_2a045813-5b73-47ea-b091-5f449072c315" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockbasedCompensationExpenseRecognizedinStatementofOperationsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#EquityIncentivePlansStockbasedCompensationExpenseRecognizedinStatementofOperationsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockbasedCompensationExpenseRecognizedinStatementofOperationsDetails" xlink:type="extended" id="ia67819e1c3db4d6aba7542050480ff46_EquityIncentivePlansStockbasedCompensationExpenseRecognizedinStatementofOperationsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9e45c0e0-bb62-4ff3-9471-128f77d11596" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_8edb43e8-39dc-4c65-83c1-8dc4af7a77ce" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9e45c0e0-bb62-4ff3-9471-128f77d11596" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_8edb43e8-39dc-4c65-83c1-8dc4af7a77ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5fb34b72-9be9-4b88-a19e-f6ed29830ffc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9e45c0e0-bb62-4ff3-9471-128f77d11596" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5fb34b72-9be9-4b88-a19e-f6ed29830ffc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_372fcf31-c46c-4152-a5e3-dd672f52491e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5fb34b72-9be9-4b88-a19e-f6ed29830ffc" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_372fcf31-c46c-4152-a5e3-dd672f52491e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_372fcf31-c46c-4152-a5e3-dd672f52491e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_372fcf31-c46c-4152-a5e3-dd672f52491e" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_372fcf31-c46c-4152-a5e3-dd672f52491e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_4a4089a5-cbfa-4523-ab1c-069c1233cfec" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_372fcf31-c46c-4152-a5e3-dd672f52491e" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_4a4089a5-cbfa-4523-ab1c-069c1233cfec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CostofRevenueSubscriptionMember_9ebaea19-1c57-4653-88cd-ec6ad3f3691a" xlink:href="mdb-20210131.xsd#mdb_CostofRevenueSubscriptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4a4089a5-cbfa-4523-ab1c-069c1233cfec" xlink:to="loc_mdb_CostofRevenueSubscriptionMember_9ebaea19-1c57-4653-88cd-ec6ad3f3691a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CostofRevenueServicesMember_9f60b58a-ac49-40b9-b9d0-e83ec7162af3" xlink:href="mdb-20210131.xsd#mdb_CostofRevenueServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4a4089a5-cbfa-4523-ab1c-069c1233cfec" xlink:to="loc_mdb_CostofRevenueServicesMember_9f60b58a-ac49-40b9-b9d0-e83ec7162af3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_43bcf0c0-3548-4ab8-a404-ba83aade35b8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4a4089a5-cbfa-4523-ab1c-069c1233cfec" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_43bcf0c0-3548-4ab8-a404-ba83aade35b8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_df703e59-1b11-4452-8ccd-7885f204d5f3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4a4089a5-cbfa-4523-ab1c-069c1233cfec" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_df703e59-1b11-4452-8ccd-7885f204d5f3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_baeb33a9-ca52-43b5-9435-f80f44174bc6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4a4089a5-cbfa-4523-ab1c-069c1233cfec" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_baeb33a9-ca52-43b5-9435-f80f44174bc6" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShare" xlink:type="simple" xlink:href="mdb-20210131.xsd#NetLossPerShare"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShare" xlink:type="extended" id="ia66d2443e8f14c61857e7c082b550082_NetLossPerShare"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#NetLossPerShareTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareTables" xlink:type="extended" id="i7a676504b6b946e08f71681fde8e0a1a_NetLossPerShareTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#NetLossPerShareAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareAdditionalInformationDetails" xlink:type="extended" id="ib2860a425fb34f018780ee3d4692b6a5_NetLossPerShareAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_b5ed350e-30d3-495d-97e5-c3b7eae20ac8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CommonStockVotingRightsNumberOfVotes_d697eba0-b5e6-4ac8-bf7e-27baaca6764a" xlink:href="mdb-20210131.xsd#mdb_CommonStockVotingRightsNumberOfVotes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_b5ed350e-30d3-495d-97e5-c3b7eae20ac8" xlink:to="loc_mdb_CommonStockVotingRightsNumberOfVotes_d697eba0-b5e6-4ac8-bf7e-27baaca6764a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtConversionConvertibleInstrumentSharesIssuable_de861415-3db4-4460-9d25-8e30a1d47507" xlink:href="mdb-20210131.xsd#mdb_DebtConversionConvertibleInstrumentSharesIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_b5ed350e-30d3-495d-97e5-c3b7eae20ac8" xlink:to="loc_mdb_DebtConversionConvertibleInstrumentSharesIssuable_de861415-3db4-4460-9d25-8e30a1d47507" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_aaf9f358-6f4e-4ccf-b94b-447498cf2713" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_b5ed350e-30d3-495d-97e5-c3b7eae20ac8" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_aaf9f358-6f4e-4ccf-b94b-447498cf2713" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtInstrumentConvertibleConversionPriceAverageMarketPrice_c4497ab7-2372-4055-8348-852cb829d648" xlink:href="mdb-20210131.xsd#mdb_DebtInstrumentConvertibleConversionPriceAverageMarketPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_b5ed350e-30d3-495d-97e5-c3b7eae20ac8" xlink:to="loc_mdb_DebtInstrumentConvertibleConversionPriceAverageMarketPrice_c4497ab7-2372-4055-8348-852cb829d648" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_d20e9fe3-884b-45a2-8a55-7f056d2c447a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_b5ed350e-30d3-495d-97e5-c3b7eae20ac8" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_d20e9fe3-884b-45a2-8a55-7f056d2c447a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_5f9f6749-30fd-481f-a370-f8174ddbe13a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_d20e9fe3-884b-45a2-8a55-7f056d2c447a" xlink:to="loc_us-gaap_DebtInstrumentAxis_5f9f6749-30fd-481f-a370-f8174ddbe13a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5f9f6749-30fd-481f-a370-f8174ddbe13a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_5f9f6749-30fd-481f-a370-f8174ddbe13a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5f9f6749-30fd-481f-a370-f8174ddbe13a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_2e4c74f8-6d7a-44d9-a9f9-d1f2182af1e5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_5f9f6749-30fd-481f-a370-f8174ddbe13a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_2e4c74f8-6d7a-44d9-a9f9-d1f2182af1e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2024Member_04ccda30-d0ae-42f0-ac2f-216f9972e229" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2e4c74f8-6d7a-44d9-a9f9-d1f2182af1e5" xlink:to="loc_mdb_ConvertibleNotesDue2024Member_04ccda30-d0ae-42f0-ac2f-216f9972e229" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_92a385fa-34c7-485b-9f19-95600c34463f" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2e4c74f8-6d7a-44d9-a9f9-d1f2182af1e5" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_92a385fa-34c7-485b-9f19-95600c34463f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_194b161b-33ab-4812-86b2-d7cf1930bd57" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_d20e9fe3-884b-45a2-8a55-7f056d2c447a" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_194b161b-33ab-4812-86b2-d7cf1930bd57" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_194b161b-33ab-4812-86b2-d7cf1930bd57_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_194b161b-33ab-4812-86b2-d7cf1930bd57" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_194b161b-33ab-4812-86b2-d7cf1930bd57_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_484d5d9b-82cf-400c-af75-f8c59616dd81" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_194b161b-33ab-4812-86b2-d7cf1930bd57" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_484d5d9b-82cf-400c-af75-f8c59616dd81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_1213af2e-2c16-4686-b593-fadf648c2931" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_484d5d9b-82cf-400c-af75-f8c59616dd81" xlink:to="loc_us-gaap_ConvertibleDebtMember_1213af2e-2c16-4686-b593-fadf648c2931" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1888d2d4-360a-47d3-b746-2cc1c57b2bdf" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_d20e9fe3-884b-45a2-8a55-7f056d2c447a" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1888d2d4-360a-47d3-b746-2cc1c57b2bdf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_1888d2d4-360a-47d3-b746-2cc1c57b2bdf_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1888d2d4-360a-47d3-b746-2cc1c57b2bdf" xlink:to="loc_us-gaap_ClassOfStockDomain_1888d2d4-360a-47d3-b746-2cc1c57b2bdf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_f1de445a-b253-41a2-a7f5-f341eaa18671" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1888d2d4-360a-47d3-b746-2cc1c57b2bdf" xlink:to="loc_us-gaap_ClassOfStockDomain_f1de445a-b253-41a2-a7f5-f341eaa18671" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_eb598ff4-5623-49cf-9c7f-eb63c04ac747" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f1de445a-b253-41a2-a7f5-f341eaa18671" xlink:to="loc_us-gaap_CommonClassAMember_eb598ff4-5623-49cf-9c7f-eb63c04ac747" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_d0fc989a-5141-41a3-8bb7-764c7d659f86" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f1de445a-b253-41a2-a7f5-f341eaa18671" xlink:to="loc_us-gaap_CommonClassBMember_d0fc989a-5141-41a3-8bb7-764c7d659f86" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareScheduleofBasicandDilutedEarningsLossPerShareDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#NetLossPerShareScheduleofBasicandDilutedEarningsLossPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareScheduleofBasicandDilutedEarningsLossPerShareDetails" xlink:type="extended" id="ibc26f961875c4a27b68cb80a155bd2af_NetLossPerShareScheduleofBasicandDilutedEarningsLossPerShareDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromtheComputationofDilutedNetlosspershareDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromtheComputationofDilutedNetlosspershareDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromtheComputationofDilutedNetlosspershareDetails" xlink:type="extended" id="i4996aa08f163464695f4f632d5bcb9c8_NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromtheComputationofDilutedNetlosspershareDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_937a667a-ac38-4949-ab2f-e095b95aecdb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_af3ba8e4-ba4d-4395-8bb3-c9475432d40b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_937a667a-ac38-4949-ab2f-e095b95aecdb" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_af3ba8e4-ba4d-4395-8bb3-c9475432d40b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_91a5aac0-678a-40cd-a417-9f482e851fb4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_937a667a-ac38-4949-ab2f-e095b95aecdb" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_91a5aac0-678a-40cd-a417-9f482e851fb4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_400b2857-a21e-47be-8571-8a40ddf78840" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_91a5aac0-678a-40cd-a417-9f482e851fb4" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_400b2857-a21e-47be-8571-8a40ddf78840" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_400b2857-a21e-47be-8571-8a40ddf78840_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_400b2857-a21e-47be-8571-8a40ddf78840" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_400b2857-a21e-47be-8571-8a40ddf78840_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_d1daaa8c-4241-4044-8b44-95236f6891e0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_400b2857-a21e-47be-8571-8a40ddf78840" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_d1daaa8c-4241-4044-8b44-95236f6891e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_850784dd-f45f-4b1a-b9e6-ea124b989a0e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_d1daaa8c-4241-4044-8b44-95236f6891e0" xlink:to="loc_us-gaap_EmployeeStockOptionMember_850784dd-f45f-4b1a-b9e6-ea124b989a0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_26f4f07e-d641-496e-a48c-e1e8dd2388f2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_d1daaa8c-4241-4044-8b44-95236f6891e0" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_26f4f07e-d641-496e-a48c-e1e8dd2388f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_EarlyExercisedEmployeeStockOptionMember_f49ce10e-3e8c-4b66-baa6-169c589d444b" xlink:href="mdb-20210131.xsd#mdb_EarlyExercisedEmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_d1daaa8c-4241-4044-8b44-95236f6891e0" xlink:to="loc_mdb_EarlyExercisedEmployeeStockOptionMember_f49ce10e-3e8c-4b66-baa6-169c589d444b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_720ec2c0-95ef-4d2f-9b1b-f351e8ff82ac" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_d1daaa8c-4241-4044-8b44-95236f6891e0" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_720ec2c0-95ef-4d2f-9b1b-f351e8ff82ac" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_430f9fed-2bc2-4b83-8b71-c3fb1dd359c1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_91a5aac0-678a-40cd-a417-9f482e851fb4" xlink:to="loc_us-gaap_StatementClassOfStockAxis_430f9fed-2bc2-4b83-8b71-c3fb1dd359c1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_430f9fed-2bc2-4b83-8b71-c3fb1dd359c1_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_430f9fed-2bc2-4b83-8b71-c3fb1dd359c1" xlink:to="loc_us-gaap_ClassOfStockDomain_430f9fed-2bc2-4b83-8b71-c3fb1dd359c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_0d9a224b-059a-406d-8b20-764162f78e08" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_430f9fed-2bc2-4b83-8b71-c3fb1dd359c1" xlink:to="loc_us-gaap_ClassOfStockDomain_0d9a224b-059a-406d-8b20-764162f78e08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_d258741c-b667-40dc-a02f-7d2ed4ea56c9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_0d9a224b-059a-406d-8b20-764162f78e08" xlink:to="loc_us-gaap_CommonClassAMember_d258741c-b667-40dc-a02f-7d2ed4ea56c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_a0d3661e-8fa8-404c-9f52-b708b8163b1b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_0d9a224b-059a-406d-8b20-764162f78e08" xlink:to="loc_us-gaap_CommonClassBMember_a0d3661e-8fa8-404c-9f52-b708b8163b1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_60552ac8-818d-4cfc-94db-2e160520eb03" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_91a5aac0-678a-40cd-a417-9f482e851fb4" xlink:to="loc_us-gaap_DebtInstrumentAxis_60552ac8-818d-4cfc-94db-2e160520eb03" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_60552ac8-818d-4cfc-94db-2e160520eb03_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_60552ac8-818d-4cfc-94db-2e160520eb03" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_60552ac8-818d-4cfc-94db-2e160520eb03_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_652cfdab-3663-459d-a246-ab4c7c29b430" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_60552ac8-818d-4cfc-94db-2e160520eb03" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_652cfdab-3663-459d-a246-ab4c7c29b430" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2024Member_39fb716d-8aa5-45c7-9835-c2ba7b3e0365" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_652cfdab-3663-459d-a246-ab4c7c29b430" xlink:to="loc_mdb_ConvertibleNotesDue2024Member_39fb716d-8aa5-45c7-9835-c2ba7b3e0365" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_6235a8b8-3645-40e3-b0c7-722fd3e5f7df" xlink:href="mdb-20210131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_652cfdab-3663-459d-a246-ab4c7c29b430" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_6235a8b8-3645-40e3-b0c7-722fd3e5f7df" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxes" xlink:type="simple" xlink:href="mdb-20210131.xsd#IncomeTaxes"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxes" xlink:type="extended" id="i6abb923037b546d58bd86480327e7ad6_IncomeTaxes"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="mdb-20210131.xsd#IncomeTaxesTables"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesTables" xlink:type="extended" id="ic3ee82d8c9a44011ba3f672263697478_IncomeTaxesTables"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleofComponentsofLossBeforeProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#IncomeTaxesScheduleofComponentsofLossBeforeProvisionforIncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleofComponentsofLossBeforeProvisionforIncomeTaxesDetails" xlink:type="extended" id="i1130581481814ae2a22ba19c27599642_IncomeTaxesScheduleofComponentsofLossBeforeProvisionforIncomeTaxesDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleofComponentsofProvisionforIncomeTaxDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#IncomeTaxesScheduleofComponentsofProvisionforIncomeTaxDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleofComponentsofProvisionforIncomeTaxDetails" xlink:type="extended" id="i5bf7b07c09634d26be1547d1cd42135d_IncomeTaxesScheduleofComponentsofProvisionforIncomeTaxDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#IncomeTaxesScheduleofEffectiveIncomeTaxRateDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRateDetails" xlink:type="extended" id="ieb398a3c6829497ba7678956bd54a5ed_IncomeTaxesScheduleofEffectiveIncomeTaxRateDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended" id="id56a7036b8a84525ab0271daef79d8ae_IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#IncomeTaxesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended" id="ie46899cd711d4172ae3227f8f695ca6c_IncomeTaxesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_54afb720-d14f-417e-8411-9b13d4e5d120" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_2e63ccc1-c276-47b0-a039-f6c13557cac0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_54afb720-d14f-417e-8411-9b13d4e5d120" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_2e63ccc1-c276-47b0-a039-f6c13557cac0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_abcd8dbe-787c-4935-a2b5-0ba0fd388ab6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_54afb720-d14f-417e-8411-9b13d4e5d120" xlink:to="loc_us-gaap_OperatingLossCarryforwards_abcd8dbe-787c-4935-a2b5-0ba0fd388ab6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_59097893-bd07-4d1f-93af-0af4ecab2add" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_54afb720-d14f-417e-8411-9b13d4e5d120" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_59097893-bd07-4d1f-93af-0af4ecab2add" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_c4140453-a6f9-449d-9d86-caf234229886" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UndistributedEarningsOfForeignSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_54afb720-d14f-417e-8411-9b13d4e5d120" xlink:to="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_c4140453-a6f9-449d-9d86-caf234229886" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries_98f5d11a-4cdc-4f55-81db-ed50a5010eb0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_54afb720-d14f-417e-8411-9b13d4e5d120" xlink:to="loc_us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries_98f5d11a-4cdc-4f55-81db-ed50a5010eb0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit_5943aaec-36f4-45bd-aa39-b76357256bb5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_54afb720-d14f-417e-8411-9b13d4e5d120" xlink:to="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit_5943aaec-36f4-45bd-aa39-b76357256bb5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_af82fc87-cd66-47ec-8060-34df4bc3eea7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_54afb720-d14f-417e-8411-9b13d4e5d120" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_af82fc87-cd66-47ec-8060-34df4bc3eea7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_afb9f344-ef8e-4c80-bdf2-4e327f101a40" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_af82fc87-cd66-47ec-8060-34df4bc3eea7" xlink:to="loc_srt_StatementGeographicalAxis_afb9f344-ef8e-4c80-bdf2-4e327f101a40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_afb9f344-ef8e-4c80-bdf2-4e327f101a40_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_afb9f344-ef8e-4c80-bdf2-4e327f101a40" xlink:to="loc_srt_SegmentGeographicalDomain_afb9f344-ef8e-4c80-bdf2-4e327f101a40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_42ec966f-39c5-4a8c-a6ee-25737d13d952" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_afb9f344-ef8e-4c80-bdf2-4e327f101a40" xlink:to="loc_srt_SegmentGeographicalDomain_42ec966f-39c5-4a8c-a6ee-25737d13d952" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_IE_49993e8a-9a9c-4b23-9fc6-d79357db3bb6" xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_IE"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_42ec966f-39c5-4a8c-a6ee-25737d13d952" xlink:to="loc_country_IE_49993e8a-9a9c-4b23-9fc6-d79357db3bb6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_083e8adf-82af-4847-88da-a860f0bc4636" xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_42ec966f-39c5-4a8c-a6ee-25737d13d952" xlink:to="loc_country_GB_083e8adf-82af-4847-88da-a860f0bc4636" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_4eb52d1d-3be1-4c4b-b810-c87d68a9cfbf" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_af82fc87-cd66-47ec-8060-34df4bc3eea7" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_4eb52d1d-3be1-4c4b-b810-c87d68a9cfbf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_4eb52d1d-3be1-4c4b-b810-c87d68a9cfbf_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_4eb52d1d-3be1-4c4b-b810-c87d68a9cfbf" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_4eb52d1d-3be1-4c4b-b810-c87d68a9cfbf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_007236a1-d2e2-43fc-afb0-a76821380fbb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_4eb52d1d-3be1-4c4b-b810-c87d68a9cfbf" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_007236a1-d2e2-43fc-afb0-a76821380fbb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchMember_7d665331-fd69-46fa-be98-f3a9c5944f8a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_007236a1-d2e2-43fc-afb0-a76821380fbb" xlink:to="loc_us-gaap_ResearchMember_7d665331-fd69-46fa-be98-f3a9c5944f8a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_e0534783-05ee-4876-b734-9288af7bb9ed" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_af82fc87-cd66-47ec-8060-34df4bc3eea7" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_e0534783-05ee-4876-b734-9288af7bb9ed" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_e0534783-05ee-4876-b734-9288af7bb9ed_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_e0534783-05ee-4876-b734-9288af7bb9ed" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_e0534783-05ee-4876-b734-9288af7bb9ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_eea3d1bc-63a1-4511-b0d4-03d1aab014c1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_e0534783-05ee-4876-b734-9288af7bb9ed" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_eea3d1bc-63a1-4511-b0d4-03d1aab014c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_4a308047-031e-4791-9cc1-98d2337f86a2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_eea3d1bc-63a1-4511-b0d4-03d1aab014c1" xlink:to="loc_us-gaap_DomesticCountryMember_4a308047-031e-4791-9cc1-98d2337f86a2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_c409dea0-00fb-489c-b466-75fb706904e9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_eea3d1bc-63a1-4511-b0d4-03d1aab014c1" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_c409dea0-00fb-489c-b466-75fb706904e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCountryMember_d745b2bd-f233-4d47-a66f-2b17aef7e827" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ForeignCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_eea3d1bc-63a1-4511-b0d4-03d1aab014c1" xlink:to="loc_us-gaap_ForeignCountryMember_d745b2bd-f233-4d47-a66f-2b17aef7e827" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesScheduleofUnrecognizedTaxBenefitsDetails" xlink:type="simple" xlink:href="mdb-20210131.xsd#IncomeTaxesScheduleofUnrecognizedTaxBenefitsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesScheduleofUnrecognizedTaxBenefitsDetails" xlink:type="extended" id="ia885c752438047b6aa3236c6969759c9_IncomeTaxesScheduleofUnrecognizedTaxBenefitsDetails"/>
</link:linkbase>
