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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:e8629ae4-b5d6-4508-a2a2-aa908f23113f,g:9a6fac6e-0f40-49a3-9f14-9807f6b07a90-->
<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/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="mdb-20240131.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_2a51264f-0d9b-4e0f-aea3-3e3b931aaf43" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_9fc8c117-9d42-4e8e-a1f6-76fc803da714" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2a51264f-0d9b-4e0f-aea3-3e3b931aaf43" xlink:to="loc_us-gaap_StatementTable_9fc8c117-9d42-4e8e-a1f6-76fc803da714" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_45fbca81-7561-4963-bb15-54747ec00d61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_9fc8c117-9d42-4e8e-a1f6-76fc803da714" xlink:to="loc_us-gaap_StatementClassOfStockAxis_45fbca81-7561-4963-bb15-54747ec00d61" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_45fbca81-7561-4963-bb15-54747ec00d61_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_45fbca81-7561-4963-bb15-54747ec00d61" xlink:to="loc_us-gaap_ClassOfStockDomain_45fbca81-7561-4963-bb15-54747ec00d61_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_b49e632d-6a42-4bc8-8e12-ea63357b9ff9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_45fbca81-7561-4963-bb15-54747ec00d61" xlink:to="loc_us-gaap_ClassOfStockDomain_b49e632d-6a42-4bc8-8e12-ea63357b9ff9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_22057813-7a62-4511-b1cf-dcb9ae658d7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b49e632d-6a42-4bc8-8e12-ea63357b9ff9" xlink:to="loc_us-gaap_CommonClassAMember_22057813-7a62-4511-b1cf-dcb9ae658d7f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_c33e0c42-613e-4caf-b199-94e2e3080c00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b49e632d-6a42-4bc8-8e12-ea63357b9ff9" xlink:to="loc_us-gaap_CommonClassBMember_c33e0c42-613e-4caf-b199-94e2e3080c00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2a51264f-0d9b-4e0f-aea3-3e3b931aaf43" xlink:to="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_16069135-9812-4857-9b6d-1382c1af766b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:to="loc_us-gaap_AssetsCurrentAbstract_16069135-9812-4857-9b6d-1382c1af766b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_90f74471-3d50-4e45-9824-a42fafa3cde9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_16069135-9812-4857-9b6d-1382c1af766b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_90f74471-3d50-4e45-9824-a42fafa3cde9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_103842b9-1327-421c-b576-fc701d78aaaf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_16069135-9812-4857-9b6d-1382c1af766b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_103842b9-1327-421c-b576-fc701d78aaaf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_b05f16aa-ae78-4dbd-ae68-341a53020716" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_16069135-9812-4857-9b6d-1382c1af766b" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_b05f16aa-ae78-4dbd-ae68-341a53020716" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsCurrent_71080a26-d951-4497-9f94-aa06c7824280" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCostsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_16069135-9812-4857-9b6d-1382c1af766b" xlink:to="loc_us-gaap_DeferredCostsCurrent_71080a26-d951-4497-9f94-aa06c7824280" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_467eed39-0f33-4639-b744-adf117b0e32c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_16069135-9812-4857-9b6d-1382c1af766b" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_467eed39-0f33-4639-b744-adf117b0e32c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_7191b98b-9c4c-45ff-82dd-dca2cbf8a448" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_16069135-9812-4857-9b6d-1382c1af766b" xlink:to="loc_us-gaap_AssetsCurrent_7191b98b-9c4c-45ff-82dd-dca2cbf8a448" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_8455d2e4-ac89-4426-950f-5c3de5f2e84b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_8455d2e4-ac89-4426-950f-5c3de5f2e84b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_59481455-12a6-4b92-a324-949803105244" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_59481455-12a6-4b92-a324-949803105244" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_0cdce4f3-6bee-44f3-9aad-86febb772990" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:to="loc_us-gaap_Goodwill_0cdce4f3-6bee-44f3-9aad-86febb772990" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_06388f77-75a0-4745-bb82-ae6edba246c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_06388f77-75a0-4745-bb82-ae6edba246c0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_ce3f508c-8416-423c-93f9-72fb9a1aa8d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_ce3f508c-8416-423c-93f9-72fb9a1aa8d4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_8cec81c9-8e0f-4c6c-9de4-96d868acc67d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_8cec81c9-8e0f-4c6c-9de4-96d868acc67d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_19d05777-0d17-464c-b00a-5ed93627b828" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4ffc8848-6447-47cb-b6bd-ac97cfccf722" xlink:to="loc_us-gaap_Assets_19d05777-0d17-464c-b00a-5ed93627b828" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2a51264f-0d9b-4e0f-aea3-3e3b931aaf43" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_f8a60106-4dc7-4db4-82c7-72ae934be6fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_f8a60106-4dc7-4db4-82c7-72ae934be6fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_49a83327-58b1-45c8-8041-a8afb2bfe4c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_f8a60106-4dc7-4db4-82c7-72ae934be6fe" xlink:to="loc_us-gaap_AccountsPayableCurrent_49a83327-58b1-45c8-8041-a8afb2bfe4c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_df2c9fdd-5d30-47cd-be6a-f343247898f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_f8a60106-4dc7-4db4-82c7-72ae934be6fe" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_df2c9fdd-5d30-47cd-be6a-f343247898f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_03175d05-0f03-4a1a-bd8a-11f5111445b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_f8a60106-4dc7-4db4-82c7-72ae934be6fe" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_03175d05-0f03-4a1a-bd8a-11f5111445b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_613e6979-220e-4f91-8346-dc91adcc09a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_f8a60106-4dc7-4db4-82c7-72ae934be6fe" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_613e6979-220e-4f91-8346-dc91adcc09a8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_e9694776-ee3b-43ba-b469-98586e7613e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_f8a60106-4dc7-4db4-82c7-72ae934be6fe" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_e9694776-ee3b-43ba-b469-98586e7613e0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_f3f9a096-cd27-491f-ad40-2dd8f58b5ff0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_f8a60106-4dc7-4db4-82c7-72ae934be6fe" xlink:to="loc_us-gaap_LiabilitiesCurrent_f3f9a096-cd27-491f-ad40-2dd8f58b5ff0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_7db06c74-56c6-424d-8046-1619e3566f56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_7db06c74-56c6-424d-8046-1619e3566f56" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_468a833d-3285-4eb5-854c-a85cd70f165e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_468a833d-3285-4eb5-854c-a85cd70f165e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_4593c41c-e5da-4b33-88a2-2522f8c01fef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_4593c41c-e5da-4b33-88a2-2522f8c01fef" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_a6cfe857-55dc-4b6d-9848-f4fa4ab4f501" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_a6cfe857-55dc-4b6d-9848-f4fa4ab4f501" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_cb08b740-0299-4483-961e-610e03fe4c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_cb08b740-0299-4483-961e-610e03fe4c7d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_bf65b835-665a-4f25-b316-5310bc307385" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_Liabilities_bf65b835-665a-4f25-b316-5310bc307385" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_184468fc-76c0-4ae7-9237-b866486a283e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_CommitmentsAndContingencies_184468fc-76c0-4ae7-9237-b866486a283e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_202ffff3-046c-41fb-b6fe-2a80f1aba81f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_StockholdersEquityAbstract_202ffff3-046c-41fb-b6fe-2a80f1aba81f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_7e978a3f-31a6-4d9e-ad8f-4ba79fbca895" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_202ffff3-046c-41fb-b6fe-2a80f1aba81f" xlink:to="loc_us-gaap_CommonStockValue_7e978a3f-31a6-4d9e-ad8f-4ba79fbca895" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_a842c6c9-7ccb-4540-8cc1-881ccb10dd69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_202ffff3-046c-41fb-b6fe-2a80f1aba81f" xlink:to="loc_us-gaap_AdditionalPaidInCapital_a842c6c9-7ccb-4540-8cc1-881ccb10dd69" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_a532a36b-5e61-41c8-a4cb-04ae79c05877" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_202ffff3-046c-41fb-b6fe-2a80f1aba81f" xlink:to="loc_us-gaap_TreasuryStockValue_a532a36b-5e61-41c8-a4cb-04ae79c05877" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_ae19dccf-25ca-4d1f-8280-824eabe601fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_202ffff3-046c-41fb-b6fe-2a80f1aba81f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_ae19dccf-25ca-4d1f-8280-824eabe601fc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_adf4ac9e-4b95-45e3-b469-f73bc976c799" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_202ffff3-046c-41fb-b6fe-2a80f1aba81f" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_adf4ac9e-4b95-45e3-b469-f73bc976c799" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_55557b56-a0dd-4683-9044-388d8ddc3e66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_202ffff3-046c-41fb-b6fe-2a80f1aba81f" xlink:to="loc_us-gaap_StockholdersEquity_55557b56-a0dd-4683-9044-388d8ddc3e66" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_82b5093e-75c0-4d36-8562-bef580f1e48d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_0d600097-9d93-473b-a6f1-c3c4aa5571ab" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_82b5093e-75c0-4d36-8562-bef580f1e48d" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="mdb-20240131.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_02c1674b-fa1f-482b-b459-776ad081329b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_5c66eeab-7a77-4371-a470-ddaf896884d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_02c1674b-fa1f-482b-b459-776ad081329b" xlink:to="loc_us-gaap_StatementTable_5c66eeab-7a77-4371-a470-ddaf896884d6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_bfc5ae62-bc69-47bf-ae42-c48ef0c2df2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5c66eeab-7a77-4371-a470-ddaf896884d6" xlink:to="loc_us-gaap_StatementClassOfStockAxis_bfc5ae62-bc69-47bf-ae42-c48ef0c2df2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_bfc5ae62-bc69-47bf-ae42-c48ef0c2df2b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_bfc5ae62-bc69-47bf-ae42-c48ef0c2df2b" xlink:to="loc_us-gaap_ClassOfStockDomain_bfc5ae62-bc69-47bf-ae42-c48ef0c2df2b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_cf1da49d-e883-452f-a625-984b1f1982cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_bfc5ae62-bc69-47bf-ae42-c48ef0c2df2b" xlink:to="loc_us-gaap_ClassOfStockDomain_cf1da49d-e883-452f-a625-984b1f1982cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_430d7abe-5489-4f78-ac1f-b82d84eb4d6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_cf1da49d-e883-452f-a625-984b1f1982cd" xlink:to="loc_us-gaap_CommonClassAMember_430d7abe-5489-4f78-ac1f-b82d84eb4d6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_3b587071-75d0-431c-811c-9d7ca8e6ac01" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_02c1674b-fa1f-482b-b459-776ad081329b" xlink:to="loc_us-gaap_AssetsCurrentAbstract_3b587071-75d0-431c-811c-9d7ca8e6ac01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_8ab9ad0d-ffb2-4952-87a7-97a1dfbaf88c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_3b587071-75d0-431c-811c-9d7ca8e6ac01" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_8ab9ad0d-ffb2-4952-87a7-97a1dfbaf88c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_f890f102-3e17-4d3e-92ff-e96de9a417d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_02c1674b-fa1f-482b-b459-776ad081329b" xlink:to="loc_us-gaap_StockholdersEquityAbstract_f890f102-3e17-4d3e-92ff-e96de9a417d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_6a92b61b-fa01-4efc-9369-eb19ce51f089" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_f890f102-3e17-4d3e-92ff-e96de9a417d5" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_6a92b61b-fa01-4efc-9369-eb19ce51f089" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_e5ba3021-da6b-4f41-bb84-dd89c5e2bc85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_f890f102-3e17-4d3e-92ff-e96de9a417d5" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_e5ba3021-da6b-4f41-bb84-dd89c5e2bc85" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_954396d6-fce0-4c28-8ff6-ffb40539e88a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_f890f102-3e17-4d3e-92ff-e96de9a417d5" xlink:to="loc_us-gaap_CommonStockSharesIssued_954396d6-fce0-4c28-8ff6-ffb40539e88a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_c4cea6f1-87b6-4cee-b536-90117c81f672" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_f890f102-3e17-4d3e-92ff-e96de9a417d5" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_c4cea6f1-87b6-4cee-b536-90117c81f672" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_fd9759b7-1b5e-46ec-bd8a-5347b86dedbb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_02c1674b-fa1f-482b-b459-776ad081329b" xlink:to="loc_us-gaap_TreasuryStockCommonShares_fd9759b7-1b5e-46ec-bd8a-5347b86dedbb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_0eda01a4-a01e-47b7-87b7-faa81dc02984" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_02c1674b-fa1f-482b-b459-776ad081329b" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_0eda01a4-a01e-47b7-87b7-faa81dc02984" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="mdb-20240131.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_c9337514-8f81-4cbb-b907-e570a3155a56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_StatementTable_c9337514-8f81-4cbb-b907-e570a3155a56" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_2ea2c488-2d0c-47f6-86d0-143c10fef24b" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_c9337514-8f81-4cbb-b907-e570a3155a56" xlink:to="loc_srt_ProductOrServiceAxis_2ea2c488-2d0c-47f6-86d0-143c10fef24b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_2ea2c488-2d0c-47f6-86d0-143c10fef24b_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_2ea2c488-2d0c-47f6-86d0-143c10fef24b" xlink:to="loc_srt_ProductsAndServicesDomain_2ea2c488-2d0c-47f6-86d0-143c10fef24b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_fea9e07b-aabe-41e5-b6f5-909bc18b2c7c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_2ea2c488-2d0c-47f6-86d0-143c10fef24b" xlink:to="loc_srt_ProductsAndServicesDomain_fea9e07b-aabe-41e5-b6f5-909bc18b2c7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicenseMember_1da89c26-2277-4f38-bedc-74a4933cd0f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LicenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_fea9e07b-aabe-41e5-b6f5-909bc18b2c7c" xlink:to="loc_us-gaap_LicenseMember_1da89c26-2277-4f38-bedc-74a4933cd0f2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServiceMember_7d173b90-8ea8-4afc-9ccd-ad97dac4e952" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_fea9e07b-aabe-41e5-b6f5-909bc18b2c7c" xlink:to="loc_us-gaap_ServiceMember_7d173b90-8ea8-4afc-9ccd-ad97dac4e952" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_e3ea7010-ae2d-4bf3-bc6c-fbb51c7509ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_RevenuesAbstract_e3ea7010-ae2d-4bf3-bc6c-fbb51c7509ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_0190cf2f-302c-4ff0-aaba-d4e624d90cd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_e3ea7010-ae2d-4bf3-bc6c-fbb51c7509ab" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_0190cf2f-302c-4ff0-aaba-d4e624d90cd3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenueAbstract_48a90890-84a9-43bc-a582-038d3a4334f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfRevenueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_CostOfRevenueAbstract_48a90890-84a9-43bc-a582-038d3a4334f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_225d372f-ad17-4374-ada6-cafe1bec7b02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_48a90890-84a9-43bc-a582-038d3a4334f0" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_225d372f-ad17-4374-ada6-cafe1bec7b02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_370f1688-e74e-4128-828d-95e36bdeb9c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossProfit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_GrossProfit_370f1688-e74e-4128-828d-95e36bdeb9c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpensesAbstract_682f0070-4cc3-45b1-aa91-921d54f07414" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_OperatingExpensesAbstract_682f0070-4cc3-45b1-aa91-921d54f07414" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_87a98a51-08c3-4ed9-aa07-0661a6fdad79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_682f0070-4cc3-45b1-aa91-921d54f07414" xlink:to="loc_us-gaap_SellingAndMarketingExpense_87a98a51-08c3-4ed9-aa07-0661a6fdad79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_0c92c6de-b275-464b-baac-646e32844815" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_682f0070-4cc3-45b1-aa91-921d54f07414" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_0c92c6de-b275-464b-baac-646e32844815" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_48059913-311e-4dc6-b7e7-29ea17618def" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_682f0070-4cc3-45b1-aa91-921d54f07414" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_48059913-311e-4dc6-b7e7-29ea17618def" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_1ed431ee-275b-4d4e-bfde-5e3157f478b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_682f0070-4cc3-45b1-aa91-921d54f07414" xlink:to="loc_us-gaap_OperatingExpenses_1ed431ee-275b-4d4e-bfde-5e3157f478b6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_3ea0c50d-4b82-4d70-8c81-d70dd0177cd6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_OperatingIncomeLoss_3ea0c50d-4b82-4d70-8c81-d70dd0177cd6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_ea9dfed9-65ab-4fa8-a94b-4d7f3438635e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_ea9dfed9-65ab-4fa8-a94b-4d7f3438635e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNet_416d072e-e81d-4ec8-9448-9625f15b3332" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_ea9dfed9-65ab-4fa8-a94b-4d7f3438635e" xlink:to="loc_us-gaap_InvestmentIncomeNet_416d072e-e81d-4ec8-9448-9625f15b3332" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_e35c79cb-9207-45d9-83bc-21306dbdbedd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_ea9dfed9-65ab-4fa8-a94b-4d7f3438635e" xlink:to="loc_us-gaap_InterestExpense_e35c79cb-9207-45d9-83bc-21306dbdbedd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_55af56b7-2332-422d-a0ac-4b90da8c0d4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_ea9dfed9-65ab-4fa8-a94b-4d7f3438635e" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_55af56b7-2332-422d-a0ac-4b90da8c0d4e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d2ea3b9a-e9c9-4381-8fa1-9b573f54bb02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d2ea3b9a-e9c9-4381-8fa1-9b573f54bb02" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_400a2d9e-2620-4f1c-9937-0065f3320f88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_400a2d9e-2620-4f1c-9937-0065f3320f88" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_9f6712df-707f-4a1a-aeb1-9d2f31b4332b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_NetIncomeLoss_9f6712df-707f-4a1a-aeb1-9d2f31b4332b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_c4bfba3c-6cf5-445d-8afa-65cc0bc4a458" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_EarningsPerShareDiluted_c4bfba3c-6cf5-445d-8afa-65cc0bc4a458" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_5f18c4c9-f44d-4c26-a568-5f4f9aeacb08" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_EarningsPerShareBasic_5f18c4c9-f44d-4c26-a568-5f4f9aeacb08" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1103b5f0-1f2f-494f-83f5-67c84277b408" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1103b5f0-1f2f-494f-83f5-67c84277b408" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_6bd48e89-04e4-49e8-aa60-c643be275fe4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bf2baed-710c-4f5b-9259-268fc8778eb1" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_6bd48e89-04e4-49e8-aa60-c643be275fe4" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT" xlink:type="simple" xlink:href="mdb-20240131.xsd#CONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSEQUITYDEFICIT" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_967599cc-9078-4d31-9342-b0aad1b3fe51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_a0358b77-adcb-4fd8-a6b4-f67d42aed64b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_967599cc-9078-4d31-9342-b0aad1b3fe51" xlink:to="loc_us-gaap_StatementTable_a0358b77-adcb-4fd8-a6b4-f67d42aed64b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_62ae5dff-07a9-410c-b094-eefde7919894" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a0358b77-adcb-4fd8-a6b4-f67d42aed64b" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_62ae5dff-07a9-410c-b094-eefde7919894" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_62ae5dff-07a9-410c-b094-eefde7919894_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_62ae5dff-07a9-410c-b094-eefde7919894" xlink:to="loc_us-gaap_EquityComponentDomain_62ae5dff-07a9-410c-b094-eefde7919894_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_fc31990a-a323-4d6a-8bc5-e1d91d8780ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_62ae5dff-07a9-410c-b094-eefde7919894" xlink:to="loc_us-gaap_EquityComponentDomain_fc31990a-a323-4d6a-8bc5-e1d91d8780ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_1faa30a3-d607-4c80-9584-d0ad184c92e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fc31990a-a323-4d6a-8bc5-e1d91d8780ea" xlink:to="loc_us-gaap_CommonStockMember_1faa30a3-d607-4c80-9584-d0ad184c92e0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_722f782c-32c6-4717-8ad9-b7b00063503f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fc31990a-a323-4d6a-8bc5-e1d91d8780ea" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_722f782c-32c6-4717-8ad9-b7b00063503f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_9bd982b0-401e-4618-89fd-358860b96527" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fc31990a-a323-4d6a-8bc5-e1d91d8780ea" xlink:to="loc_us-gaap_TreasuryStockCommonMember_9bd982b0-401e-4618-89fd-358860b96527" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_32d928d4-62cd-4405-996c-a28589f80824" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fc31990a-a323-4d6a-8bc5-e1d91d8780ea" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_32d928d4-62cd-4405-996c-a28589f80824" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_3004a21b-a5a8-4a4a-b428-2eb4b5aca94f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fc31990a-a323-4d6a-8bc5-e1d91d8780ea" xlink:to="loc_us-gaap_RetainedEarningsMember_3004a21b-a5a8-4a4a-b428-2eb4b5aca94f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b5ee4197-76ab-4ba4-8ec9-a3888edc3e37" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a0358b77-adcb-4fd8-a6b4-f67d42aed64b" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b5ee4197-76ab-4ba4-8ec9-a3888edc3e37" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_b5ee4197-76ab-4ba4-8ec9-a3888edc3e37_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b5ee4197-76ab-4ba4-8ec9-a3888edc3e37" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_b5ee4197-76ab-4ba4-8ec9-a3888edc3e37_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_0fe85c4c-c500-4634-8de3-f15f15446f50" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b5ee4197-76ab-4ba4-8ec9-a3888edc3e37" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_0fe85c4c-c500-4634-8de3-f15f15446f50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_a5511ec7-bbaa-411c-8645-778a035314fb" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_0fe85c4c-c500-4634-8de3-f15f15446f50" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_a5511ec7-bbaa-411c-8645-778a035314fb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_967599cc-9078-4d31-9342-b0aad1b3fe51" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_16dd3797-b425-4f5c-8750-d329223612f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_16dd3797-b425-4f5c-8750-d329223612f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_c683f2f9-b4c4-45c3-b1fd-b4db90083185" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockholdersEquity_c683f2f9-b4c4-45c3-b1fd-b4db90083185" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_108d90dc-cf9a-40e4-907f-b71dddd7671f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_108d90dc-cf9a-40e4-907f-b71dddd7671f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_89137d74-d029-423b-9924-535600e5b7bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_89137d74-d029-423b-9924-535600e5b7bd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_AdjustmentsToAdditionalPaidInCapitalEarlyExerciseOfStockOptions_eb0a5a17-e1d9-4bc8-b7ae-bb6ed4cc38b6" xlink:href="mdb-20240131.xsd#mdb_AdjustmentsToAdditionalPaidInCapitalEarlyExerciseOfStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_mdb_AdjustmentsToAdditionalPaidInCapitalEarlyExerciseOfStockOptions_eb0a5a17-e1d9-4bc8-b7ae-bb6ed4cc38b6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_6b49348a-990a-4032-ae58-e84d9eb3d1ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_6b49348a-990a-4032-ae58-e84d9eb3d1ff" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_f3aeb5f2-6bcc-42cf-8eb2-0772953e3aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_f3aeb5f2-6bcc-42cf-8eb2-0772953e3aa9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_StockIssuedDuringPeriodSharesPerformanceStockAwardGross_3e2ca646-4dc0-403f-bac7-e3314f918aab" xlink:href="mdb-20240131.xsd#mdb_StockIssuedDuringPeriodSharesPerformanceStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_mdb_StockIssuedDuringPeriodSharesPerformanceStockAwardGross_3e2ca646-4dc0-403f-bac7-e3314f918aab" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_cc7f6f4c-91b0-4208-83e9-6c9eb36b66d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_cc7f6f4c-91b0-4208-83e9-6c9eb36b66d7" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_4ac42283-3fe7-4442-9f60-41acf8039d0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_4ac42283-3fe7-4442-9f60-41acf8039d0d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_53414d02-41f3-40e5-9550-7da7f67d99cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_53414d02-41f3-40e5-9550-7da7f67d99cc" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_60b3a016-5aa6-4158-89ab-90b3888c4a04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_60b3a016-5aa6-4158-89ab-90b3888c4a04" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_1e04babb-5df5-435b-a250-acda1186a9fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_1e04babb-5df5-435b-a250-acda1186a9fd" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_1f846d90-7cec-4c19-94ed-1d94307c4850" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_1f846d90-7cec-4c19-94ed-1d94307c4850" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_dcea98ef-5e2e-4d0b-9286-1d3760b696b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_dcea98ef-5e2e-4d0b-9286-1d3760b696b9" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_b5df54b4-e534-4809-8df7-164cb2ab0d6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_b5df54b4-e534-4809-8df7-164cb2ab0d6c" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_e9e37718-c321-4ab4-b30d-6d676fa725b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_e9e37718-c321-4ab4-b30d-6d676fa725b9" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_048d7dda-26ca-417d-b471-4fb6eed3cb35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_048d7dda-26ca-417d-b471-4fb6eed3cb35" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_854d213f-a267-4941-93cf-1e1b169b8781" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ea9b420f-2d0d-4c24-842d-02e5577d64cf" xlink:to="loc_us-gaap_NetIncomeLoss_854d213f-a267-4941-93cf-1e1b169b8781" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_8bd222c9-7a2f-48a1-ad0e-72c9c0df90c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e54fc8d6-1d0d-41e0-9c8e-975a9be42bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesNonMarketableSecuritiesDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#SummaryofSignificantAccountingPoliciesNonMarketableSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesNonMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_4f10be46-5cf9-4e99-842e-4cd446c98ef1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_bcf06c47-bb15-49de-ad9b-9cd59deb7aee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_4f10be46-5cf9-4e99-842e-4cd446c98ef1" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_bcf06c47-bb15-49de-ad9b-9cd59deb7aee" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecurityOwnedNotReadilyMarketableAxis_d032fb7f-67fc-4759-abf5-a4176901abbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecurityOwnedNotReadilyMarketableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_bcf06c47-bb15-49de-ad9b-9cd59deb7aee" xlink:to="loc_us-gaap_SecurityOwnedNotReadilyMarketableAxis_d032fb7f-67fc-4759-abf5-a4176901abbd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_d032fb7f-67fc-4759-abf5-a4176901abbd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecurityOwnedNotReadilyMarketableNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableAxis_d032fb7f-67fc-4759-abf5-a4176901abbd" xlink:to="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_d032fb7f-67fc-4759-abf5-a4176901abbd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_6759feed-6ccf-4a2f-891c-f8649433fd38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecurityOwnedNotReadilyMarketableNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableAxis_d032fb7f-67fc-4759-abf5-a4176901abbd" xlink:to="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_6759feed-6ccf-4a2f-891c-f8649433fd38" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_NonMarketableSecuritiesMember_f0a9a518-151e-4108-a8c8-b412571dc8a8" xlink:href="mdb-20240131.xsd#mdb_NonMarketableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_6759feed-6ccf-4a2f-891c-f8649433fd38" xlink:to="loc_mdb_NonMarketableSecuritiesMember_f0a9a518-151e-4108-a8c8-b412571dc8a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_97c85ffe-0a8e-4bb1-9d10-f223e75255ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_4f10be46-5cf9-4e99-842e-4cd446c98ef1" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_97c85ffe-0a8e-4bb1-9d10-f223e75255ca" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesScheduleofPropertyPlantandEquipmentUsefulLivesDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#SummaryofSignificantAccountingPoliciesScheduleofPropertyPlantandEquipmentUsefulLivesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesScheduleofPropertyPlantandEquipmentUsefulLivesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_72e89369-52a0-4231-a8fd-1ae738119181" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_564fda63-151a-40df-9635-1fac61877c35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_72e89369-52a0-4231-a8fd-1ae738119181" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_564fda63-151a-40df-9635-1fac61877c35" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_23885534-ce02-4b06-8546-4d67ecf2422d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_564fda63-151a-40df-9635-1fac61877c35" xlink:to="loc_srt_RangeAxis_23885534-ce02-4b06-8546-4d67ecf2422d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_23885534-ce02-4b06-8546-4d67ecf2422d_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_23885534-ce02-4b06-8546-4d67ecf2422d" xlink:to="loc_srt_RangeMember_23885534-ce02-4b06-8546-4d67ecf2422d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a6ebeb9d-ed30-40c9-803c-02734043a6fc" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_23885534-ce02-4b06-8546-4d67ecf2422d" xlink:to="loc_srt_RangeMember_a6ebeb9d-ed30-40c9-803c-02734043a6fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_214f16cb-f4b0-4628-b2df-41c5eda9de73" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_a6ebeb9d-ed30-40c9-803c-02734043a6fc" xlink:to="loc_srt_MinimumMember_214f16cb-f4b0-4628-b2df-41c5eda9de73" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_c529a31c-da35-4078-beae-baafdcbef027" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_a6ebeb9d-ed30-40c9-803c-02734043a6fc" xlink:to="loc_srt_MaximumMember_c529a31c-da35-4078-beae-baafdcbef027" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4fe32da7-2c84-4483-b78c-f3b3d2069876" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_564fda63-151a-40df-9635-1fac61877c35" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4fe32da7-2c84-4483-b78c-f3b3d2069876" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4fe32da7-2c84-4483-b78c-f3b3d2069876_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4fe32da7-2c84-4483-b78c-f3b3d2069876" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4fe32da7-2c84-4483-b78c-f3b3d2069876_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a697db10-9e54-4566-8105-79ec869783a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4fe32da7-2c84-4483-b78c-f3b3d2069876" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a697db10-9e54-4566-8105-79ec869783a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ComputerAndOfficeEquipmentMember_36821b3a-59f8-4378-bc38-61b3647953dd" xlink:href="mdb-20240131.xsd#mdb_ComputerAndOfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a697db10-9e54-4566-8105-79ec869783a5" xlink:to="loc_mdb_ComputerAndOfficeEquipmentMember_36821b3a-59f8-4378-bc38-61b3647953dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_9154681b-5b98-4978-a034-bd5d55172d4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a697db10-9e54-4566-8105-79ec869783a5" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_9154681b-5b98-4978-a034-bd5d55172d4c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComputerEquipmentMember_cc876ba7-bb54-44bd-8203-218b12cc68a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComputerEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a697db10-9e54-4566-8105-79ec869783a5" xlink:to="loc_us-gaap_ComputerEquipmentMember_cc876ba7-bb54-44bd-8203-218b12cc68a8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_d2fb83e2-dd13-46a5-94a6-bc26e773f806" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a697db10-9e54-4566-8105-79ec869783a5" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_d2fb83e2-dd13-46a5-94a6-bc26e773f806" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_WebsiteCostsMember_351cab59-7607-47b2-ad4b-df63a94e3791" xlink:href="mdb-20240131.xsd#mdb_WebsiteCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_a697db10-9e54-4566-8105-79ec869783a5" xlink:to="loc_mdb_WebsiteCostsMember_351cab59-7607-47b2-ad4b-df63a94e3791" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_f2a63eff-e24c-4ea0-aa8f-a8c7d17a90f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_72e89369-52a0-4231-a8fd-1ae738119181" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_f2a63eff-e24c-4ea0-aa8f-a8c7d17a90f8" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_ec4767c0-a1cf-4322-b340-17d775df91d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_ec4767c0-a1cf-4322-b340-17d775df91d0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_3307e794-7138-4569-bfae-27cde5fac12e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_ec4767c0-a1cf-4322-b340-17d775df91d0" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_3307e794-7138-4569-bfae-27cde5fac12e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_3307e794-7138-4569-bfae-27cde5fac12e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3307e794-7138-4569-bfae-27cde5fac12e" xlink:to="loc_us-gaap_EquityComponentDomain_3307e794-7138-4569-bfae-27cde5fac12e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_0e58e582-f25c-4013-949a-fc0f26266704" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3307e794-7138-4569-bfae-27cde5fac12e" xlink:to="loc_us-gaap_EquityComponentDomain_0e58e582-f25c-4013-949a-fc0f26266704" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_4b4cb447-ea83-43c5-a0bf-caa20e60234c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0e58e582-f25c-4013-949a-fc0f26266704" xlink:to="loc_us-gaap_RetainedEarningsMember_4b4cb447-ea83-43c5-a0bf-caa20e60234c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_7f264b5d-6acc-4267-b0f5-060275d23123" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0e58e582-f25c-4013-949a-fc0f26266704" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_7f264b5d-6acc-4267-b0f5-060275d23123" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_6b19e776-f0dd-464c-90b1-e39259b30fd9" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_ec4767c0-a1cf-4322-b340-17d775df91d0" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_6b19e776-f0dd-464c-90b1-e39259b30fd9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_6b19e776-f0dd-464c-90b1-e39259b30fd9_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_6b19e776-f0dd-464c-90b1-e39259b30fd9" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_6b19e776-f0dd-464c-90b1-e39259b30fd9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_66394f5a-3131-4d04-85bc-7ac030ac1523" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_6b19e776-f0dd-464c-90b1-e39259b30fd9" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_66394f5a-3131-4d04-85bc-7ac030ac1523" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_dde74c22-d707-4ca0-9975-2fa419fc899c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_66394f5a-3131-4d04-85bc-7ac030ac1523" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_dde74c22-d707-4ca0-9975-2fa419fc899c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_c00f6108-df32-44b7-8926-a955e35303d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_ec4767c0-a1cf-4322-b340-17d775df91d0" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_c00f6108-df32-44b7-8926-a955e35303d2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_c00f6108-df32-44b7-8926-a955e35303d2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_c00f6108-df32-44b7-8926-a955e35303d2" xlink:to="loc_us-gaap_TypeOfAdoptionMember_c00f6108-df32-44b7-8926-a955e35303d2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_f73aeedd-7638-40be-935b-11d2d5123d35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_c00f6108-df32-44b7-8926-a955e35303d2" xlink:to="loc_us-gaap_TypeOfAdoptionMember_f73aeedd-7638-40be-935b-11d2d5123d35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdate202006Member_0cd487fe-3dfd-499c-a938-a6193fc58b92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountingStandardsUpdate202006Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_f73aeedd-7638-40be-935b-11d2d5123d35" xlink:to="loc_us-gaap_AccountingStandardsUpdate202006Member_0cd487fe-3dfd-499c-a938-a6193fc58b92" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_51ff274e-a65c-426c-8dec-afc8f5b7f8f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_ec4767c0-a1cf-4322-b340-17d775df91d0" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_51ff274e-a65c-426c-8dec-afc8f5b7f8f0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_51ff274e-a65c-426c-8dec-afc8f5b7f8f0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_51ff274e-a65c-426c-8dec-afc8f5b7f8f0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_51ff274e-a65c-426c-8dec-afc8f5b7f8f0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_49efda86-781c-47d9-afac-5a804fb99076" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_51ff274e-a65c-426c-8dec-afc8f5b7f8f0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_49efda86-781c-47d9-afac-5a804fb99076" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_40f2a3f0-0dd1-4d5e-ac63-451d968d81e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_49efda86-781c-47d9-afac-5a804fb99076" xlink:to="loc_us-gaap_ConvertibleDebtMember_40f2a3f0-0dd1-4d5e-ac63-451d968d81e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_0fe17964-0b57-4d6e-92af-bdfd5813aecb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_0fe17964-0b57-4d6e-92af-bdfd5813aecb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_66e905c8-e50b-4078-b9ec-dd4040854fde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_OperatingLeaseLiability_66e905c8-e50b-4078-b9ec-dd4040854fde" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_07efc807-abfc-468b-ab93-bdac5e589b2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_07efc807-abfc-468b-ab93-bdac5e589b2d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_eea40ca9-8067-4a16-a737-0ae32ed844f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_eea40ca9-8067-4a16-a737-0ae32ed844f1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_4ebe07d4-6e95-49ad-aed9-b891871352ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_FinanceLeaseLiability_4ebe07d4-6e95-49ad-aed9-b891871352ce" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e1d4aa3a-4911-4a6e-9404-052a15e0d83e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_StockholdersEquity_e1d4aa3a-4911-4a6e-9404-052a15e0d83e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_4ed459c5-9c7c-458b-af77-3ca577a9494a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_4ed459c5-9c7c-458b-af77-3ca577a9494a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_72da81c9-7ded-4b4a-9afe-0e9c29645fa2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_72da81c9-7ded-4b4a-9afe-0e9c29645fa2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityIssuePeriodIncreaseOrDecrease_813a4ea0-24f9-46fa-ba16-39ab368d05e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TemporaryEquityIssuePeriodIncreaseOrDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_TemporaryEquityIssuePeriodIncreaseOrDecrease_813a4ea0-24f9-46fa-ba16-39ab368d05e8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentIncreaseDecreaseForPeriodNet_80cae59d-bc48-4f8b-934c-5c43d83a2b61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentIncreaseDecreaseForPeriodNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_8fbed58b-e106-462e-9cfa-64999ab29e49" xlink:to="loc_us-gaap_DebtInstrumentIncreaseDecreaseForPeriodNet_80cae59d-bc48-4f8b-934c-5c43d83a2b61" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_a37999b6-eb34-43b2-86de-a4fe4289752b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_22df1def-dc02-43a9-84f7-73b074fba753" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_a37999b6-eb34-43b2-86de-a4fe4289752b" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_22df1def-dc02-43a9-84f7-73b074fba753" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_a47929b0-2f2a-4273-8fc1-b24135967670" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_22df1def-dc02-43a9-84f7-73b074fba753" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_a47929b0-2f2a-4273-8fc1-b24135967670" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_a47929b0-2f2a-4273-8fc1-b24135967670_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_a47929b0-2f2a-4273-8fc1-b24135967670" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_a47929b0-2f2a-4273-8fc1-b24135967670_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6f1b5050-c892-4b25-a256-c14e44af1e09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_a47929b0-2f2a-4273-8fc1-b24135967670" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6f1b5050-c892-4b25-a256-c14e44af1e09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_4a3cda4f-6f1b-436c-b86e-c623de6f4455" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6f1b5050-c892-4b25-a256-c14e44af1e09" xlink:to="loc_us-gaap_MoneyMarketFundsMember_4a3cda4f-6f1b-436c-b86e-c623de6f4455" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_908c7057-e60c-49c2-ae36-589622635820" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_22df1def-dc02-43a9-84f7-73b074fba753" xlink:to="loc_us-gaap_FinancialInstrumentAxis_908c7057-e60c-49c2-ae36-589622635820" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_908c7057-e60c-49c2-ae36-589622635820_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_908c7057-e60c-49c2-ae36-589622635820" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_908c7057-e60c-49c2-ae36-589622635820_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_24c66988-fe6e-4380-b6fa-b8125af48f6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_908c7057-e60c-49c2-ae36-589622635820" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_24c66988-fe6e-4380-b6fa-b8125af48f6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_1d964946-92d0-4185-88ae-983018d02850" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_24c66988-fe6e-4380-b6fa-b8125af48f6b" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_1d964946-92d0-4185-88ae-983018d02850" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_7bab98b0-bfb5-4b12-8089-14d8c4324127" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_22df1def-dc02-43a9-84f7-73b074fba753" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_7bab98b0-bfb5-4b12-8089-14d8c4324127" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7bab98b0-bfb5-4b12-8089-14d8c4324127_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_7bab98b0-bfb5-4b12-8089-14d8c4324127" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7bab98b0-bfb5-4b12-8089-14d8c4324127_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7acfe6f5-0da4-4c2b-89f7-50cf695db72e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_7bab98b0-bfb5-4b12-8089-14d8c4324127" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7acfe6f5-0da4-4c2b-89f7-50cf695db72e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_0a898454-6888-4f09-a30e-6da6cd562adf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_7acfe6f5-0da4-4c2b-89f7-50cf695db72e" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_0a898454-6888-4f09-a30e-6da6cd562adf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_136f6b11-738d-4644-9d1d-4d2db931a9be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_22df1def-dc02-43a9-84f7-73b074fba753" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_136f6b11-738d-4644-9d1d-4d2db931a9be" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_136f6b11-738d-4644-9d1d-4d2db931a9be_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_136f6b11-738d-4644-9d1d-4d2db931a9be" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_136f6b11-738d-4644-9d1d-4d2db931a9be_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f0dd0d94-1934-45f1-87ee-bb41f6ffa40b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_136f6b11-738d-4644-9d1d-4d2db931a9be" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f0dd0d94-1934-45f1-87ee-bb41f6ffa40b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_90911d48-2d0f-4dfd-b4ce-b48ea1579bae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f0dd0d94-1934-45f1-87ee-bb41f6ffa40b" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_90911d48-2d0f-4dfd-b4ce-b48ea1579bae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_cd134e1d-521c-459f-9466-6f1aad816355" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f0dd0d94-1934-45f1-87ee-bb41f6ffa40b" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_cd134e1d-521c-459f-9466-6f1aad816355" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_c35c3294-de47-4ee7-b340-97c2d925c627" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f0dd0d94-1934-45f1-87ee-bb41f6ffa40b" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_c35c3294-de47-4ee7-b340-97c2d925c627" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_cfac9ee7-fc4c-48ef-bd08-ac9a207de23d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_a37999b6-eb34-43b2-86de-a4fe4289752b" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_cfac9ee7-fc4c-48ef-bd08-ac9a207de23d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAbstract_9ca81c78-358e-41e7-a155-592acacc584c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_cfac9ee7-fc4c-48ef-bd08-ac9a207de23d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAbstract_9ca81c78-358e-41e7-a155-592acacc584c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_e64ac13f-a2a9-4395-8c8f-6437baeb9ad4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsAbstract_9ca81c78-358e-41e7-a155-592acacc584c" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_e64ac13f-a2a9-4395-8c8f-6437baeb9ad4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestmentsAbstract_c4577dfb-2ac2-49f8-925f-790f7183c1e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortTermInvestmentsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_cfac9ee7-fc4c-48ef-bd08-ac9a207de23d" xlink:to="loc_us-gaap_ShortTermInvestmentsAbstract_c4577dfb-2ac2-49f8-925f-790f7183c1e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cfdbdea5-c864-4dda-9965-bc2d80d714ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermInvestmentsAbstract_c4577dfb-2ac2-49f8-925f-790f7183c1e7" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cfdbdea5-c864-4dda-9965-bc2d80d714ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_8f37e4bf-956e-4e75-a567-b2bd841eb2a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_cfac9ee7-fc4c-48ef-bd08-ac9a207de23d" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_8f37e4bf-956e-4e75-a567-b2bd841eb2a5" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#FairValueMeasurementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d9e49691-9f4f-45ef-9108-661e3c10c411" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_618fb6fc-276d-458a-bb92-30720da0b09a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d9e49691-9f4f-45ef-9108-661e3c10c411" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_618fb6fc-276d-458a-bb92-30720da0b09a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_86e85b0c-5d6b-439e-8f8b-8aa6e0fcb31e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_618fb6fc-276d-458a-bb92-30720da0b09a" xlink:to="loc_srt_ConsolidatedEntitiesAxis_86e85b0c-5d6b-439e-8f8b-8aa6e0fcb31e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_86e85b0c-5d6b-439e-8f8b-8aa6e0fcb31e_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_86e85b0c-5d6b-439e-8f8b-8aa6e0fcb31e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_86e85b0c-5d6b-439e-8f8b-8aa6e0fcb31e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_67266377-f076-4770-ad63-a6224611e157" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_86e85b0c-5d6b-439e-8f8b-8aa6e0fcb31e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_67266377-f076-4770-ad63-a6224611e157" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_943c27e0-170a-4c4b-8720-77f9b539cd47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_67266377-f076-4770-ad63-a6224611e157" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_943c27e0-170a-4c4b-8720-77f9b539cd47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_5dc30eb0-8bd0-4bc2-94ea-62fa45c5a131" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_618fb6fc-276d-458a-bb92-30720da0b09a" xlink:to="loc_us-gaap_StatementClassOfStockAxis_5dc30eb0-8bd0-4bc2-94ea-62fa45c5a131" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_5dc30eb0-8bd0-4bc2-94ea-62fa45c5a131_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5dc30eb0-8bd0-4bc2-94ea-62fa45c5a131" xlink:to="loc_us-gaap_ClassOfStockDomain_5dc30eb0-8bd0-4bc2-94ea-62fa45c5a131_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_c7ebdce2-2269-413f-a4fd-f67daedea431" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5dc30eb0-8bd0-4bc2-94ea-62fa45c5a131" xlink:to="loc_us-gaap_ClassOfStockDomain_c7ebdce2-2269-413f-a4fd-f67daedea431" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_c7188be0-228e-451f-9d84-7bd42a7bcae0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_c7ebdce2-2269-413f-a4fd-f67daedea431" xlink:to="loc_us-gaap_CommonClassAMember_c7188be0-228e-451f-9d84-7bd42a7bcae0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecurityOwnedNotReadilyMarketableAxis_4324aef1-0444-4a7e-be9e-7461104d0502" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecurityOwnedNotReadilyMarketableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_618fb6fc-276d-458a-bb92-30720da0b09a" xlink:to="loc_us-gaap_SecurityOwnedNotReadilyMarketableAxis_4324aef1-0444-4a7e-be9e-7461104d0502" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_4324aef1-0444-4a7e-be9e-7461104d0502_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecurityOwnedNotReadilyMarketableNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableAxis_4324aef1-0444-4a7e-be9e-7461104d0502" xlink:to="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_4324aef1-0444-4a7e-be9e-7461104d0502_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_c20e2b26-b3b6-4141-916a-b55b8012e188" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecurityOwnedNotReadilyMarketableNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableAxis_4324aef1-0444-4a7e-be9e-7461104d0502" xlink:to="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_c20e2b26-b3b6-4141-916a-b55b8012e188" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_NonMarketableSecuritiesMember_57ee9194-e5e9-4474-bb37-22369fc13ad5" xlink:href="mdb-20240131.xsd#mdb_NonMarketableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableNameDomain_c20e2b26-b3b6-4141-916a-b55b8012e188" xlink:to="loc_mdb_NonMarketableSecuritiesMember_57ee9194-e5e9-4474-bb37-22369fc13ad5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_9a0fbf98-dcff-485b-99c0-1b6544238fa5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_618fb6fc-276d-458a-bb92-30720da0b09a" xlink:to="loc_us-gaap_FinancialInstrumentAxis_9a0fbf98-dcff-485b-99c0-1b6544238fa5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9a0fbf98-dcff-485b-99c0-1b6544238fa5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9a0fbf98-dcff-485b-99c0-1b6544238fa5" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9a0fbf98-dcff-485b-99c0-1b6544238fa5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2068c20b-bdc7-4896-beb5-b321fe6f024e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9a0fbf98-dcff-485b-99c0-1b6544238fa5" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2068c20b-bdc7-4896-beb5-b321fe6f024e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_4197e5c2-adee-4b9a-a51a-9fc885e86924" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2068c20b-bdc7-4896-beb5-b321fe6f024e" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_4197e5c2-adee-4b9a-a51a-9fc885e86924" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9b0510a2-23d0-4a3d-8fb6-dea199bc5ed2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d9e49691-9f4f-45ef-9108-661e3c10c411" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9b0510a2-23d0-4a3d-8fb6-dea199bc5ed2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_0771a838-ea6b-414f-87b6-794afe1156a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d9e49691-9f4f-45ef-9108-661e3c10c411" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_0771a838-ea6b-414f-87b6-794afe1156a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_0332e22d-4f49-43e5-929f-ad0113523f0c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d9e49691-9f4f-45ef-9108-661e3c10c411" xlink:to="loc_us-gaap_CommonStockSharesIssued_0332e22d-4f49-43e5-929f-ad0113523f0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_24b914a3-0f23-4280-b647-9c7998cc1dad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d9e49691-9f4f-45ef-9108-661e3c10c411" xlink:to="loc_us-gaap_GainLossOnInvestments_24b914a3-0f23-4280-b647-9c7998cc1dad" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_0a96e6ce-5aea-46cd-b99c-0f505bb5c9e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d9e49691-9f4f-45ef-9108-661e3c10c411" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_0a96e6ce-5aea-46cd-b99c-0f505bb5c9e4" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/FairValueMeasurementsMarketableSecuritiesDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#FairValueMeasurementsMarketableSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/FairValueMeasurementsMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_e9ad0dc8-07d3-4150-8eba-97f811db481c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_e9ad0dc8-07d3-4150-8eba-97f811db481c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_38bf8a6f-82db-4574-824a-c90a0af88827" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_e9ad0dc8-07d3-4150-8eba-97f811db481c" xlink:to="loc_us-gaap_FinancialInstrumentAxis_38bf8a6f-82db-4574-824a-c90a0af88827" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_38bf8a6f-82db-4574-824a-c90a0af88827_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_38bf8a6f-82db-4574-824a-c90a0af88827" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_38bf8a6f-82db-4574-824a-c90a0af88827_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7e614559-c878-4e22-9e39-3c3f599c7de9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_38bf8a6f-82db-4574-824a-c90a0af88827" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7e614559-c878-4e22-9e39-3c3f599c7de9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_108b6866-ccfb-4a4e-a298-f4dcd19106cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7e614559-c878-4e22-9e39-3c3f599c7de9" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_108b6866-ccfb-4a4e-a298-f4dcd19106cc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent_53c93afd-f1ad-40cd-8abb-742936b87430" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent_53c93afd-f1ad-40cd-8abb-742936b87430" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostNoncurrent_55209574-bc2d-49c3-9d01-53a0bedb7a1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostNoncurrent_55209574-bc2d-49c3-9d01-53a0bedb7a1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_1efa3ff2-48a7-4541-933b-cc3758b99d37" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_1efa3ff2-48a7-4541-933b-cc3758b99d37" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtSecuritiesAvailableForSaleUnrealizedLossCurrent_1074339e-d10d-4b39-b426-4d67af397bd6" xlink:href="mdb-20240131.xsd#mdb_DebtSecuritiesAvailableForSaleUnrealizedLossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_mdb_DebtSecuritiesAvailableForSaleUnrealizedLossCurrent_1074339e-d10d-4b39-b426-4d67af397bd6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtSecuritiesAvailableForSaleUnrealizedLossNoncurrent_dfe4f606-901f-4ddf-874d-0109591d331d" xlink:href="mdb-20240131.xsd#mdb_DebtSecuritiesAvailableForSaleUnrealizedLossNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_mdb_DebtSecuritiesAvailableForSaleUnrealizedLossNoncurrent_dfe4f606-901f-4ddf-874d-0109591d331d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_3156d764-2f81-4425-b206-1516ec86585e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_3156d764-2f81-4425-b206-1516ec86585e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_6f2e5546-f258-485f-ab90-770bc2a9d57a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_6f2e5546-f258-485f-ab90-770bc2a9d57a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_f933aab3-8a9a-46a5-8b7c-fe3b74a2e848" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_f933aab3-8a9a-46a5-8b7c-fe3b74a2e848" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_19dcd693-56ac-4e96-b83f-cbb0c53c3a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_835ee812-9a81-42c5-ad6e-d811f041c53b" xlink:to="loc_us-gaap_MarketableSecurities_19dcd693-56ac-4e96-b83f-cbb0c53c3a1c" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/PropertyandEquipmentNetScheduleDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#PropertyandEquipmentNetScheduleDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/PropertyandEquipmentNetScheduleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_105766d3-a87e-408a-9dce-32116611fd79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_7a5acdd7-a658-407d-916b-754b2db05065" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_105766d3-a87e-408a-9dce-32116611fd79" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_7a5acdd7-a658-407d-916b-754b2db05065" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_6aed0967-e930-4f73-8073-d62c06a615d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_7a5acdd7-a658-407d-916b-754b2db05065" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_6aed0967-e930-4f73-8073-d62c06a615d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6aed0967-e930-4f73-8073-d62c06a615d9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_6aed0967-e930-4f73-8073-d62c06a615d9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6aed0967-e930-4f73-8073-d62c06a615d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_6aed0967-e930-4f73-8073-d62c06a615d9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComputerEquipmentMember_1a2662da-9f12-43c0-950a-700d836c48f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComputerEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:to="loc_us-gaap_ComputerEquipmentMember_1a2662da-9f12-43c0-950a-700d836c48f2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_7970d8d3-3145-4def-83ac-e51033a4662b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_7970d8d3-3145-4def-83ac-e51033a4662b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ComputerAndOfficeEquipmentMember_901d47ff-bb29-404c-ad03-b920e91ba3a5" xlink:href="mdb-20240131.xsd#mdb_ComputerAndOfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:to="loc_mdb_ComputerAndOfficeEquipmentMember_901d47ff-bb29-404c-ad03-b920e91ba3a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_63028c67-8e1c-4ca0-aa9a-b3e07354cd3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_63028c67-8e1c-4ca0-aa9a-b3e07354cd3b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_396c21b7-9c9d-4475-b5dc-39880f9cf72f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_396c21b7-9c9d-4475-b5dc-39880f9cf72f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_WebsiteCostsMember_82dcd52f-acae-4e9d-8b9c-25c18f5f20d3" xlink:href="mdb-20240131.xsd#mdb_WebsiteCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:to="loc_mdb_WebsiteCostsMember_82dcd52f-acae-4e9d-8b9c-25c18f5f20d3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_36c7c72a-34ad-43f5-8e51-c692d98b3a9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:to="loc_us-gaap_ConstructionInProgressMember_36c7c72a-34ad-43f5-8e51-c692d98b3a9f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdsAndLeaseholdImprovementsMember_a0769480-b52d-4c1f-a9dd-a34cd8190284" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseholdsAndLeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3fc09c31-a451-4360-b5eb-0f9c87551735" xlink:to="loc_us-gaap_LeaseholdsAndLeaseholdImprovementsMember_a0769480-b52d-4c1f-a9dd-a34cd8190284" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_5c7775ab-b9b1-4b21-a263-87858521e9de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_105766d3-a87e-408a-9dce-32116611fd79" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_5c7775ab-b9b1-4b21-a263-87858521e9de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_f3543b98-f905-4357-b42e-d033be9faa07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_105766d3-a87e-408a-9dce-32116611fd79" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_f3543b98-f905-4357-b42e-d033be9faa07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_94257b01-39b5-4679-8c90-dd4e6690dfbe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_105766d3-a87e-408a-9dce-32116611fd79" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_94257b01-39b5-4679-8c90-dd4e6690dfbe" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#GoodwillandAcquiredIntangibleAssetsNetAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_f69a84ed-d674-435f-b816-e21bedc1811c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_f69a84ed-d674-435f-b816-e21bedc1811c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5692793b-1b95-4cb2-9991-8fc86e33268e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_f69a84ed-d674-435f-b816-e21bedc1811c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5692793b-1b95-4cb2-9991-8fc86e33268e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5692793b-1b95-4cb2-9991-8fc86e33268e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5692793b-1b95-4cb2-9991-8fc86e33268e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5692793b-1b95-4cb2-9991-8fc86e33268e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_47c511b2-5b29-4f8a-a3a4-112a06623285" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_5692793b-1b95-4cb2-9991-8fc86e33268e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_47c511b2-5b29-4f8a-a3a4-112a06623285" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_0a8b2712-9e79-4612-b2ce-36131bc31b11" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_47c511b2-5b29-4f8a-a3a4-112a06623285" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_0a8b2712-9e79-4612-b2ce-36131bc31b11" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_414bad93-a5d7-49ad-b5d9-3d2a5ffeb22c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_47c511b2-5b29-4f8a-a3a4-112a06623285" xlink:to="loc_us-gaap_CustomerRelationshipsMember_414bad93-a5d7-49ad-b5d9-3d2a5ffeb22c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_2ef4ea9c-7684-4231-b9b6-9766f32e543f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_f69a84ed-d674-435f-b816-e21bedc1811c" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_2ef4ea9c-7684-4231-b9b6-9766f32e543f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2ef4ea9c-7684-4231-b9b6-9766f32e543f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2ef4ea9c-7684-4231-b9b6-9766f32e543f" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2ef4ea9c-7684-4231-b9b6-9766f32e543f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a19d556c-9a51-4b0b-99d1-568d16e08e28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2ef4ea9c-7684-4231-b9b6-9766f32e543f" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a19d556c-9a51-4b0b-99d1-568d16e08e28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_A2021AcquisitionMember_12bf7a06-26cc-4396-810c-3e42aeed636a" xlink:href="mdb-20240131.xsd#mdb_A2021AcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a19d556c-9a51-4b0b-99d1-568d16e08e28" xlink:to="loc_mdb_A2021AcquisitionMember_12bf7a06-26cc-4396-810c-3e42aeed636a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_GrainiteIncMember_812f2c1f-9c2d-49a4-927d-ddc28720a558" xlink:href="mdb-20240131.xsd#mdb_GrainiteIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a19d556c-9a51-4b0b-99d1-568d16e08e28" xlink:to="loc_mdb_GrainiteIncMember_812f2c1f-9c2d-49a4-927d-ddc28720a558" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_d827e3c2-a3e1-4db2-b966-f131936350e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_d827e3c2-a3e1-4db2-b966-f131936350e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_bdefff87-838d-4e60-be75-5da41e68516a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_bdefff87-838d-4e60-be75-5da41e68516a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_5d41f7d6-e2d2-446a-8900-08e394db6ffe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_Goodwill_5d41f7d6-e2d2-446a-8900-08e394db6ffe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_4e7514c3-1a4b-48ae-bf3e-8bb8b715bf4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_4e7514c3-1a4b-48ae-bf3e-8bb8b715bf4c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_e58950ee-4d9a-4ce3-8c1a-b269d4f95b7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_LaborAndRelatedExpense_e58950ee-4d9a-4ce3-8c1a-b269d4f95b7a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_b6d02d70-b36b-43d4-8958-ae50816ee4f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_b6d02d70-b36b-43d4-8958-ae50816ee4f0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredOtherTaxExpenseBenefit_0e5ed056-548e-4d5f-9c52-6bff0f49080b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredOtherTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_DeferredOtherTaxExpenseBenefit_0e5ed056-548e-4d5f-9c52-6bff0f49080b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_4a1fce0c-0636-4440-a778-99f8a696efd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_b0e65efe-33b9-4677-9907-4a394c36fca6" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_4a1fce0c-0636-4440-a778-99f8a696efd7" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#GoodwillandAcquiredIntangibleAssetsNetScheduleofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/GoodwillandAcquiredIntangibleAssetsNetScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_a4d06ab4-c69e-4d91-bdf6-47253843f580" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_5fb4b891-60ff-4717-ad92-38c3d925ce58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_a4d06ab4-c69e-4d91-bdf6-47253843f580" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_5fb4b891-60ff-4717-ad92-38c3d925ce58" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2375c86c-e1a0-4803-b052-1ffc922470be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_5fb4b891-60ff-4717-ad92-38c3d925ce58" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2375c86c-e1a0-4803-b052-1ffc922470be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2375c86c-e1a0-4803-b052-1ffc922470be_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2375c86c-e1a0-4803-b052-1ffc922470be" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2375c86c-e1a0-4803-b052-1ffc922470be_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6f495f6e-bf12-4418-9c47-6f235bceaa57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2375c86c-e1a0-4803-b052-1ffc922470be" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6f495f6e-bf12-4418-9c47-6f235bceaa57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_3845cdce-916c-48f9-98ab-4d246dba6a86" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6f495f6e-bf12-4418-9c47-6f235bceaa57" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_3845cdce-916c-48f9-98ab-4d246dba6a86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_6e77f1a5-8d4a-4f56-a437-a73eb8eea876" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6f495f6e-bf12-4418-9c47-6f235bceaa57" xlink:to="loc_us-gaap_CustomerRelationshipsMember_6e77f1a5-8d4a-4f56-a437-a73eb8eea876" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_28d8568f-594d-419e-8b6a-862e94d30019" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_a4d06ab4-c69e-4d91-bdf6-47253843f580" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_28d8568f-594d-419e-8b6a-862e94d30019" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_5761d657-48af-4414-a2b0-53de77cf0a74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_a4d06ab4-c69e-4d91-bdf6-47253843f580" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_5761d657-48af-4414-a2b0-53de77cf0a74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_7b9b1c5b-455b-436f-8ea0-f55c496a17b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_a4d06ab4-c69e-4d91-bdf6-47253843f580" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_7b9b1c5b-455b-436f-8ea0-f55c496a17b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_e949f361-abf6-4ba3-80a3-e906ca569ebd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_a4d06ab4-c69e-4d91-bdf6-47253843f580" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_e949f361-abf6-4ba3-80a3-e906ca569ebd" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#ConvertibleSeniorNotesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_210cafa2-147c-407f-8b09-debf4d3ad147" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentTable_210cafa2-147c-407f-8b09-debf4d3ad147" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_6756035d-4248-49d9-8883-41500717b1fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_210cafa2-147c-407f-8b09-debf4d3ad147" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_6756035d-4248-49d9-8883-41500717b1fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_6756035d-4248-49d9-8883-41500717b1fc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_6756035d-4248-49d9-8883-41500717b1fc" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_6756035d-4248-49d9-8883-41500717b1fc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7883e824-2e04-4f76-a4a8-f24f17a66378" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_6756035d-4248-49d9-8883-41500717b1fc" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7883e824-2e04-4f76-a4a8-f24f17a66378" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_b19969f7-6944-49da-992b-f5c45887f1b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7883e824-2e04-4f76-a4a8-f24f17a66378" xlink:to="loc_us-gaap_ConvertibleDebtMember_b19969f7-6944-49da-992b-f5c45887f1b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_c2201fc6-ba3f-4ecb-9afd-39a274e84dff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_210cafa2-147c-407f-8b09-debf4d3ad147" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_c2201fc6-ba3f-4ecb-9afd-39a274e84dff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_c2201fc6-ba3f-4ecb-9afd-39a274e84dff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_c2201fc6-ba3f-4ecb-9afd-39a274e84dff" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_c2201fc6-ba3f-4ecb-9afd-39a274e84dff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_792e35bd-0558-4ec0-ac6f-71d8808d5467" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_c2201fc6-ba3f-4ecb-9afd-39a274e84dff" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_792e35bd-0558-4ec0-ac6f-71d8808d5467" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_8fa715d8-d2a1-4fdb-ab5c-5ee72471bc35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_792e35bd-0558-4ec0-ac6f-71d8808d5467" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_8fa715d8-d2a1-4fdb-ab5c-5ee72471bc35" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_7234ef6d-46d2-4012-b099-511b294518ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_792e35bd-0558-4ec0-ac6f-71d8808d5467" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_7234ef6d-46d2-4012-b099-511b294518ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_2b170cf8-ad6a-4fd3-a111-251b6e7651b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_210cafa2-147c-407f-8b09-debf4d3ad147" xlink:to="loc_us-gaap_DebtInstrumentAxis_2b170cf8-ad6a-4fd3-a111-251b6e7651b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_2b170cf8-ad6a-4fd3-a111-251b6e7651b7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_2b170cf8-ad6a-4fd3-a111-251b6e7651b7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_2b170cf8-ad6a-4fd3-a111-251b6e7651b7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_62616d24-47d4-4533-9b27-5e2b316a0cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_2b170cf8-ad6a-4fd3-a111-251b6e7651b7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_62616d24-47d4-4533-9b27-5e2b316a0cb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_202ed464-12bd-448e-a0cc-c6bcbfb64006" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_62616d24-47d4-4533-9b27-5e2b316a0cb9" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_202ed464-12bd-448e-a0cc-c6bcbfb64006" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_AdditionalConvertibleSeniorNotesDue2026Member_d925bd39-17aa-4e78-a82a-f49ee0ef0de7" xlink:href="mdb-20240131.xsd#mdb_AdditionalConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_62616d24-47d4-4533-9b27-5e2b316a0cb9" xlink:to="loc_mdb_AdditionalConvertibleSeniorNotesDue2026Member_d925bd39-17aa-4e78-a82a-f49ee0ef0de7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_A2024NotesPartialRepurchaseMember_44d85376-5544-4660-9864-8145d0fa5c0b" xlink:href="mdb-20240131.xsd#mdb_A2024NotesPartialRepurchaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_62616d24-47d4-4533-9b27-5e2b316a0cb9" xlink:to="loc_mdb_A2024NotesPartialRepurchaseMember_44d85376-5544-4660-9864-8145d0fa5c0b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d8f0a809-f64a-427f-b176-9d992241c6c0" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_210cafa2-147c-407f-8b09-debf4d3ad147" xlink:to="loc_srt_RangeAxis_d8f0a809-f64a-427f-b176-9d992241c6c0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d8f0a809-f64a-427f-b176-9d992241c6c0_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d8f0a809-f64a-427f-b176-9d992241c6c0" xlink:to="loc_srt_RangeMember_d8f0a809-f64a-427f-b176-9d992241c6c0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_7c87068e-76ab-4bec-b855-88af30c61056" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d8f0a809-f64a-427f-b176-9d992241c6c0" xlink:to="loc_srt_RangeMember_7c87068e-76ab-4bec-b855-88af30c61056" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8c7ee6dc-345f-478c-877c-4437d732c827" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7c87068e-76ab-4bec-b855-88af30c61056" xlink:to="loc_srt_MinimumMember_8c7ee6dc-345f-478c-877c-4437d732c827" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_bf659fdd-bea3-435b-859f-7a2e4cf3287a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7c87068e-76ab-4bec-b855-88af30c61056" xlink:to="loc_srt_MaximumMember_bf659fdd-bea3-435b-859f-7a2e4cf3287a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtFairValueDisclosures_be863958-4221-4e4f-a4b3-60a9995614f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtFairValueDisclosures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_ConvertibleDebtFairValueDisclosures_be863958-4221-4e4f-a4b3-60a9995614f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_42bdf3a8-7db3-4a6f-a870-0db8aee62f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_42bdf3a8-7db3-4a6f-a870-0db8aee62f2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_d2200f90-87d6-435c-b16f-31d9f55fe60f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_d2200f90-87d6-435c-b16f-31d9f55fe60f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_adc71e29-f8bb-4f0d-b4b1-4869682707f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_adc71e29-f8bb-4f0d-b4b1-4869682707f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_34f5bcdb-6fce-407c-a63f-41e527a40601" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleConversionRatio1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_34f5bcdb-6fce-407c-a63f-41e527a40601" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtInstrumentConvertibleConversionRatioDenominator_87494dfe-cff1-431c-ab46-bcc71e22a279" xlink:href="mdb-20240131.xsd#mdb_DebtInstrumentConvertibleConversionRatioDenominator"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_mdb_DebtInstrumentConvertibleConversionRatioDenominator_87494dfe-cff1-431c-ab46-bcc71e22a279" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_4dd6718f-e439-4a98-b833-c5328fd80be8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_4dd6718f-e439-4a98-b833-c5328fd80be8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_6135a2b3-2b23-45a3-9d90-e036b43bd9ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleThresholdTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_6135a2b3-2b23-45a3-9d90-e036b43bd9ed" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_ef1fd193-a5c5-4a36-8e9b-fb2c7981fe7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_ef1fd193-a5c5-4a36-8e9b-fb2c7981fe7d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_dc180d9b-6c07-4f53-aadf-f7499d24a0cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_dc180d9b-6c07-4f53-aadf-f7499d24a0cc" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate_8125f761-fc1f-4651-b9e5-5f35e28a3bd9" xlink:href="mdb-20240131.xsd#mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_mdb_DebtInstrumentConvertibleTradingPriceAsAPercentageOfStockPriceAndDebtConversionRate_8125f761-fc1f-4651-b9e5-5f35e28a3bd9" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_ee0c4fe5-3f9e-4d8b-8cc9-f545137d555f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c37c3494-8b6c-444d-8ec4-1de0fdfa0cbd" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_ee0c4fe5-3f9e-4d8b-8cc9-f545137d555f" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleofNetCarryingAmountoftheLiabilityComponentoftheNotesDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#ConvertibleSeniorNotesScheduleofNetCarryingAmountoftheLiabilityComponentoftheNotesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleofNetCarryingAmountoftheLiabilityComponentoftheNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_57a9a189-792b-4f9c-ac52-4fc895ab1df2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_ca2cd8cd-d763-412b-b2be-e8fd850ceea9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_57a9a189-792b-4f9c-ac52-4fc895ab1df2" xlink:to="loc_us-gaap_DebtInstrumentTable_ca2cd8cd-d763-412b-b2be-e8fd850ceea9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_cb3f43d1-c431-4542-badd-59b32d68596c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_ca2cd8cd-d763-412b-b2be-e8fd850ceea9" xlink:to="loc_us-gaap_DebtInstrumentAxis_cb3f43d1-c431-4542-badd-59b32d68596c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_cb3f43d1-c431-4542-badd-59b32d68596c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_cb3f43d1-c431-4542-badd-59b32d68596c" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_cb3f43d1-c431-4542-badd-59b32d68596c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_06d4c971-85a0-495c-9c8b-0acd514e0882" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_cb3f43d1-c431-4542-badd-59b32d68596c" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_06d4c971-85a0-495c-9c8b-0acd514e0882" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_2fc15ce0-2713-4d01-a2ac-b1511ea0134c" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_06d4c971-85a0-495c-9c8b-0acd514e0882" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_2fc15ce0-2713-4d01-a2ac-b1511ea0134c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_1d1ba430-b3e2-4c53-8f3c-f2311f4b5f58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_ca2cd8cd-d763-412b-b2be-e8fd850ceea9" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_1d1ba430-b3e2-4c53-8f3c-f2311f4b5f58" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_1d1ba430-b3e2-4c53-8f3c-f2311f4b5f58_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_1d1ba430-b3e2-4c53-8f3c-f2311f4b5f58" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_1d1ba430-b3e2-4c53-8f3c-f2311f4b5f58_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_1b5084cd-e72b-4316-8432-e72e3020b786" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_1d1ba430-b3e2-4c53-8f3c-f2311f4b5f58" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_1b5084cd-e72b-4316-8432-e72e3020b786" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_09943e6d-ed9a-418c-9e35-2a775e67ce82" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_1b5084cd-e72b-4316-8432-e72e3020b786" xlink:to="loc_us-gaap_ConvertibleDebtMember_09943e6d-ed9a-418c-9e35-2a775e67ce82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_4a473f49-21f1-4499-a42d-2f177731352f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_57a9a189-792b-4f9c-ac52-4fc895ab1df2" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_4a473f49-21f1-4499-a42d-2f177731352f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_acc34e3d-e6c7-43b5-82ac-268cce77ef45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_57a9a189-792b-4f9c-ac52-4fc895ab1df2" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_acc34e3d-e6c7-43b5-82ac-268cce77ef45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6c343e9f-39c7-4756-ae7c-3415c3c34ea5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_57a9a189-792b-4f9c-ac52-4fc895ab1df2" xlink:to="loc_us-gaap_LongTermDebt_6c343e9f-39c7-4756-ae7c-3415c3c34ea5" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleofInterestExpensefortheNotesDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#ConvertibleSeniorNotesScheduleofInterestExpensefortheNotesDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesScheduleofInterestExpensefortheNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_e90fdbf2-0863-4e8d-8f05-25743a5b1efb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_52d36666-c78f-4b61-baa4-e1e82fd256ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e90fdbf2-0863-4e8d-8f05-25743a5b1efb" xlink:to="loc_us-gaap_DebtInstrumentTable_52d36666-c78f-4b61-baa4-e1e82fd256ef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_ad372ec1-fb9a-4d85-ad33-4e711b8fcc66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_52d36666-c78f-4b61-baa4-e1e82fd256ef" xlink:to="loc_us-gaap_DebtInstrumentAxis_ad372ec1-fb9a-4d85-ad33-4e711b8fcc66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_ad372ec1-fb9a-4d85-ad33-4e711b8fcc66_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_ad372ec1-fb9a-4d85-ad33-4e711b8fcc66" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_ad372ec1-fb9a-4d85-ad33-4e711b8fcc66_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4a9723c4-fd7e-436e-b393-f37045afe8ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_ad372ec1-fb9a-4d85-ad33-4e711b8fcc66" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4a9723c4-fd7e-436e-b393-f37045afe8ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2024Member_b3ba96d8-3782-43f0-8028-8960ab532a99" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4a9723c4-fd7e-436e-b393-f37045afe8ec" xlink:to="loc_mdb_ConvertibleNotesDue2024Member_b3ba96d8-3782-43f0-8028-8960ab532a99" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_36785984-24e8-4c32-ab22-077e4c70778c" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4a9723c4-fd7e-436e-b393-f37045afe8ec" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_36785984-24e8-4c32-ab22-077e4c70778c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_34b3e5a3-e6a8-4d89-a6e9-a685051f77e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_52d36666-c78f-4b61-baa4-e1e82fd256ef" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_34b3e5a3-e6a8-4d89-a6e9-a685051f77e3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_34b3e5a3-e6a8-4d89-a6e9-a685051f77e3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_34b3e5a3-e6a8-4d89-a6e9-a685051f77e3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_34b3e5a3-e6a8-4d89-a6e9-a685051f77e3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7cbb9c99-7a25-40ed-bf90-9f8e871508e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_34b3e5a3-e6a8-4d89-a6e9-a685051f77e3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7cbb9c99-7a25-40ed-bf90-9f8e871508e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_cc48cec4-0d2d-4b58-8771-f16e49a4a1c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7cbb9c99-7a25-40ed-bf90-9f8e871508e6" xlink:to="loc_us-gaap_ConvertibleDebtMember_cc48cec4-0d2d-4b58-8771-f16e49a4a1c2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_31d50d99-12ed-4ba6-aa46-66523a84514f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDebtExcludingAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e90fdbf2-0863-4e8d-8f05-25743a5b1efb" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_31d50d99-12ed-4ba6-aa46-66523a84514f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_92e87727-1059-4bbc-85a1-8d378bca8748" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e90fdbf2-0863-4e8d-8f05-25743a5b1efb" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_92e87727-1059-4bbc-85a1-8d378bca8748" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_77e4a31e-cdf2-4a17-8fe3-509388a167a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e90fdbf2-0863-4e8d-8f05-25743a5b1efb" xlink:to="loc_us-gaap_InterestExpenseDebt_77e4a31e-cdf2-4a17-8fe3-509388a167a9" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/ConvertibleSeniorNotesCappedCallsDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#ConvertibleSeniorNotesCappedCallsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/ConvertibleSeniorNotesCappedCallsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_bf65a6a3-b275-4212-9e6d-4f09de7c9fa3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_08c36e07-163a-4476-a95c-3045339d2ed4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityEquityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_bf65a6a3-b275-4212-9e6d-4f09de7c9fa3" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_08c36e07-163a-4476-a95c-3045339d2ed4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_b3815995-6613-4a58-a7ff-46bf9f48dbb2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_08c36e07-163a-4476-a95c-3045339d2ed4" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_b3815995-6613-4a58-a7ff-46bf9f48dbb2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_b3815995-6613-4a58-a7ff-46bf9f48dbb2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_b3815995-6613-4a58-a7ff-46bf9f48dbb2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_b3815995-6613-4a58-a7ff-46bf9f48dbb2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_39e4d1e8-aca4-4632-9728-f0956c5e97f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_b3815995-6613-4a58-a7ff-46bf9f48dbb2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_39e4d1e8-aca4-4632-9728-f0956c5e97f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_27fdc1c8-b9f3-48a6-bb86-49cc1282e66d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_39e4d1e8-aca4-4632-9728-f0956c5e97f5" xlink:to="loc_us-gaap_ConvertibleDebtMember_27fdc1c8-b9f3-48a6-bb86-49cc1282e66d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_f5c5edea-c32e-49db-8730-1781a2bb2453" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_08c36e07-163a-4476-a95c-3045339d2ed4" xlink:to="loc_us-gaap_DebtInstrumentAxis_f5c5edea-c32e-49db-8730-1781a2bb2453" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f5c5edea-c32e-49db-8730-1781a2bb2453_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_f5c5edea-c32e-49db-8730-1781a2bb2453" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f5c5edea-c32e-49db-8730-1781a2bb2453_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_fa585a64-4768-4b42-aec3-17a415c2c55c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_f5c5edea-c32e-49db-8730-1781a2bb2453" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_fa585a64-4768-4b42-aec3-17a415c2c55c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_f93bfad3-069f-4576-abf8-aef13593ba47" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_fa585a64-4768-4b42-aec3-17a415c2c55c" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_f93bfad3-069f-4576-abf8-aef13593ba47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_97b6eef3-a3ed-4d86-89cf-effe43cef040" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_08c36e07-163a-4476-a95c-3045339d2ed4" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_97b6eef3-a3ed-4d86-89cf-effe43cef040" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_97b6eef3-a3ed-4d86-89cf-effe43cef040_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_97b6eef3-a3ed-4d86-89cf-effe43cef040" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_97b6eef3-a3ed-4d86-89cf-effe43cef040_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_2bee349f-2314-4889-9ce2-dfa3718b88d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_97b6eef3-a3ed-4d86-89cf-effe43cef040" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_2bee349f-2314-4889-9ce2-dfa3718b88d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CallOptionMember_cfea4d66-87cc-4820-bd7b-e0fe2ae964ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CallOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_2bee349f-2314-4889-9ce2-dfa3718b88d3" xlink:to="loc_us-gaap_CallOptionMember_cfea4d66-87cc-4820-bd7b-e0fe2ae964ef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_962e9d80-32b8-4aa8-81b9-165cc7682e35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityTable_08c36e07-163a-4476-a95c-3045339d2ed4" xlink:to="loc_us-gaap_StatementClassOfStockAxis_962e9d80-32b8-4aa8-81b9-165cc7682e35" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_962e9d80-32b8-4aa8-81b9-165cc7682e35_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_962e9d80-32b8-4aa8-81b9-165cc7682e35" xlink:to="loc_us-gaap_ClassOfStockDomain_962e9d80-32b8-4aa8-81b9-165cc7682e35_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_5553bd3b-f57f-4079-9c9f-8f140645b602" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_962e9d80-32b8-4aa8-81b9-165cc7682e35" xlink:to="loc_us-gaap_ClassOfStockDomain_5553bd3b-f57f-4079-9c9f-8f140645b602" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_f55a9d9e-5641-4329-9327-7787102def9a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5553bd3b-f57f-4079-9c9f-8f140645b602" xlink:to="loc_us-gaap_CommonClassAMember_f55a9d9e-5641-4329-9327-7787102def9a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityStrikePrice1_ab298816-c41e-4a04-aeec-fbf050f59317" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityStrikePrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_bf65a6a3-b275-4212-9e6d-4f09de7c9fa3" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityStrikePrice1_ab298816-c41e-4a04-aeec-fbf050f59317" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_OptionIndexedToIssuersEquityCapPrice_3a6f0d14-e5e1-4c04-ba91-9fb01263cbd0" xlink:href="mdb-20240131.xsd#mdb_OptionIndexedToIssuersEquityCapPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_bf65a6a3-b275-4212-9e6d-4f09de7c9fa3" xlink:to="loc_mdb_OptionIndexedToIssuersEquityCapPrice_3a6f0d14-e5e1-4c04-ba91-9fb01263cbd0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityShares_dd626195-0314-4703-89e3-04a7ca0c6153" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_bf65a6a3-b275-4212-9e6d-4f09de7c9fa3" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityShares_dd626195-0314-4703-89e3-04a7ca0c6153" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_40222922-acdf-4e39-af4d-c3fce8d34778" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityLineItems_bf65a6a3-b275-4212-9e6d-4f09de7c9fa3" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments_40222922-acdf-4e39-af4d-c3fce8d34778" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/LeasesNarrativeDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#LeasesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/LeasesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_832ed9b6-ebb8-4133-bc4d-81011e4b9f3f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_23fa58e8-96b0-4a91-90e4-a6d8407f157f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_832ed9b6-ebb8-4133-bc4d-81011e4b9f3f" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_23fa58e8-96b0-4a91-90e4-a6d8407f157f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_a9b8c9c4-6afe-44b1-9fa5-a9f54f03aed1" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_23fa58e8-96b0-4a91-90e4-a6d8407f157f" xlink:to="loc_srt_RangeAxis_a9b8c9c4-6afe-44b1-9fa5-a9f54f03aed1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a9b8c9c4-6afe-44b1-9fa5-a9f54f03aed1_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_a9b8c9c4-6afe-44b1-9fa5-a9f54f03aed1" xlink:to="loc_srt_RangeMember_a9b8c9c4-6afe-44b1-9fa5-a9f54f03aed1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_7ac05da0-21ad-4d4a-a37e-9f9073ceb5eb" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_a9b8c9c4-6afe-44b1-9fa5-a9f54f03aed1" xlink:to="loc_srt_RangeMember_7ac05da0-21ad-4d4a-a37e-9f9073ceb5eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_bfd76e5a-504c-476b-bfee-64be3c7d43a0" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7ac05da0-21ad-4d4a-a37e-9f9073ceb5eb" xlink:to="loc_srt_MinimumMember_bfd76e5a-504c-476b-bfee-64be3c7d43a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_79fb6b7f-cb4b-430b-8d35-3ac8de5df8bf" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7ac05da0-21ad-4d4a-a37e-9f9073ceb5eb" xlink:to="loc_srt_MaximumMember_79fb6b7f-cb4b-430b-8d35-3ac8de5df8bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_5b7504ae-4e1e-40e4-8033-45b72c6265b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_23fa58e8-96b0-4a91-90e4-a6d8407f157f" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_5b7504ae-4e1e-40e4-8033-45b72c6265b8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_5b7504ae-4e1e-40e4-8033-45b72c6265b8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_5b7504ae-4e1e-40e4-8033-45b72c6265b8" xlink:to="loc_us-gaap_EquityComponentDomain_5b7504ae-4e1e-40e4-8033-45b72c6265b8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_649a5dea-3dc9-47de-b3c5-97cc41a0979f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_5b7504ae-4e1e-40e4-8033-45b72c6265b8" xlink:to="loc_us-gaap_EquityComponentDomain_649a5dea-3dc9-47de-b3c5-97cc41a0979f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_40e9fb61-3ee8-4348-97ee-d8f7ddbe084c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_649a5dea-3dc9-47de-b3c5-97cc41a0979f" xlink:to="loc_us-gaap_RetainedEarningsMember_40e9fb61-3ee8-4348-97ee-d8f7ddbe084c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b8edb19e-87f9-4d66-bbe2-005c959e3c94" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_23fa58e8-96b0-4a91-90e4-a6d8407f157f" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b8edb19e-87f9-4d66-bbe2-005c959e3c94" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_b8edb19e-87f9-4d66-bbe2-005c959e3c94_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b8edb19e-87f9-4d66-bbe2-005c959e3c94" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_b8edb19e-87f9-4d66-bbe2-005c959e3c94_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_a33e5e3b-2f07-4f9a-8724-d968b883c0e3" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b8edb19e-87f9-4d66-bbe2-005c959e3c94" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_a33e5e3b-2f07-4f9a-8724-d968b883c0e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_14d8b775-1535-46d4-987a-764049a5c78a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_a33e5e3b-2f07-4f9a-8724-d968b883c0e3" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_14d8b775-1535-46d4-987a-764049a5c78a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_LesseeLeaseTermOfContract_f3d54c38-cbf9-476e-a9a7-7e0ea6931568" xlink:href="mdb-20240131.xsd#mdb_LesseeLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_832ed9b6-ebb8-4133-bc4d-81011e4b9f3f" xlink:to="loc_mdb_LesseeLeaseTermOfContract_f3d54c38-cbf9-476e-a9a7-7e0ea6931568" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_fd4629bc-b2e0-4c7a-9785-d1ae6099ab1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_832ed9b6-ebb8-4133-bc4d-81011e4b9f3f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_fd4629bc-b2e0-4c7a-9785-d1ae6099ab1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_9805d615-ab88-45a9-af22-e6130972c131" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_832ed9b6-ebb8-4133-bc4d-81011e4b9f3f" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_9805d615-ab88-45a9-af22-e6130972c131" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_d8446277-9be2-4e3a-9e48-4ea9b6e31b74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_832ed9b6-ebb8-4133-bc4d-81011e4b9f3f" xlink:to="loc_us-gaap_FinanceLeaseLiability_d8446277-9be2-4e3a-9e48-4ea9b6e31b74" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_877c7585-3b9a-4a0d-971f-d9e536a7fe38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_832ed9b6-ebb8-4133-bc4d-81011e4b9f3f" xlink:to="loc_us-gaap_StockholdersEquity_877c7585-3b9a-4a0d-971f-d9e536a7fe38" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/CommitmentsandContingenciesAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#CommitmentsandContingenciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/CommitmentsandContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_4094d536-a2d6-449d-a739-c381931d465b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCommitmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsTable_d8b30a16-10eb-4c21-8c2e-b63ad0fcc15c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCommitmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_4094d536-a2d6-449d-a739-c381931d465b" xlink:to="loc_us-gaap_OtherCommitmentsTable_d8b30a16-10eb-4c21-8c2e-b63ad0fcc15c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_538a840b-30dc-4954-8210-c46c0a1aef26" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_d8b30a16-10eb-4c21-8c2e-b63ad0fcc15c" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_538a840b-30dc-4954-8210-c46c0a1aef26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_538a840b-30dc-4954-8210-c46c0a1aef26_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_538a840b-30dc-4954-8210-c46c0a1aef26" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_538a840b-30dc-4954-8210-c46c0a1aef26_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3558b93b-ee59-4678-86f9-7ca3e864ba3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_538a840b-30dc-4954-8210-c46c0a1aef26" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3558b93b-ee59-4678-86f9-7ca3e864ba3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_e8fe8840-2c13-4608-915e-04d8a649f555" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3558b93b-ee59-4678-86f9-7ca3e864ba3b" xlink:to="loc_us-gaap_LineOfCreditMember_e8fe8840-2c13-4608-915e-04d8a649f555" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_8eb06412-d818-4859-9624-a85847a119b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_d8b30a16-10eb-4c21-8c2e-b63ad0fcc15c" xlink:to="loc_us-gaap_CreditFacilityAxis_8eb06412-d818-4859-9624-a85847a119b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_8eb06412-d818-4859-9624-a85847a119b4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_8eb06412-d818-4859-9624-a85847a119b4" xlink:to="loc_us-gaap_CreditFacilityDomain_8eb06412-d818-4859-9624-a85847a119b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_52470091-329c-4b53-a12b-8e58f7a03d7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_8eb06412-d818-4859-9624-a85847a119b4" xlink:to="loc_us-gaap_CreditFacilityDomain_52470091-329c-4b53-a12b-8e58f7a03d7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_9495bd4c-65b6-43bd-b343-900ae9002a25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_52470091-329c-4b53-a12b-8e58f7a03d7c" xlink:to="loc_us-gaap_LetterOfCreditMember_9495bd4c-65b6-43bd-b343-900ae9002a25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitment_da4784c0-8069-4b19-938f-083c933f0631" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_4094d536-a2d6-449d-a739-c381931d465b" xlink:to="loc_us-gaap_OtherCommitment_da4784c0-8069-4b19-938f-083c933f0631" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_d1b9eaa8-21db-4c38-a0e9-267bdbb5b3f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_4094d536-a2d6-449d-a739-c381931d465b" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_d1b9eaa8-21db-4c38-a0e9-267bdbb5b3f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_fe4005ec-de53-42b5-830a-798f8852ac6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_4094d536-a2d6-449d-a739-c381931d465b" xlink:to="loc_us-gaap_LongTermDebt_fe4005ec-de53-42b5-830a-798f8852ac6b" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueScheduleofDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#RevenueScheduleofDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueScheduleofDisaggregationofRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_e47c399a-c165-4e34-8987-cddb27d80c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_059948ae-843e-49e2-8b3c-4dd1a5f26f9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_e47c399a-c165-4e34-8987-cddb27d80c1e" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_059948ae-843e-49e2-8b3c-4dd1a5f26f9e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_0ff4ed4d-dbe3-4407-bfd8-4ddd832e8239" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_059948ae-843e-49e2-8b3c-4dd1a5f26f9e" xlink:to="loc_srt_StatementGeographicalAxis_0ff4ed4d-dbe3-4407-bfd8-4ddd832e8239" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_0ff4ed4d-dbe3-4407-bfd8-4ddd832e8239_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_0ff4ed4d-dbe3-4407-bfd8-4ddd832e8239" xlink:to="loc_srt_SegmentGeographicalDomain_0ff4ed4d-dbe3-4407-bfd8-4ddd832e8239_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_843dcd3c-fc49-40da-89e7-7d1906d0832f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_0ff4ed4d-dbe3-4407-bfd8-4ddd832e8239" xlink:to="loc_srt_SegmentGeographicalDomain_843dcd3c-fc49-40da-89e7-7d1906d0832f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AmericasMember_d3088138-bdd3-4f86-93ce-4deadfe6d96d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_AmericasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_843dcd3c-fc49-40da-89e7-7d1906d0832f" xlink:to="loc_srt_AmericasMember_d3088138-bdd3-4f86-93ce-4deadfe6d96d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EMEAMember_d65d290b-b249-4332-bd8a-4dc1001bdfd9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EMEAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_843dcd3c-fc49-40da-89e7-7d1906d0832f" xlink:to="loc_us-gaap_EMEAMember_d65d290b-b249-4332-bd8a-4dc1001bdfd9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AsiaPacificMember_172c4e1b-3db5-4134-973a-0b8f19743639" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_AsiaPacificMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_843dcd3c-fc49-40da-89e7-7d1906d0832f" xlink:to="loc_srt_AsiaPacificMember_172c4e1b-3db5-4134-973a-0b8f19743639" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_944c8485-75da-4c09-960b-377a5d5b12db" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_059948ae-843e-49e2-8b3c-4dd1a5f26f9e" xlink:to="loc_srt_ProductOrServiceAxis_944c8485-75da-4c09-960b-377a5d5b12db" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_944c8485-75da-4c09-960b-377a5d5b12db_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_944c8485-75da-4c09-960b-377a5d5b12db" xlink:to="loc_srt_ProductsAndServicesDomain_944c8485-75da-4c09-960b-377a5d5b12db_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_41346194-93d8-4ff8-a6a0-1202e975b5ac" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_944c8485-75da-4c09-960b-377a5d5b12db" xlink:to="loc_srt_ProductsAndServicesDomain_41346194-93d8-4ff8-a6a0-1202e975b5ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_MongoDBAtlasRelatedMember_4c17e3fe-ed24-40ca-b1ee-802af6be9216" xlink:href="mdb-20240131.xsd#mdb_MongoDBAtlasRelatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_41346194-93d8-4ff8-a6a0-1202e975b5ac" xlink:to="loc_mdb_MongoDBAtlasRelatedMember_4c17e3fe-ed24-40ca-b1ee-802af6be9216" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_OtherSubscriptionMember_31508922-6222-467e-b675-daf246ba04a4" xlink:href="mdb-20240131.xsd#mdb_OtherSubscriptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_41346194-93d8-4ff8-a6a0-1202e975b5ac" xlink:to="loc_mdb_OtherSubscriptionMember_31508922-6222-467e-b675-daf246ba04a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServiceMember_0405b086-3989-4989-962b-42fbdb1620b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_41346194-93d8-4ff8-a6a0-1202e975b5ac" xlink:to="loc_us-gaap_ServiceMember_0405b086-3989-4989-962b-42fbdb1620b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7b8fb5b6-0cbd-443a-a365-34dcbfba5338" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_e47c399a-c165-4e34-8987-cddb27d80c1e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7b8fb5b6-0cbd-443a-a365-34dcbfba5338" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#RevenueDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_1a6a6de8-5d5c-42f8-a031-b524e395172d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTable_c1bfa9ec-ae11-4194-bc35-83a64fe9e204" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_1a6a6de8-5d5c-42f8-a031-b524e395172d" xlink:to="loc_us-gaap_ConcentrationRiskTable_c1bfa9ec-ae11-4194-bc35-83a64fe9e204" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_806a4ee3-e0a1-43b4-a602-522a0b18ce78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_c1bfa9ec-ae11-4194-bc35-83a64fe9e204" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_806a4ee3-e0a1-43b4-a602-522a0b18ce78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_806a4ee3-e0a1-43b4-a602-522a0b18ce78_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_806a4ee3-e0a1-43b4-a602-522a0b18ce78" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_806a4ee3-e0a1-43b4-a602-522a0b18ce78_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_2eaa3a98-6dc2-4026-945c-25e86f0b65a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_806a4ee3-e0a1-43b4-a602-522a0b18ce78" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_2eaa3a98-6dc2-4026-945c-25e86f0b65a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_f6f6a800-be51-4571-ade0-ed1af945433f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_2eaa3a98-6dc2-4026-945c-25e86f0b65a0" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_f6f6a800-be51-4571-ade0-ed1af945433f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_db17a4f8-9907-479a-8f0f-545a2fa6a5f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_c1bfa9ec-ae11-4194-bc35-83a64fe9e204" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_db17a4f8-9907-479a-8f0f-545a2fa6a5f2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_db17a4f8-9907-479a-8f0f-545a2fa6a5f2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_db17a4f8-9907-479a-8f0f-545a2fa6a5f2" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_db17a4f8-9907-479a-8f0f-545a2fa6a5f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66da123c-11a4-43a9-a9c7-26de0fb2bb2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_db17a4f8-9907-479a-8f0f-545a2fa6a5f2" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66da123c-11a4-43a9-a9c7-26de0fb2bb2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_b29b85fd-bf89-40dd-845b-494d4c5e7c13" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_66da123c-11a4-43a9-a9c7-26de0fb2bb2a" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_b29b85fd-bf89-40dd-845b-494d4c5e7c13" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_9e1118da-aa81-4469-99f9-a632037aee3a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_c1bfa9ec-ae11-4194-bc35-83a64fe9e204" xlink:to="loc_srt_StatementGeographicalAxis_9e1118da-aa81-4469-99f9-a632037aee3a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_9e1118da-aa81-4469-99f9-a632037aee3a_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_9e1118da-aa81-4469-99f9-a632037aee3a" xlink:to="loc_srt_SegmentGeographicalDomain_9e1118da-aa81-4469-99f9-a632037aee3a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_f4870f6f-cae0-4972-8606-6192e1430814" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_9e1118da-aa81-4469-99f9-a632037aee3a" xlink:to="loc_srt_SegmentGeographicalDomain_f4870f6f-cae0-4972-8606-6192e1430814" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_3154081e-6598-432d-8489-82a8ed5b9245" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_f4870f6f-cae0-4972-8606-6192e1430814" xlink:to="loc_country_US_3154081e-6598-432d-8489-82a8ed5b9245" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_34f73d02-2404-4e11-9c86-7f18ad19503b" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_f4870f6f-cae0-4972-8606-6192e1430814" xlink:to="loc_country_GB_34f73d02-2404-4e11-9c86-7f18ad19503b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueAbstract_c74baa62-d558-4a50-8d30-de067fa930af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_1a6a6de8-5d5c-42f8-a031-b524e395172d" xlink:to="loc_us-gaap_DisaggregationOfRevenueAbstract_c74baa62-d558-4a50-8d30-de067fa930af" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_ca6e0770-4863-4cec-96d5-3d35f17824cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueAbstract_c74baa62-d558-4a50-8d30-de067fa930af" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_ca6e0770-4863-4cec-96d5-3d35f17824cd" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#RevenueRemainingPerformanceObligationsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_304e9904-b4aa-4cfd-8777-2f567b485dd4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_304e9904-b4aa-4cfd-8777-2f567b485dd4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_242cf1f5-7389-40b6-876a-0682685d1bb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_304e9904-b4aa-4cfd-8777-2f567b485dd4" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_242cf1f5-7389-40b6-876a-0682685d1bb7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_4490ded4-ea88-4026-b688-1aea03252a9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_4490ded4-ea88-4026-b688-1aea03252a9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_21d62e16-d2be-46d6-92a4-9c6160fa3bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_21d62e16-d2be-46d6-92a4-9c6160fa3bd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_b148eb47-145e-426f-a676-e51e70fae56b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_b148eb47-145e-426f-a676-e51e70fae56b" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails_1" xlink:type="simple" xlink:href="mdb-20240131.xsd#RevenueRemainingPerformanceObligationsDetails_1"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/RevenueRemainingPerformanceObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_304e9904-b4aa-4cfd-8777-2f567b485dd4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_304e9904-b4aa-4cfd-8777-2f567b485dd4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_4490ded4-ea88-4026-b688-1aea03252a9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_4490ded4-ea88-4026-b688-1aea03252a9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_21d62e16-d2be-46d6-92a4-9c6160fa3bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_21d62e16-d2be-46d6-92a4-9c6160fa3bd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_b148eb47-145e-426f-a676-e51e70fae56b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_823db0a9-f07d-4345-9baa-e589f5e36e35" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_b148eb47-145e-426f-a676-e51e70fae56b" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2008and2016StockPlanDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#EquityIncentivePlans2008and2016StockPlanDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2008and2016StockPlanDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_48a090aa-3622-44db-b671-cc324d389e94" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ee5f1b5-9cc5-4e9e-b86e-18747332b099" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_48a090aa-3622-44db-b671-cc324d389e94" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ee5f1b5-9cc5-4e9e-b86e-18747332b099" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_de816a19-4d0e-404a-85c3-05af2cb5cb60" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ee5f1b5-9cc5-4e9e-b86e-18747332b099" xlink:to="loc_srt_RangeAxis_de816a19-4d0e-404a-85c3-05af2cb5cb60" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_de816a19-4d0e-404a-85c3-05af2cb5cb60_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_de816a19-4d0e-404a-85c3-05af2cb5cb60" xlink:to="loc_srt_RangeMember_de816a19-4d0e-404a-85c3-05af2cb5cb60_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e75a079a-5dc9-4e08-8f9a-3fec3f9b09dd" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_de816a19-4d0e-404a-85c3-05af2cb5cb60" xlink:to="loc_srt_RangeMember_e75a079a-5dc9-4e08-8f9a-3fec3f9b09dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_eb8b600e-993d-4225-b09e-55b611cd998f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e75a079a-5dc9-4e08-8f9a-3fec3f9b09dd" xlink:to="loc_srt_MinimumMember_eb8b600e-993d-4225-b09e-55b611cd998f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_2a71a0a4-3f9f-4d55-99e1-31adf943be44" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ee5f1b5-9cc5-4e9e-b86e-18747332b099" xlink:to="loc_srt_TitleOfIndividualAxis_2a71a0a4-3f9f-4d55-99e1-31adf943be44" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_2a71a0a4-3f9f-4d55-99e1-31adf943be44_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_2a71a0a4-3f9f-4d55-99e1-31adf943be44" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_2a71a0a4-3f9f-4d55-99e1-31adf943be44_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_9e4ba9cd-861d-4208-b5b6-4359dc766688" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_2a71a0a4-3f9f-4d55-99e1-31adf943be44" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_9e4ba9cd-861d-4208-b5b6-4359dc766688" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_Over10StockholderMember_17a718ab-9d35-4ff5-b031-654cde33f87a" xlink:href="mdb-20240131.xsd#mdb_Over10StockholderMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_9e4ba9cd-861d-4208-b5b6-4359dc766688" xlink:to="loc_mdb_Over10StockholderMember_17a718ab-9d35-4ff5-b031-654cde33f87a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_8fde6003-02fc-43da-a19b-64dfb1013459" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ee5f1b5-9cc5-4e9e-b86e-18747332b099" xlink:to="loc_us-gaap_VestingAxis_8fde6003-02fc-43da-a19b-64dfb1013459" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_8fde6003-02fc-43da-a19b-64dfb1013459_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_8fde6003-02fc-43da-a19b-64dfb1013459" xlink:to="loc_us-gaap_VestingDomain_8fde6003-02fc-43da-a19b-64dfb1013459_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_e7e2d182-3061-40fd-847a-9c3fa48e7a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_8fde6003-02fc-43da-a19b-64dfb1013459" xlink:to="loc_us-gaap_VestingDomain_e7e2d182-3061-40fd-847a-9c3fa48e7a1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_710277fd-2b7e-4a85-adea-4c729c70ef29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_e7e2d182-3061-40fd-847a-9c3fa48e7a1c" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_710277fd-2b7e-4a85-adea-4c729c70ef29" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_c1ce3c3c-3b96-496b-9fc3-9504ea2e3ff1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_e7e2d182-3061-40fd-847a-9c3fa48e7a1c" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_c1ce3c3c-3b96-496b-9fc3-9504ea2e3ff1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_3d70bceb-5aed-48c0-b87b-30c43eb81177" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5ee5f1b5-9cc5-4e9e-b86e-18747332b099" xlink:to="loc_us-gaap_AwardTypeAxis_3d70bceb-5aed-48c0-b87b-30c43eb81177" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3d70bceb-5aed-48c0-b87b-30c43eb81177_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_3d70bceb-5aed-48c0-b87b-30c43eb81177" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3d70bceb-5aed-48c0-b87b-30c43eb81177_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a84e69e9-f23f-4682-8ce2-71a29b6cd955" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_3d70bceb-5aed-48c0-b87b-30c43eb81177" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a84e69e9-f23f-4682-8ce2-71a29b6cd955" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_46121b49-aeff-4470-bdbd-06d0c9db0828" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a84e69e9-f23f-4682-8ce2-71a29b6cd955" xlink:to="loc_us-gaap_EmployeeStockOptionMember_46121b49-aeff-4470-bdbd-06d0c9db0828" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_5743ec4a-ee4e-498a-9c8c-8ef19def6e5a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a84e69e9-f23f-4682-8ce2-71a29b6cd955" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_5743ec4a-ee4e-498a-9c8c-8ef19def6e5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_b1827ed2-dcae-44be-845b-8f63a3477e84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_48a090aa-3622-44db-b671-cc324d389e94" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_b1827ed2-dcae-44be-845b-8f63a3477e84" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_f4114f18-acce-4e93-a8b0-558d68793c52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_48a090aa-3622-44db-b671-cc324d389e94" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_f4114f18-acce-4e93-a8b0-558d68793c52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_87cb41a1-edde-4e64-9ec6-02b7e68c7b55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_48a090aa-3622-44db-b671-cc324d389e94" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_87cb41a1-edde-4e64-9ec6-02b7e68c7b55" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_889419bf-4458-47f7-bfa0-28373e7600f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_48a090aa-3622-44db-b671-cc324d389e94" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_889419bf-4458-47f7-bfa0-28373e7600f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease_8f441a49-0523-4f17-a827-8ace03a004c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_48a090aa-3622-44db-b671-cc324d389e94" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease_8f441a49-0523-4f17-a827-8ace03a004c7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_cf270e14-6026-419e-8a4e-75fdb444f9a4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_48a090aa-3622-44db-b671-cc324d389e94" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_cf270e14-6026-419e-8a4e-75fdb444f9a4" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockOptionsandRestrictedStockUnitsAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#EquityIncentivePlansStockOptionsandRestrictedStockUnitsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockOptionsandRestrictedStockUnitsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c71ff0e8-d345-44ea-b9a9-e93c15ee91a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_754ebdc8-1fc9-4f44-beb7-5b2a542e7a10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c71ff0e8-d345-44ea-b9a9-e93c15ee91a2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_754ebdc8-1fc9-4f44-beb7-5b2a542e7a10" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_11e466a1-c136-4f3b-bd24-6d3932d2cb0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_754ebdc8-1fc9-4f44-beb7-5b2a542e7a10" xlink:to="loc_us-gaap_AwardTypeAxis_11e466a1-c136-4f3b-bd24-6d3932d2cb0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11e466a1-c136-4f3b-bd24-6d3932d2cb0e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_11e466a1-c136-4f3b-bd24-6d3932d2cb0e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11e466a1-c136-4f3b-bd24-6d3932d2cb0e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_50763665-736e-4ea4-802a-1e77c22599ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_11e466a1-c136-4f3b-bd24-6d3932d2cb0e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_50763665-736e-4ea4-802a-1e77c22599ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_b00c4d24-54c3-4f98-9934-699f19b26d4d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_50763665-736e-4ea4-802a-1e77c22599ca" xlink:to="loc_us-gaap_EmployeeStockOptionMember_b00c4d24-54c3-4f98-9934-699f19b26d4d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_c05f2016-d481-49a6-a936-08ec8294a7ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_50763665-736e-4ea4-802a-1e77c22599ca" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_c05f2016-d481-49a6-a936-08ec8294a7ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_abdefae3-6e3f-430d-95e4-9d2a40ca14c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c71ff0e8-d345-44ea-b9a9-e93c15ee91a2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_abdefae3-6e3f-430d-95e4-9d2a40ca14c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_0b856195-df10-4db5-b03e-706ac686ee27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c71ff0e8-d345-44ea-b9a9-e93c15ee91a2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_0b856195-df10-4db5-b03e-706ac686ee27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_56bfbd14-55bd-4e6c-a6d6-c2682fed7dd1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c71ff0e8-d345-44ea-b9a9-e93c15ee91a2" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_56bfbd14-55bd-4e6c-a6d6-c2682fed7dd1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_6e66f6a7-c1b6-4497-b277-e5dcfc34f0de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c71ff0e8-d345-44ea-b9a9-e93c15ee91a2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_6e66f6a7-c1b6-4497-b277-e5dcfc34f0de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_bc0849d2-4131-4fab-8093-4c28a96bc637" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c71ff0e8-d345-44ea-b9a9-e93c15ee91a2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_bc0849d2-4131-4fab-8093-4c28a96bc637" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_c921e745-9d4a-4ec9-a33e-ca7d7f218493" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c71ff0e8-d345-44ea-b9a9-e93c15ee91a2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_c921e745-9d4a-4ec9-a33e-ca7d7f218493" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleofAwardActivityDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#EquityIncentivePlansScheduleofAwardActivityDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleofAwardActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e3ceb7bb-745a-4c2e-bc0a-75f9858765d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a08625a-2b4e-4158-9b92-eb9592c9ee6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e3ceb7bb-745a-4c2e-bc0a-75f9858765d1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a08625a-2b4e-4158-9b92-eb9592c9ee6d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_e63af66a-6588-4112-b293-69dfdc150e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a08625a-2b4e-4158-9b92-eb9592c9ee6d" xlink:to="loc_us-gaap_AwardTypeAxis_e63af66a-6588-4112-b293-69dfdc150e9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e63af66a-6588-4112-b293-69dfdc150e9a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_e63af66a-6588-4112-b293-69dfdc150e9a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e63af66a-6588-4112-b293-69dfdc150e9a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9ac3ab20-5033-4cf7-9c76-61be5d90d99e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_e63af66a-6588-4112-b293-69dfdc150e9a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9ac3ab20-5033-4cf7-9c76-61be5d90d99e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_126b87da-74c4-4ee7-8aeb-d0babeaf7962" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9ac3ab20-5033-4cf7-9c76-61be5d90d99e" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_126b87da-74c4-4ee7-8aeb-d0babeaf7962" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_01e01e66-ed60-4e05-bc54-942657cc4dae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9ac3ab20-5033-4cf7-9c76-61be5d90d99e" xlink:to="loc_us-gaap_PerformanceSharesMember_01e01e66-ed60-4e05-bc54-942657cc4dae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_71d3e995-dd69-4ea2-bb82-45b3558e97f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e3ceb7bb-745a-4c2e-bc0a-75f9858765d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_71d3e995-dd69-4ea2-bb82-45b3558e97f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_10437aeb-1837-4bc9-a5a6-d59dcac19841" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_71d3e995-dd69-4ea2-bb82-45b3558e97f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_10437aeb-1837-4bc9-a5a6-d59dcac19841" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_58bd62ba-cbfa-4c73-9118-c3048737f3f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_71d3e995-dd69-4ea2-bb82-45b3558e97f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_58bd62ba-cbfa-4c73-9118-c3048737f3f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_703655a3-180c-4950-807b-afefe5d1ceec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_71d3e995-dd69-4ea2-bb82-45b3558e97f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_703655a3-180c-4950-807b-afefe5d1ceec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodIncreaseDecrease_8723f611-9e2b-491a-917d-ce27961d8892" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_71d3e995-dd69-4ea2-bb82-45b3558e97f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodIncreaseDecrease_8723f611-9e2b-491a-917d-ce27961d8892" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_ead678e1-477b-45f9-9fda-9e0ab3f7c758" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_71d3e995-dd69-4ea2-bb82-45b3558e97f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_ead678e1-477b-45f9-9fda-9e0ab3f7c758" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_8ae91d37-94ed-420a-8ef1-4df8fcc4a741" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5e139efc-b056-46af-ba85-f23881524449" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e3ceb7bb-745a-4c2e-bc0a-75f9858765d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5e139efc-b056-46af-ba85-f23881524449" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_9eec6edc-c572-4a08-be74-470d6d34d3a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5e139efc-b056-46af-ba85-f23881524449" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_9eec6edc-c572-4a08-be74-470d6d34d3a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_99aa87e8-0195-423b-a1bf-f9cfdc44de14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5e139efc-b056-46af-ba85-f23881524449" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_99aa87e8-0195-423b-a1bf-f9cfdc44de14" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_e84597e8-a730-4b95-ba08-496db7d120e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5e139efc-b056-46af-ba85-f23881524449" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_e84597e8-a730-4b95-ba08-496db7d120e6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodAdjustmentsWeightedAverageGrantDateFairValue_0030891e-236c-45e7-a9aa-72ffbcd69772" xlink:href="mdb-20240131.xsd#mdb_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodAdjustmentsWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5e139efc-b056-46af-ba85-f23881524449" xlink:to="loc_mdb_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodAdjustmentsWeightedAverageGrantDateFairValue_0030891e-236c-45e7-a9aa-72ffbcd69772" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_4a95212c-50cb-46d8-aa02-9710a23a6c7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5e139efc-b056-46af-ba85-f23881524449" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_4a95212c-50cb-46d8-aa02-9710a23a6c7b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1e1e1cc9-b48d-4a89-a62e-bc45a4a68b2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansExecutivePerformanceShareAwardsDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#EquityIncentivePlansExecutivePerformanceShareAwardsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansExecutivePerformanceShareAwardsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_f88ebe26-87a2-4984-95ca-f6b368eae728" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_f88ebe26-87a2-4984-95ca-f6b368eae728" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_956c0fa0-89af-4a9b-814b-de18ad8eabd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_f88ebe26-87a2-4984-95ca-f6b368eae728" xlink:to="loc_us-gaap_AwardTypeAxis_956c0fa0-89af-4a9b-814b-de18ad8eabd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_956c0fa0-89af-4a9b-814b-de18ad8eabd7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_956c0fa0-89af-4a9b-814b-de18ad8eabd7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_956c0fa0-89af-4a9b-814b-de18ad8eabd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2b8bf148-6e66-4a19-b8f5-5c320d6c29fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_956c0fa0-89af-4a9b-814b-de18ad8eabd7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2b8bf148-6e66-4a19-b8f5-5c320d6c29fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_3980a854-8a30-4771-ad47-2d6534756980" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2b8bf148-6e66-4a19-b8f5-5c320d6c29fa" xlink:to="loc_us-gaap_PerformanceSharesMember_3980a854-8a30-4771-ad47-2d6534756980" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e9048ca6-e5a7-461d-ad0d-d41fe5e2a78d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_f88ebe26-87a2-4984-95ca-f6b368eae728" xlink:to="loc_srt_RangeAxis_e9048ca6-e5a7-461d-ad0d-d41fe5e2a78d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e9048ca6-e5a7-461d-ad0d-d41fe5e2a78d_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_e9048ca6-e5a7-461d-ad0d-d41fe5e2a78d" xlink:to="loc_srt_RangeMember_e9048ca6-e5a7-461d-ad0d-d41fe5e2a78d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ea60c191-deda-44eb-ab37-c4a45eac3027" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_e9048ca6-e5a7-461d-ad0d-d41fe5e2a78d" xlink:to="loc_srt_RangeMember_ea60c191-deda-44eb-ab37-c4a45eac3027" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_0b5faaa9-2470-409a-b40b-776f19eb1b54" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ea60c191-deda-44eb-ab37-c4a45eac3027" xlink:to="loc_srt_MinimumMember_0b5faaa9-2470-409a-b40b-776f19eb1b54" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_12bd0e15-8d72-4694-a59a-88a432a750a6" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ea60c191-deda-44eb-ab37-c4a45eac3027" xlink:to="loc_srt_MaximumMember_12bd0e15-8d72-4694-a59a-88a432a750a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_749327ca-747b-4377-aaf9-b32e00eeb690" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_749327ca-747b-4377-aaf9-b32e00eeb690" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_7744df78-c228-4629-86b9-31850241d9d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_7744df78-c228-4629-86b9-31850241d9d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingRightsPerformanceFactor_ea93b981-fd05-4a60-9feb-9bbb6514dc6c" xlink:href="mdb-20240131.xsd#mdb_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingRightsPerformanceFactor"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:to="loc_mdb_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingRightsPerformanceFactor_ea93b981-fd05-4a60-9feb-9bbb6514dc6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_ce7d6551-e587-4d30-b78e-1c93d8ad7dfa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_ce7d6551-e587-4d30-b78e-1c93d8ad7dfa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_e14d1631-596d-4559-8f5b-808d6915dc8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_e14d1631-596d-4559-8f5b-808d6915dc8a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_0796c145-a780-43bf-b9c4-8fc597ef7e44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_0796c145-a780-43bf-b9c4-8fc597ef7e44" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_7a5c3d9b-7c1e-45c1-9880-89f094734c5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_045238ff-20c4-4a8c-9544-24db0e8f3f01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_7a5c3d9b-7c1e-45c1-9880-89f094734c5c" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2016ChinaStockAppreciationRightsPlanDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8f2edf1a-4d25-4ab5-a874-de0c645f2966" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8f2edf1a-4d25-4ab5-a874-de0c645f2966" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_8ace7ce0-89ab-4774-93ae-8adf6d60d6b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8f2edf1a-4d25-4ab5-a874-de0c645f2966" xlink:to="loc_us-gaap_VestingAxis_8ace7ce0-89ab-4774-93ae-8adf6d60d6b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_8ace7ce0-89ab-4774-93ae-8adf6d60d6b4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_8ace7ce0-89ab-4774-93ae-8adf6d60d6b4" xlink:to="loc_us-gaap_VestingDomain_8ace7ce0-89ab-4774-93ae-8adf6d60d6b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_383fece9-8a64-4d9f-b3f5-a11d4e7d7b69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_8ace7ce0-89ab-4774-93ae-8adf6d60d6b4" xlink:to="loc_us-gaap_VestingDomain_383fece9-8a64-4d9f-b3f5-a11d4e7d7b69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_ea81b3f8-b44b-4dcc-8685-8080423ff8b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_383fece9-8a64-4d9f-b3f5-a11d4e7d7b69" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_ea81b3f8-b44b-4dcc-8685-8080423ff8b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_da04ca53-13c5-4719-90bb-be6d87819086" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_383fece9-8a64-4d9f-b3f5-a11d4e7d7b69" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_da04ca53-13c5-4719-90bb-be6d87819086" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_23a22854-19dc-4abc-a6da-cde77012fd35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8f2edf1a-4d25-4ab5-a874-de0c645f2966" xlink:to="loc_us-gaap_AwardTypeAxis_23a22854-19dc-4abc-a6da-cde77012fd35" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_23a22854-19dc-4abc-a6da-cde77012fd35_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_23a22854-19dc-4abc-a6da-cde77012fd35" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_23a22854-19dc-4abc-a6da-cde77012fd35_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8e412fc1-3076-4361-a181-386fc64dc0f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_23a22854-19dc-4abc-a6da-cde77012fd35" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8e412fc1-3076-4361-a181-386fc64dc0f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_5f1e8aab-de13-4963-9b6a-d747f5a2e7ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockAppreciationRightsSARSMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8e412fc1-3076-4361-a181-386fc64dc0f4" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_5f1e8aab-de13-4963-9b6a-d747f5a2e7ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_0df7cc26-4ff4-4031-94d4-06a50f5e18f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_0df7cc26-4ff4-4031-94d4-06a50f5e18f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_ec5c58b1-83a6-4996-a1a7-d861d1dc4560" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_ec5c58b1-83a6-4996-a1a7-d861d1dc4560" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_cf0b12b9-4c85-49d3-b3db-402eed6c104b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted_cf0b12b9-4c85-49d3-b3db-402eed6c104b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_3511f3f6-f861-4da6-a6c3-b493f59a57a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_3511f3f6-f861-4da6-a6c3-b493f59a57a7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_bdc08583-30ae-4915-bc19-481147214b55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_bdc08583-30ae-4915-bc19-481147214b55" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_1fa15993-2d83-4231-a25f-8d2c418e6fcd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_1fa15993-2d83-4231-a25f-8d2c418e6fcd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_be0f9cb8-8061-49f1-bd7e-c5fe237c12f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_be0f9cb8-8061-49f1-bd7e-c5fe237c12f0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ShareBasedPaymentArrangementCashPaidForExerciseOfStockAppreciationRights_99754b68-8d7b-4273-8480-1b721cf4b415" xlink:href="mdb-20240131.xsd#mdb_ShareBasedPaymentArrangementCashPaidForExerciseOfStockAppreciationRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_mdb_ShareBasedPaymentArrangementCashPaidForExerciseOfStockAppreciationRights_99754b68-8d7b-4273-8480-1b721cf4b415" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised_7be4922d-aaf4-435f-8c41-df3823538a33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised_7be4922d-aaf4-435f-8c41-df3823538a33" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber_0b75cd76-a84b-4331-8c7d-d6522bfdcdd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber_0b75cd76-a84b-4331-8c7d-d6522bfdcdd3" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_3b4a2480-0b0e-4ca8-b291-cdf809418c87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_55130127-558c-4d52-90a1-12d0bbff5af9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_3b4a2480-0b0e-4ca8-b291-cdf809418c87" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#EquityIncentivePlans2017EmployeeStockPurchasePlanDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlans2017EmployeeStockPurchasePlanDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_196e6cbd-4564-4022-8168-3e5ae91b8f84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_196e6cbd-4564-4022-8168-3e5ae91b8f84" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_8cee6e94-65fe-4373-bbd2-2a53cf3d8fd6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_196e6cbd-4564-4022-8168-3e5ae91b8f84" xlink:to="loc_us-gaap_AwardTypeAxis_8cee6e94-65fe-4373-bbd2-2a53cf3d8fd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8cee6e94-65fe-4373-bbd2-2a53cf3d8fd6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_8cee6e94-65fe-4373-bbd2-2a53cf3d8fd6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8cee6e94-65fe-4373-bbd2-2a53cf3d8fd6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2cf9be4a-2661-4401-ade7-4b4f3b19c085" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_8cee6e94-65fe-4373-bbd2-2a53cf3d8fd6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2cf9be4a-2661-4401-ade7-4b4f3b19c085" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_cde4dacf-8335-4a95-a75d-a8fc74a37076" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2cf9be4a-2661-4401-ade7-4b4f3b19c085" xlink:to="loc_us-gaap_EmployeeStockMember_cde4dacf-8335-4a95-a75d-a8fc74a37076" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_cb91ca00-0eaa-4d7d-958d-78039a9f9abf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_196e6cbd-4564-4022-8168-3e5ae91b8f84" xlink:to="loc_us-gaap_StatementClassOfStockAxis_cb91ca00-0eaa-4d7d-958d-78039a9f9abf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_cb91ca00-0eaa-4d7d-958d-78039a9f9abf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_cb91ca00-0eaa-4d7d-958d-78039a9f9abf" xlink:to="loc_us-gaap_ClassOfStockDomain_cb91ca00-0eaa-4d7d-958d-78039a9f9abf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_069a924d-9e28-4de4-b48b-cc6bffc0d381" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_cb91ca00-0eaa-4d7d-958d-78039a9f9abf" xlink:to="loc_us-gaap_ClassOfStockDomain_069a924d-9e28-4de4-b48b-cc6bffc0d381" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_692708aa-7e3d-4fc9-8331-60a3a71f3ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_069a924d-9e28-4de4-b48b-cc6bffc0d381" xlink:to="loc_us-gaap_CommonClassAMember_692708aa-7e3d-4fc9-8331-60a3a71f3ca7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_18a5ef0c-63ab-4421-9d40-07e837475697" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_196e6cbd-4564-4022-8168-3e5ae91b8f84" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_18a5ef0c-63ab-4421-9d40-07e837475697" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_18a5ef0c-63ab-4421-9d40-07e837475697_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_18a5ef0c-63ab-4421-9d40-07e837475697" xlink:to="loc_us-gaap_EquityComponentDomain_18a5ef0c-63ab-4421-9d40-07e837475697_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_21a87686-35c6-4e3f-8181-887845abf6ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_18a5ef0c-63ab-4421-9d40-07e837475697" xlink:to="loc_us-gaap_EquityComponentDomain_21a87686-35c6-4e3f-8181-887845abf6ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_0f89bd95-80e3-4caa-8852-e9ec8ca07fb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_21a87686-35c6-4e3f-8181-887845abf6ed" xlink:to="loc_us-gaap_CommonStockMember_0f89bd95-80e3-4caa-8852-e9ec8ca07fb5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_94397f12-4621-4cdc-86a6-234c5d83e8bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_94397f12-4621-4cdc-86a6-234c5d83e8bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_593df4fb-7c8a-4194-926c-ff67a409dbb8" xlink:href="mdb-20240131.xsd#mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_mdb_SharebasedCompensationArrangementbySharebasedPaymentAwardDurationOfOfferingPeriods_593df4fb-7c8a-4194-926c-ff67a409dbb8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_edaab5ac-eb45-4438-abf0-082302fdaa9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_edaab5ac-eb45-4438-abf0-082302fdaa9c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease_e75184c0-f119-427e-b3de-5b7ecd4d562b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecrease_e75184c0-f119-427e-b3de-5b7ecd4d562b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_2a90722c-c8a8-4da9-901d-1179b65056a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_2a90722c-c8a8-4da9-901d-1179b65056a0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_6dbfe04c-47d6-4b16-98d4-d527dc639027" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_6dbfe04c-47d6-4b16-98d4-d527dc639027" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_b418813f-1e3a-4568-939f-d1b993c9b045" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_b418813f-1e3a-4568-939f-d1b993c9b045" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_d5182334-66b0-4802-b501-093cf57a964f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_39200f3f-c08d-4984-8cdf-0b60a3509e33" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_d5182334-66b0-4802-b501-093cf57a964f" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansScheduleofESPPValuationAssumptionsDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#EquityIncentivePlansScheduleofESPPValuationAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansScheduleofESPPValuationAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_341eb86c-b616-44d8-8b12-7e4b166e240e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e7a9f6ff-21cb-4373-9c8b-0c3481155b63" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_341eb86c-b616-44d8-8b12-7e4b166e240e" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e7a9f6ff-21cb-4373-9c8b-0c3481155b63" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_66e79a91-7b42-4c89-a457-c6d6c6050a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e7a9f6ff-21cb-4373-9c8b-0c3481155b63" xlink:to="loc_us-gaap_AwardTypeAxis_66e79a91-7b42-4c89-a457-c6d6c6050a9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_66e79a91-7b42-4c89-a457-c6d6c6050a9d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_66e79a91-7b42-4c89-a457-c6d6c6050a9d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_66e79a91-7b42-4c89-a457-c6d6c6050a9d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1abf2e0e-0efb-4dc2-aa2a-6a12513aad99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_66e79a91-7b42-4c89-a457-c6d6c6050a9d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1abf2e0e-0efb-4dc2-aa2a-6a12513aad99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_69d8f134-e358-4814-8059-1d6a38256592" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1abf2e0e-0efb-4dc2-aa2a-6a12513aad99" xlink:to="loc_us-gaap_EmployeeStockMember_69d8f134-e358-4814-8059-1d6a38256592" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_352c45c2-3203-4eb4-8cb8-932eee5137e0" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e7a9f6ff-21cb-4373-9c8b-0c3481155b63" xlink:to="loc_srt_RangeAxis_352c45c2-3203-4eb4-8cb8-932eee5137e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_352c45c2-3203-4eb4-8cb8-932eee5137e0_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_352c45c2-3203-4eb4-8cb8-932eee5137e0" xlink:to="loc_srt_RangeMember_352c45c2-3203-4eb4-8cb8-932eee5137e0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ba220f7e-7c15-47df-aa65-f1cd5353f41e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_352c45c2-3203-4eb4-8cb8-932eee5137e0" xlink:to="loc_srt_RangeMember_ba220f7e-7c15-47df-aa65-f1cd5353f41e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_b8b7b218-156a-4662-856e-acbc6806d62e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ba220f7e-7c15-47df-aa65-f1cd5353f41e" xlink:to="loc_srt_MinimumMember_b8b7b218-156a-4662-856e-acbc6806d62e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d3db9d8d-a02e-49a3-887c-50cd255bae1a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ba220f7e-7c15-47df-aa65-f1cd5353f41e" xlink:to="loc_srt_MaximumMember_d3db9d8d-a02e-49a3-887c-50cd255bae1a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_89e8dfc7-bc1f-4d00-9918-37198eb4b3e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_341eb86c-b616-44d8-8b12-7e4b166e240e" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_89e8dfc7-bc1f-4d00-9918-37198eb4b3e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_f2caa3fa-6590-4d73-98b1-7327299460a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_341eb86c-b616-44d8-8b12-7e4b166e240e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_f2caa3fa-6590-4d73-98b1-7327299460a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_da514494-6e82-4380-919e-ee766db449d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_341eb86c-b616-44d8-8b12-7e4b166e240e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_da514494-6e82-4380-919e-ee766db449d5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_40afb95b-73bc-4e60-a713-9c03f962b169" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_341eb86c-b616-44d8-8b12-7e4b166e240e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_40afb95b-73bc-4e60-a713-9c03f962b169" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_fc076c73-950e-42e3-856a-bb1b228c1659" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_341eb86c-b616-44d8-8b12-7e4b166e240e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_fc076c73-950e-42e3-856a-bb1b228c1659" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_129718bb-fff6-4e65-9e53-39e96b423ab1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_341eb86c-b616-44d8-8b12-7e4b166e240e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_129718bb-fff6-4e65-9e53-39e96b423ab1" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/EquityIncentivePlansStockbasedCompensationExpenseRecognizedinStatementofOperationsDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#EquityIncentivePlansStockbasedCompensationExpenseRecognizedinStatementofOperationsDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/EquityIncentivePlansStockbasedCompensationExpenseRecognizedinStatementofOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17b2ac83-593a-4034-a350-48867bfc835e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0b30b413-aa9b-4b0f-8398-03036851c3b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17b2ac83-593a-4034-a350-48867bfc835e" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0b30b413-aa9b-4b0f-8398-03036851c3b5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_20490b2e-96e4-49e5-b89d-f871d1ffa8ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0b30b413-aa9b-4b0f-8398-03036851c3b5" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_20490b2e-96e4-49e5-b89d-f871d1ffa8ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_20490b2e-96e4-49e5-b89d-f871d1ffa8ac_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_20490b2e-96e4-49e5-b89d-f871d1ffa8ac" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_20490b2e-96e4-49e5-b89d-f871d1ffa8ac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_aa24ac9c-283f-4d28-b29e-b76901377768" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_20490b2e-96e4-49e5-b89d-f871d1ffa8ac" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_aa24ac9c-283f-4d28-b29e-b76901377768" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CostofRevenueSubscriptionMember_8ddfcb5e-38a8-4f44-a8d0-c57a8d905b86" xlink:href="mdb-20240131.xsd#mdb_CostofRevenueSubscriptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_aa24ac9c-283f-4d28-b29e-b76901377768" xlink:to="loc_mdb_CostofRevenueSubscriptionMember_8ddfcb5e-38a8-4f44-a8d0-c57a8d905b86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CostofRevenueServicesMember_ff3b5f85-5d74-4660-8c37-ef80c8852ae8" xlink:href="mdb-20240131.xsd#mdb_CostofRevenueServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_aa24ac9c-283f-4d28-b29e-b76901377768" xlink:to="loc_mdb_CostofRevenueServicesMember_ff3b5f85-5d74-4660-8c37-ef80c8852ae8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_62c563dd-f626-430b-b2c4-3dff4f91ba57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingAndMarketingExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_aa24ac9c-283f-4d28-b29e-b76901377768" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_62c563dd-f626-430b-b2c4-3dff4f91ba57" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_de6a6a6d-454d-4432-98ee-d2f8bd47d40f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_aa24ac9c-283f-4d28-b29e-b76901377768" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_de6a6a6d-454d-4432-98ee-d2f8bd47d40f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_3acf3f3a-69d9-437c-9682-00ef0d71d476" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_aa24ac9c-283f-4d28-b29e-b76901377768" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_3acf3f3a-69d9-437c-9682-00ef0d71d476" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_e190778f-f432-41a2-b49e-20cd1cf5be2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_17b2ac83-593a-4034-a350-48867bfc835e" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_e190778f-f432-41a2-b49e-20cd1cf5be2b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#NetLossPerShareAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_92b37fb6-1439-4d3d-9ffc-623b117cfe4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasicLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_db06185e-c980-4473-bdc7-7cf6af3486ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_92b37fb6-1439-4d3d-9ffc-623b117cfe4e" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_db06185e-c980-4473-bdc7-7cf6af3486ba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_a845c7e0-4c63-40a7-9b9e-bbe34cc6a9fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_db06185e-c980-4473-bdc7-7cf6af3486ba" xlink:to="loc_us-gaap_DebtInstrumentAxis_a845c7e0-4c63-40a7-9b9e-bbe34cc6a9fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_a845c7e0-4c63-40a7-9b9e-bbe34cc6a9fa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_a845c7e0-4c63-40a7-9b9e-bbe34cc6a9fa" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_a845c7e0-4c63-40a7-9b9e-bbe34cc6a9fa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4f23fe2f-cb49-4416-a431-50f712fd6578" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_a845c7e0-4c63-40a7-9b9e-bbe34cc6a9fa" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4f23fe2f-cb49-4416-a431-50f712fd6578" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2024Member_aa2655bb-4e22-4346-a244-e842214bc097" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4f23fe2f-cb49-4416-a431-50f712fd6578" xlink:to="loc_mdb_ConvertibleNotesDue2024Member_aa2655bb-4e22-4346-a244-e842214bc097" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_3c93455f-1839-448d-853f-489430c88524" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4f23fe2f-cb49-4416-a431-50f712fd6578" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_3c93455f-1839-448d-853f-489430c88524" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_7d9be638-e216-438c-b6c3-41e0849f9e46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_db06185e-c980-4473-bdc7-7cf6af3486ba" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_7d9be638-e216-438c-b6c3-41e0849f9e46" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7d9be638-e216-438c-b6c3-41e0849f9e46_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7d9be638-e216-438c-b6c3-41e0849f9e46" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7d9be638-e216-438c-b6c3-41e0849f9e46_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_2d88cb2e-631f-4ccd-844e-cf27760a3891" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7d9be638-e216-438c-b6c3-41e0849f9e46" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_2d88cb2e-631f-4ccd-844e-cf27760a3891" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_3cc36a2b-0720-4613-8376-36ce97eb6615" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_2d88cb2e-631f-4ccd-844e-cf27760a3891" xlink:to="loc_us-gaap_ConvertibleDebtMember_3cc36a2b-0720-4613-8376-36ce97eb6615" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_f933f27e-5540-45fa-8f24-4533b643a1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_db06185e-c980-4473-bdc7-7cf6af3486ba" xlink:to="loc_us-gaap_StatementClassOfStockAxis_f933f27e-5540-45fa-8f24-4533b643a1d8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_f933f27e-5540-45fa-8f24-4533b643a1d8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_f933f27e-5540-45fa-8f24-4533b643a1d8" xlink:to="loc_us-gaap_ClassOfStockDomain_f933f27e-5540-45fa-8f24-4533b643a1d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_08820992-5669-476a-93e4-98d2edd9a437" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_f933f27e-5540-45fa-8f24-4533b643a1d8" xlink:to="loc_us-gaap_ClassOfStockDomain_08820992-5669-476a-93e4-98d2edd9a437" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_f10521b1-9640-4348-bee8-7223f08bbf2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_08820992-5669-476a-93e4-98d2edd9a437" xlink:to="loc_us-gaap_CommonClassAMember_f10521b1-9640-4348-bee8-7223f08bbf2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_1019cddf-8bb9-4cb3-8f2a-20b024e931c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_08820992-5669-476a-93e4-98d2edd9a437" xlink:to="loc_us-gaap_CommonClassBMember_1019cddf-8bb9-4cb3-8f2a-20b024e931c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_d5941c0e-d906-422b-8ab0-06add8936edb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_db06185e-c980-4473-bdc7-7cf6af3486ba" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_d5941c0e-d906-422b-8ab0-06add8936edb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_d5941c0e-d906-422b-8ab0-06add8936edb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_d5941c0e-d906-422b-8ab0-06add8936edb" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_d5941c0e-d906-422b-8ab0-06add8936edb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_30554b1d-bbf2-4b30-aca1-32e77f62c0cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_d5941c0e-d906-422b-8ab0-06add8936edb" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_30554b1d-bbf2-4b30-aca1-32e77f62c0cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CallOptionMember_32ef77a6-2a15-4f5e-b99a-ab78469ed9af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CallOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_30554b1d-bbf2-4b30-aca1-32e77f62c0cb" xlink:to="loc_us-gaap_CallOptionMember_32ef77a6-2a15-4f5e-b99a-ab78469ed9af" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityStrikePrice1_84aa4a86-d047-4560-b21c-8715ed82c3c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OptionIndexedToIssuersEquityStrikePrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_92b37fb6-1439-4d3d-9ffc-623b117cfe4e" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityStrikePrice1_84aa4a86-d047-4560-b21c-8715ed82c3c1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromtheComputationofDilutedNetlosspershareDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromtheComputationofDilutedNetlosspershareDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/NetLossPerShareScheduleofAntidilutiveSecuritiesExcludedfromtheComputationofDilutedNetlosspershareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_6c091e21-0bbf-4f34-a1fe-9c55c0325042" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_0b27761a-68eb-47c1-8dbc-6db1ac5592f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_6c091e21-0bbf-4f34-a1fe-9c55c0325042" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_0b27761a-68eb-47c1-8dbc-6db1ac5592f1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e66ecf42-166b-4d36-bb76-d819cdc66424" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_0b27761a-68eb-47c1-8dbc-6db1ac5592f1" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e66ecf42-166b-4d36-bb76-d819cdc66424" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_e66ecf42-166b-4d36-bb76-d819cdc66424_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e66ecf42-166b-4d36-bb76-d819cdc66424" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_e66ecf42-166b-4d36-bb76-d819cdc66424_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_190ee696-8100-47d2-b065-6e12f21127d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e66ecf42-166b-4d36-bb76-d819cdc66424" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_190ee696-8100-47d2-b065-6e12f21127d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_13860173-4f64-41f8-a809-77e42c9b10b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_190ee696-8100-47d2-b065-6e12f21127d9" xlink:to="loc_us-gaap_EmployeeStockOptionMember_13860173-4f64-41f8-a809-77e42c9b10b1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_0bddf317-f69f-4b80-a798-ed330b115c81" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_190ee696-8100-47d2-b065-6e12f21127d9" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_0bddf317-f69f-4b80-a798-ed330b115c81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_EarlyExercisedEmployeeStockOptionMember_8d7d0af7-208d-4126-8686-4b35ff8c4d32" xlink:href="mdb-20240131.xsd#mdb_EarlyExercisedEmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_190ee696-8100-47d2-b065-6e12f21127d9" xlink:to="loc_mdb_EarlyExercisedEmployeeStockOptionMember_8d7d0af7-208d-4126-8686-4b35ff8c4d32" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_f74ac077-32d6-48b8-8210-b758f38092be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_190ee696-8100-47d2-b065-6e12f21127d9" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_f74ac077-32d6-48b8-8210-b758f38092be" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_b2b8e3a4-3718-4376-a4d0-3b28937b9a16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_190ee696-8100-47d2-b065-6e12f21127d9" xlink:to="loc_us-gaap_PerformanceSharesMember_b2b8e3a4-3718-4376-a4d0-3b28937b9a16" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_27cad9dc-a9d1-4618-89b5-d4f07255ca52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_0b27761a-68eb-47c1-8dbc-6db1ac5592f1" xlink:to="loc_us-gaap_StatementClassOfStockAxis_27cad9dc-a9d1-4618-89b5-d4f07255ca52" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_27cad9dc-a9d1-4618-89b5-d4f07255ca52_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_27cad9dc-a9d1-4618-89b5-d4f07255ca52" xlink:to="loc_us-gaap_ClassOfStockDomain_27cad9dc-a9d1-4618-89b5-d4f07255ca52_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_1854a42b-4ffe-4e7b-8736-d7b6991a8915" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_27cad9dc-a9d1-4618-89b5-d4f07255ca52" xlink:to="loc_us-gaap_ClassOfStockDomain_1854a42b-4ffe-4e7b-8736-d7b6991a8915" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_3f945932-260f-4427-a0b8-97479e1f0521" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1854a42b-4ffe-4e7b-8736-d7b6991a8915" xlink:to="loc_us-gaap_CommonClassAMember_3f945932-260f-4427-a0b8-97479e1f0521" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_d67abe8b-4ee6-4e3b-8746-b3e08bf22c78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1854a42b-4ffe-4e7b-8736-d7b6991a8915" xlink:to="loc_us-gaap_CommonClassBMember_d67abe8b-4ee6-4e3b-8746-b3e08bf22c78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_c5c21bf6-ebf5-46bd-a3c7-5c43bdf97bea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_0b27761a-68eb-47c1-8dbc-6db1ac5592f1" xlink:to="loc_us-gaap_DebtInstrumentAxis_c5c21bf6-ebf5-46bd-a3c7-5c43bdf97bea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_c5c21bf6-ebf5-46bd-a3c7-5c43bdf97bea_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_c5c21bf6-ebf5-46bd-a3c7-5c43bdf97bea" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_c5c21bf6-ebf5-46bd-a3c7-5c43bdf97bea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0fabd23f-c84e-4d84-b100-56d636489fbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_c5c21bf6-ebf5-46bd-a3c7-5c43bdf97bea" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0fabd23f-c84e-4d84-b100-56d636489fbf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2024Member_5e92718d-105e-4ea8-9c3d-b908166e255f" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fabd23f-c84e-4d84-b100-56d636489fbf" xlink:to="loc_mdb_ConvertibleNotesDue2024Member_5e92718d-105e-4ea8-9c3d-b908166e255f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ConvertibleNotesDue2026Member_a7d0ab16-8e93-4c8c-ae9b-ee5f7e73cce4" xlink:href="mdb-20240131.xsd#mdb_ConvertibleNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fabd23f-c84e-4d84-b100-56d636489fbf" xlink:to="loc_mdb_ConvertibleNotesDue2026Member_a7d0ab16-8e93-4c8c-ae9b-ee5f7e73cce4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_26791321-0640-4ba4-9f4d-4cf0fa4b8b77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_6c091e21-0bbf-4f34-a1fe-9c55c0325042" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_26791321-0640-4ba4-9f4d-4cf0fa4b8b77" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mongodb.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="simple" xlink:href="mdb-20240131.xsd#IncomeTaxesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mongodb.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_ded9405c-3231-4c31-87ee-dcdbc4436dad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLossCarryforwardsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_b279803c-01e9-4812-b0f4-f5c3c0b6db1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLossCarryforwardsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ded9405c-3231-4c31-87ee-dcdbc4436dad" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_b279803c-01e9-4812-b0f4-f5c3c0b6db1b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_ec946587-7386-4ce4-a3ca-33bf47a1b401" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_b279803c-01e9-4812-b0f4-f5c3c0b6db1b" xlink:to="loc_srt_StatementGeographicalAxis_ec946587-7386-4ce4-a3ca-33bf47a1b401" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_ec946587-7386-4ce4-a3ca-33bf47a1b401_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_ec946587-7386-4ce4-a3ca-33bf47a1b401" xlink:to="loc_srt_SegmentGeographicalDomain_ec946587-7386-4ce4-a3ca-33bf47a1b401_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_d08825a0-c6f9-4d2b-bdde-c75c0baa1abd" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_ec946587-7386-4ce4-a3ca-33bf47a1b401" xlink:to="loc_srt_SegmentGeographicalDomain_d08825a0-c6f9-4d2b-bdde-c75c0baa1abd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_IE_9f852acf-bffd-4102-8744-0ce56dfd1886" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_IE"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_d08825a0-c6f9-4d2b-bdde-c75c0baa1abd" xlink:to="loc_country_IE_9f852acf-bffd-4102-8744-0ce56dfd1886" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_590c3afd-4c89-443c-8102-7470bb08b8a2" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_d08825a0-c6f9-4d2b-bdde-c75c0baa1abd" xlink:to="loc_country_GB_590c3afd-4c89-443c-8102-7470bb08b8a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_a9d990f3-e2f8-40b6-928d-007df49c7929" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxCreditCarryforwardAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_b279803c-01e9-4812-b0f4-f5c3c0b6db1b" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_a9d990f3-e2f8-40b6-928d-007df49c7929" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_a9d990f3-e2f8-40b6-928d-007df49c7929_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_a9d990f3-e2f8-40b6-928d-007df49c7929" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_a9d990f3-e2f8-40b6-928d-007df49c7929_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_2d5157d5-007c-48ba-8553-3064b75853a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_a9d990f3-e2f8-40b6-928d-007df49c7929" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_2d5157d5-007c-48ba-8553-3064b75853a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchMember_5887d72c-ad6d-4e6f-96bb-1e30641f6f28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_2d5157d5-007c-48ba-8553-3064b75853a2" xlink:to="loc_us-gaap_ResearchMember_5887d72c-ad6d-4e6f-96bb-1e30641f6f28" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_CharitableContributionCarryforwardMember_b367004b-b585-42d6-aee6-76d6adaa21b9" xlink:href="mdb-20240131.xsd#mdb_CharitableContributionCarryforwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_2d5157d5-007c-48ba-8553-3064b75853a2" xlink:to="loc_mdb_CharitableContributionCarryforwardMember_b367004b-b585-42d6-aee6-76d6adaa21b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_67eb8b76-b5c2-4734-b125-a107cfddb8e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_b279803c-01e9-4812-b0f4-f5c3c0b6db1b" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_67eb8b76-b5c2-4734-b125-a107cfddb8e9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_67eb8b76-b5c2-4734-b125-a107cfddb8e9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_67eb8b76-b5c2-4734-b125-a107cfddb8e9" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_67eb8b76-b5c2-4734-b125-a107cfddb8e9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_a52c9bbc-7760-480a-ad30-faf431bc8926" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_67eb8b76-b5c2-4734-b125-a107cfddb8e9" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_a52c9bbc-7760-480a-ad30-faf431bc8926" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_0c2a63d7-548b-42d3-be5f-fc11275c8d2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_a52c9bbc-7760-480a-ad30-faf431bc8926" xlink:to="loc_us-gaap_DomesticCountryMember_0c2a63d7-548b-42d3-be5f-fc11275c8d2f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_284236f6-87e1-4fd7-b293-bf98e8e4d380" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_a52c9bbc-7760-480a-ad30-faf431bc8926" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_284236f6-87e1-4fd7-b293-bf98e8e4d380" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCountryMember_4a72ff89-f4ca-4420-b60c-ff94809a8196" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ForeignCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_a52c9bbc-7760-480a-ad30-faf431bc8926" xlink:to="loc_us-gaap_ForeignCountryMember_4a72ff89-f4ca-4420-b60c-ff94809a8196" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_6d0c2c51-5020-42df-92e0-1c613666bcaa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ded9405c-3231-4c31-87ee-dcdbc4436dad" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_6d0c2c51-5020-42df-92e0-1c613666bcaa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_9c895ae5-d252-405d-8c3a-7a40efae7940" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ded9405c-3231-4c31-87ee-dcdbc4436dad" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_9c895ae5-d252-405d-8c3a-7a40efae7940" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_f76c9dd0-27ef-4271-ac7e-065e6048a1b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ded9405c-3231-4c31-87ee-dcdbc4436dad" xlink:to="loc_us-gaap_OperatingLossCarryforwards_f76c9dd0-27ef-4271-ac7e-065e6048a1b0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_75cf3ad9-0a76-4140-8656-52c5315ff2f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxCreditCarryforwardAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ded9405c-3231-4c31-87ee-dcdbc4436dad" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_75cf3ad9-0a76-4140-8656-52c5315ff2f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_4a3bdb9d-8151-44de-b0a0-f17535636a44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ded9405c-3231-4c31-87ee-dcdbc4436dad" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_4a3bdb9d-8151-44de-b0a0-f17535636a44" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit_c7805743-a9bf-4944-8bb3-59e15ce9c0e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_ded9405c-3231-4c31-87ee-dcdbc4436dad" xlink:to="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit_c7805743-a9bf-4944-8bb3-59e15ce9c0e1" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/TradingArrangementsOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#TradingArrangmentsOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/role/TradingArrangementsOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllTradingArrangementsMember" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#ecd_AllTradingArrangementsMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ChipHazardRuleTradingArrangementCommonStockUnderlyingStockOptionsMember_2be9dd0f-bc61-47ad-a452-1713ccb3ac0a" xlink:href="mdb-20240131.xsd#mdb_ChipHazardRuleTradingArrangementCommonStockUnderlyingStockOptionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllTradingArrangementsMember" xlink:to="loc_mdb_ChipHazardRuleTradingArrangementCommonStockUnderlyingStockOptionsMember_2be9dd0f-bc61-47ad-a452-1713ccb3ac0a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ChipHazardRuleTradingArrangementCommonStockDerivedFromFormulaMember_bb014651-3600-47a3-b510-05541c4db417" xlink:href="mdb-20240131.xsd#mdb_ChipHazardRuleTradingArrangementCommonStockDerivedFromFormulaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllTradingArrangementsMember" xlink:to="loc_mdb_ChipHazardRuleTradingArrangementCommonStockDerivedFromFormulaMember_bb014651-3600-47a3-b510-05541c4db417" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#AwardTypeOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_PerformanceSharesMember" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_EmployeeStockMember" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#IndividualsOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllIndividualsMember" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#ecd_AllIndividualsMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_HopeCochranMember_0f3c7731-2449-4772-ab90-c1acbd762022" xlink:href="mdb-20240131.xsd#mdb_HopeCochranMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_mdb_HopeCochranMember_0f3c7731-2449-4772-ab90-c1acbd762022" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ChipHazardMember_7cce68bb-61ea-4b6c-8421-9eb30ced61a3" xlink:href="mdb-20240131.xsd#mdb_ChipHazardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_mdb_ChipHazardMember_7cce68bb-61ea-4b6c-8421-9eb30ced61a3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdb_ArchanaAgrawalMember_8ef89ef7-205f-47fc-98c0-c64a832e3c92" xlink:href="mdb-20240131.xsd#mdb_ArchanaAgrawalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_mdb_ArchanaAgrawalMember_8ef89ef7-205f-47fc-98c0-c64a832e3c92" xlink:type="arc" order="4"/>
  </link:definitionLink>
</link:linkbase>
