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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:b84b598f-efb0-4765-a80f-25761610a2ae,g:5914c995-315a-479b-99de-0277480d37db-->
<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.bandwidth.com/role/Cover" xlink:type="simple" xlink:href="band-20240331.xsd#Cover"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/Cover" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitiesTable_9a1e10d3-7fdb-4faf-af14-bb4bd109d3fe" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntitiesTable_9a1e10d3-7fdb-4faf-af14-bb4bd109d3fe" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0a9af129-196b-4ea9-83ef-cde05e354bfc" 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_dei_EntitiesTable_9a1e10d3-7fdb-4faf-af14-bb4bd109d3fe" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0a9af129-196b-4ea9-83ef-cde05e354bfc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_0a9af129-196b-4ea9-83ef-cde05e354bfc_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_0a9af129-196b-4ea9-83ef-cde05e354bfc" xlink:to="loc_us-gaap_ClassOfStockDomain_0a9af129-196b-4ea9-83ef-cde05e354bfc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ae093e2f-20d5-480a-93e3-ce222b4948a6" 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_0a9af129-196b-4ea9-83ef-cde05e354bfc" xlink:to="loc_us-gaap_ClassOfStockDomain_ae093e2f-20d5-480a-93e3-ce222b4948a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_7d17c218-73ec-47f9-8670-a2324148f5c4" 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_ae093e2f-20d5-480a-93e3-ce222b4948a6" xlink:to="loc_us-gaap_CommonClassAMember_7d17c218-73ec-47f9-8670-a2324148f5c4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_5a59dfdd-d68f-4e0f-892e-85c6b02804a2" 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_ae093e2f-20d5-480a-93e3-ce222b4948a6" xlink:to="loc_us-gaap_CommonClassBMember_5a59dfdd-d68f-4e0f-892e-85c6b02804a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_4166af39-da6a-44ef-926b-f58a7bbdebe4" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_DocumentType_4166af39-da6a-44ef-926b-f58a7bbdebe4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentQuarterlyReport_e5a7868a-0902-4632-8f14-0cc5eab17281" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentQuarterlyReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_DocumentQuarterlyReport_e5a7868a-0902-4632-8f14-0cc5eab17281" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_a3c1e19d-3618-4cf0-90ea-f50edf947ecc" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_DocumentPeriodEndDate_a3c1e19d-3618-4cf0-90ea-f50edf947ecc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_622f2d0e-8ed1-4052-b21e-f067395f0919" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_DocumentTransitionReport_622f2d0e-8ed1-4052-b21e-f067395f0919" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_cacc717f-91b1-407a-acee-d24407e9f588" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityFileNumber_cacc717f-91b1-407a-acee-d24407e9f588" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_5752c67a-c668-4589-9752-ee0ee06a1e7a" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityRegistrantName_5752c67a-c668-4589-9752-ee0ee06a1e7a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_5744b40e-ba39-4180-ae98-196a4e411c59" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityIncorporationStateCountryCode_5744b40e-ba39-4180-ae98-196a4e411c59" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_3781a412-b574-45c7-a489-e29ff7ee1f3a" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityTaxIdentificationNumber_3781a412-b574-45c7-a489-e29ff7ee1f3a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_777e61fb-7320-4efc-8b4b-888440433ea4" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityAddressAddressLine1_777e61fb-7320-4efc-8b4b-888440433ea4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_0348089a-c280-454c-8d7d-ed3718fced97" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityAddressCityOrTown_0348089a-c280-454c-8d7d-ed3718fced97" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_3c0b88ae-853c-41d4-b79e-d77dcaa112f6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityAddressStateOrProvince_3c0b88ae-853c-41d4-b79e-d77dcaa112f6" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_05239c50-c0c6-4237-b26d-ee278dfb140e" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityAddressPostalZipCode_05239c50-c0c6-4237-b26d-ee278dfb140e" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_75f3390a-04b4-4d07-b468-e61bd0ed182f" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_CityAreaCode_75f3390a-04b4-4d07-b468-e61bd0ed182f" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_d4668833-9fc1-4718-a2b6-5aae038f5959" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_LocalPhoneNumber_d4668833-9fc1-4718-a2b6-5aae038f5959" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_e31cc1cd-b020-483d-9674-adf4d8daffd6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_Security12bTitle_e31cc1cd-b020-483d-9674-adf4d8daffd6" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_82cc3f14-3969-4b97-a0f3-8bf729bde489" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_TradingSymbol_82cc3f14-3969-4b97-a0f3-8bf729bde489" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_97b754c5-e815-454e-aa47-81101d58bef6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_SecurityExchangeName_97b754c5-e815-454e-aa47-81101d58bef6" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_9da3ed98-0d4f-4ba3-96c0-5dc562ef86cf" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityCurrentReportingStatus_9da3ed98-0d4f-4ba3-96c0-5dc562ef86cf" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_05ff54c0-f979-4fdc-86cd-149ddd1534d2" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityInteractiveDataCurrent_05ff54c0-f979-4fdc-86cd-149ddd1534d2" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_30c652cd-90c9-47b0-ab6f-c05e441d5119" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityFilerCategory_30c652cd-90c9-47b0-ab6f-c05e441d5119" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_f25a5bca-7835-4e91-b9fa-d51b923a552e" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntitySmallBusiness_f25a5bca-7835-4e91-b9fa-d51b923a552e" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_506a5f98-2f70-40a6-be63-109cdab57803" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityEmergingGrowthCompany_506a5f98-2f70-40a6-be63-109cdab57803" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_2ec8b1ad-0a20-40d4-8f08-dd044ac2574c" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityShellCompany_2ec8b1ad-0a20-40d4-8f08-dd044ac2574c" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_f933e195-c90a-479c-9bb8-aa2853f341ad" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_f933e195-c90a-479c-9bb8-aa2853f341ad" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_f5cb2e34-48d3-4bc0-b3fe-9bc9d5f60354" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_EntityCentralIndexKey_f5cb2e34-48d3-4bc0-b3fe-9bc9d5f60354" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_551dbe85-d7ac-4187-9e66-14f7e699ba59" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_DocumentFiscalYearFocus_551dbe85-d7ac-4187-9e66-14f7e699ba59" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_1429e486-ee13-42b0-a7a5-ddf6023ad43c" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_DocumentFiscalPeriodFocus_1429e486-ee13-42b0-a7a5-ddf6023ad43c" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_583ab978-51f0-4dbb-8a69-7f387fcdc42d" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_AmendmentFlag_583ab978-51f0-4dbb-8a69-7f387fcdc42d" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_68f9f8fd-05b2-4f62-baa3-a2e6b34c0f92" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_d20c4373-e4a7-4b71-a2f1-2af9fe874a76" xlink:to="loc_dei_CurrentFiscalYearEndDate_68f9f8fd-05b2-4f62-baa3-a2e6b34c0f92" xlink:type="arc" order="28"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="band-20240331.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_230bbbf2-4317-4a0c-9109-c9082ae1808c" 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_f4792a92-1d98-4071-9c79-e190a373a082" 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_230bbbf2-4317-4a0c-9109-c9082ae1808c" xlink:to="loc_us-gaap_StatementTable_f4792a92-1d98-4071-9c79-e190a373a082" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_50196899-0926-4f50-8096-39318650cd6b" 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_f4792a92-1d98-4071-9c79-e190a373a082" xlink:to="loc_us-gaap_StatementClassOfStockAxis_50196899-0926-4f50-8096-39318650cd6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_50196899-0926-4f50-8096-39318650cd6b_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_50196899-0926-4f50-8096-39318650cd6b" xlink:to="loc_us-gaap_ClassOfStockDomain_50196899-0926-4f50-8096-39318650cd6b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_fed5581e-9f8a-438e-8e69-11c0b0eb86bf" 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_50196899-0926-4f50-8096-39318650cd6b" xlink:to="loc_us-gaap_ClassOfStockDomain_fed5581e-9f8a-438e-8e69-11c0b0eb86bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_a1041cc9-8bc6-4670-b5ea-ace7f1e51d91" 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_fed5581e-9f8a-438e-8e69-11c0b0eb86bf" xlink:to="loc_us-gaap_CommonClassAMember_a1041cc9-8bc6-4670-b5ea-ace7f1e51d91" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_9d1a22b0-58e9-409d-8690-a9a2cf2c113e" 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_fed5581e-9f8a-438e-8e69-11c0b0eb86bf" xlink:to="loc_us-gaap_CommonClassBMember_9d1a22b0-58e9-409d-8690-a9a2cf2c113e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_a1da3677-42f2-41a6-8bbb-00790102f359" 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_230bbbf2-4317-4a0c-9109-c9082ae1808c" xlink:to="loc_us-gaap_AssetsAbstract_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_c895aec0-3cce-4e4d-a9a7-7f976430a1ed" 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_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:to="loc_us-gaap_AssetsCurrentAbstract_c895aec0-3cce-4e4d-a9a7-7f976430a1ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c3e0a639-f631-4b01-84b0-30de2e988059" 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_c895aec0-3cce-4e4d-a9a7-7f976430a1ed" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c3e0a639-f631-4b01-84b0-30de2e988059" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_2270727a-4276-488b-a75c-c03a3fd42f57" 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_AssetsCurrentAbstract_c895aec0-3cce-4e4d-a9a7-7f976430a1ed" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_2270727a-4276-488b-a75c-c03a3fd42f57" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_bc96ed55-f087-421c-b7dc-b6a4f7cc20a3" 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_c895aec0-3cce-4e4d-a9a7-7f976430a1ed" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_bc96ed55-f087-421c-b7dc-b6a4f7cc20a3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsCurrent_a00cd164-1081-418f-9c41-a6bdcb38cd2a" 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_c895aec0-3cce-4e4d-a9a7-7f976430a1ed" xlink:to="loc_us-gaap_DeferredCostsCurrent_a00cd164-1081-418f-9c41-a6bdcb38cd2a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_2c695811-e3f9-42e9-941b-f6c8b076c894" 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_c895aec0-3cce-4e4d-a9a7-7f976430a1ed" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_2c695811-e3f9-42e9-941b-f6c8b076c894" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_fa0f02af-c4cf-4837-a183-fdb79710bf46" 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_c895aec0-3cce-4e4d-a9a7-7f976430a1ed" xlink:to="loc_us-gaap_AssetsCurrent_fa0f02af-c4cf-4837-a183-fdb79710bf46" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_3979b290-17d8-41ff-bcb9-ee26086aa978" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_3979b290-17d8-41ff-bcb9-ee26086aa978" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_98f68f67-dc8f-41fc-ba9c-b48278fca66b" 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_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_98f68f67-dc8f-41fc-ba9c-b48278fca66b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2c0746f3-81c2-4de1-8646-6352174d41e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2c0746f3-81c2-4de1-8646-6352174d41e2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCosts_9106848b-6780-4db4-b41b-a23e5d1e2268" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:to="loc_us-gaap_DeferredCosts_9106848b-6780-4db4-b41b-a23e5d1e2268" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_55ecf5a3-4d77-4f0f-b5f5-0a654d8201aa" 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_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_55ecf5a3-4d77-4f0f-b5f5-0a654d8201aa" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_af0ef852-1dd8-4020-9ffb-fe4543f36409" 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_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:to="loc_us-gaap_Goodwill_af0ef852-1dd8-4020-9ffb-fe4543f36409" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_2d9e77e3-bbbf-4ce0-b526-128700a620cb" 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_a1da3677-42f2-41a6-8bbb-00790102f359" xlink:to="loc_us-gaap_Assets_2d9e77e3-bbbf-4ce0-b526-128700a620cb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_92994ffe-a60e-4cd8-9d8b-e9163db36e41" 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_230bbbf2-4317-4a0c-9109-c9082ae1808c" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_abed2cf4-8bac-488f-aefe-6c3c2582b4bd" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_abed2cf4-8bac-488f-aefe-6c3c2582b4bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_cf4bcbe3-7ba5-4dc7-bfb9-f1003b3a9e76" 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_abed2cf4-8bac-488f-aefe-6c3c2582b4bd" xlink:to="loc_us-gaap_AccountsPayableCurrent_cf4bcbe3-7ba5-4dc7-bfb9-f1003b3a9e76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_4f3f338a-43f5-4da4-a41b-cb239386dda8" 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_abed2cf4-8bac-488f-aefe-6c3c2582b4bd" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_4f3f338a-43f5-4da4-a41b-cb239386dda8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_ee600e15-f4f4-40e2-8232-e323613f78df" 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_abed2cf4-8bac-488f-aefe-6c3c2582b4bd" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_ee600e15-f4f4-40e2-8232-e323613f78df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerRefundLiability_13c382f2-0f04-4acc-83ec-b233339872a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerRefundLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_abed2cf4-8bac-488f-aefe-6c3c2582b4bd" xlink:to="loc_us-gaap_ContractWithCustomerRefundLiability_13c382f2-0f04-4acc-83ec-b233339872a0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_0d04ec26-ab67-4c0e-958f-4463457911dd" 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_abed2cf4-8bac-488f-aefe-6c3c2582b4bd" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_0d04ec26-ab67-4c0e-958f-4463457911dd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_3a42ccb5-2646-427e-a0ff-96eba3140b2e" 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_abed2cf4-8bac-488f-aefe-6c3c2582b4bd" xlink:to="loc_us-gaap_LiabilitiesCurrent_3a42ccb5-2646-427e-a0ff-96eba3140b2e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_c1ed882f-dc7f-496a-942b-31df1e40bf61" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_c1ed882f-dc7f-496a-942b-31df1e40bf61" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_273b6978-8986-4a27-9994-10c303465122" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_273b6978-8986-4a27-9994-10c303465122" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_166b0d6c-e630-43f2-8ab0-a3c527d7026d" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_166b0d6c-e630-43f2-8ab0-a3c527d7026d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_4a06e90a-f81b-4bc6-a8e0-579ac6fe896c" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_4a06e90a-f81b-4bc6-a8e0-579ac6fe896c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_2aeb44c6-ebb5-428b-a236-3cdd40e2a5e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_2aeb44c6-ebb5-428b-a236-3cdd40e2a5e2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_58944c2c-2c5d-4a48-b68d-dc5a0cca145c" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_Liabilities_58944c2c-2c5d-4a48-b68d-dc5a0cca145c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_41a2c77a-0295-4567-af39-8a24b3b54b00" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_CommitmentsAndContingencies_41a2c77a-0295-4567-af39-8a24b3b54b00" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_40fec6a8-22e1-46eb-b543-f59cb073a144" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_StockholdersEquityAbstract_40fec6a8-22e1-46eb-b543-f59cb073a144" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_acc7e382-b200-47ef-8301-1a437dc9ce88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_40fec6a8-22e1-46eb-b543-f59cb073a144" xlink:to="loc_us-gaap_PreferredStockValue_acc7e382-b200-47ef-8301-1a437dc9ce88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_f8cc5ac3-edd8-491c-9d92-4f5fdac75681" 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_40fec6a8-22e1-46eb-b543-f59cb073a144" xlink:to="loc_us-gaap_CommonStockValue_f8cc5ac3-edd8-491c-9d92-4f5fdac75681" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_9c4b8467-152d-4d9a-8e19-66821d7ca5f1" 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_40fec6a8-22e1-46eb-b543-f59cb073a144" xlink:to="loc_us-gaap_AdditionalPaidInCapital_9c4b8467-152d-4d9a-8e19-66821d7ca5f1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_2fe10b6f-6deb-48dd-947a-f4080de4c470" 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_40fec6a8-22e1-46eb-b543-f59cb073a144" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_2fe10b6f-6deb-48dd-947a-f4080de4c470" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_324bf7e6-2af3-404e-b414-768ee7532520" 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_40fec6a8-22e1-46eb-b543-f59cb073a144" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_324bf7e6-2af3-404e-b414-768ee7532520" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4c69c0b8-4b5b-4fd5-b3d0-b8bee160f1ed" 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_40fec6a8-22e1-46eb-b543-f59cb073a144" xlink:to="loc_us-gaap_StockholdersEquity_4c69c0b8-4b5b-4fd5-b3d0-b8bee160f1ed" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_b4072362-9761-478f-b6c2-7e172e2a8e0e" 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_92994ffe-a60e-4cd8-9d8b-e9163db36e41" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_b4072362-9761-478f-b6c2-7e172e2a8e0e" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="band-20240331.xsd#CondensedConsolidatedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" 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_3746bf9f-cd69-4b0f-b7a7-3e2c17ba57b7" 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_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_StatementTable_3746bf9f-cd69-4b0f-b7a7-3e2c17ba57b7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_959a2b85-b704-458d-a5e7-6fcd3871abfc" 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_3746bf9f-cd69-4b0f-b7a7-3e2c17ba57b7" xlink:to="loc_us-gaap_StatementClassOfStockAxis_959a2b85-b704-458d-a5e7-6fcd3871abfc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_959a2b85-b704-458d-a5e7-6fcd3871abfc_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_959a2b85-b704-458d-a5e7-6fcd3871abfc" xlink:to="loc_us-gaap_ClassOfStockDomain_959a2b85-b704-458d-a5e7-6fcd3871abfc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_030dd80b-154b-4d95-81e0-37801c828fd6" 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_959a2b85-b704-458d-a5e7-6fcd3871abfc" xlink:to="loc_us-gaap_ClassOfStockDomain_030dd80b-154b-4d95-81e0-37801c828fd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_e1010ea0-1c4e-4ca7-883d-36a4fc0cfd47" 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_030dd80b-154b-4d95-81e0-37801c828fd6" xlink:to="loc_us-gaap_CommonClassAMember_e1010ea0-1c4e-4ca7-883d-36a4fc0cfd47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_8b1af72c-2bee-4176-b2d0-66d36834845c" 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_030dd80b-154b-4d95-81e0-37801c828fd6" xlink:to="loc_us-gaap_CommonClassBMember_8b1af72c-2bee-4176-b2d0-66d36834845c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_1dd49756-711b-48be-8a2a-4f484528037f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_1dd49756-711b-48be-8a2a-4f484528037f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_b8cadf3a-aeff-4b68-9ee7-554111e23ea8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_b8cadf3a-aeff-4b68-9ee7-554111e23ea8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_9d9028c6-6c2e-4eac-89a6-45625727c5bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_PreferredStockSharesIssued_9d9028c6-6c2e-4eac-89a6-45625727c5bc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_5e6cb919-5c6a-49c4-a2b0-328f9b3ef4cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_5e6cb919-5c6a-49c4-a2b0-328f9b3ef4cc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_0cbbfe86-456e-4c59-875c-8c24d5eeb9d8" 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_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_0cbbfe86-456e-4c59-875c-8c24d5eeb9d8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_ec728500-2695-4fc8-ae1e-dea6f440fbec" 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_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_ec728500-2695-4fc8-ae1e-dea6f440fbec" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_9f169cec-fe54-4f83-aab5-51902a61e334" 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_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_CommonStockSharesIssued_9f169cec-fe54-4f83-aab5-51902a61e334" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_0ce7e0a4-9a7d-4b12-9b8f-3ed9be14dc9e" 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_StatementLineItems_cdfeafcc-46b3-4808-a3ea-d0f8de8eb041" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_0ce7e0a4-9a7d-4b12-9b8f-3ed9be14dc9e" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/CondensedConsolidatedStatementsofChangesinStockholdersEquity" xlink:type="simple" xlink:href="band-20240331.xsd#CondensedConsolidatedStatementsofChangesinStockholdersEquity"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/CondensedConsolidatedStatementsofChangesinStockholdersEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_c2eecfbb-d085-44d9-8640-1474be0c8524" 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_ab1f116a-7a15-4173-ab6d-0f8369c5da00" 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_c2eecfbb-d085-44d9-8640-1474be0c8524" xlink:to="loc_us-gaap_StatementTable_ab1f116a-7a15-4173-ab6d-0f8369c5da00" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_25dd7843-64ab-451d-ad0c-aad745c7079e" 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_ab1f116a-7a15-4173-ab6d-0f8369c5da00" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_25dd7843-64ab-451d-ad0c-aad745c7079e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_25dd7843-64ab-451d-ad0c-aad745c7079e_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_25dd7843-64ab-451d-ad0c-aad745c7079e" xlink:to="loc_us-gaap_EquityComponentDomain_25dd7843-64ab-451d-ad0c-aad745c7079e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_1062cb82-b644-447c-805a-0accd78dd6d7" 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_25dd7843-64ab-451d-ad0c-aad745c7079e" xlink:to="loc_us-gaap_EquityComponentDomain_1062cb82-b644-447c-805a-0accd78dd6d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_f4fcbde6-8709-4895-8640-432c0940b7f1" 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_1062cb82-b644-447c-805a-0accd78dd6d7" xlink:to="loc_us-gaap_CommonStockMember_f4fcbde6-8709-4895-8640-432c0940b7f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_adeeab64-1bc1-4604-8c28-4f5196d4f6e6" 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_1062cb82-b644-447c-805a-0accd78dd6d7" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_adeeab64-1bc1-4604-8c28-4f5196d4f6e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_76dafc99-adf7-40ae-8342-e11cae67c10f" 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_1062cb82-b644-447c-805a-0accd78dd6d7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_76dafc99-adf7-40ae-8342-e11cae67c10f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_3f9892ee-1af2-45fc-b16f-14910eba054e" 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_1062cb82-b644-447c-805a-0accd78dd6d7" xlink:to="loc_us-gaap_RetainedEarningsMember_3f9892ee-1af2-45fc-b16f-14910eba054e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_fb2a3678-8b5e-4b39-bd85-b70555da08ca" 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_ab1f116a-7a15-4173-ab6d-0f8369c5da00" xlink:to="loc_us-gaap_StatementClassOfStockAxis_fb2a3678-8b5e-4b39-bd85-b70555da08ca" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_fb2a3678-8b5e-4b39-bd85-b70555da08ca_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_fb2a3678-8b5e-4b39-bd85-b70555da08ca" xlink:to="loc_us-gaap_ClassOfStockDomain_fb2a3678-8b5e-4b39-bd85-b70555da08ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_41cb1e50-aa54-42f1-962b-d3537febbcc3" 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_fb2a3678-8b5e-4b39-bd85-b70555da08ca" xlink:to="loc_us-gaap_ClassOfStockDomain_41cb1e50-aa54-42f1-962b-d3537febbcc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_2292eccf-48fa-4b00-ab99-79a1e6333777" 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_41cb1e50-aa54-42f1-962b-d3537febbcc3" xlink:to="loc_us-gaap_CommonClassAMember_2292eccf-48fa-4b00-ab99-79a1e6333777" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_4059fbbb-b2d6-4da8-bcfb-ee0cd8454a64" 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_41cb1e50-aa54-42f1-962b-d3537febbcc3" xlink:to="loc_us-gaap_CommonClassBMember_4059fbbb-b2d6-4da8-bcfb-ee0cd8454a64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" 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_c2eecfbb-d085-44d9-8640-1474be0c8524" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_4fc5dcee-919a-4cc9-a8ba-9f3c90e1c2bd" 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_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_4fc5dcee-919a-4cc9-a8ba-9f3c90e1c2bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_fd46a4ab-8d3b-42a6-9060-6413531b28de" 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_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_StockholdersEquity_fd46a4ab-8d3b-42a6-9060-6413531b28de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_895543ba-cc06-40ca-8227-1df608059170" 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_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_895543ba-cc06-40ca-8227-1df608059170" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_d39d45e9-d496-4bd1-a9d5-b3ef7f76e2b3" 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_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_d39d45e9-d496-4bd1-a9d5-b3ef7f76e2b3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_677d49bf-4714-4ca0-a4fe-fe586ff01092" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_677d49bf-4714-4ca0-a4fe-fe586ff01092" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_c96b07c1-14a6-4411-be16-15904b4d28e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_c96b07c1-14a6-4411-be16-15904b4d28e1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_70da4dfd-a102-4b91-a7e0-27256249ee66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_70da4dfd-a102-4b91-a7e0-27256249ee66" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_4bdc1f80-273b-47f4-a740-ecdefaa78d56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_4bdc1f80-273b-47f4-a740-ecdefaa78d56" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_30e73c41-a181-4922-8d1f-f42385e911ef" 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_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_30e73c41-a181-4922-8d1f-f42385e911ef" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesUnrealizedGainLoss_81017870-35eb-4188-b2db-6ff27a998b0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_MarketableSecuritiesUnrealizedGainLoss_81017870-35eb-4188-b2db-6ff27a998b0d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_fd4f8210-6b53-4dd2-91c8-b7f755742bb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_fd4f8210-6b53-4dd2-91c8-b7f755742bb3" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_3fd57100-e395-4720-852c-5be9f8b36f18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_3fd57100-e395-4720-852c-5be9f8b36f18" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_ac7d537e-6bd6-4819-bef9-9bd0bf6f21c8" 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_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_ac7d537e-6bd6-4819-bef9-9bd0bf6f21c8" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7666ecce-28c3-45b9-92a5-3f50d091a4ab" 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_5a52d5c2-b42e-4603-a7d4-24e78d342f5e" xlink:to="loc_us-gaap_NetIncomeLoss_7666ecce-28c3-45b9-92a5-3f50d091a4ab" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_b71041e1-bcf6-4822-9f79-d034f7fde490" 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_010b0b9c-7ffe-496d-ac70-a6ba7761fc8c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/FairValueMeasurementsAssetsMeasuredatFairValueDetails" xlink:type="simple" xlink:href="band-20240331.xsd#FairValueMeasurementsAssetsMeasuredatFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/FairValueMeasurementsAssetsMeasuredatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" 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_19dd631f-2103-47b8-a49b-a6112d53cd12" 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_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_19dd631f-2103-47b8-a49b-a6112d53cd12" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1ef381d4-028b-4cd9-b5d0-18bcacf23e07" 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_19dd631f-2103-47b8-a49b-a6112d53cd12" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1ef381d4-028b-4cd9-b5d0-18bcacf23e07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_1ef381d4-028b-4cd9-b5d0-18bcacf23e07_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_1ef381d4-028b-4cd9-b5d0-18bcacf23e07" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_1ef381d4-028b-4cd9-b5d0-18bcacf23e07_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_9e494cc4-5d93-4778-96d1-a49adf4e73c6" 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_1ef381d4-028b-4cd9-b5d0-18bcacf23e07" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_9e494cc4-5d93-4778-96d1-a49adf4e73c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_4b7bb825-2f3c-437e-a139-9380064456f9" 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_9e494cc4-5d93-4778-96d1-a49adf4e73c6" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_4b7bb825-2f3c-437e-a139-9380064456f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_de7f1011-3167-45fb-8448-34b8083a406f" 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_19dd631f-2103-47b8-a49b-a6112d53cd12" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_de7f1011-3167-45fb-8448-34b8083a406f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_de7f1011-3167-45fb-8448-34b8083a406f_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_de7f1011-3167-45fb-8448-34b8083a406f" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_de7f1011-3167-45fb-8448-34b8083a406f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cbda4980-e877-4d1e-90ac-c50d64f001d4" 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_de7f1011-3167-45fb-8448-34b8083a406f" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cbda4980-e877-4d1e-90ac-c50d64f001d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_3009b21b-e684-4bb8-bcd7-3b856e2ab613" 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_cbda4980-e877-4d1e-90ac-c50d64f001d4" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_3009b21b-e684-4bb8-bcd7-3b856e2ab613" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_eba96241-6f29-4a2d-9122-5dfa7031a5fc" 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_cbda4980-e877-4d1e-90ac-c50d64f001d4" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_eba96241-6f29-4a2d-9122-5dfa7031a5fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_d7ad0768-6fb7-4f8b-8318-db0eeb5e3f7c" 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_cbda4980-e877-4d1e-90ac-c50d64f001d4" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_d7ad0768-6fb7-4f8b-8318-db0eeb5e3f7c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_1d20641c-3a0f-47e2-b54e-ab41b749509e" 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_19dd631f-2103-47b8-a49b-a6112d53cd12" xlink:to="loc_us-gaap_FinancialInstrumentAxis_1d20641c-3a0f-47e2-b54e-ab41b749509e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1d20641c-3a0f-47e2-b54e-ab41b749509e_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_1d20641c-3a0f-47e2-b54e-ab41b749509e" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1d20641c-3a0f-47e2-b54e-ab41b749509e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_656be106-e589-41bb-a189-a8b8fe59e505" 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_1d20641c-3a0f-47e2-b54e-ab41b749509e" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_656be106-e589-41bb-a189-a8b8fe59e505" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_fb1a661a-cf91-4e36-8573-ba3383d010e8" 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_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_656be106-e589-41bb-a189-a8b8fe59e505" xlink:to="loc_us-gaap_MoneyMarketFundsMember_fb1a661a-cf91-4e36-8573-ba3383d010e8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankTimeDepositsMember_71f16539-7d7b-49ac-8ee6-65d5dec9bd97" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BankTimeDepositsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_656be106-e589-41bb-a189-a8b8fe59e505" xlink:to="loc_us-gaap_BankTimeDepositsMember_71f16539-7d7b-49ac-8ee6-65d5dec9bd97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPaperMember_e1495248-2ea8-45e9-a82e-78d5198fd140" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommercialPaperMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_656be106-e589-41bb-a189-a8b8fe59e505" xlink:to="loc_us-gaap_CommercialPaperMember_e1495248-2ea8-45e9-a82e-78d5198fd140" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_f9d63770-1eef-4007-a47a-10295c9ae6d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_656be106-e589-41bb-a189-a8b8fe59e505" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_f9d63770-1eef-4007-a47a-10295c9ae6d8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d1ded2b1-18c8-4274-80e7-76ac1543cf71" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d1ded2b1-18c8-4274-80e7-76ac1543cf71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_9f0e4240-6461-4fd0-aa7c-8385da4df1c2" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_9f0e4240-6461-4fd0-aa7c-8385da4df1c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_684d2645-9717-445e-8e6a-4377fbb58102" 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_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_684d2645-9717-445e-8e6a-4377fbb58102" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_209f0e7d-4352-4415-8ffb-7f76a7fc31ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_209f0e7d-4352-4415-8ffb-7f76a7fc31ae" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7a7ea3ab-75fd-49c1-9c66-9152c1866c7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7a7ea3ab-75fd-49c1-9c66-9152c1866c7c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_47459b92-8582-4bc5-81a0-fc8fd6248fc9" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_47459b92-8582-4bc5-81a0-fc8fd6248fc9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_0d26e528-ab57-4021-a45a-5090d035996c" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_c0919b1b-28f3-4d03-b94e-37c53e7afbd5" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_0d26e528-ab57-4021-a45a-5090d035996c" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/FairValueMeasurementsAdditionalInformationDetails" xlink:type="simple" xlink:href="band-20240331.xsd#FairValueMeasurementsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/FairValueMeasurementsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_58c0b273-e128-40f8-91a0-d10ddf6b8f73" 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_d39f770e-b2c3-4b42-bdf3-4a6c0a2a115f" 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_58c0b273-e128-40f8-91a0-d10ddf6b8f73" xlink:to="loc_us-gaap_DebtInstrumentTable_d39f770e-b2c3-4b42-bdf3-4a6c0a2a115f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_9e60457a-65bb-42af-91d2-996e928f696f" 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_d39f770e-b2c3-4b42-bdf3-4a6c0a2a115f" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_9e60457a-65bb-42af-91d2-996e928f696f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9e60457a-65bb-42af-91d2-996e928f696f_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_9e60457a-65bb-42af-91d2-996e928f696f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9e60457a-65bb-42af-91d2-996e928f696f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_c4cbf1ef-b463-4338-aa06-b264fce3e90c" 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_9e60457a-65bb-42af-91d2-996e928f696f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_c4cbf1ef-b463-4338-aa06-b264fce3e90c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_30506051-5993-4150-9cd3-1cca6ec12591" 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_c4cbf1ef-b463-4338-aa06-b264fce3e90c" xlink:to="loc_us-gaap_ConvertibleDebtMember_30506051-5993-4150-9cd3-1cca6ec12591" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_14c09fbc-51a2-4b88-9d4c-fc384698148a" 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_d39f770e-b2c3-4b42-bdf3-4a6c0a2a115f" xlink:to="loc_us-gaap_DebtInstrumentAxis_14c09fbc-51a2-4b88-9d4c-fc384698148a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_14c09fbc-51a2-4b88-9d4c-fc384698148a_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_14c09fbc-51a2-4b88-9d4c-fc384698148a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_14c09fbc-51a2-4b88-9d4c-fc384698148a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d7a27ec5-c9b5-451b-8c17-89e761b98b70" 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_14c09fbc-51a2-4b88-9d4c-fc384698148a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d7a27ec5-c9b5-451b-8c17-89e761b98b70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_09dcffd1-0e9b-4ac3-9424-7f7a660f489c" xlink:href="band-20240331.xsd#band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_d7a27ec5-c9b5-451b-8c17-89e761b98b70" xlink:to="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_09dcffd1-0e9b-4ac3-9424-7f7a660f489c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_cf5b0d86-ec11-4cf3-bc3f-104cd5b62ff2" xlink:href="band-20240331.xsd#band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_d7a27ec5-c9b5-451b-8c17-89e761b98b70" xlink:to="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_cf5b0d86-ec11-4cf3-bc3f-104cd5b62ff2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_d78a69bb-a519-4f11-9986-228d936f04b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_58c0b273-e128-40f8-91a0-d10ddf6b8f73" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_d78a69bb-a519-4f11-9986-228d936f04b3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_4e5a54d3-75fc-4575-9320-0f1ba64f9412" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_58c0b273-e128-40f8-91a0-d10ddf6b8f73" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_4e5a54d3-75fc-4575-9320-0f1ba64f9412" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_e2ea9a5e-b192-454e-8c3d-e3d591208668" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_58c0b273-e128-40f8-91a0-d10ddf6b8f73" xlink:to="loc_us-gaap_InvestmentIncomeInterest_e2ea9a5e-b192-454e-8c3d-e3d591208668" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_49663935-a330-48f9-8bc1-d596b81dd3a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_58c0b273-e128-40f8-91a0-d10ddf6b8f73" xlink:to="loc_us-gaap_LongTermDebtFairValue_49663935-a330-48f9-8bc1-d596b81dd3a5" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/PropertyPlantandEquipmentSummaryofPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="band-20240331.xsd#PropertyPlantandEquipmentSummaryofPropertyandEquipmentNetDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/PropertyPlantandEquipmentSummaryofPropertyandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8864cf28-f137-42ce-801a-3bd61abdbb4e" 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_00921935-9b21-4a5b-91be-94a7a4d88c11" 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_8864cf28-f137-42ce-801a-3bd61abdbb4e" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_00921935-9b21-4a5b-91be-94a7a4d88c11" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_6137f449-b44b-4145-bf7c-a977dd274041" 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_00921935-9b21-4a5b-91be-94a7a4d88c11" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_6137f449-b44b-4145-bf7c-a977dd274041" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6137f449-b44b-4145-bf7c-a977dd274041_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_6137f449-b44b-4145-bf7c-a977dd274041" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6137f449-b44b-4145-bf7c-a977dd274041_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_532f90c4-d42f-4b60-8b89-de4317c80843" 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_6137f449-b44b-4145-bf7c-a977dd274041" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_4c45e2e9-8051-4893-b42a-9be0f4e80e56" 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_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_4c45e2e9-8051-4893-b42a-9be0f4e80e56" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ComputerAndOfficeEquipmentMember_dd0ef856-77c2-4571-b793-35fae8d85533" xlink:href="band-20240331.xsd#band_ComputerAndOfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_band_ComputerAndOfficeEquipmentMember_dd0ef856-77c2-4571-b793-35fae8d85533" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_TelecommunicationsEquipmentMember_75879a01-6691-437f-adf9-dd380bd66edd" xlink:href="band-20240331.xsd#band_TelecommunicationsEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_band_TelecommunicationsEquipmentMember_75879a01-6691-437f-adf9-dd380bd66edd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_1599f7fa-c6d6-48d3-9d02-e5fcd392839b" 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_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_1599f7fa-c6d6-48d3-9d02-e5fcd392839b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_e30aff14-3333-4fef-80c5-8b36c9671538" 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_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_e30aff14-3333-4fef-80c5-8b36c9671538" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_b3f4aa4a-6a47-4763-b7d6-5797c2753718" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SoftwareDevelopmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_b3f4aa4a-6a47-4763-b7d6-5797c2753718" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AutomobilesMember_935f8a0a-5817-4853-88d7-fb8dde9abc6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AutomobilesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_us-gaap_AutomobilesMember_935f8a0a-5817-4853-88d7-fb8dde9abc6c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_a7a91fdc-c3e5-4f7a-bfb8-64400927cc7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_us-gaap_LandMember_a7a91fdc-c3e5-4f7a-bfb8-64400927cc7a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandImprovementsMember_f64cd620-ab1e-40b7-b0bc-5e0db8a0ac04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LandImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_532f90c4-d42f-4b60-8b89-de4317c80843" xlink:to="loc_us-gaap_LandImprovementsMember_f64cd620-ab1e-40b7-b0bc-5e0db8a0ac04" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_db100b68-06fa-4e72-86e1-5cbd4c8b2e40" 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_00921935-9b21-4a5b-91be-94a7a4d88c11" xlink:to="loc_srt_RangeAxis_db100b68-06fa-4e72-86e1-5cbd4c8b2e40" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_db100b68-06fa-4e72-86e1-5cbd4c8b2e40_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_db100b68-06fa-4e72-86e1-5cbd4c8b2e40" xlink:to="loc_srt_RangeMember_db100b68-06fa-4e72-86e1-5cbd4c8b2e40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_17a076c6-ffe6-4920-87fa-c02683bae79a" 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_db100b68-06fa-4e72-86e1-5cbd4c8b2e40" xlink:to="loc_srt_RangeMember_17a076c6-ffe6-4920-87fa-c02683bae79a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_b806dcfb-0290-47ce-9e82-6a3401871dfa" 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_17a076c6-ffe6-4920-87fa-c02683bae79a" xlink:to="loc_srt_MaximumMember_b806dcfb-0290-47ce-9e82-6a3401871dfa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_e03547bf-6a3f-47c3-b866-98466db0e817" 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_17a076c6-ffe6-4920-87fa-c02683bae79a" xlink:to="loc_srt_MinimumMember_e03547bf-6a3f-47c3-b866-98466db0e817" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_347b4954-65c3-4ca2-a289-29643bc51bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8864cf28-f137-42ce-801a-3bd61abdbb4e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_347b4954-65c3-4ca2-a289-29643bc51bfd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_97a3822c-c791-432b-b4a8-f40e28cfc006" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8864cf28-f137-42ce-801a-3bd61abdbb4e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_97a3822c-c791-432b-b4a8-f40e28cfc006" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_c0f89ab5-de35-4b9a-983f-ecf40bc0ff11" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8864cf28-f137-42ce-801a-3bd61abdbb4e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_c0f89ab5-de35-4b9a-983f-ecf40bc0ff11" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/PropertyPlantandEquipmentDepreciationExpenseDetails" xlink:type="simple" xlink:href="band-20240331.xsd#PropertyPlantandEquipmentDepreciationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/PropertyPlantandEquipmentDepreciationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_62854d07-6ef0-4078-951d-49513decfa49" 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_bc1b032d-cc07-4e42-83be-749f9a8db656" 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_62854d07-6ef0-4078-951d-49513decfa49" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_bc1b032d-cc07-4e42-83be-749f9a8db656" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_e30ac704-dea6-4e75-8046-d1ef0770ef68" 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_ScheduleOfPropertyPlantAndEquipmentTable_bc1b032d-cc07-4e42-83be-749f9a8db656" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_e30ac704-dea6-4e75-8046-d1ef0770ef68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_e30ac704-dea6-4e75-8046-d1ef0770ef68_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_e30ac704-dea6-4e75-8046-d1ef0770ef68" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_e30ac704-dea6-4e75-8046-d1ef0770ef68_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_b45af76d-a0f9-42b0-8331-3bf30a7d486c" 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_e30ac704-dea6-4e75-8046-d1ef0770ef68" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_b45af76d-a0f9-42b0-8331-3bf30a7d486c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_6684d0a2-601f-4ddd-b2d8-b37ff8846c84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_b45af76d-a0f9-42b0-8331-3bf30a7d486c" xlink:to="loc_us-gaap_CostOfSalesMember_6684d0a2-601f-4ddd-b2d8-b37ff8846c84" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_3f47153e-ec52-4ef5-99b3-58ac8160ac25" 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_b45af76d-a0f9-42b0-8331-3bf30a7d486c" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_3f47153e-ec52-4ef5-99b3-58ac8160ac25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_bffdcac1-1e28-4a33-b5c6-8a252a889f5d" 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_b45af76d-a0f9-42b0-8331-3bf30a7d486c" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_bffdcac1-1e28-4a33-b5c6-8a252a889f5d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_cd5c63a1-e300-42f6-9a57-ac2b4d708909" 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_b45af76d-a0f9-42b0-8331-3bf30a7d486c" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_cd5c63a1-e300-42f6-9a57-ac2b4d708909" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_b36fc198-b9bf-4e08-9f5e-71d31c8874b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Depreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_62854d07-6ef0-4078-951d-49513decfa49" xlink:to="loc_us-gaap_Depreciation_b36fc198-b9bf-4e08-9f5e-71d31c8874b4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/GoodwillandIntangibleAssetsSummaryofIntangibleAssetsDetails" xlink:type="simple" xlink:href="band-20240331.xsd#GoodwillandIntangibleAssetsSummaryofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/GoodwillandIntangibleAssetsSummaryofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5c3bcffa-db6b-4376-aaaf-124eebc6e9e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_c127c89a-9970-4687-b3c1-1fd2c5517826" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5c3bcffa-db6b-4376-aaaf-124eebc6e9e9" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_c127c89a-9970-4687-b3c1-1fd2c5517826" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_b5fae20c-3150-49ef-8a5b-c2ff6ebb8fcf" 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_ScheduleOfFiniteLivedIntangibleAssetsTable_c127c89a-9970-4687-b3c1-1fd2c5517826" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_b5fae20c-3150-49ef-8a5b-c2ff6ebb8fcf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b5fae20c-3150-49ef-8a5b-c2ff6ebb8fcf_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_b5fae20c-3150-49ef-8a5b-c2ff6ebb8fcf" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b5fae20c-3150-49ef-8a5b-c2ff6ebb8fcf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_58a786dd-afa0-4a1d-86c9-1444a03dd0db" 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_b5fae20c-3150-49ef-8a5b-c2ff6ebb8fcf" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_58a786dd-afa0-4a1d-86c9-1444a03dd0db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_34b6a67e-b3d5-42d1-aa50-c638039bea2f" 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_58a786dd-afa0-4a1d-86c9-1444a03dd0db" xlink:to="loc_us-gaap_CustomerRelationshipsMember_34b6a67e-b3d5-42d1-aa50-c638039bea2f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_47d4c17f-ef77-4269-b303-f4625931ea59" 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_58a786dd-afa0-4a1d-86c9-1444a03dd0db" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_47d4c17f-ef77-4269-b303-f4625931ea59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_f5b5db56-f38d-4681-8e04-1af63c08b1cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_58a786dd-afa0-4a1d-86c9-1444a03dd0db" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_f5b5db56-f38d-4681-8e04-1af63c08b1cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_fb2d1073-1364-4ce9-89ce-b277c46f598b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_c127c89a-9970-4687-b3c1-1fd2c5517826" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_fb2d1073-1364-4ce9-89ce-b277c46f598b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_fb2d1073-1364-4ce9-89ce-b277c46f598b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_fb2d1073-1364-4ce9-89ce-b277c46f598b" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_fb2d1073-1364-4ce9-89ce-b277c46f598b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_a10f97c0-ee49-4946-80af-adaa9838a94c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_fb2d1073-1364-4ce9-89ce-b277c46f598b" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_a10f97c0-ee49-4946-80af-adaa9838a94c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicensingAgreementsMember_847704d7-1760-40a9-b7ee-dbee173c432a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LicensingAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_a10f97c0-ee49-4946-80af-adaa9838a94c" xlink:to="loc_us-gaap_LicensingAgreementsMember_847704d7-1760-40a9-b7ee-dbee173c432a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d8b8a0d7-ba2f-4550-82bf-559aa0f6f3fd" 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_ScheduleOfFiniteLivedIntangibleAssetsTable_c127c89a-9970-4687-b3c1-1fd2c5517826" xlink:to="loc_srt_RangeAxis_d8b8a0d7-ba2f-4550-82bf-559aa0f6f3fd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d8b8a0d7-ba2f-4550-82bf-559aa0f6f3fd_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_d8b8a0d7-ba2f-4550-82bf-559aa0f6f3fd" xlink:to="loc_srt_RangeMember_d8b8a0d7-ba2f-4550-82bf-559aa0f6f3fd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0d6dedf3-bd11-43de-9fed-f8abcf81ad21" 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_d8b8a0d7-ba2f-4550-82bf-559aa0f6f3fd" xlink:to="loc_srt_RangeMember_0d6dedf3-bd11-43de-9fed-f8abcf81ad21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_e4e46330-d364-484f-a982-f06d1666898e" 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_0d6dedf3-bd11-43de-9fed-f8abcf81ad21" xlink:to="loc_srt_MinimumMember_e4e46330-d364-484f-a982-f06d1666898e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_0784f6c1-4265-4224-96a1-2e0fac4dd24b" 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_0d6dedf3-bd11-43de-9fed-f8abcf81ad21" xlink:to="loc_srt_MaximumMember_0784f6c1-4265-4224-96a1-2e0fac4dd24b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_f1692153-28c8-4420-870a-23651f9d63bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_5c3bcffa-db6b-4376-aaaf-124eebc6e9e9" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_f1692153-28c8-4420-870a-23651f9d63bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_26926486-56fc-4e5d-9d8c-f5b8c5e06213" 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_IntangibleAssetsNetExcludingGoodwillAbstract_f1692153-28c8-4420-870a-23651f9d63bd" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_26926486-56fc-4e5d-9d8c-f5b8c5e06213" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_62cf0be4-dd92-4b45-ac4e-42947d0f67b7" 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_IntangibleAssetsNetExcludingGoodwillAbstract_f1692153-28c8-4420-870a-23651f9d63bd" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_62cf0be4-dd92-4b45-ac4e-42947d0f67b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_649e7210-3423-46d9-bb17-1f250962d614" 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_IntangibleAssetsNetExcludingGoodwillAbstract_f1692153-28c8-4420-870a-23651f9d63bd" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_649e7210-3423-46d9-bb17-1f250962d614" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_de3a2772-e977-4420-9c58-2308d718ada1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_f1692153-28c8-4420-870a-23651f9d63bd" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_de3a2772-e977-4420-9c58-2308d718ada1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_5957b146-5a60-4fba-8073-03429c65a36d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_f1692153-28c8-4420-870a-23651f9d63bd" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_5957b146-5a60-4fba-8073-03429c65a36d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_9e9613d7-4d51-40ce-97ef-9c87e03e3629" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_f1692153-28c8-4420-870a-23651f9d63bd" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_9e9613d7-4d51-40ce-97ef-9c87e03e3629" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/GoodwillandIntangibleAssetsAmortizationExpenseDetails" xlink:type="simple" xlink:href="band-20240331.xsd#GoodwillandIntangibleAssetsAmortizationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/GoodwillandIntangibleAssetsAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_cb7af0bf-65a6-4a94-b0f3-e98d1ac4e13a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_c5952a0e-a96b-47cc-bd0b-4d26b99bbc5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_cb7af0bf-65a6-4a94-b0f3-e98d1ac4e13a" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_c5952a0e-a96b-47cc-bd0b-4d26b99bbc5d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_0769e5fe-33e7-4387-8fd5-2a42c2e2b817" 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_ScheduleOfGoodwillTable_c5952a0e-a96b-47cc-bd0b-4d26b99bbc5d" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_0769e5fe-33e7-4387-8fd5-2a42c2e2b817" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_0769e5fe-33e7-4387-8fd5-2a42c2e2b817_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_0769e5fe-33e7-4387-8fd5-2a42c2e2b817" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_0769e5fe-33e7-4387-8fd5-2a42c2e2b817_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_b5e90497-b0d0-4ce7-a221-50b6265bbddd" 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_0769e5fe-33e7-4387-8fd5-2a42c2e2b817" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_b5e90497-b0d0-4ce7-a221-50b6265bbddd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_47e076de-dcf7-4ca5-a53e-9d9a9d48e761" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_b5e90497-b0d0-4ce7-a221-50b6265bbddd" xlink:to="loc_us-gaap_CostOfSalesMember_47e076de-dcf7-4ca5-a53e-9d9a9d48e761" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_cbdd4489-2d5e-464c-a71c-30bb5a7e8aef" 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_b5e90497-b0d0-4ce7-a221-50b6265bbddd" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_cbdd4489-2d5e-464c-a71c-30bb5a7e8aef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_c5bba523-1b89-4401-ab80-253eb8b6003e" 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_GoodwillLineItems_cb7af0bf-65a6-4a94-b0f3-e98d1ac4e13a" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_c5bba523-1b89-4401-ab80-253eb8b6003e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/DebtRevolvingLoanDetails" xlink:type="simple" xlink:href="band-20240331.xsd#DebtRevolvingLoanDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/DebtRevolvingLoanDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" 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_df0fffb8-76b3-4d88-90aa-4e1f455a7766" 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_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_us-gaap_DebtInstrumentTable_df0fffb8-76b3-4d88-90aa-4e1f455a7766" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_c5b82ff1-a325-4b3b-a4ac-36fbdd20fd21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_df0fffb8-76b3-4d88-90aa-4e1f455a7766" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_c5b82ff1-a325-4b3b-a4ac-36fbdd20fd21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_c5b82ff1-a325-4b3b-a4ac-36fbdd20fd21_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_c5b82ff1-a325-4b3b-a4ac-36fbdd20fd21" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_c5b82ff1-a325-4b3b-a4ac-36fbdd20fd21_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_36ed7538-a56b-4b5d-a6c1-c82c0be48fe6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_c5b82ff1-a325-4b3b-a4ac-36fbdd20fd21" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_36ed7538-a56b-4b5d-a6c1-c82c0be48fe6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_2367a6eb-b65b-4017-bdf4-4b1f0f2c0b8f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_36ed7538-a56b-4b5d-a6c1-c82c0be48fe6" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_2367a6eb-b65b-4017-bdf4-4b1f0f2c0b8f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_46f3b4f4-d910-4505-b943-6514df6d85ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNoncurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_36ed7538-a56b-4b5d-a6c1-c82c0be48fe6" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_46f3b4f4-d910-4505-b943-6514df6d85ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_21c740e6-1a17-437b-8510-a6879ee873d0" 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_df0fffb8-76b3-4d88-90aa-4e1f455a7766" xlink:to="loc_us-gaap_DebtInstrumentAxis_21c740e6-1a17-437b-8510-a6879ee873d0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_21c740e6-1a17-437b-8510-a6879ee873d0_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_21c740e6-1a17-437b-8510-a6879ee873d0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_21c740e6-1a17-437b-8510-a6879ee873d0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_28431e4c-0e51-446f-90a8-d20e7ff6971c" 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_21c740e6-1a17-437b-8510-a6879ee873d0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_28431e4c-0e51-446f-90a8-d20e7ff6971c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_BankOfAmericaCreditAgreementMember_f868560e-9205-47cd-8e18-af5820d8069c" xlink:href="band-20240331.xsd#band_BankOfAmericaCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_28431e4c-0e51-446f-90a8-d20e7ff6971c" xlink:to="loc_band_BankOfAmericaCreditAgreementMember_f868560e-9205-47cd-8e18-af5820d8069c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_60171fdb-6dc9-4d59-a941-8cfc29203763" 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_df0fffb8-76b3-4d88-90aa-4e1f455a7766" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_60171fdb-6dc9-4d59-a941-8cfc29203763" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_60171fdb-6dc9-4d59-a941-8cfc29203763_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_60171fdb-6dc9-4d59-a941-8cfc29203763" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_60171fdb-6dc9-4d59-a941-8cfc29203763_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f903d334-8fb7-4c00-a9bf-107bc4fa992c" 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_60171fdb-6dc9-4d59-a941-8cfc29203763" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f903d334-8fb7-4c00-a9bf-107bc4fa992c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_88401c60-2f2f-443e-9f5a-bbcbb30b248a" 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_f903d334-8fb7-4c00-a9bf-107bc4fa992c" xlink:to="loc_us-gaap_LineOfCreditMember_88401c60-2f2f-443e-9f5a-bbcbb30b248a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_6999f1bc-f06a-4fd6-98e3-f12fd003354d" 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_DebtInstrumentTable_df0fffb8-76b3-4d88-90aa-4e1f455a7766" xlink:to="loc_us-gaap_CreditFacilityAxis_6999f1bc-f06a-4fd6-98e3-f12fd003354d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_6999f1bc-f06a-4fd6-98e3-f12fd003354d_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_6999f1bc-f06a-4fd6-98e3-f12fd003354d" xlink:to="loc_us-gaap_CreditFacilityDomain_6999f1bc-f06a-4fd6-98e3-f12fd003354d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_4e8e2707-1cab-43c2-ab48-9674e0a8eed8" 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_6999f1bc-f06a-4fd6-98e3-f12fd003354d" xlink:to="loc_us-gaap_CreditFacilityDomain_4e8e2707-1cab-43c2-ab48-9674e0a8eed8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_4928a2d8-f8a2-44fb-9074-97c38b830ad7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_4e8e2707-1cab-43c2-ab48-9674e0a8eed8" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_4928a2d8-f8a2-44fb-9074-97c38b830ad7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_6c398669-e190-496c-ad4b-fe4319a19203" 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_4e8e2707-1cab-43c2-ab48-9674e0a8eed8" xlink:to="loc_us-gaap_LetterOfCreditMember_6c398669-e190-496c-ad4b-fe4319a19203" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BridgeLoanMember_10fa1e4b-e57c-4ba1-afff-36e10c872fef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BridgeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_4e8e2707-1cab-43c2-ab48-9674e0a8eed8" xlink:to="loc_us-gaap_BridgeLoanMember_10fa1e4b-e57c-4ba1-afff-36e10c872fef" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_b034cc97-ea1f-4730-b8a0-5ba2798f7b5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_df0fffb8-76b3-4d88-90aa-4e1f455a7766" xlink:to="loc_us-gaap_VariableRateAxis_b034cc97-ea1f-4730-b8a0-5ba2798f7b5d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_b034cc97-ea1f-4730-b8a0-5ba2798f7b5d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_b034cc97-ea1f-4730-b8a0-5ba2798f7b5d" xlink:to="loc_us-gaap_VariableRateDomain_b034cc97-ea1f-4730-b8a0-5ba2798f7b5d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_827a8a3d-8e06-49bf-9708-59d57dfa352c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_b034cc97-ea1f-4730-b8a0-5ba2798f7b5d" xlink:to="loc_us-gaap_VariableRateDomain_827a8a3d-8e06-49bf-9708-59d57dfa352c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_SecuredOvernightFinancingRateSOFRMember_fd168d01-9123-4c55-880d-cc56bb3f131a" xlink:href="band-20240331.xsd#band_SecuredOvernightFinancingRateSOFRMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_827a8a3d-8e06-49bf-9708-59d57dfa352c" xlink:to="loc_band_SecuredOvernightFinancingRateSOFRMember_fd168d01-9123-4c55-880d-cc56bb3f131a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_c85f590a-438d-4f2f-8296-a1ca5d70cd51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_827a8a3d-8e06-49bf-9708-59d57dfa352c" xlink:to="loc_us-gaap_BaseRateMember_c85f590a-438d-4f2f-8296-a1ca5d70cd51" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d7da371a-e1d1-45e6-a604-8bfbcf984182" 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_df0fffb8-76b3-4d88-90aa-4e1f455a7766" xlink:to="loc_srt_RangeAxis_d7da371a-e1d1-45e6-a604-8bfbcf984182" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d7da371a-e1d1-45e6-a604-8bfbcf984182_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_d7da371a-e1d1-45e6-a604-8bfbcf984182" xlink:to="loc_srt_RangeMember_d7da371a-e1d1-45e6-a604-8bfbcf984182_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b52e1797-0c0f-440c-8057-2355205e69e3" 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_d7da371a-e1d1-45e6-a604-8bfbcf984182" xlink:to="loc_srt_RangeMember_b52e1797-0c0f-440c-8057-2355205e69e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8cb4bb23-b2f5-4218-934c-5dd6ac9e1a57" 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_b52e1797-0c0f-440c-8057-2355205e69e3" xlink:to="loc_srt_MinimumMember_8cb4bb23-b2f5-4218-934c-5dd6ac9e1a57" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_52e61dcd-86c7-4efe-95f4-2f529c7ad517" 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_b52e1797-0c0f-440c-8057-2355205e69e3" xlink:to="loc_srt_MaximumMember_52e61dcd-86c7-4efe-95f4-2f529c7ad517" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_479b20a3-ac3e-4c15-b3c7-dc06f735b5e8" 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_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_479b20a3-ac3e-4c15-b3c7-dc06f735b5e8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_LineOfCreditFacilityAccordionFeatureIncreaseLimit_85d5b0e7-a730-4ddb-bac7-2f9f4939a029" xlink:href="band-20240331.xsd#band_LineOfCreditFacilityAccordionFeatureIncreaseLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_band_LineOfCreditFacilityAccordionFeatureIncreaseLimit_85d5b0e7-a730-4ddb-bac7-2f9f4939a029" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_LineOfCreditFacilityDaysPriorToMaturityDate_2e854874-8f96-4fa9-8e5e-4234e62d5442" xlink:href="band-20240331.xsd#band_LineOfCreditFacilityDaysPriorToMaturityDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_band_LineOfCreditFacilityDaysPriorToMaturityDate_2e854874-8f96-4fa9-8e5e-4234e62d5442" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DebtInstrumentAdditionalBasisSpreadOnVariableRate_60ca478b-1879-4678-a596-0f68022e2d65" xlink:href="band-20240331.xsd#band_DebtInstrumentAdditionalBasisSpreadOnVariableRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_band_DebtInstrumentAdditionalBasisSpreadOnVariableRate_60ca478b-1879-4678-a596-0f68022e2d65" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_0059fd49-69b4-4bbd-80c0-dad6fe388a93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_0059fd49-69b4-4bbd-80c0-dad6fe388a93" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_LineOfCreditFacilityCovenantConsecutiveQuarters_db2e9487-0fbb-4275-b9c4-6d08576240fe" xlink:href="band-20240331.xsd#band_LineOfCreditFacilityCovenantConsecutiveQuarters"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_band_LineOfCreditFacilityCovenantConsecutiveQuarters_db2e9487-0fbb-4275-b9c4-6d08576240fe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_d25d55d6-3c31-4e4e-a884-043b8e9d1fcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_d25d55d6-3c31-4e4e-a884-043b8e9d1fcc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_1c58e245-20b3-441c-993b-df9a32309eda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_1c58e245-20b3-441c-993b-df9a32309eda" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_c2907180-9108-417c-989e-82986d674b19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_228db387-9db2-4af3-9a61-6fa22df9abd7" xlink:to="loc_us-gaap_LineOfCredit_c2907180-9108-417c-989e-82986d674b19" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/Debt2026ConvertibleNotesDetails" xlink:type="simple" xlink:href="band-20240331.xsd#Debt2026ConvertibleNotesDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/Debt2026ConvertibleNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_36a09f64-a5b2-4365-b005-f123244d149c" 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_8c5205f1-982b-4437-b72a-f0f5cbe0ec63" 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_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_DebtInstrumentTable_8c5205f1-982b-4437-b72a-f0f5cbe0ec63" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_e7c54c20-bc21-479e-8fec-d287d34bab36" 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_8c5205f1-982b-4437-b72a-f0f5cbe0ec63" xlink:to="loc_us-gaap_DebtInstrumentAxis_e7c54c20-bc21-479e-8fec-d287d34bab36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_e7c54c20-bc21-479e-8fec-d287d34bab36_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_e7c54c20-bc21-479e-8fec-d287d34bab36" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_e7c54c20-bc21-479e-8fec-d287d34bab36_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_98866cde-a500-4019-a6a2-5e78a4bb1f0f" 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_e7c54c20-bc21-479e-8fec-d287d34bab36" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_98866cde-a500-4019-a6a2-5e78a4bb1f0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_3af661a3-ea19-4b97-b9e7-b19a2e604cf9" xlink:href="band-20240331.xsd#band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_98866cde-a500-4019-a6a2-5e78a4bb1f0f" xlink:to="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_3af661a3-ea19-4b97-b9e7-b19a2e604cf9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_a1fc0100-1a75-4fe9-b049-2f0b6a8e3665" 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_8c5205f1-982b-4437-b72a-f0f5cbe0ec63" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_a1fc0100-1a75-4fe9-b049-2f0b6a8e3665" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_a1fc0100-1a75-4fe9-b049-2f0b6a8e3665_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_a1fc0100-1a75-4fe9-b049-2f0b6a8e3665" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_a1fc0100-1a75-4fe9-b049-2f0b6a8e3665_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_2688b6f4-7667-4934-a195-e3fd7b6739d2" 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_a1fc0100-1a75-4fe9-b049-2f0b6a8e3665" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_2688b6f4-7667-4934-a195-e3fd7b6739d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_0031ab72-1b39-441a-97a0-93656b029a9d" 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_2688b6f4-7667-4934-a195-e3fd7b6739d2" xlink:to="loc_us-gaap_ConvertibleDebtMember_0031ab72-1b39-441a-97a0-93656b029a9d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_18c484e3-e491-4a86-b526-9bcf79a4dea6" 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_DebtInstrumentTable_8c5205f1-982b-4437-b72a-f0f5cbe0ec63" xlink:to="loc_us-gaap_StatementClassOfStockAxis_18c484e3-e491-4a86-b526-9bcf79a4dea6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_18c484e3-e491-4a86-b526-9bcf79a4dea6_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_18c484e3-e491-4a86-b526-9bcf79a4dea6" xlink:to="loc_us-gaap_ClassOfStockDomain_18c484e3-e491-4a86-b526-9bcf79a4dea6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_f75550b4-9bcd-4711-8ea3-e5299612a0b3" 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_18c484e3-e491-4a86-b526-9bcf79a4dea6" xlink:to="loc_us-gaap_ClassOfStockDomain_f75550b4-9bcd-4711-8ea3-e5299612a0b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_c9464814-edda-4a0c-94e4-3359bd2cbec2" 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_f75550b4-9bcd-4711-8ea3-e5299612a0b3" xlink:to="loc_us-gaap_CommonClassAMember_c9464814-edda-4a0c-94e4-3359bd2cbec2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1d880c11-09ec-4f06-a7aa-c9ea0bfb3bf5" 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_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1d880c11-09ec-4f06-a7aa-c9ea0bfb3bf5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_93a0893c-8e51-4999-bad6-9f10c8ee2078" 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_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_93a0893c-8e51-4999-bad6-9f10c8ee2078" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_067921bc-4c82-497c-9caa-882191280058" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_067921bc-4c82-497c-9caa-882191280058" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_3a893bf9-fa40-4673-a724-3fafc2dbe5bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_3a893bf9-fa40-4673-a724-3fafc2dbe5bc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_9160b01e-2a04-4e8c-beb9-852e8dac6571" 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_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_9160b01e-2a04-4e8c-beb9-852e8dac6571" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_214d5ab2-19b8-4716-ba51-0fde6c42cb73" 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_DebtInstrumentLineItems_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_214d5ab2-19b8-4716-ba51-0fde6c42cb73" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_c442f78e-68cd-4f9e-acab-befda120246e" 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_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_c442f78e-68cd-4f9e-acab-befda120246e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_a3c88dcc-ec25-439f-8b9e-86841c0fd4eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRepurchasedFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_a3c88dcc-ec25-439f-8b9e-86841c0fd4eb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_096878c8-3fe3-4e02-8232-2b3f56110228" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_096878c8-3fe3-4e02-8232-2b3f56110228" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_a6f2d435-7b3b-4a5f-a642-b0fddfd06e99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_36a09f64-a5b2-4365-b005-f123244d149c" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_a6f2d435-7b3b-4a5f-a642-b0fddfd06e99" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/Debt2028ConvertibleNotesDetails" xlink:type="simple" xlink:href="band-20240331.xsd#Debt2028ConvertibleNotesDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/Debt2028ConvertibleNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" 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_e5746790-41d2-44cb-8cf2-3f6c3f3e3c25" 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_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" xlink:to="loc_us-gaap_DebtInstrumentTable_e5746790-41d2-44cb-8cf2-3f6c3f3e3c25" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_9ad4e56a-3986-4c05-9346-79cc0c9cf524" 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_e5746790-41d2-44cb-8cf2-3f6c3f3e3c25" xlink:to="loc_us-gaap_DebtInstrumentAxis_9ad4e56a-3986-4c05-9346-79cc0c9cf524" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9ad4e56a-3986-4c05-9346-79cc0c9cf524_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_9ad4e56a-3986-4c05-9346-79cc0c9cf524" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9ad4e56a-3986-4c05-9346-79cc0c9cf524_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9e728340-a97c-432f-9359-cbbe7d5c5368" 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_9ad4e56a-3986-4c05-9346-79cc0c9cf524" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9e728340-a97c-432f-9359-cbbe7d5c5368" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_4684e5e9-fc34-4f49-83af-3d7e4f07d9b0" xlink:href="band-20240331.xsd#band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9e728340-a97c-432f-9359-cbbe7d5c5368" xlink:to="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_4684e5e9-fc34-4f49-83af-3d7e4f07d9b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_21c27546-f55e-4e65-b358-93d11cf1dc20" 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_e5746790-41d2-44cb-8cf2-3f6c3f3e3c25" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_21c27546-f55e-4e65-b358-93d11cf1dc20" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_21c27546-f55e-4e65-b358-93d11cf1dc20_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_21c27546-f55e-4e65-b358-93d11cf1dc20" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_21c27546-f55e-4e65-b358-93d11cf1dc20_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_34291424-277e-4f92-9d7b-66758000c261" 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_21c27546-f55e-4e65-b358-93d11cf1dc20" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_34291424-277e-4f92-9d7b-66758000c261" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_8703cce4-84ce-4460-9f64-0046dcff3500" 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_34291424-277e-4f92-9d7b-66758000c261" xlink:to="loc_us-gaap_ConvertibleDebtMember_8703cce4-84ce-4460-9f64-0046dcff3500" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_588af8c5-3dba-4cce-aed6-465909870cab" 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_DebtInstrumentTable_e5746790-41d2-44cb-8cf2-3f6c3f3e3c25" xlink:to="loc_us-gaap_StatementClassOfStockAxis_588af8c5-3dba-4cce-aed6-465909870cab" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_588af8c5-3dba-4cce-aed6-465909870cab_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_588af8c5-3dba-4cce-aed6-465909870cab" xlink:to="loc_us-gaap_ClassOfStockDomain_588af8c5-3dba-4cce-aed6-465909870cab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_611e8d9a-ef40-404d-89a7-d2ee71f47e98" 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_588af8c5-3dba-4cce-aed6-465909870cab" xlink:to="loc_us-gaap_ClassOfStockDomain_611e8d9a-ef40-404d-89a7-d2ee71f47e98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_6e4dc167-dcc8-49d5-b39f-d29058812dbc" 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_611e8d9a-ef40-404d-89a7-d2ee71f47e98" xlink:to="loc_us-gaap_CommonClassAMember_6e4dc167-dcc8-49d5-b39f-d29058812dbc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_a0ccb105-efa9-4689-a157-6e6764a858da" 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_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_a0ccb105-efa9-4689-a157-6e6764a858da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_884bf0e1-79b8-43b6-ad8a-e8f6769e95c3" 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_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_884bf0e1-79b8-43b6-ad8a-e8f6769e95c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_a59c17fd-ce8b-4a43-848f-e09a88dc5690" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_a59c17fd-ce8b-4a43-848f-e09a88dc5690" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_974023ac-da84-46c1-8d61-9b83b90f9945" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_974023ac-da84-46c1-8d61-9b83b90f9945" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_20599f5c-12ab-4a08-a28d-0cb1fa452aaa" 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_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_20599f5c-12ab-4a08-a28d-0cb1fa452aaa" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_95bf8b43-86ee-483e-ab77-a7b756c3c715" 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_DebtInstrumentLineItems_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_95bf8b43-86ee-483e-ab77-a7b756c3c715" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_8a332d3f-4585-4923-bcae-098c24a16cc3" 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_c5f3f09e-6fc0-4ee8-8e9d-dec4d00b61e4" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_8a332d3f-4585-4923-bcae-098c24a16cc3" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/DebtOtherTermsoftheConvertibleNotesDetails" xlink:type="simple" xlink:href="band-20240331.xsd#DebtOtherTermsoftheConvertibleNotesDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/DebtOtherTermsoftheConvertibleNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_7c920618-8ba0-4cbf-bf6e-f7f1e15f3b40" 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_e37a012d-48e8-471c-8853-7a9067dbd1f4" 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_7c920618-8ba0-4cbf-bf6e-f7f1e15f3b40" xlink:to="loc_us-gaap_DebtInstrumentTable_e37a012d-48e8-471c-8853-7a9067dbd1f4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_a111bdce-06e9-4df2-9300-643f279ba2ea" 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_e37a012d-48e8-471c-8853-7a9067dbd1f4" xlink:to="loc_us-gaap_DebtInstrumentAxis_a111bdce-06e9-4df2-9300-643f279ba2ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_a111bdce-06e9-4df2-9300-643f279ba2ea_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_a111bdce-06e9-4df2-9300-643f279ba2ea" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_a111bdce-06e9-4df2-9300-643f279ba2ea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_ca487207-2c05-4296-9add-2a2b85ac2384" 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_a111bdce-06e9-4df2-9300-643f279ba2ea" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_ca487207-2c05-4296-9add-2a2b85ac2384" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_766b4de4-0ae0-4786-ac6f-e1f85895f828" xlink:href="band-20240331.xsd#band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_ca487207-2c05-4296-9add-2a2b85ac2384" xlink:to="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_766b4de4-0ae0-4786-ac6f-e1f85895f828" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_1f7face3-1589-4165-b61b-b81674375c38" 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_e37a012d-48e8-471c-8853-7a9067dbd1f4" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_1f7face3-1589-4165-b61b-b81674375c38" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_1f7face3-1589-4165-b61b-b81674375c38_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_1f7face3-1589-4165-b61b-b81674375c38" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_1f7face3-1589-4165-b61b-b81674375c38_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_63504623-b5c1-4876-9314-c5fc0f804240" 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_1f7face3-1589-4165-b61b-b81674375c38" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_63504623-b5c1-4876-9314-c5fc0f804240" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_71f6ed27-12d6-4783-8a71-a26f991cb8e6" 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_63504623-b5c1-4876-9314-c5fc0f804240" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_71f6ed27-12d6-4783-8a71-a26f991cb8e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_21ad8942-4142-4c9c-ac74-ebe0fb4ac812" 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_e37a012d-48e8-471c-8853-7a9067dbd1f4" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_21ad8942-4142-4c9c-ac74-ebe0fb4ac812" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_21ad8942-4142-4c9c-ac74-ebe0fb4ac812_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_21ad8942-4142-4c9c-ac74-ebe0fb4ac812" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_21ad8942-4142-4c9c-ac74-ebe0fb4ac812_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d72bfe1d-581c-4f7f-aee3-7f568ef49306" 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_21ad8942-4142-4c9c-ac74-ebe0fb4ac812" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d72bfe1d-581c-4f7f-aee3-7f568ef49306" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_b7bedd42-5089-468a-9178-402cf59913a5" 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_d72bfe1d-581c-4f7f-aee3-7f568ef49306" xlink:to="loc_us-gaap_ConvertibleDebtMember_b7bedd42-5089-468a-9178-402cf59913a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_c5fc29d8-5a94-4eb4-ad09-f44796765ad3" 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_DebtInstrumentTable_e37a012d-48e8-471c-8853-7a9067dbd1f4" xlink:to="loc_us-gaap_StatementClassOfStockAxis_c5fc29d8-5a94-4eb4-ad09-f44796765ad3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_c5fc29d8-5a94-4eb4-ad09-f44796765ad3_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_c5fc29d8-5a94-4eb4-ad09-f44796765ad3" xlink:to="loc_us-gaap_ClassOfStockDomain_c5fc29d8-5a94-4eb4-ad09-f44796765ad3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_a5f4b8f7-d119-490e-9ac3-713dd10e8ac7" 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_c5fc29d8-5a94-4eb4-ad09-f44796765ad3" xlink:to="loc_us-gaap_ClassOfStockDomain_a5f4b8f7-d119-490e-9ac3-713dd10e8ac7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_5ac1f42a-ae83-423c-a855-9af1588b6944" 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_a5f4b8f7-d119-490e-9ac3-713dd10e8ac7" xlink:to="loc_us-gaap_CommonClassAMember_5ac1f42a-ae83-423c-a855-9af1588b6944" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DebtInstrumentRedemptionPeriodTradingDaysToMaturity_520d147e-75fd-4519-849f-5db81bc6deed" xlink:href="band-20240331.xsd#band_DebtInstrumentRedemptionPeriodTradingDaysToMaturity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7c920618-8ba0-4cbf-bf6e-f7f1e15f3b40" xlink:to="loc_band_DebtInstrumentRedemptionPeriodTradingDaysToMaturity_520d147e-75fd-4519-849f-5db81bc6deed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_875ed30d-2a33-43b1-b9d3-5471847d5e4b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7c920618-8ba0-4cbf-bf6e-f7f1e15f3b40" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_875ed30d-2a33-43b1-b9d3-5471847d5e4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_acee2da7-bf53-472f-8f5c-d5f61b38636b" 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_7c920618-8ba0-4cbf-bf6e-f7f1e15f3b40" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_acee2da7-bf53-472f-8f5c-d5f61b38636b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_739ed62b-c0e7-4a90-b281-a5528a955f7d" 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_7c920618-8ba0-4cbf-bf6e-f7f1e15f3b40" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_739ed62b-c0e7-4a90-b281-a5528a955f7d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_b0dade2b-7cd1-42f7-8c4e-f128657c8fb8" 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_7c920618-8ba0-4cbf-bf6e-f7f1e15f3b40" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_b0dade2b-7cd1-42f7-8c4e-f128657c8fb8" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/DebtScheduleofDebtDetails" xlink:type="simple" xlink:href="band-20240331.xsd#DebtScheduleofDebtDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/DebtScheduleofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_e1678a24-51b8-4900-adc7-e37d10e7bd92" 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_21d4ac62-b9d1-45a1-8b3e-0160eb138129" 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_e1678a24-51b8-4900-adc7-e37d10e7bd92" xlink:to="loc_us-gaap_DebtInstrumentTable_21d4ac62-b9d1-45a1-8b3e-0160eb138129" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_69011d29-030f-4fbd-8a2b-f79c2a72721b" 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_21d4ac62-b9d1-45a1-8b3e-0160eb138129" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_69011d29-030f-4fbd-8a2b-f79c2a72721b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_69011d29-030f-4fbd-8a2b-f79c2a72721b_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_69011d29-030f-4fbd-8a2b-f79c2a72721b" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_69011d29-030f-4fbd-8a2b-f79c2a72721b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_cdf556b8-9c36-4ec9-a0f3-bfc3120f1684" 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_69011d29-030f-4fbd-8a2b-f79c2a72721b" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_cdf556b8-9c36-4ec9-a0f3-bfc3120f1684" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_08dbbfbb-0490-4bad-964d-b1c965cd0c10" 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_cdf556b8-9c36-4ec9-a0f3-bfc3120f1684" xlink:to="loc_us-gaap_ConvertibleDebtMember_08dbbfbb-0490-4bad-964d-b1c965cd0c10" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_9ad84bd8-0e30-423d-831e-2e3722d84c70" 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_21d4ac62-b9d1-45a1-8b3e-0160eb138129" xlink:to="loc_us-gaap_DebtInstrumentAxis_9ad84bd8-0e30-423d-831e-2e3722d84c70" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9ad84bd8-0e30-423d-831e-2e3722d84c70_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_9ad84bd8-0e30-423d-831e-2e3722d84c70" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9ad84bd8-0e30-423d-831e-2e3722d84c70_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_71d7b46d-dd14-4e46-850c-3a677c73f785" 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_9ad84bd8-0e30-423d-831e-2e3722d84c70" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_71d7b46d-dd14-4e46-850c-3a677c73f785" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_9f9f0514-70f9-46e9-8ddb-81988103d52e" xlink:href="band-20240331.xsd#band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_71d7b46d-dd14-4e46-850c-3a677c73f785" xlink:to="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_9f9f0514-70f9-46e9-8ddb-81988103d52e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_55a1c9ff-2cbc-429a-b66a-539a3791d510" xlink:href="band-20240331.xsd#band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_71d7b46d-dd14-4e46-850c-3a677c73f785" xlink:to="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_55a1c9ff-2cbc-429a-b66a-539a3791d510" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_09ce8339-46b2-41e3-8219-591e684282ae" 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_e1678a24-51b8-4900-adc7-e37d10e7bd92" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_09ce8339-46b2-41e3-8219-591e684282ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_b790ae9e-97af-418b-ad97-97b1dda92ea2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e1678a24-51b8-4900-adc7-e37d10e7bd92" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_b790ae9e-97af-418b-ad97-97b1dda92ea2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6762e31e-e7c2-449a-b374-c7ac72c1aaa5" 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_e1678a24-51b8-4900-adc7-e37d10e7bd92" xlink:to="loc_us-gaap_LongTermDebt_6762e31e-e7c2-449a-b374-c7ac72c1aaa5" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/DebtInterestIncomeandInterestExpenseDisclosureDetails" xlink:type="simple" xlink:href="band-20240331.xsd#DebtInterestIncomeandInterestExpenseDisclosureDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/DebtInterestIncomeandInterestExpenseDisclosureDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_87e819c3-d820-4b01-8734-f8be7d57c203" 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_3a6c1b38-8de1-47c7-8f39-15af2e42e689" 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_87e819c3-d820-4b01-8734-f8be7d57c203" xlink:to="loc_us-gaap_DebtInstrumentTable_3a6c1b38-8de1-47c7-8f39-15af2e42e689" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_3d6ae507-1bf4-4304-bf2d-b48b3ddc5dc2" 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_3a6c1b38-8de1-47c7-8f39-15af2e42e689" xlink:to="loc_us-gaap_DebtInstrumentAxis_3d6ae507-1bf4-4304-bf2d-b48b3ddc5dc2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3d6ae507-1bf4-4304-bf2d-b48b3ddc5dc2_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_3d6ae507-1bf4-4304-bf2d-b48b3ddc5dc2" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3d6ae507-1bf4-4304-bf2d-b48b3ddc5dc2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_c06bc6e0-e9e3-46fd-983e-ba751330c19e" 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_3d6ae507-1bf4-4304-bf2d-b48b3ddc5dc2" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_c06bc6e0-e9e3-46fd-983e-ba751330c19e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_f43cc26b-66cd-4b50-9670-e6e5ee020e3e" xlink:href="band-20240331.xsd#band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_c06bc6e0-e9e3-46fd-983e-ba751330c19e" xlink:to="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_f43cc26b-66cd-4b50-9670-e6e5ee020e3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_78cae568-c0a4-4394-babb-10b826bd7099" xlink:href="band-20240331.xsd#band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_c06bc6e0-e9e3-46fd-983e-ba751330c19e" xlink:to="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_78cae568-c0a4-4394-babb-10b826bd7099" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_f67bf3de-1bcf-4a7b-9d0a-a3e03fb79980" 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_87e819c3-d820-4b01-8734-f8be7d57c203" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_f67bf3de-1bcf-4a7b-9d0a-a3e03fb79980" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_91d3f72f-4de6-4ef9-bca5-80c73f87690e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_87e819c3-d820-4b01-8734-f8be7d57c203" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_91d3f72f-4de6-4ef9-bca5-80c73f87690e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_dc2c9749-9ab3-44c2-bb2b-9f81570636cd" 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_87e819c3-d820-4b01-8734-f8be7d57c203" xlink:to="loc_us-gaap_InterestExpenseDebt_dc2c9749-9ab3-44c2-bb2b-9f81570636cd" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/DebtConvertibleSeniorNotesandCappedCallTransactionsDetails" xlink:type="simple" xlink:href="band-20240331.xsd#DebtConvertibleSeniorNotesandCappedCallTransactionsDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/DebtConvertibleSeniorNotesandCappedCallTransactionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_06fd0b1c-c5d7-4442-b155-2bf2ddc1c93b" 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_c794cc3b-9e95-4496-9fcd-575057a8bfb9" 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_06fd0b1c-c5d7-4442-b155-2bf2ddc1c93b" xlink:to="loc_us-gaap_DebtInstrumentTable_c794cc3b-9e95-4496-9fcd-575057a8bfb9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_de27bd5d-effb-4415-931b-e1dd6ef16bbb" 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_c794cc3b-9e95-4496-9fcd-575057a8bfb9" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_de27bd5d-effb-4415-931b-e1dd6ef16bbb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_de27bd5d-effb-4415-931b-e1dd6ef16bbb_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_de27bd5d-effb-4415-931b-e1dd6ef16bbb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_de27bd5d-effb-4415-931b-e1dd6ef16bbb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_63f562b6-d09c-4ffd-9c73-5b169d369471" 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_de27bd5d-effb-4415-931b-e1dd6ef16bbb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_63f562b6-d09c-4ffd-9c73-5b169d369471" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_5ce6201c-814b-4a2a-b0ca-91459a7a05fa" 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_63f562b6-d09c-4ffd-9c73-5b169d369471" xlink:to="loc_us-gaap_ConvertibleDebtMember_5ce6201c-814b-4a2a-b0ca-91459a7a05fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_f4e2dd35-adb9-4f5b-b3d1-25541b3e6dc7" 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_c794cc3b-9e95-4496-9fcd-575057a8bfb9" xlink:to="loc_us-gaap_DebtInstrumentAxis_f4e2dd35-adb9-4f5b-b3d1-25541b3e6dc7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f4e2dd35-adb9-4f5b-b3d1-25541b3e6dc7_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_f4e2dd35-adb9-4f5b-b3d1-25541b3e6dc7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f4e2dd35-adb9-4f5b-b3d1-25541b3e6dc7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_e3d09677-0a70-4fa0-a15e-ae6c69894089" 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_f4e2dd35-adb9-4f5b-b3d1-25541b3e6dc7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_e3d09677-0a70-4fa0-a15e-ae6c69894089" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_6d8d9974-b38f-4a8e-9bb0-bf111c74667f" xlink:href="band-20240331.xsd#band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e3d09677-0a70-4fa0-a15e-ae6c69894089" xlink:to="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_6d8d9974-b38f-4a8e-9bb0-bf111c74667f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_066c8569-689e-455a-8d03-a697860f94cc" xlink:href="band-20240331.xsd#band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e3d09677-0a70-4fa0-a15e-ae6c69894089" xlink:to="loc_band_ZeroPointFiveZeroPercentConvertibleSeniorNotesDue2028Member_066c8569-689e-455a-8d03-a697860f94cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_751fa778-ad3c-403d-ae09-e38f6cf716dd" 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_DebtInstrumentTable_c794cc3b-9e95-4496-9fcd-575057a8bfb9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_751fa778-ad3c-403d-ae09-e38f6cf716dd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_751fa778-ad3c-403d-ae09-e38f6cf716dd_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_751fa778-ad3c-403d-ae09-e38f6cf716dd" xlink:to="loc_us-gaap_ClassOfStockDomain_751fa778-ad3c-403d-ae09-e38f6cf716dd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7d6af066-d47a-4afc-bce7-4ae6c710e37e" 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_751fa778-ad3c-403d-ae09-e38f6cf716dd" xlink:to="loc_us-gaap_ClassOfStockDomain_7d6af066-d47a-4afc-bce7-4ae6c710e37e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_6238dd48-daff-4416-9951-426a09c2d5f3" 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_7d6af066-d47a-4afc-bce7-4ae6c710e37e" xlink:to="loc_us-gaap_CommonClassAMember_6238dd48-daff-4416-9951-426a09c2d5f3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DebtInstrumentConvertibleInitialConversionStrikePrice_13258c56-ef1b-4afe-beb6-58630453d277" xlink:href="band-20240331.xsd#band_DebtInstrumentConvertibleInitialConversionStrikePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06fd0b1c-c5d7-4442-b155-2bf2ddc1c93b" xlink:to="loc_band_DebtInstrumentConvertibleInitialConversionStrikePrice_13258c56-ef1b-4afe-beb6-58630453d277" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DebtInstrumentConvertibleInitialCapPrice_20da53d3-1cbe-428f-b719-fe57f5b7f6ea" xlink:href="band-20240331.xsd#band_DebtInstrumentConvertibleInitialCapPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06fd0b1c-c5d7-4442-b155-2bf2ddc1c93b" xlink:to="loc_band_DebtInstrumentConvertibleInitialCapPrice_20da53d3-1cbe-428f-b719-fe57f5b7f6ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_CappedCallOptionIssuanceCost_ffb92cc7-df7a-43b9-8a48-074c64cf2e2f" xlink:href="band-20240331.xsd#band_CappedCallOptionIssuanceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06fd0b1c-c5d7-4442-b155-2bf2ddc1c93b" xlink:to="loc_band_CappedCallOptionIssuanceCost_ffb92cc7-df7a-43b9-8a48-074c64cf2e2f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DebtInstrumentConvertibleConversionCappedCallShares_ecfed1d9-d478-41b6-94c5-cce65df74ce1" xlink:href="band-20240331.xsd#band_DebtInstrumentConvertibleConversionCappedCallShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06fd0b1c-c5d7-4442-b155-2bf2ddc1c93b" xlink:to="loc_band_DebtInstrumentConvertibleConversionCappedCallShares_ecfed1d9-d478-41b6-94c5-cce65df74ce1" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/GeographicInformationReconciliationofRevenuebyGeographicAreaDetails" xlink:type="simple" xlink:href="band-20240331.xsd#GeographicInformationReconciliationofRevenuebyGeographicAreaDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/GeographicInformationReconciliationofRevenuebyGeographicAreaDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_e420e166-b9b4-4ec0-8fb1-ac1b64d9d5a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_7efcec49-4170-4b64-b38e-49aa5dc5a599" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_e420e166-b9b4-4ec0-8fb1-ac1b64d9d5a2" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_7efcec49-4170-4b64-b38e-49aa5dc5a599" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_24126232-07cb-45be-8245-2ae75cb9b83a" 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_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_7efcec49-4170-4b64-b38e-49aa5dc5a599" xlink:to="loc_srt_StatementGeographicalAxis_24126232-07cb-45be-8245-2ae75cb9b83a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_24126232-07cb-45be-8245-2ae75cb9b83a_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_24126232-07cb-45be-8245-2ae75cb9b83a" xlink:to="loc_srt_SegmentGeographicalDomain_24126232-07cb-45be-8245-2ae75cb9b83a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_d4126dcf-1570-4f8a-9585-28364bc037a9" 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_24126232-07cb-45be-8245-2ae75cb9b83a" xlink:to="loc_srt_SegmentGeographicalDomain_d4126dcf-1570-4f8a-9585-28364bc037a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NorthAmericaMember_3ba4da2c-17b9-48df-a6a0-b1cd15bea60e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NorthAmericaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_d4126dcf-1570-4f8a-9585-28364bc037a9" xlink:to="loc_srt_NorthAmericaMember_3ba4da2c-17b9-48df-a6a0-b1cd15bea60e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_NonNorthAmericaMember_128c5d57-b980-433d-ace7-0726a63b0a23" xlink:href="band-20240331.xsd#band_NonNorthAmericaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_d4126dcf-1570-4f8a-9585-28364bc037a9" xlink:to="loc_band_NonNorthAmericaMember_128c5d57-b980-433d-ace7-0726a63b0a23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_56682bf9-b7e2-453b-9aef-55c7fd49ffbf" 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_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_e420e166-b9b4-4ec0-8fb1-ac1b64d9d5a2" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_56682bf9-b7e2-453b-9aef-55c7fd49ffbf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_19a19fb6-f2be-4527-9512-93c1048d1c03" 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_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_e420e166-b9b4-4ec0-8fb1-ac1b64d9d5a2" xlink:to="loc_us-gaap_Assets_19a19fb6-f2be-4527-9512-93c1048d1c03" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/StockholdersEquityReservedSharesofCommonStockforIssuanceDetails" xlink:type="simple" xlink:href="band-20240331.xsd#StockholdersEquityReservedSharesofCommonStockforIssuanceDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/StockholdersEquityReservedSharesofCommonStockforIssuanceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_3f9fddc3-2dda-4128-bb37-8021c0737673" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_404035da-1611-4ad9-8997-22a8585e305f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_3f9fddc3-2dda-4128-bb37-8021c0737673" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_404035da-1611-4ad9-8997-22a8585e305f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_d59de652-83c4-4118-b2b4-9d28dffaed6d" 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_ScheduleOfStockByClassTable_404035da-1611-4ad9-8997-22a8585e305f" xlink:to="loc_us-gaap_AwardTypeAxis_d59de652-83c4-4118-b2b4-9d28dffaed6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d59de652-83c4-4118-b2b4-9d28dffaed6d_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_d59de652-83c4-4118-b2b4-9d28dffaed6d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d59de652-83c4-4118-b2b4-9d28dffaed6d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0174a846-8da2-4909-af90-164ad8886722" 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_d59de652-83c4-4118-b2b4-9d28dffaed6d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0174a846-8da2-4909-af90-164ad8886722" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_d156b641-dbe1-470b-9f97-342ec52ae306" 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_0174a846-8da2-4909-af90-164ad8886722" xlink:to="loc_us-gaap_EmployeeStockOptionMember_d156b641-dbe1-470b-9f97-342ec52ae306" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_fea49842-f733-4253-b572-52bc32b3ac41" 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_0174a846-8da2-4909-af90-164ad8886722" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_fea49842-f733-4253-b572-52bc32b3ac41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockCompensationPlanMember_99bb8bd4-bf45-4b21-8402-2a088b271512" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockCompensationPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0174a846-8da2-4909-af90-164ad8886722" xlink:to="loc_us-gaap_StockCompensationPlanMember_99bb8bd4-bf45-4b21-8402-2a088b271512" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_5f481b12-bd95-4212-90dd-5c93626f603a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3f9fddc3-2dda-4128-bb37-8021c0737673" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_5f481b12-bd95-4212-90dd-5c93626f603a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="simple" xlink:href="band-20240331.xsd#StockBasedCompensationAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_32734936-107e-4be9-913e-8f0353bdf620" 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_04bbef67-d289-45d8-89e5-9ef1c0fffa39" 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_32734936-107e-4be9-913e-8f0353bdf620" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_04bbef67-d289-45d8-89e5-9ef1c0fffa39" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_9891254c-0c12-4204-8a9e-b4b4f1539df0" 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_04bbef67-d289-45d8-89e5-9ef1c0fffa39" xlink:to="loc_us-gaap_AwardTypeAxis_9891254c-0c12-4204-8a9e-b4b4f1539df0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9891254c-0c12-4204-8a9e-b4b4f1539df0_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_9891254c-0c12-4204-8a9e-b4b4f1539df0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9891254c-0c12-4204-8a9e-b4b4f1539df0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_82193525-eaed-4af6-beff-a66ac59803ab" 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_9891254c-0c12-4204-8a9e-b4b4f1539df0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_82193525-eaed-4af6-beff-a66ac59803ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_56a94d14-ec00-4f9e-ae65-518dfad4f64a" 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_82193525-eaed-4af6-beff-a66ac59803ab" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_56a94d14-ec00-4f9e-ae65-518dfad4f64a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_3f86c576-fd31-4542-aba8-07d9af9f896a" 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_32734936-107e-4be9-913e-8f0353bdf620" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_3f86c576-fd31-4542-aba8-07d9af9f896a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_75a3b78f-4fa7-492a-91be-2097f0f2569b" 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_32734936-107e-4be9-913e-8f0353bdf620" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_75a3b78f-4fa7-492a-91be-2097f0f2569b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_b24ea5b2-92e3-4290-8d97-16ffe0a14f7c" 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_32734936-107e-4be9-913e-8f0353bdf620" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_b24ea5b2-92e3-4290-8d97-16ffe0a14f7c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_1be9909d-e6e0-46a1-a7f1-a8f86756a934" 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_32734936-107e-4be9-913e-8f0353bdf620" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_1be9909d-e6e0-46a1-a7f1-a8f86756a934" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/StockBasedCompensationRestrictedStockUnitActivityDetails" xlink:type="simple" xlink:href="band-20240331.xsd#StockBasedCompensationRestrictedStockUnitActivityDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/StockBasedCompensationRestrictedStockUnitActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ca67aa72-b873-48ac-8935-22b9372c0904" 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_2071b9d9-c068-4685-8b92-a59002aa57fc" 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_ca67aa72-b873-48ac-8935-22b9372c0904" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2071b9d9-c068-4685-8b92-a59002aa57fc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_1171d47a-5fbe-4fce-a70a-d45a1f44e4dd" 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_2071b9d9-c068-4685-8b92-a59002aa57fc" xlink:to="loc_us-gaap_AwardTypeAxis_1171d47a-5fbe-4fce-a70a-d45a1f44e4dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1171d47a-5fbe-4fce-a70a-d45a1f44e4dd_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_1171d47a-5fbe-4fce-a70a-d45a1f44e4dd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1171d47a-5fbe-4fce-a70a-d45a1f44e4dd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_771c78ca-92bd-40b6-bf3f-6797eefe34bf" 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_1171d47a-5fbe-4fce-a70a-d45a1f44e4dd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_771c78ca-92bd-40b6-bf3f-6797eefe34bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_d08bd96a-4189-44c1-934a-b4f5f2464063" 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_771c78ca-92bd-40b6-bf3f-6797eefe34bf" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_d08bd96a-4189-44c1-934a-b4f5f2464063" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_a7ed27bf-72a1-4e4c-833b-63828540388c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ca67aa72-b873-48ac-8935-22b9372c0904" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_a7ed27bf-72a1-4e4c-833b-63828540388c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_857690b3-bdaf-49fb-984e-bf85c01e2baf" 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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_a7ed27bf-72a1-4e4c-833b-63828540388c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_857690b3-bdaf-49fb-984e-bf85c01e2baf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_839b2da5-4f95-44bc-a7cc-13a58fe53e0f" 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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_a7ed27bf-72a1-4e4c-833b-63828540388c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_839b2da5-4f95-44bc-a7cc-13a58fe53e0f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_e2e69ece-a113-4f49-98bf-919078f07c78" 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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_a7ed27bf-72a1-4e4c-833b-63828540388c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_e2e69ece-a113-4f49-98bf-919078f07c78" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_5093fe75-cdbd-4311-acc2-901a8f27ed44" 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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward_a7ed27bf-72a1-4e4c-833b-63828540388c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_5093fe75-cdbd-4311-acc2-901a8f27ed44" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_58b74c3e-47ec-43ee-9b9e-e02592cd6bf6" 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_8054c651-579f-4f5c-aee5-36b60b1dadf5" 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_ca67aa72-b873-48ac-8935-22b9372c0904" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_8054c651-579f-4f5c-aee5-36b60b1dadf5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_c7cb842d-5b5d-4aee-a371-fdf84815dab1" 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_8054c651-579f-4f5c-aee5-36b60b1dadf5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_c7cb842d-5b5d-4aee-a371-fdf84815dab1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_889478ee-a393-409f-9735-6d7483c0abc8" 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_8054c651-579f-4f5c-aee5-36b60b1dadf5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_889478ee-a393-409f-9735-6d7483c0abc8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_ee6ae78e-9cd3-447d-aa8f-fca287c53c7e" 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_8054c651-579f-4f5c-aee5-36b60b1dadf5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_ee6ae78e-9cd3-447d-aa8f-fca287c53c7e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_2ce47763-57cf-4490-b5f7-2624b075daf1" 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_8054c651-579f-4f5c-aee5-36b60b1dadf5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_2ce47763-57cf-4490-b5f7-2624b075daf1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_d774d62b-12e7-4b66-8140-cf7e436694ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="band-20240331.xsd#StockBasedCompensationStockBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_ba032b4f-1c97-4ba1-b8a0-ed7dcbbbed09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_cf934fa8-13fd-4274-9ca4-59afff1e673c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_ba032b4f-1c97-4ba1-b8a0-ed7dcbbbed09" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_cf934fa8-13fd-4274-9ca4-59afff1e673c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_d993af17-d496-4009-bc6f-ecad8cd1a001" 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_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_cf934fa8-13fd-4274-9ca4-59afff1e673c" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_d993af17-d496-4009-bc6f-ecad8cd1a001" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_d993af17-d496-4009-bc6f-ecad8cd1a001_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_d993af17-d496-4009-bc6f-ecad8cd1a001" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_d993af17-d496-4009-bc6f-ecad8cd1a001_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_3f0bd283-10b9-44c7-b2a9-1db743639119" 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_d993af17-d496-4009-bc6f-ecad8cd1a001" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_3f0bd283-10b9-44c7-b2a9-1db743639119" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_bd13d21a-bc81-4b62-83b1-7a97cc60c3ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_3f0bd283-10b9-44c7-b2a9-1db743639119" xlink:to="loc_us-gaap_CostOfSalesMember_bd13d21a-bc81-4b62-83b1-7a97cc60c3ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_33bfa6a1-3840-4a49-aae8-a6b8835b0680" 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_3f0bd283-10b9-44c7-b2a9-1db743639119" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_33bfa6a1-3840-4a49-aae8-a6b8835b0680" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_9cb17151-835c-4ef7-8861-eef763d2db2c" 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_3f0bd283-10b9-44c7-b2a9-1db743639119" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_9cb17151-835c-4ef7-8861-eef763d2db2c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_598f62ae-ae21-4613-af06-51d44f7322b9" 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_3f0bd283-10b9-44c7-b2a9-1db743639119" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_598f62ae-ae21-4613-af06-51d44f7322b9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_c7ed098c-511b-4a31-8ac8-693bcfce322e" 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_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_ba032b4f-1c97-4ba1-b8a0-ed7dcbbbed09" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_c7ed098c-511b-4a31-8ac8-693bcfce322e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/CommitmentsandContingenciesDetails" xlink:type="simple" xlink:href="band-20240331.xsd#CommitmentsandContingenciesDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/CommitmentsandContingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_671c0c46-87cb-4017-98bf-934022b8603f" 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_6d87957c-7b88-4c4f-821d-449886c3d01d" 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_671c0c46-87cb-4017-98bf-934022b8603f" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_6d87957c-7b88-4c4f-821d-449886c3d01d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_fb81d1fb-ae0b-4ceb-8c2a-c9f3b1a9bd7e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_6d87957c-7b88-4c4f-821d-449886c3d01d" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_fb81d1fb-ae0b-4ceb-8c2a-c9f3b1a9bd7e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_fb81d1fb-ae0b-4ceb-8c2a-c9f3b1a9bd7e_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_fb81d1fb-ae0b-4ceb-8c2a-c9f3b1a9bd7e" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_fb81d1fb-ae0b-4ceb-8c2a-c9f3b1a9bd7e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_32f5ab1f-5bdd-4437-a5da-6ff67918d6bd" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_fb81d1fb-ae0b-4ceb-8c2a-c9f3b1a9bd7e" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_32f5ab1f-5bdd-4437-a5da-6ff67918d6bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_OfficeSpaceMember_827636b9-cddc-4c03-b780-22b7bade3149" xlink:href="band-20240331.xsd#band_OfficeSpaceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_32f5ab1f-5bdd-4437-a5da-6ff67918d6bd" xlink:to="loc_band_OfficeSpaceMember_827636b9-cddc-4c03-b780-22b7bade3149" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1ba2b4fe-d23b-4824-8304-97f5e7844919" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_671c0c46-87cb-4017-98bf-934022b8603f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1ba2b4fe-d23b-4824-8304-97f5e7844919" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_62ac7c14-2ece-48db-bb9b-d0c9ac4cf432" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_671c0c46-87cb-4017-98bf-934022b8603f" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_62ac7c14-2ece-48db-bb9b-d0c9ac4cf432" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary_d2a18b91-b836-460a-b55a-37eae57e514d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_671c0c46-87cb-4017-98bf-934022b8603f" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary_d2a18b91-b836-460a-b55a-37eae57e514d" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/BasicandDilutedLossIncomeperCommonShareScheduleofAntidilutiveCommonShareEquivalentsExcludedfromEarningsPerShareDetails" xlink:type="simple" xlink:href="band-20240331.xsd#BasicandDilutedLossIncomeperCommonShareScheduleofAntidilutiveCommonShareEquivalentsExcludedfromEarningsPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/BasicandDilutedLossIncomeperCommonShareScheduleofAntidilutiveCommonShareEquivalentsExcludedfromEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_97d554ee-ffdc-4376-b10f-6e4a2c4f0a46" 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_00e1fb10-d4d2-4aa9-bfcf-d6985fc635a2" 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_97d554ee-ffdc-4376-b10f-6e4a2c4f0a46" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_00e1fb10-d4d2-4aa9-bfcf-d6985fc635a2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_f1556d3a-3f2c-444e-94d7-97c8091a03aa" 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_00e1fb10-d4d2-4aa9-bfcf-d6985fc635a2" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_f1556d3a-3f2c-444e-94d7-97c8091a03aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_f1556d3a-3f2c-444e-94d7-97c8091a03aa_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_f1556d3a-3f2c-444e-94d7-97c8091a03aa" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_f1556d3a-3f2c-444e-94d7-97c8091a03aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_60a8e8f5-f451-4c79-80c4-778699e9fdfd" 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_f1556d3a-3f2c-444e-94d7-97c8091a03aa" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_60a8e8f5-f451-4c79-80c4-778699e9fdfd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_a2f079fb-93aa-4e0b-a9d4-da62aa2669a9" 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_60a8e8f5-f451-4c79-80c4-778699e9fdfd" xlink:to="loc_us-gaap_EmployeeStockOptionMember_a2f079fb-93aa-4e0b-a9d4-da62aa2669a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1b3fa057-a1fb-41d6-952a-b9a1b909e316" 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_60a8e8f5-f451-4c79-80c4-778699e9fdfd" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1b3fa057-a1fb-41d6-952a-b9a1b909e316" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_07f2377c-4575-47a8-9c0d-f1ada288a423" 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_60a8e8f5-f451-4c79-80c4-778699e9fdfd" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_07f2377c-4575-47a8-9c0d-f1ada288a423" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_89722d07-2676-4e96-b5b4-57c5b2282f03" 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_97d554ee-ffdc-4376-b10f-6e4a2c4f0a46" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_89722d07-2676-4e96-b5b4-57c5b2282f03" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bandwidth.com/role/SubsequentEventsDetails" xlink:type="simple" xlink:href="band-20240331.xsd#SubsequentEventsDetails"/>
  <link:definitionLink xlink:role="http://www.bandwidth.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_b35c9925-e98f-41b4-9ae6-8a65f7e63677" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:to="loc_us-gaap_SubsequentEventTable_b35c9925-e98f-41b4-9ae6-8a65f7e63677" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_459ff3fe-b4e6-49dd-87aa-53bea3b8cb73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_b35c9925-e98f-41b4-9ae6-8a65f7e63677" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_459ff3fe-b4e6-49dd-87aa-53bea3b8cb73" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_459ff3fe-b4e6-49dd-87aa-53bea3b8cb73_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_459ff3fe-b4e6-49dd-87aa-53bea3b8cb73" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_459ff3fe-b4e6-49dd-87aa-53bea3b8cb73_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_9820f30f-2bfe-4c45-a6fa-55b92c0e7350" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_459ff3fe-b4e6-49dd-87aa-53bea3b8cb73" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_9820f30f-2bfe-4c45-a6fa-55b92c0e7350" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_c6e21b3d-60ad-4c59-824f-72481d7bb66b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_9820f30f-2bfe-4c45-a6fa-55b92c0e7350" xlink:to="loc_us-gaap_SubsequentEventMember_c6e21b3d-60ad-4c59-824f-72481d7bb66b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_4784d1ee-d28d-4d42-b1e0-571fd32e3d90" 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_SubsequentEventTable_b35c9925-e98f-41b4-9ae6-8a65f7e63677" xlink:to="loc_us-gaap_CreditFacilityAxis_4784d1ee-d28d-4d42-b1e0-571fd32e3d90" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_4784d1ee-d28d-4d42-b1e0-571fd32e3d90_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_4784d1ee-d28d-4d42-b1e0-571fd32e3d90" xlink:to="loc_us-gaap_CreditFacilityDomain_4784d1ee-d28d-4d42-b1e0-571fd32e3d90_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_b71de8ec-1789-431d-959c-4956a8f139c3" 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_4784d1ee-d28d-4d42-b1e0-571fd32e3d90" xlink:to="loc_us-gaap_CreditFacilityDomain_b71de8ec-1789-431d-959c-4956a8f139c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_55172cf7-8a86-4e3e-8163-ee1b8d4993cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_b71de8ec-1789-431d-959c-4956a8f139c3" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_55172cf7-8a86-4e3e-8163-ee1b8d4993cb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BridgeLoanMember_559542a2-058b-4252-9f40-2fc9f79dcd9b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BridgeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_b71de8ec-1789-431d-959c-4956a8f139c3" xlink:to="loc_us-gaap_BridgeLoanMember_559542a2-058b-4252-9f40-2fc9f79dcd9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_faa95cf5-4f26-4882-a24a-bb2ed921bd7c" 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_SubsequentEventTable_b35c9925-e98f-41b4-9ae6-8a65f7e63677" xlink:to="loc_us-gaap_DebtInstrumentAxis_faa95cf5-4f26-4882-a24a-bb2ed921bd7c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_faa95cf5-4f26-4882-a24a-bb2ed921bd7c_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_faa95cf5-4f26-4882-a24a-bb2ed921bd7c" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_faa95cf5-4f26-4882-a24a-bb2ed921bd7c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3fa9483f-936f-441f-9a85-44a972408053" 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_faa95cf5-4f26-4882-a24a-bb2ed921bd7c" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3fa9483f-936f-441f-9a85-44a972408053" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_BankOfAmericaCreditAgreementMember_6d6d819e-3874-46a8-b1bc-be4e82232b0f" xlink:href="band-20240331.xsd#band_BankOfAmericaCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3fa9483f-936f-441f-9a85-44a972408053" xlink:to="loc_band_BankOfAmericaCreditAgreementMember_6d6d819e-3874-46a8-b1bc-be4e82232b0f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_4f1c5503-4fb7-4e92-a6f2-48759280ddcf" xlink:href="band-20240331.xsd#band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3fa9483f-936f-441f-9a85-44a972408053" xlink:to="loc_band_ZeroPointTwoFivePercentConvertibleSeniorNotesDue2026Member_4f1c5503-4fb7-4e92-a6f2-48759280ddcf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_62f3e817-3996-4375-8eb1-53046d5f7b2d" 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_SubsequentEventTable_b35c9925-e98f-41b4-9ae6-8a65f7e63677" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_62f3e817-3996-4375-8eb1-53046d5f7b2d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_62f3e817-3996-4375-8eb1-53046d5f7b2d_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_62f3e817-3996-4375-8eb1-53046d5f7b2d" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_62f3e817-3996-4375-8eb1-53046d5f7b2d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_84e0bd2b-045e-483b-8011-9267a5877686" 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_62f3e817-3996-4375-8eb1-53046d5f7b2d" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_84e0bd2b-045e-483b-8011-9267a5877686" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_16e82d74-071b-4c69-934a-574191a8d672" 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_84e0bd2b-045e-483b-8011-9267a5877686" xlink:to="loc_us-gaap_LineOfCreditMember_16e82d74-071b-4c69-934a-574191a8d672" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_8fba4566-b9c8-43aa-8fda-3991593fd688" 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_84e0bd2b-045e-483b-8011-9267a5877686" xlink:to="loc_us-gaap_ConvertibleDebtMember_8fba4566-b9c8-43aa-8fda-3991593fd688" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_6b94ab25-c09d-4709-bc4e-812ae72f582a" 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_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_6b94ab25-c09d-4709-bc4e-812ae72f582a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleLiquidationPreferenceValue_e440c84d-3031-46eb-8afe-b66aac089963" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleLiquidationPreferenceValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:to="loc_us-gaap_DebtInstrumentConvertibleLiquidationPreferenceValue_e440c84d-3031-46eb-8afe-b66aac089963" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_LineOfCreditFacilityDaysPriorToMaturityDate_415226cf-e9b3-474d-b810-4716715cb3c8" xlink:href="band-20240331.xsd#band_LineOfCreditFacilityDaysPriorToMaturityDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:to="loc_band_LineOfCreditFacilityDaysPriorToMaturityDate_415226cf-e9b3-474d-b810-4716715cb3c8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_687440a8-43ae-4d1d-b5f0-3a79055ea9cf" 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_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_687440a8-43ae-4d1d-b5f0-3a79055ea9cf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_45216918-d16c-4dbf-9877-f8d1ef8d12cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRepurchasedFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:to="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_45216918-d16c-4dbf-9877-f8d1ef8d12cf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_07a73f51-6a7d-44ac-a5c2-d86c77581d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_07a73f51-6a7d-44ac-a5c2-d86c77581d4a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_c19792f9-f35c-43b3-a243-cb1188113d97" 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_SubsequentEventLineItems_9e242bcd-0bf5-4486-9381-bcceb8cd2b6a" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_c19792f9-f35c-43b3-a243-cb1188113d97" xlink:type="arc" order="6"/>
  </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_band_DavidA.MorkenPlanAMember_821cb32f-11c1-432b-8cbd-8fc557659b96" xlink:href="band-20240331.xsd#band_DavidA.MorkenPlanAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllTradingArrangementsMember" xlink:to="loc_band_DavidA.MorkenPlanAMember_821cb32f-11c1-432b-8cbd-8fc557659b96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DavidA.MorkenPlanBMember_86cc4532-40f3-441b-ae33-c7a68a95dbea" xlink:href="band-20240331.xsd#band_DavidA.MorkenPlanBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllTradingArrangementsMember" xlink:to="loc_band_DavidA.MorkenPlanBMember_86cc4532-40f3-441b-ae33-c7a68a95dbea" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DavidA.MorkenPlanAClassAMember_ef201ed4-5e14-4729-ae4d-994331b25b3b" xlink:href="band-20240331.xsd#band_DavidA.MorkenPlanAClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllTradingArrangementsMember" xlink:to="loc_band_DavidA.MorkenPlanAClassAMember_ef201ed4-5e14-4729-ae4d-994331b25b3b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DavidA.MorkenPlanAClassBMember_37cd2567-a330-4ae4-9713-5e7d7a7c0a1d" xlink:href="band-20240331.xsd#band_DavidA.MorkenPlanAClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllTradingArrangementsMember" xlink:to="loc_band_DavidA.MorkenPlanAClassBMember_37cd2567-a330-4ae4-9713-5e7d7a7c0a1d" xlink:type="arc" order="4"/>
  </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_StockCompensationPlanMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockCompensationPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_StockCompensationPlanMember" xlink:type="arc" order="5"/>
  </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_band_KadeRossMember_97d79450-86bd-4b66-8047-919f7ec00d29" xlink:href="band-20240331.xsd#band_KadeRossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_band_KadeRossMember_97d79450-86bd-4b66-8047-919f7ec00d29" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_band_DavidA.MorkenMember_a0af6f98-adee-43bf-9e94-5f52063a2236" xlink:href="band-20240331.xsd#band_DavidA.MorkenMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_band_DavidA.MorkenMember_a0af6f98-adee-43bf-9e94-5f52063a2236" xlink:type="arc" order="3"/>
  </link:definitionLink>
</link:linkbase>
