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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:dbe3f8f9-f0bc-40cb-94b5-f3ffc8c728e2,g:589be4e3-d322-4beb-924c-fc308cc1c5b9-->
<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.bankofamerica.com/role/CoverPage" xlink:type="simple" xlink:href="bac-20251231.xsd#CoverPage"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/CoverPage" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_0c5ec41f-7222-45a5-b626-756bfed0843b" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentInformationTable_0c5ec41f-7222-45a5-b626-756bfed0843b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_181a9f01-c2b2-4574-ba74-7fda4194d2b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_0c5ec41f-7222-45a5-b626-756bfed0843b" xlink:to="loc_us-gaap_StatementClassOfStockAxis_181a9f01-c2b2-4574-ba74-7fda4194d2b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_181a9f01-c2b2-4574-ba74-7fda4194d2b0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_181a9f01-c2b2-4574-ba74-7fda4194d2b0" xlink:to="loc_us-gaap_ClassOfStockDomain_181a9f01-c2b2-4574-ba74-7fda4194d2b0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_181a9f01-c2b2-4574-ba74-7fda4194d2b0" xlink:to="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_4cf80348-6c91-44e4-a941-4ac19b634c82" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_us-gaap_CommonStockMember_4cf80348-6c91-44e4-a941-4ac19b634c82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesEPreferredStockMember_82f5d254-8be9-44b4-a052-aaf3742a1a63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesEPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_us-gaap_SeriesEPreferredStockMember_82f5d254-8be9-44b4-a052-aaf3742a1a63" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesGGPreferredStockMember_e5232b54-0aa9-491e-a76d-e4ff9164951f" xlink:href="bac-20251231.xsd#bac_SeriesGGPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesGGPreferredStockMember_e5232b54-0aa9-491e-a76d-e4ff9164951f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesHHPreferredStockMember_a20c99d6-4c95-4ca8-a00c-153dc538b7eb" xlink:href="bac-20251231.xsd#bac_SeriesHHPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesHHPreferredStockMember_a20c99d6-4c95-4ca8-a00c-153dc538b7eb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesLPreferredStockMember_eef2f070-c697-424e-a706-f36eff78054d" xlink:href="bac-20251231.xsd#bac_SeriesLPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesLPreferredStockMember_eef2f070-c697-424e-a706-f36eff78054d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series1PreferredStockMember_3f28e70a-995c-4f09-9f2e-88dd4c312ee8" xlink:href="bac-20251231.xsd#bac_Series1PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_Series1PreferredStockMember_3f28e70a-995c-4f09-9f2e-88dd4c312ee8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series2PreferredStockMember_250dca3d-4a78-4dc7-9b44-21e736599049" xlink:href="bac-20251231.xsd#bac_Series2PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_Series2PreferredStockMember_250dca3d-4a78-4dc7-9b44-21e736599049" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series4PreferredStockMember_e2ddcff1-93dd-469c-887f-95a5c9c95df8" xlink:href="bac-20251231.xsd#bac_Series4PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_Series4PreferredStockMember_e2ddcff1-93dd-469c-887f-95a5c9c95df8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series5PreferredStockMember_0d074a30-7c04-4aa5-a6aa-f7545636527e" xlink:href="bac-20251231.xsd#bac_Series5PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_Series5PreferredStockMember_0d074a30-7c04-4aa5-a6aa-f7545636527e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FloatingRatePreferredHybridIncomeTermSecuritiesMember_9212e901-15c3-4141-9aff-92c0d439c116" xlink:href="bac-20251231.xsd#bac_FloatingRatePreferredHybridIncomeTermSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_FloatingRatePreferredHybridIncomeTermSecuritiesMember_9212e901-15c3-4141-9aff-92c0d439c116" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_A5.63FixedtoFloatingRatePreferredHybridIncomeTermSecuritiesMember_820fff2d-0416-4aa2-bdd6-b011c270a1c5" xlink:href="bac-20251231.xsd#bac_A5.63FixedtoFloatingRatePreferredHybridIncomeTermSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_A5.63FixedtoFloatingRatePreferredHybridIncomeTermSecuritiesMember_820fff2d-0416-4aa2-bdd6-b011c270a1c5" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeCapitalObligationNotesMember_1d7329b9-08f7-420e-94c8-768f9b435e16" xlink:href="bac-20251231.xsd#bac_IncomeCapitalObligationNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_IncomeCapitalObligationNotesMember_1d7329b9-08f7-420e-94c8-768f9b435e16" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeniorMediumTermNotesSeriesAStepUpCallableNotesMember_8f23d387-ba8b-4d24-b9a3-53c044f4b098" xlink:href="bac-20251231.xsd#bac_SeniorMediumTermNotesSeriesAStepUpCallableNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeniorMediumTermNotesSeriesAStepUpCallableNotesMember_8f23d387-ba8b-4d24-b9a3-53c044f4b098" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesKKPreferredStockMember_0fc1ae38-2458-447f-8d5f-20c026f0f548" xlink:href="bac-20251231.xsd#bac_SeriesKKPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesKKPreferredStockMember_0fc1ae38-2458-447f-8d5f-20c026f0f548" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesLLPreferredStockMember_7c6b62cc-64a2-4107-a995-1e40610194e8" xlink:href="bac-20251231.xsd#bac_SeriesLLPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesLLPreferredStockMember_7c6b62cc-64a2-4107-a995-1e40610194e8" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesNNPreferredStockMember_2529a321-970b-4771-86aa-cb097b2fde10" xlink:href="bac-20251231.xsd#bac_SeriesNNPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesNNPreferredStockMember_2529a321-970b-4771-86aa-cb097b2fde10" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesPPPreferredStockMember_6f5948e6-40f0-4bc1-9441-7e03b35d58fa" xlink:href="bac-20251231.xsd#bac_SeriesPPPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesPPPreferredStockMember_6f5948e6-40f0-4bc1-9441-7e03b35d58fa" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesQQPreferredStockMember_9431e599-3cf2-4e7e-86dc-71913cef60b3" xlink:href="bac-20251231.xsd#bac_SeriesQQPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesQQPreferredStockMember_9431e599-3cf2-4e7e-86dc-71913cef60b3" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesSSPreferredStockMember_081a82d2-b464-4ce6-8997-9c6dd52e0476" xlink:href="bac-20251231.xsd#bac_SeriesSSPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ed889a6a-4c79-47fd-854c-15c7900e4c88" xlink:to="loc_bac_SeriesSSPreferredStockMember_081a82d2-b464-4ce6-8997-9c6dd52e0476" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_88475cbf-582d-4158-bd2f-04a151350507" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentType_88475cbf-582d-4158-bd2f-04a151350507" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentAnnualReport_24bf9092-0c76-45fc-8b1a-c2e68c21d4ba" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAnnualReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentAnnualReport_24bf9092-0c76-45fc-8b1a-c2e68c21d4ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_12d042d6-db01-417c-945b-29a032b0e5cc" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentPeriodEndDate_12d042d6-db01-417c-945b-29a032b0e5cc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_7f39ddf4-8bd9-4bfd-951e-c5b7f09e6a0e" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_CurrentFiscalYearEndDate_7f39ddf4-8bd9-4bfd-951e-c5b7f09e6a0e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_45274196-ecbf-4575-b1a9-b0d079872749" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentTransitionReport_45274196-ecbf-4575-b1a9-b0d079872749" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_c8e5dfbd-dc81-41af-bf32-db64f1761cf7" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityFileNumber_c8e5dfbd-dc81-41af-bf32-db64f1761cf7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_3e87ba24-8af4-4a2a-8381-d5256921ac2c" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityRegistrantName_3e87ba24-8af4-4a2a-8381-d5256921ac2c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_e6bbbc74-6cf9-4319-9d38-47d3f75a7dab" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityIncorporationStateCountryCode_e6bbbc74-6cf9-4319-9d38-47d3f75a7dab" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_34128144-0278-40e3-a5ac-812a67e7a078" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityTaxIdentificationNumber_34128144-0278-40e3-a5ac-812a67e7a078" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_77d8c734-ba13-43aa-a093-ef4245902e08" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityAddressAddressLine1_77d8c734-ba13-43aa-a093-ef4245902e08" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_b2f046cb-061a-4a34-926e-5a4a1a4386b6" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityAddressCityOrTown_b2f046cb-061a-4a34-926e-5a4a1a4386b6" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_3294bcdd-3e35-4526-b36a-8d1a58510de4" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityAddressStateOrProvince_3294bcdd-3e35-4526-b36a-8d1a58510de4" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_9664688a-9ee8-4eda-bf02-77e883c39f85" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityAddressPostalZipCode_9664688a-9ee8-4eda-bf02-77e883c39f85" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_f295e00e-482d-4a0b-9e5d-b3a7121904ef" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_CityAreaCode_f295e00e-482d-4a0b-9e5d-b3a7121904ef" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_00477128-27e3-4758-9eee-20406824deda" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_LocalPhoneNumber_00477128-27e3-4758-9eee-20406824deda" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_4569b325-9087-4181-a6bd-9e1031f9cdf2" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_Security12bTitle_4569b325-9087-4181-a6bd-9e1031f9cdf2" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_a7cbdd0d-bfc1-4b74-a314-c22d6e3d80d8" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_TradingSymbol_a7cbdd0d-bfc1-4b74-a314-c22d6e3d80d8" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_ba881705-0034-401e-8ed6-f9da3433f98c" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_SecurityExchangeName_ba881705-0034-401e-8ed6-f9da3433f98c" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_019b28ed-c659-7af3-97b2-0218ee5d2b1d" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_019b28ed-c659-7af3-97b2-0218ee5d2b1d" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityVoluntaryFilers_019b28ed-c659-7a3d-a032-51c7751c4e8e" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityVoluntaryFilers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityVoluntaryFilers_019b28ed-c659-7a3d-a032-51c7751c4e8e" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_e6cf504a-5a57-4b2d-8ba7-7caf0d99c9f2" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityCurrentReportingStatus_e6cf504a-5a57-4b2d-8ba7-7caf0d99c9f2" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_2750a921-721a-4b8a-8007-f7988982b8b8" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityInteractiveDataCurrent_2750a921-721a-4b8a-8007-f7988982b8b8" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_987f5ed5-b9b9-4742-bdf5-e3b8820b9b1f" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityFilerCategory_987f5ed5-b9b9-4742-bdf5-e3b8820b9b1f" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_1ff52f4a-2af3-4766-bcb8-3aa92c581c09" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntitySmallBusiness_1ff52f4a-2af3-4766-bcb8-3aa92c581c09" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_508fbff0-9827-419c-a3b6-b8c059d9eef3" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityEmergingGrowthCompany_508fbff0-9827-419c-a3b6-b8c059d9eef3" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_IcfrAuditorAttestationFlag_019b28ee-14a7-7027-99c8-a4ea64b1a8f2" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_IcfrAuditorAttestationFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_IcfrAuditorAttestationFlag_019b28ee-14a7-7027-99c8-a4ea64b1a8f2" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFinStmtErrorCorrectionFlag_019b28ee-14a7-7ea5-af70-7d836a332b56" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFinStmtErrorCorrectionFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentFinStmtErrorCorrectionFlag_019b28ee-14a7-7ea5-af70-7d836a332b56" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_2d8e2837-1c4a-407f-9086-606482792f2c" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityShellCompany_2d8e2837-1c4a-407f-9086-606482792f2c" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityPublicFloat_019b28ee-6138-7348-995a-35ea30040f91" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityPublicFloat"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityPublicFloat_019b28ee-6138-7348-995a-35ea30040f91" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_be8d0bb1-8171-4f03-8936-238f78a326cd" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_be8d0bb1-8171-4f03-8936-238f78a326cd" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentsIncorporatedByReferenceTextBlock_019b2917-2d6f-7604-84e3-ddeb5848e7d1" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentsIncorporatedByReferenceTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentsIncorporatedByReferenceTextBlock_019b2917-2d6f-7604-84e3-ddeb5848e7d1" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_c403e71b-04b8-4c62-9bfd-f155e69cd45f" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_EntityCentralIndexKey_c403e71b-04b8-4c62-9bfd-f155e69cd45f" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_d2bf0064-b059-4c17-8021-76c982061935" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentFiscalYearFocus_d2bf0064-b059-4c17-8021-76c982061935" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_1e5e5250-ee56-41be-bbee-07c4d13b18ed" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_DocumentFiscalPeriodFocus_1e5e5250-ee56-41be-bbee-07c4d13b18ed" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_fb989125-28bb-4f37-9ae6-9e2094827dda" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2d97d8c2-de04-4f4e-a5bb-e3978f8fe610" xlink:to="loc_dei_AmendmentFlag_fb989125-28bb-4f37-9ae6-9e2094827dda" xlink:type="arc" order="34"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ConsolidatedBalanceSheet" xlink:type="simple" xlink:href="bac-20251231.xsd#ConsolidatedBalanceSheet"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ConsolidatedBalanceSheet" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_1eb8c8fd-7ad2-4940-ae57-4671faee3bb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_f068ebfa-499b-4aa5-8558-bb7bc428ffec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_1eb8c8fd-7ad2-4940-ae57-4671faee3bb9" xlink:to="loc_us-gaap_StatementTable_f068ebfa-499b-4aa5-8558-bb7bc428ffec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_a56049fd-6d4a-40a0-965b-88fca08c93ea" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_f068ebfa-499b-4aa5-8558-bb7bc428ffec" xlink:to="loc_srt_ConsolidatedEntitiesAxis_a56049fd-6d4a-40a0-965b-88fca08c93ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_a56049fd-6d4a-40a0-965b-88fca08c93ea_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_a56049fd-6d4a-40a0-965b-88fca08c93ea" xlink:to="loc_srt_ConsolidatedEntitiesDomain_a56049fd-6d4a-40a0-965b-88fca08c93ea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_5ee13b64-ecea-443f-9386-b1aac86bb92b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_a56049fd-6d4a-40a0-965b-88fca08c93ea" xlink:to="loc_srt_ConsolidatedEntitiesDomain_5ee13b64-ecea-443f-9386-b1aac86bb92b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_883aefa2-b528-4416-97f4-256e054b3515" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_5ee13b64-ecea-443f-9386-b1aac86bb92b" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_883aefa2-b528-4416-97f4-256e054b3515" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1eb8c8fd-7ad2-4940-ae57-4671faee3bb9" xlink:to="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_f284a0cc-1793-4769-ae8c-4c9086348c2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_CashAndDueFromBanks_f284a0cc-1793-4769-ae8c-4c9086348c2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_72ff0352-c45d-4ec6-9bd9-3f63f210b68a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_72ff0352-c45d-4ec6-9bd9-3f63f210b68a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_2eb68553-6fb4-4b5c-87ac-fb74b16afc30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_2eb68553-6fb4-4b5c-87ac-fb74b16afc30" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TimeDepositsAndOtherShortTermInvestments_03129057-fd88-4603-bc51-ba60d4083ebe" xlink:href="bac-20251231.xsd#bac_TimeDepositsAndOtherShortTermInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_bac_TimeDepositsAndOtherShortTermInvestments_03129057-fd88-4603-bc51-ba60d4083ebe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell_e4e9395b-e812-4ccd-bcad-78d196a486db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_FederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell_e4e9395b-e812-4ccd-bcad-78d196a486db" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_9d72077c-2b62-4ee8-bb2d-9639466df291" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_TradingSecurities_9d72077c-2b62-4ee8-bb2d-9639466df291" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_0b248d0e-6304-4d01-b6cc-e27b788d1439" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_DerivativeAssets_0b248d0e-6304-4d01-b6cc-e27b788d1439" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesAbstract_bfa2c462-e714-477e-84f7-5c6b84906364" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_MarketableSecuritiesAbstract_bfa2c462-e714-477e-84f7-5c6b84906364" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_43a37d33-00e9-47d7-babf-dde92e3a4b8e" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_bfa2c462-e714-477e-84f7-5c6b84906364" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_43a37d33-00e9-47d7-babf-dde92e3a4b8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_5f80aec6-86f6-4182-aa83-d15cc172ed66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_bfa2c462-e714-477e-84f7-5c6b84906364" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_5f80aec6-86f6-4182-aa83-d15cc172ed66" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_ea610b19-f1a3-4647-ab53-64edb886fe7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_bfa2c462-e714-477e-84f7-5c6b84906364" xlink:to="loc_us-gaap_MarketableSecurities_ea610b19-f1a3-4647-ab53-64edb886fe7a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_7e993df1-9f27-4be2-8554-d1ffafe2b001" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_7e993df1-9f27-4be2-8554-d1ffafe2b001" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_b09f1332-2dce-40ce-9345-0055bb38c046" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_b09f1332-2dce-40ce-9345-0055bb38c046" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_aa4ec25d-15fd-424f-b29c-36c0a01fd33a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_aa4ec25d-15fd-424f-b29c-36c0a01fd33a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f72a5a3b-3dd2-41a9-b9db-f4056ddaf2ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f72a5a3b-3dd2-41a9-b9db-f4056ddaf2ef" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_ec0ae3ed-7e65-4e8e-9859-aaa0876c7be0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_Goodwill_ec0ae3ed-7e65-4e8e-9859-aaa0876c7be0" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableHeldForSaleExcludingAccruedInterestNotPartOfDisposalGroupAfterValuationAllowance_e98d1fd1-f962-448b-8dcb-6615b26f1f51" xlink:href="bac-20251231.xsd#bac_FinancingReceivableHeldForSaleExcludingAccruedInterestNotPartOfDisposalGroupAfterValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_bac_FinancingReceivableHeldForSaleExcludingAccruedInterestNotPartOfDisposalGroupAfterValuationAllowance_e98d1fd1-f962-448b-8dcb-6615b26f1f51" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_b4ff48f6-b5f2-4bdd-b119-e1d33e051b5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_OtherReceivables_b4ff48f6-b5f2-4bdd-b119-e1d33e051b5f" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_8f172a96-82ee-4cea-9b4d-174857c8c91b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_OtherAssets_8f172a96-82ee-4cea-9b4d-174857c8c91b" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c1c402d7-3748-4108-9c2f-32804877254e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_190c2cae-1997-470e-ae82-61b658a79a25" xlink:to="loc_us-gaap_Assets_c1c402d7-3748-4108-9c2f-32804877254e" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1eb8c8fd-7ad2-4940-ae57-4671faee3bb9" xlink:to="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsDomesticAbstract_7f687fe4-3bca-4ef2-a5c4-956fb2854548" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsDomesticAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_DepositsDomesticAbstract_7f687fe4-3bca-4ef2-a5c4-956fb2854548" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilitiesDomestic_4f8fa24f-3967-4c98-88e0-127551c13db5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestBearingDepositLiabilitiesDomestic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositsDomesticAbstract_7f687fe4-3bca-4ef2-a5c4-956fb2854548" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilitiesDomestic_4f8fa24f-3967-4c98-88e0-127551c13db5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilitiesDomestic_8c23f18a-5595-47f8-bf35-33d51bb86cf3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositLiabilitiesDomestic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositsDomesticAbstract_7f687fe4-3bca-4ef2-a5c4-956fb2854548" xlink:to="loc_us-gaap_InterestBearingDepositLiabilitiesDomestic_8c23f18a-5595-47f8-bf35-33d51bb86cf3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsForeignAbstract_f6d9f08d-f532-4e4c-83c4-e6c3f5ee18b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsForeignAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_DepositsForeignAbstract_f6d9f08d-f532-4e4c-83c4-e6c3f5ee18b8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilitiesForeign_598d1195-965f-4c00-a6fd-51699a9726da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestBearingDepositLiabilitiesForeign"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositsForeignAbstract_f6d9f08d-f532-4e4c-83c4-e6c3f5ee18b8" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilitiesForeign_598d1195-965f-4c00-a6fd-51699a9726da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilitiesForeign_347e9319-2255-43a1-b783-bc65945a1423" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositLiabilitiesForeign"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositsForeignAbstract_f6d9f08d-f532-4e4c-83c4-e6c3f5ee18b8" xlink:to="loc_us-gaap_InterestBearingDepositLiabilitiesForeign_347e9319-2255-43a1-b783-bc65945a1423" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_b3923608-82a0-4785-8425-53c720ebfed4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Deposits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_Deposits_b3923608-82a0-4785-8425-53c720ebfed4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsPurchasedAndSecuritiesSoldUnderAgreementsToRepurchase_e932f6bd-ab7e-4847-92dc-d3edc67f63a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsPurchasedAndSecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_FederalFundsPurchasedAndSecuritiesSoldUnderAgreementsToRepurchase_e932f6bd-ab7e-4847-92dc-d3edc67f63a3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingLiabilities_5074fb08-1aa2-4a46-8884-91cc1f78c28f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_TradingLiabilities_5074fb08-1aa2-4a46-8884-91cc1f78c28f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_5ac043f2-1770-48d9-b3ef-a37e2b0d114e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_DerivativeLiabilities_5ac043f2-1770-48d9-b3ef-a37e2b0d114e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_77e902fd-02e2-4b8f-a411-c42ea3342728" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherShortTermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_OtherShortTermBorrowings_77e902fd-02e2-4b8f-a411-c42ea3342728" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_15c8387e-4b62-4bb4-b347-f1a5d80c8b0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_15c8387e-4b62-4bb4-b347-f1a5d80c8b0f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_c3e932c8-9e2d-4dc1-aae3-2ea18fcf340a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_LongTermDebt_c3e932c8-9e2d-4dc1-aae3-2ea18fcf340a" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_5c24e306-54d9-4ea8-b6bb-593372fc955e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_OtherLiabilities_5c24e306-54d9-4ea8-b6bb-593372fc955e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_872a5678-73fe-4512-a2ca-2f685760a16a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_11e8e667-cdfe-437d-bbe2-6c33bfcf9618" xlink:to="loc_us-gaap_Liabilities_872a5678-73fe-4512-a2ca-2f685760a16a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_c371496d-255c-4bd8-8611-71283e217cb1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1eb8c8fd-7ad2-4940-ae57-4671faee3bb9" xlink:to="loc_us-gaap_CommitmentsAndContingencies_c371496d-255c-4bd8-8611-71283e217cb1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_aef4ac18-9731-44fc-8f9c-0416260718a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1eb8c8fd-7ad2-4940-ae57-4671faee3bb9" xlink:to="loc_us-gaap_StockholdersEquityAbstract_aef4ac18-9731-44fc-8f9c-0416260718a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockRedeemableAndNonRedeemableValue_1d2d0014-4b4d-4c9b-8c54-a6b6736ab4ca" xlink:href="bac-20251231.xsd#bac_PreferredStockRedeemableAndNonRedeemableValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_aef4ac18-9731-44fc-8f9c-0416260718a8" xlink:to="loc_bac_PreferredStockRedeemableAndNonRedeemableValue_1d2d0014-4b4d-4c9b-8c54-a6b6736ab4ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_c6667183-3416-43b6-a14e-6f3427d540b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStocksIncludingAdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_aef4ac18-9731-44fc-8f9c-0416260718a8" xlink:to="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_c6667183-3416-43b6-a14e-6f3427d540b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_1ae06c85-79a4-48d4-9156-9e1741b85d06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_aef4ac18-9731-44fc-8f9c-0416260718a8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_1ae06c85-79a4-48d4-9156-9e1741b85d06" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_ad8c17d5-83b7-4f3f-a33c-4664ab52083f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_aef4ac18-9731-44fc-8f9c-0416260718a8" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_ad8c17d5-83b7-4f3f-a33c-4664ab52083f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_89012a55-35c1-4887-8d42-ecd924b03fa4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_aef4ac18-9731-44fc-8f9c-0416260718a8" xlink:to="loc_us-gaap_StockholdersEquity_89012a55-35c1-4887-8d42-ecd924b03fa4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_9f4d52ba-88c2-4734-8dca-3566d7cd7cca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_1eb8c8fd-7ad2-4940-ae57-4671faee3bb9" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_9f4d52ba-88c2-4734-8dca-3566d7cd7cca" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ConsolidatedBalanceSheetParenthetical" xlink:type="simple" xlink:href="bac-20251231.xsd#ConsolidatedBalanceSheetParenthetical"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ConsolidatedBalanceSheetParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_ae830fae-7bd2-4572-ad7a-82923cc23403" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_795e93e7-8b89-475c-a050-43089cd086c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_ae830fae-7bd2-4572-ad7a-82923cc23403" xlink:to="loc_us-gaap_StatementTable_795e93e7-8b89-475c-a050-43089cd086c0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_72e34418-7ca6-45a6-adf0-3221578638ef" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_795e93e7-8b89-475c-a050-43089cd086c0" xlink:to="loc_srt_ConsolidatedEntitiesAxis_72e34418-7ca6-45a6-adf0-3221578638ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_72e34418-7ca6-45a6-adf0-3221578638ef_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_72e34418-7ca6-45a6-adf0-3221578638ef" xlink:to="loc_srt_ConsolidatedEntitiesDomain_72e34418-7ca6-45a6-adf0-3221578638ef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_ee60f47c-d3d7-49e2-bc11-d453fbaac1b4" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_72e34418-7ca6-45a6-adf0-3221578638ef" xlink:to="loc_srt_ConsolidatedEntitiesDomain_ee60f47c-d3d7-49e2-bc11-d453fbaac1b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_6d13966e-c447-42f7-aaa8-b9ec4da53256" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_ee60f47c-d3d7-49e2-bc11-d453fbaac1b4" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_6d13966e-c447-42f7-aaa8-b9ec4da53256" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RecourseStatusAxis_575cc92b-9fa8-4a28-8782-1af1f149cdd9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RecourseStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_795e93e7-8b89-475c-a050-43089cd086c0" xlink:to="loc_us-gaap_RecourseStatusAxis_575cc92b-9fa8-4a28-8782-1af1f149cdd9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RecourseStatusDomain_575cc92b-9fa8-4a28-8782-1af1f149cdd9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RecourseStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RecourseStatusAxis_575cc92b-9fa8-4a28-8782-1af1f149cdd9" xlink:to="loc_us-gaap_RecourseStatusDomain_575cc92b-9fa8-4a28-8782-1af1f149cdd9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RecourseStatusDomain_195c53b9-ae9f-452b-a36a-8707b81eb884" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RecourseStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RecourseStatusAxis_575cc92b-9fa8-4a28-8782-1af1f149cdd9" xlink:to="loc_us-gaap_RecourseStatusDomain_195c53b9-ae9f-452b-a36a-8707b81eb884" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonrecourseMember_ae833d3e-6d70-46f7-a281-66fd794defae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonrecourseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RecourseStatusDomain_195c53b9-ae9f-452b-a36a-8707b81eb884" xlink:to="loc_us-gaap_NonrecourseMember_ae833d3e-6d70-46f7-a281-66fd794defae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ae830fae-7bd2-4572-ad7a-82923cc23403" xlink:to="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure_c18ff6ec-9c23-4e1b-b170-78c0a6974726" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure_c18ff6ec-9c23-4e1b-b170-78c0a6974726" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingRestricted_45652e31-b46c-4f4a-abe3-f4f6f89aaa56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesTradingRestricted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_DebtSecuritiesTradingRestricted_45652e31-b46c-4f4a-abe3-f4f6f89aaa56" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_019c34ce-7fa8-7ac0-ac0b-a3c0a8ab5992" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_TradingSecurities_019c34ce-7fa8-7ac0-ac0b-a3c0a8ab5992" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c34ce-7fa8-7525-a7bc-c9a9ae36eb53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c34ce-7fa8-7525-a7bc-c9a9ae36eb53" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019c34cf-ad49-725f-b929-7607196a61a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019c34cf-ad49-725f-b929-7607196a61a0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019c34cf-f2a6-7306-aa20-042f107b745b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019c34cf-f2a6-7306-aa20-042f107b745b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019c34ce-ed20-73d1-ad99-0f7789b53a41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_OtherAssets_019c34ce-ed20-73d1-ad99-0f7789b53a41" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019c34d0-8f87-7bd8-9014-c5207ee8a63c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_Assets_019c34d0-8f87-7bd8-9014-c5207ee8a63c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesAbstract_08b8d180-8d84-41d3-9529-9455ea45cfb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_MarketableSecuritiesAbstract_08b8d180-8d84-41d3-9529-9455ea45cfb5" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_18f8442f-318b-42c3-bb9f-083cacdffd40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_08b8d180-8d84-41d3-9529-9455ea45cfb5" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_18f8442f-318b-42c3-bb9f-083cacdffd40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_d8dc330e-91a3-4ce9-aeaf-ac262d1261be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_d8dc330e-91a3-4ce9-aeaf-ac262d1261be" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_ab1c0240-d767-476e-b81b-d4194d3362f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_ab1c0240-d767-476e-b81b-d4194d3362f4" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsFairValueDisclosure_d2e62cf7-ef2e-4360-a7cb-58b61299a14d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_188b709d-518f-45b9-a937-ae0c7f93727d" xlink:to="loc_us-gaap_OtherAssetsFairValueDisclosure_d2e62cf7-ef2e-4360-a7cb-58b61299a14d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ae830fae-7bd2-4572-ad7a-82923cc23403" xlink:to="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsDomesticAbstract_019c7634-5ebc-7d45-b9a3-f5731c1bf6c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsDomesticAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_DepositsDomesticAbstract_019c7634-5ebc-7d45-b9a3-f5731c1bf6c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestBearingDepositLiabilitiesDomesticFairValueDisclosure_4c70dfbc-d27d-4048-ab56-9df015e7695f" xlink:href="bac-20251231.xsd#bac_InterestBearingDepositLiabilitiesDomesticFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositsDomesticAbstract_019c7634-5ebc-7d45-b9a3-f5731c1bf6c4" xlink:to="loc_bac_InterestBearingDepositLiabilitiesDomesticFairValueDisclosure_4c70dfbc-d27d-4048-ab56-9df015e7695f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure_4d3c052f-d70b-4d62-813f-6ece35bb145e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure_4d3c052f-d70b-4d62-813f-6ece35bb145e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShorttermDebtFairValue_ca0a0679-16b4-4560-be83-53ebab9f6bf3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShorttermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_ShorttermDebtFairValue_ca0a0679-16b4-4560-be83-53ebab9f6bf3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonfinancialLiabilitiesFairValueDisclosure_785856f4-d09b-4547-8a66-6e131519295d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonfinancialLiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_NonfinancialLiabilitiesFairValueDisclosure_785856f4-d09b-4547-8a66-6e131519295d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditExtensionCommitmentsReserveForUnfundedLendingCommitments_6bcecbf9-72ba-499c-a420-529145686701" xlink:href="bac-20251231.xsd#bac_CreditExtensionCommitmentsReserveForUnfundedLendingCommitments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_bac_CreditExtensionCommitmentsReserveForUnfundedLendingCommitments_6bcecbf9-72ba-499c-a420-529145686701" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_c67902a9-cfb0-40bb-bfb7-9e0428cbd5de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_LongTermDebtFairValue_c67902a9-cfb0-40bb-bfb7-9e0428cbd5de" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_1186bc20-3967-453f-bb7c-5ad94fa6ccd0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherShortTermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_OtherShortTermBorrowings_1186bc20-3967-453f-bb7c-5ad94fa6ccd0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_8a83d7b3-297a-434a-bb27-00d44320e5bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_LongTermDebt_8a83d7b3-297a-434a-bb27-00d44320e5bc" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_2316df51-9c22-4ac0-b4e0-aa57d53ae03f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_OtherLiabilities_2316df51-9c22-4ac0-b4e0-aa57d53ae03f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019c34d3-393d-7cf3-92d4-6f534a5e2a70" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_48dd1e64-ded5-42c8-8459-cffa706c4c6e" xlink:to="loc_us-gaap_Liabilities_019c34d3-393d-7cf3-92d4-6f534a5e2a70" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ae830fae-7bd2-4572-ad7a-82923cc23403" xlink:to="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_c3ca9130-5bac-4fc3-9c76-1863a0082881" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_c3ca9130-5bac-4fc3-9c76-1863a0082881" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_4e574569-87dc-4022-bf86-45b727a71b06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_4e574569-87dc-4022-bf86-45b727a71b06" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_773a21d3-a98f-413c-8691-591a6e06334d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:to="loc_us-gaap_PreferredStockSharesIssued_773a21d3-a98f-413c-8691-591a6e06334d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_d5d05afd-7b2b-4d6d-b8c9-19577774039f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_d5d05afd-7b2b-4d6d-b8c9-19577774039f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_24b0bb79-717e-40b1-b097-e4152cb25046" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_24b0bb79-717e-40b1-b097-e4152cb25046" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_5b0d2c55-6441-431d-b278-b5dea4bdd1a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_5b0d2c55-6441-431d-b278-b5dea4bdd1a8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_584e1168-52de-47d0-bbbb-82e5533215e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:to="loc_us-gaap_CommonStockSharesIssued_584e1168-52de-47d0-bbbb-82e5533215e1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_81681617-97ca-4f61-9c1f-1d9944cdab5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_16293ff0-a21b-4b1b-8493-84d97ee7b16e" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_81681617-97ca-4f61-9c1f-1d9944cdab5c" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ConsolidatedStatementofChangesinShareholdersEquity" xlink:type="simple" xlink:href="bac-20251231.xsd#ConsolidatedStatementofChangesinShareholdersEquity"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ConsolidatedStatementofChangesinShareholdersEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_755bc3b8-8197-4b79-8ef3-483375500ca3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_35f78bac-3699-4710-bd54-4c8339e1a6cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_755bc3b8-8197-4b79-8ef3-483375500ca3" xlink:to="loc_us-gaap_StatementTable_35f78bac-3699-4710-bd54-4c8339e1a6cc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_76dad4ae-4ef6-452e-b2fb-4fbeaa7d14b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_35f78bac-3699-4710-bd54-4c8339e1a6cc" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_76dad4ae-4ef6-452e-b2fb-4fbeaa7d14b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_76dad4ae-4ef6-452e-b2fb-4fbeaa7d14b2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_76dad4ae-4ef6-452e-b2fb-4fbeaa7d14b2" xlink:to="loc_us-gaap_EquityComponentDomain_76dad4ae-4ef6-452e-b2fb-4fbeaa7d14b2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_97ee5edf-6120-47db-a5ca-b98ed0b1f3a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_76dad4ae-4ef6-452e-b2fb-4fbeaa7d14b2" xlink:to="loc_us-gaap_EquityComponentDomain_97ee5edf-6120-47db-a5ca-b98ed0b1f3a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_5bb1ec69-51a2-4172-bfa5-0f9af2dc2cc8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_97ee5edf-6120-47db-a5ca-b98ed0b1f3a0" xlink:to="loc_us-gaap_PreferredStockMember_5bb1ec69-51a2-4172-bfa5-0f9af2dc2cc8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_26a6d223-50f7-41d7-86b6-84a26d74bd65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_97ee5edf-6120-47db-a5ca-b98ed0b1f3a0" xlink:to="loc_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_26a6d223-50f7-41d7-86b6-84a26d74bd65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_fb0f3d25-d3c2-4491-bbeb-9f7aabaa1dc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_97ee5edf-6120-47db-a5ca-b98ed0b1f3a0" xlink:to="loc_us-gaap_RetainedEarningsMember_fb0f3d25-d3c2-4491-bbeb-9f7aabaa1dc2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_5ce090eb-1fc1-4c72-acc2-ac14c420b45f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_97ee5edf-6120-47db-a5ca-b98ed0b1f3a0" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_5ce090eb-1fc1-4c72-acc2-ac14c420b45f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_019b279f-bb5a-7cc4-9958-de7872d50eb0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_35f78bac-3699-4710-bd54-4c8339e1a6cc" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_019b279f-bb5a-7cc4-9958-de7872d50eb0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b279f-bb5a-7cc4-9958-de7872d50eb0_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_019b279f-bb5a-7cc4-9958-de7872d50eb0" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b279f-bb5a-7cc4-9958-de7872d50eb0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b279f-bb5a-7804-9457-96f4f8ead905" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_019b279f-bb5a-7cc4-9958-de7872d50eb0" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b279f-bb5a-7804-9457-96f4f8ead905" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_019b279f-bb5a-7f95-8806-3b273fd61b8c" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b279f-bb5a-7804-9457-96f4f8ead905" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_019b279f-bb5a-7f95-8806-3b273fd61b8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAxis_019c38af-6e3e-7a57-bc86-02f05585cb4b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_35f78bac-3699-4710-bd54-4c8339e1a6cc" xlink:to="loc_srt_RestatementAxis_019c38af-6e3e-7a57-bc86-02f05585cb4b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_019c38af-6e3e-7a57-bc86-02f05585cb4b_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_019c38af-6e3e-7a57-bc86-02f05585cb4b" xlink:to="loc_srt_RestatementDomain_019c38af-6e3e-7a57-bc86-02f05585cb4b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_019c38af-6e3e-70f3-bc4b-1cae99271375" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_019c38af-6e3e-7a57-bc86-02f05585cb4b" xlink:to="loc_srt_RestatementDomain_019c38af-6e3e-70f3-bc4b-1cae99271375" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RevisionOfPriorPeriodChangeInAccountingPrincipleAdjustmentMember_019c38af-b42c-7937-bd19-93382a51d16b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RevisionOfPriorPeriodChangeInAccountingPrincipleAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_019c38af-6e3e-70f3-bc4b-1cae99271375" xlink:to="loc_srt_RevisionOfPriorPeriodChangeInAccountingPrincipleAdjustmentMember_019c38af-b42c-7937-bd19-93382a51d16b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_755bc3b8-8197-4b79-8ef3-483375500ca3" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_641a3a7c-d521-4253-807a-03e7ed38fb0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_StockholdersEquity_641a3a7c-d521-4253-807a-03e7ed38fb0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_834e1f65-f9c5-44d4-b02a-cfee6ef14f63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_SharesOutstanding_834e1f65-f9c5-44d4-b02a-cfee6ef14f63" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1aff5512-e917-47a8-aa09-42f34671ef96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_NetIncomeLoss_1aff5512-e917-47a8-aa09-42f34671ef96" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_229d1f86-f9c7-4b81-9586-ec1ff0584d85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_229d1f86-f9c7-4b81-9586-ec1ff0584d85" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent_ddb4b32e-2486-449c-ac22-a33e1a3d5a14" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent_ddb4b32e-2486-449c-ac22-a33e1a3d5a14" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_01036e43-3773-4bf6-bcf6-6321e1806ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_01036e43-3773-4bf6-bcf6-6321e1806ea1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_12258818-d5fe-4671-94dc-904c253ef63c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_12258818-d5fe-4671-94dc-904c253ef63c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_6d2fef52-8789-4faa-a8d4-f3213f35c863" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_6d2fef52-8789-4faa-a8d4-f3213f35c863" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsAbstract_9bf1e72a-3d45-430f-a6e1-3db727d30da1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_DividendsAbstract_9bf1e72a-3d45-430f-a6e1-3db727d30da1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_c2e9af35-2953-4694-a461-71b03480f8b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsAbstract_9bf1e72a-3d45-430f-a6e1-3db727d30da1" xlink:to="loc_us-gaap_DividendsCommonStockCash_c2e9af35-2953-4694-a461-71b03480f8b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStockCash_d41345cd-a143-47ba-aa79-a42eae785fc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPreferredStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsAbstract_9bf1e72a-3d45-430f-a6e1-3db727d30da1" xlink:to="loc_us-gaap_DividendsPreferredStockCash_d41345cd-a143-47ba-aa79-a42eae785fc2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_86fd483c-3832-4c7c-8cc1-8c395a5db718" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_86fd483c-3832-4c7c-8cc1-8c395a5db718" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRedeemedOrCalledDuringPeriodValue_dff2b665-1dc6-4996-a6a6-435c600ab3e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRedeemedOrCalledDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_StockRedeemedOrCalledDuringPeriodValue_dff2b665-1dc6-4996-a6a6-435c600ab3e8" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_96418537-5c3f-4202-b104-8b6cda107011" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_96418537-5c3f-4202-b104-8b6cda107011" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019b28ee-dab2-76fc-9d86-03fa6b514ae2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019b28ee-dab2-76fc-9d86-03fa6b514ae2" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_8d0307f2-09d2-49ea-b346-8700903a8c71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_8d0307f2-09d2-49ea-b346-8700903a8c71" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_2c5db321-d412-4115-aa49-a2d8ae0fa81c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_792f0856-0595-49be-8b08-a866823201db" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_2c5db321-d412-4115-aa49-a2d8ae0fa81c" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_fe1a4128-a184-409b-84b3-c49808959854" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_143635f2-fd80-4890-bca7-529d8a43e450" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesTables" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesTables"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_b37f62f2-e74d-46c9-bc56-a85f4f3677c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_DerivativeTable_b37f62f2-e74d-46c9-bc56-a85f4f3677c8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_5b84138d-20e2-4ca8-a8bf-f9cfceb2bafa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_b37f62f2-e74d-46c9-bc56-a85f4f3677c8" xlink:to="loc_us-gaap_FinancialInstrumentAxis_5b84138d-20e2-4ca8-a8bf-f9cfceb2bafa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5b84138d-20e2-4ca8-a8bf-f9cfceb2bafa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5b84138d-20e2-4ca8-a8bf-f9cfceb2bafa" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5b84138d-20e2-4ca8-a8bf-f9cfceb2bafa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0b12f64e-f7dd-4807-bb3b-a02851da0c1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5b84138d-20e2-4ca8-a8bf-f9cfceb2bafa" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0b12f64e-f7dd-4807-bb3b-a02851da0c1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeMember_cbc2160b-0898-4fad-9223-c051b82282ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0b12f64e-f7dd-4807-bb3b-a02851da0c1b" xlink:to="loc_us-gaap_DerivativeMember_cbc2160b-0898-4fad-9223-c051b82282ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock_9f64909b-fc84-45b1-8cfd-10e5fba633e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDerivativeInstrumentsTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock_9f64909b-fc84-45b1-8cfd-10e5fba633e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingAssetsTableTextBlock_d79667bd-31b4-423c-b1d9-fac0723ddb57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAssetsTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_OffsettingAssetsTableTextBlock_d79667bd-31b4-423c-b1d9-fac0723ddb57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingLiabilitiesTableTextBlock_07adbc4c-179f-4fbb-9554-aa25f4851c26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingLiabilitiesTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_OffsettingLiabilitiesTableTextBlock_07adbc4c-179f-4fbb-9554-aa25f4851c26" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock_a06ae4c9-1049-4077-b7cc-55f3a3e7198a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock_a06ae4c9-1049-4077-b7cc-55f3a3e7198a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_2d7821ad-787d-45e4-9323-6b968340def9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_2d7821ad-787d-45e4-9323-6b968340def9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCashFlowHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_85c4c973-921a-42c5-8e42-1abf3fe2b8cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCashFlowHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_ScheduleOfCashFlowHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_85c4c973-921a-42c5-8e42-1abf3fe2b8cd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_a0f5c94b-074b-44ae-ac3c-a7b14a7ba73f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_a0f5c94b-074b-44ae-ac3c-a7b14a7ba73f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsIncludedInTradingActivitiesTextBlock_f19efd8c-e82d-48c1-bed1-e7552dd8bc1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDerivativeInstrumentsIncludedInTradingActivitiesTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_ScheduleOfDerivativeInstrumentsIncludedInTradingActivitiesTextBlock_f19efd8c-e82d-48c1-bed1-e7552dd8bc1b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisclosureOfCreditDerivativesTextBlock_3c376e82-18e5-4d0d-ac29-d5d74923d04c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisclosureOfCreditDerivativesTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_us-gaap_DisclosureOfCreditDerivativesTextBlock_3c376e82-18e5-4d0d-ac29-d5d74923d04c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ScheduleOfAdditionalCollateralRequiredUponDowngradeTableTextBlock_5853cfb0-998c-468b-96a0-78c9eb7d7afa" xlink:href="bac-20251231.xsd#bac_ScheduleOfAdditionalCollateralRequiredUponDowngradeTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_bac_ScheduleOfAdditionalCollateralRequiredUponDowngradeTableTextBlock_5853cfb0-998c-468b-96a0-78c9eb7d7afa" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ScheduleOfDerivativeLiabilitiesSubjectToUnilateralTerminationUponDowngradeTableTextBlock_e7f041af-7da5-42eb-b852-8a76563e300c" xlink:href="bac-20251231.xsd#bac_ScheduleOfDerivativeLiabilitiesSubjectToUnilateralTerminationUponDowngradeTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_bac_ScheduleOfDerivativeLiabilitiesSubjectToUnilateralTerminationUponDowngradeTableTextBlock_e7f041af-7da5-42eb-b852-8a76563e300c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ValuationAdjustmentsOnDerivativesTableTextBlock_69be5c94-3742-4588-899e-0c042187bc4b" xlink:href="bac-20251231.xsd#bac_ValuationAdjustmentsOnDerivativesTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_bb9ea8e1-c382-423b-a233-84546d09aada" xlink:to="loc_bac_ValuationAdjustmentsOnDerivativesTableTextBlock_69be5c94-3742-4588-899e-0c042187bc4b" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesTables" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritizationsandOtherVariableInterestEntitiesTables"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_90f85865-b46f-49cb-9aa5-61eed0717569" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_4126374f-2ae9-45ed-a784-6cee70ace788" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_90f85865-b46f-49cb-9aa5-61eed0717569" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_4126374f-2ae9-45ed-a784-6cee70ace788" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_e88721fe-9fe3-4c4c-8b6d-b2415028cd06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_4126374f-2ae9-45ed-a784-6cee70ace788" xlink:to="loc_us-gaap_FinancialInstrumentAxis_e88721fe-9fe3-4c4c-8b6d-b2415028cd06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e88721fe-9fe3-4c4c-8b6d-b2415028cd06_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e88721fe-9fe3-4c4c-8b6d-b2415028cd06" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e88721fe-9fe3-4c4c-8b6d-b2415028cd06_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ad69f478-cf69-41a1-a633-dbd5103eb13e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e88721fe-9fe3-4c4c-8b6d-b2415028cd06" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ad69f478-cf69-41a1-a633-dbd5103eb13e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageAndHomeEquitySecuritizationsMember_4a6acb24-eb1b-4ffe-a909-97e1ee93b2f7" xlink:href="bac-20251231.xsd#bac_MortgageAndHomeEquitySecuritizationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ad69f478-cf69-41a1-a633-dbd5103eb13e" xlink:to="loc_bac_MortgageAndHomeEquitySecuritizationsMember_4a6acb24-eb1b-4ffe-a909-97e1ee93b2f7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxCreditVehiclesMember_0d7e5b11-610f-4ae8-8470-96fa79bd6c38" xlink:href="bac-20251231.xsd#bac_TaxCreditVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ad69f478-cf69-41a1-a633-dbd5103eb13e" xlink:to="loc_bac_TaxCreditVehiclesMember_0d7e5b11-610f-4ae8-8470-96fa79bd6c38" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock_2284e7d6-4d54-49e8-9a04-8bc43d849168" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_90f85865-b46f-49cb-9aa5-61eed0717569" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock_2284e7d6-4d54-49e8-9a04-8bc43d849168" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashTables" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashTables"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingLiabilitiesLineItems_b13c8bcf-310b-43d2-a63c-3f0fa297e85b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingLiabilitiesTable_dbb86f49-5f56-43ee-b95e-2cc182dac7d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_b13c8bcf-310b-43d2-a63c-3f0fa297e85b" xlink:to="loc_us-gaap_OffsettingLiabilitiesTable_dbb86f49-5f56-43ee-b95e-2cc182dac7d1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_e57f67cb-4a6b-4298-9af4-3648ae39d212" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OffsettingLiabilitiesTable_dbb86f49-5f56-43ee-b95e-2cc182dac7d1" xlink:to="loc_us-gaap_FinancialInstrumentAxis_e57f67cb-4a6b-4298-9af4-3648ae39d212" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e57f67cb-4a6b-4298-9af4-3648ae39d212_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e57f67cb-4a6b-4298-9af4-3648ae39d212" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e57f67cb-4a6b-4298-9af4-3648ae39d212_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ca51d2ee-c093-40b5-a364-bb7fad5ad916" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e57f67cb-4a6b-4298-9af4-3648ae39d212" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ca51d2ee-c093-40b5-a364-bb7fad5ad916" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritiesBorrowedAndSecuritiesPurchasedUnderAgreementsToResellMember_0712538f-0e01-4540-a565-fa17ae54a4d2" xlink:href="bac-20251231.xsd#bac_SecuritiesBorrowedAndSecuritiesPurchasedUnderAgreementsToResellMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ca51d2ee-c093-40b5-a364-bb7fad5ad916" xlink:to="loc_bac_SecuritiesBorrowedAndSecuritiesPurchasedUnderAgreementsToResellMember_0712538f-0e01-4540-a565-fa17ae54a4d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritiesLoanedAndFinancialAssetsSoldUnderAgreementsToRepurchaseMember_5d00e42b-b834-4c85-ae9f-16c4745c6c3a" xlink:href="bac-20251231.xsd#bac_SecuritiesLoanedAndFinancialAssetsSoldUnderAgreementsToRepurchaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ca51d2ee-c093-40b5-a364-bb7fad5ad916" xlink:to="loc_bac_SecuritiesLoanedAndFinancialAssetsSoldUnderAgreementsToRepurchaseMember_5d00e42b-b834-4c85-ae9f-16c4745c6c3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingLiabilitiesTableTextBlock_f9658fbf-f656-48fb-ad94-546d30fb3173" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingLiabilitiesTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_b13c8bcf-310b-43d2-a63c-3f0fa297e85b" xlink:to="loc_us-gaap_OffsettingLiabilitiesTableTextBlock_f9658fbf-f656-48fb-ad94-546d30fb3173" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingAssetsTableTextBlock_4689063f-88f6-42dc-a6dd-7503748e4e55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAssetsTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_b13c8bcf-310b-43d2-a63c-3f0fa297e85b" xlink:to="loc_us-gaap_OffsettingAssetsTableTextBlock_4689063f-88f6-42dc-a6dd-7503748e4e55" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTableTextBlock_5915f097-30c0-4d2e-ba67-62073e4b713c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_b13c8bcf-310b-43d2-a63c-3f0fa297e85b" xlink:to="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTableTextBlock_5915f097-30c0-4d2e-ba67-62073e4b713c" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SummaryofSignificantAccountingPrinciplesChangeinAccountingPolicyDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SummaryofSignificantAccountingPrinciplesChangeinAccountingPolicyDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SummaryofSignificantAccountingPrinciplesChangeinAccountingPolicyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_019c39fc-31f9-7de9-8b12-c457928646e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_019c39fc-31f9-717b-9026-6e3f59be263e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_019c39fc-31f9-7de9-8b12-c457928646e8" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_019c39fc-31f9-717b-9026-6e3f59be263e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAxis_019c39fc-31f9-7486-9def-148ce176a1b4" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_019c39fc-31f9-717b-9026-6e3f59be263e" xlink:to="loc_srt_RestatementAxis_019c39fc-31f9-7486-9def-148ce176a1b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_019c39fc-31f9-7486-9def-148ce176a1b4_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_019c39fc-31f9-7486-9def-148ce176a1b4" xlink:to="loc_srt_RestatementDomain_019c39fc-31f9-7486-9def-148ce176a1b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_019c39fc-31f9-7b85-8a90-13a37a402e0d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_019c39fc-31f9-7486-9def-148ce176a1b4" xlink:to="loc_srt_RestatementDomain_019c39fc-31f9-7b85-8a90-13a37a402e0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RevisionOfPriorPeriodChangeInAccountingPrincipleAdjustmentMember_019c39fc-31f9-76d1-ac28-a4eb2d469617" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RevisionOfPriorPeriodChangeInAccountingPrincipleAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_019c39fc-31f9-7b85-8a90-13a37a402e0d" xlink:to="loc_srt_RevisionOfPriorPeriodChangeInAccountingPrincipleAdjustmentMember_019c39fc-31f9-76d1-ac28-a4eb2d469617" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019c39fc-31f9-77f9-b872-e41dfbac1a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_019c39fc-31f9-7de9-8b12-c457928646e8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019c39fc-31f9-77f9-b872-e41dfbac1a9c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SummaryofSignificantAccountingPrinciplesSecuritiesLoansandLeasesandAllowanceforCreditLossesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SummaryofSignificantAccountingPrinciplesSecuritiesLoansandLeasesandAllowanceforCreditLossesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SummaryofSignificantAccountingPrinciplesSecuritiesLoansandLeasesandAllowanceforCreditLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_e1e7121e-0094-471d-ba99-7d8ffb7596e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_73168e29-64ba-47ef-b7dd-7c0b480f910f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_e1e7121e-0094-471d-ba99-7d8ffb7596e9" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_73168e29-64ba-47ef-b7dd-7c0b480f910f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_abf3d664-7e2c-4dc8-87a5-d6afe9c7ab2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_73168e29-64ba-47ef-b7dd-7c0b480f910f" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_abf3d664-7e2c-4dc8-87a5-d6afe9c7ab2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_abf3d664-7e2c-4dc8-87a5-d6afe9c7ab2b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_abf3d664-7e2c-4dc8-87a5-d6afe9c7ab2b" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_abf3d664-7e2c-4dc8-87a5-d6afe9c7ab2b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1a1f759f-a598-4f3c-a22c-f6503057162f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_abf3d664-7e2c-4dc8-87a5-d6afe9c7ab2b" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1a1f759f-a598-4f3c-a22c-f6503057162f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_de05bf4b-3c0e-47f3-8a06-3d3a60343c1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1a1f759f-a598-4f3c-a22c-f6503057162f" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_de05bf4b-3c0e-47f3-8a06-3d3a60343c1d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_8b7ce334-98fe-4712-a7e3-d66634218ccd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1a1f759f-a598-4f3c-a22c-f6503057162f" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_8b7ce334-98fe-4712-a7e3-d66634218ccd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_05027005-482e-4595-998f-3c55371441a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1a1f759f-a598-4f3c-a22c-f6503057162f" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_05027005-482e-4595-998f-3c55371441a7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8cd6bae2-6412-4865-a04e-72633c073180" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_73168e29-64ba-47ef-b7dd-7c0b480f910f" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8cd6bae2-6412-4865-a04e-72633c073180" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8cd6bae2-6412-4865-a04e-72633c073180_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8cd6bae2-6412-4865-a04e-72633c073180" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8cd6bae2-6412-4865-a04e-72633c073180_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7761b34d-a7eb-4094-af32-5760c80dc619" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8cd6bae2-6412-4865-a04e-72633c073180" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7761b34d-a7eb-4094-af32-5760c80dc619" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_378d63b3-28fc-4962-80e2-f03171696866" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7761b34d-a7eb-4094-af32-5760c80dc619" xlink:to="loc_us-gaap_ResidentialMortgageMember_378d63b3-28fc-4962-80e2-f03171696866" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_JuniorLienHomeEquityFinancingReceivableMember_2fc5f93d-99d5-4423-ac94-fe65e6962e9f" xlink:href="bac-20251231.xsd#bac_JuniorLienHomeEquityFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7761b34d-a7eb-4094-af32-5760c80dc619" xlink:to="loc_bac_JuniorLienHomeEquityFinancingReceivableMember_2fc5f93d-99d5-4423-ac94-fe65e6962e9f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardandOtherUnsecuredConsumerLoansMember_cd5a97bc-f61e-4f6f-97b3-c1a93e549233" xlink:href="bac-20251231.xsd#bac_CreditCardandOtherUnsecuredConsumerLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7761b34d-a7eb-4094-af32-5760c80dc619" xlink:to="loc_bac_CreditCardandOtherUnsecuredConsumerLoansMember_cd5a97bc-f61e-4f6f-97b3-c1a93e549233" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ConsumerVehicleLoansMember_caefaa5d-263b-4dfe-a29f-0d0347518a53" xlink:href="bac-20251231.xsd#bac_ConsumerVehicleLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7761b34d-a7eb-4094-af32-5760c80dc619" xlink:to="loc_bac_ConsumerVehicleLoansMember_caefaa5d-263b-4dfe-a29f-0d0347518a53" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationNameAxis_cc9d1dd1-b194-436e-b04c-8c186da2ed6c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_73168e29-64ba-47ef-b7dd-7c0b480f910f" xlink:to="loc_us-gaap_LoanRestructuringModificationNameAxis_cc9d1dd1-b194-436e-b04c-8c186da2ed6c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationNameDomain_cc9d1dd1-b194-436e-b04c-8c186da2ed6c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationNameAxis_cc9d1dd1-b194-436e-b04c-8c186da2ed6c" xlink:to="loc_us-gaap_LoanRestructuringModificationNameDomain_cc9d1dd1-b194-436e-b04c-8c186da2ed6c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationNameDomain_4212c30d-1ead-4a83-bc12-fa2ae37afa1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationNameAxis_cc9d1dd1-b194-436e-b04c-8c186da2ed6c" xlink:to="loc_us-gaap_LoanRestructuringModificationNameDomain_4212c30d-1ead-4a83-bc12-fa2ae37afa1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DeathBankruptcyOrFraudMember_d328fff7-a38f-410c-93f9-0fc0fb067f77" xlink:href="bac-20251231.xsd#bac_DeathBankruptcyOrFraudMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationNameDomain_4212c30d-1ead-4a83-bc12-fa2ae37afa1d" xlink:to="loc_bac_DeathBankruptcyOrFraudMember_d328fff7-a38f-410c-93f9-0fc0fb067f77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ChapterSevenBankruptcyMember_ca41a784-96f8-4830-b761-7d26116d6399" xlink:href="bac-20251231.xsd#bac_ChapterSevenBankruptcyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationNameDomain_4212c30d-1ead-4a83-bc12-fa2ae37afa1d" xlink:to="loc_bac_ChapterSevenBankruptcyMember_ca41a784-96f8-4830-b761-7d26116d6399" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis_019b279e-6867-7529-8f6a-a40b0e6a57c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_73168e29-64ba-47ef-b7dd-7c0b480f910f" xlink:to="loc_us-gaap_LoanRestructuringModificationAxis_019b279e-6867-7529-8f6a-a40b0e6a57c1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_019b279e-6867-7529-8f6a-a40b0e6a57c1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_019b279e-6867-7529-8f6a-a40b0e6a57c1" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_019b279e-6867-7529-8f6a-a40b0e6a57c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_019b279e-6867-743b-9489-4cac6d0024ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_019b279e-6867-7529-8f6a-a40b0e6a57c1" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_019b279e-6867-743b-9489-4cac6d0024ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DeathBankruptcyOrFraudMember_019b279e-6867-771b-ba9f-3737151993d3" xlink:href="bac-20251231.xsd#bac_DeathBankruptcyOrFraudMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_019b279e-6867-743b-9489-4cac6d0024ef" xlink:to="loc_bac_DeathBankruptcyOrFraudMember_019b279e-6867-771b-ba9f-3737151993d3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ChapterSevenBankruptcyMember_019b279e-6867-7d7c-bd68-a9ea7178f9e5" xlink:href="bac-20251231.xsd#bac_ChapterSevenBankruptcyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_019b279e-6867-743b-9489-4cac6d0024ef" xlink:to="loc_bac_ChapterSevenBankruptcyMember_019b279e-6867-7d7c-bd68-a9ea7178f9e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesHeldToMaturityMinimumPercentageOfPrincipalCollectedIfDisposedTreatedAsMatured_91935795-e6b0-488f-b563-8a2719a9b6b9" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesHeldToMaturityMinimumPercentageOfPrincipalCollectedIfDisposedTreatedAsMatured"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_e1e7121e-0094-471d-ba99-7d8ffb7596e9" xlink:to="loc_bac_DebtSecuritiesHeldToMaturityMinimumPercentageOfPrincipalCollectedIfDisposedTreatedAsMatured_91935795-e6b0-488f-b563-8a2719a9b6b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NumberOfPortfolioSegments_bef03e6e-7037-47f2-b489-6b0b78773b69" xlink:href="bac-20251231.xsd#bac_NumberOfPortfolioSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_e1e7121e-0094-471d-ba99-7d8ffb7596e9" xlink:to="loc_bac_NumberOfPortfolioSegments_bef03e6e-7037-47f2-b489-6b0b78773b69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ThresholdPeriodPastDueForNonperformingStatusOfFinancingReceivables_19418987-b8e0-4557-a3a3-2a5d6f0a63ac" xlink:href="bac-20251231.xsd#bac_ThresholdPeriodPastDueForNonperformingStatusOfFinancingReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_e1e7121e-0094-471d-ba99-7d8ffb7596e9" xlink:to="loc_bac_ThresholdPeriodPastDueForNonperformingStatusOfFinancingReceivables_19418987-b8e0-4557-a3a3-2a5d6f0a63ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ThresholdPeriodPastDueForCollateralDependentTroubledDebtRestructuringsOfFinancingReceivables_5346b52d-b559-4764-bee4-283c92383274" xlink:href="bac-20251231.xsd#bac_ThresholdPeriodPastDueForCollateralDependentTroubledDebtRestructuringsOfFinancingReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_e1e7121e-0094-471d-ba99-7d8ffb7596e9" xlink:to="loc_bac_ThresholdPeriodPastDueForCollateralDependentTroubledDebtRestructuringsOfFinancingReceivables_5346b52d-b559-4764-bee4-283c92383274" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableThresholdPeriodPastDueWriteoff_89b22e9e-d761-47d4-b743-2dfdf9fb8ec0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableThresholdPeriodPastDueWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_e1e7121e-0094-471d-ba99-7d8ffb7596e9" xlink:to="loc_us-gaap_FinancingReceivableThresholdPeriodPastDueWriteoff_89b22e9e-d761-47d4-b743-2dfdf9fb8ec0" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SummaryofSignificantAccountingPrinciplesPremisesandEquipmentDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SummaryofSignificantAccountingPrinciplesPremisesandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SummaryofSignificantAccountingPrinciplesPremisesandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_9a3899c7-581b-4c7e-bf82-aa492dc5e387" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5cbf0e92-1a06-4989-9734-9287aa2faf7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_9a3899c7-581b-4c7e-bf82-aa492dc5e387" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5cbf0e92-1a06-4989-9734-9287aa2faf7e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_bcd044b2-9a48-49e7-ab14-30198d3f4d84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_5cbf0e92-1a06-4989-9734-9287aa2faf7e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_bcd044b2-9a48-49e7-ab14-30198d3f4d84" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_bcd044b2-9a48-49e7-ab14-30198d3f4d84_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_bcd044b2-9a48-49e7-ab14-30198d3f4d84" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_bcd044b2-9a48-49e7-ab14-30198d3f4d84_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b79252fa-4db7-40f3-abb4-5f982d89772f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_bcd044b2-9a48-49e7-ab14-30198d3f4d84" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b79252fa-4db7-40f3-abb4-5f982d89772f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingMember_59a5ea09-d705-4501-9c01-f6fa6ddda5a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b79252fa-4db7-40f3-abb4-5f982d89772f" xlink:to="loc_us-gaap_BuildingMember_59a5ea09-d705-4501-9c01-f6fa6ddda5a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FurnitureAndEquipmentMember_14a9828f-77c0-44e9-bb9c-3b5f59b13a6f" xlink:href="bac-20251231.xsd#bac_FurnitureAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_b79252fa-4db7-40f3-abb4-5f982d89772f" xlink:to="loc_bac_FurnitureAndEquipmentMember_14a9828f-77c0-44e9-bb9c-3b5f59b13a6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1cd70010-a8eb-4ac6-a9d4-76a5787ef6c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_9a3899c7-581b-4c7e-bf82-aa492dc5e387" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1cd70010-a8eb-4ac6-a9d4-76a5787ef6c7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SummaryofSignificantAccountingPrinciplesRevenueRecognitionDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SummaryofSignificantAccountingPrinciplesRevenueRecognitionDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SummaryofSignificantAccountingPrinciplesRevenueRecognitionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_d601af66-e76a-4e8e-bb93-4d269749c644" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_b2620fef-e19b-4117-a4cf-e0ceeff2cbc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_d601af66-e76a-4e8e-bb93-4d269749c644" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_b2620fef-e19b-4117-a4cf-e0ceeff2cbc7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_0a5ee6f5-928d-47b2-9dfa-a27524714e48" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_b2620fef-e19b-4117-a4cf-e0ceeff2cbc7" xlink:to="loc_srt_RangeAxis_0a5ee6f5-928d-47b2-9dfa-a27524714e48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0a5ee6f5-928d-47b2-9dfa-a27524714e48_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_0a5ee6f5-928d-47b2-9dfa-a27524714e48" xlink:to="loc_srt_RangeMember_0a5ee6f5-928d-47b2-9dfa-a27524714e48_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_2b5063b6-4df4-49d5-b890-ea4a09b0419c" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_0a5ee6f5-928d-47b2-9dfa-a27524714e48" xlink:to="loc_srt_RangeMember_2b5063b6-4df4-49d5-b890-ea4a09b0419c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_bfe915e7-287d-4f10-8f6b-809157aa1baf" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_2b5063b6-4df4-49d5-b890-ea4a09b0419c" xlink:to="loc_srt_MinimumMember_bfe915e7-287d-4f10-8f6b-809157aa1baf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2089bbe7-2cc4-4bd1-aa49-6febe379bce1" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_2b5063b6-4df4-49d5-b890-ea4a09b0419c" xlink:to="loc_srt_MaximumMember_2089bbe7-2cc4-4bd1-aa49-6febe379bce1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AssetManagementFeesPercentageOfAssetsUnderManagement_6cb37b1b-fa8f-4613-b038-1376c795382d" xlink:href="bac-20251231.xsd#bac_AssetManagementFeesPercentageOfAssetsUnderManagement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_d601af66-e76a-4e8e-bb93-4d269749c644" xlink:to="loc_bac_AssetManagementFeesPercentageOfAssetsUnderManagement_6cb37b1b-fa8f-4613-b038-1376c795382d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/NetInterestIncomeandNoninterestIncomeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#NetInterestIncomeandNoninterestIncomeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/NetInterestIncomeandNoninterestIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_caa605d7-6643-47ab-b7c1-03304b00e893" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_6606503a-ba0d-477a-b0df-670b1b39f664" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_caa605d7-6643-47ab-b7c1-03304b00e893" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_6606503a-ba0d-477a-b0df-670b1b39f664" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_6aa7e6e3-8d5b-4fc7-baec-c1487f224cdb" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_6606503a-ba0d-477a-b0df-670b1b39f664" xlink:to="loc_srt_ProductOrServiceAxis_6aa7e6e3-8d5b-4fc7-baec-c1487f224cdb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_6aa7e6e3-8d5b-4fc7-baec-c1487f224cdb_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_6aa7e6e3-8d5b-4fc7-baec-c1487f224cdb" xlink:to="loc_srt_ProductsAndServicesDomain_6aa7e6e3-8d5b-4fc7-baec-c1487f224cdb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_5e19e885-f8a5-4f84-bdbe-b1977ba67242" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_6aa7e6e3-8d5b-4fc7-baec-c1487f224cdb" xlink:to="loc_srt_ProductsAndServicesDomain_5e19e885-f8a5-4f84-bdbe-b1977ba67242" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditCardMember_10e53263-fc6e-4651-a2a9-0aa58c969932" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditCardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5e19e885-f8a5-4f84-bdbe-b1977ba67242" xlink:to="loc_us-gaap_CreditCardMember_10e53263-fc6e-4651-a2a9-0aa58c969932" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CardIncomeInterchangeFeesMember_8f56090e-133c-4a47-b502-9971139b2a6c" xlink:href="bac-20251231.xsd#bac_CardIncomeInterchangeFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditCardMember_10e53263-fc6e-4651-a2a9-0aa58c969932" xlink:to="loc_bac_CardIncomeInterchangeFeesMember_8f56090e-133c-4a47-b502-9971139b2a6c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CardIncomeOtherMember_3f727a3c-06d8-4b6a-9526-c58325cd0264" xlink:href="bac-20251231.xsd#bac_CardIncomeOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditCardMember_10e53263-fc6e-4651-a2a9-0aa58c969932" xlink:to="loc_bac_CardIncomeOtherMember_3f727a3c-06d8-4b6a-9526-c58325cd0264" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CardIncomeInterchangeFeesAndMerchantIncomeMember_b21ecea5-057b-4c0e-9996-18a0f7de9055" xlink:href="bac-20251231.xsd#bac_CardIncomeInterchangeFeesAndMerchantIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditCardMember_10e53263-fc6e-4651-a2a9-0aa58c969932" xlink:to="loc_bac_CardIncomeInterchangeFeesAndMerchantIncomeMember_b21ecea5-057b-4c0e-9996-18a0f7de9055" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ServiceChargesMember_f687cf96-8b32-421e-b7a9-e23dfc3d23fb" xlink:href="bac-20251231.xsd#bac_ServiceChargesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5e19e885-f8a5-4f84-bdbe-b1977ba67242" xlink:to="loc_bac_ServiceChargesMember_f687cf96-8b32-421e-b7a9-e23dfc3d23fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ServiceChargesDepositRelatedFeesMember_ca964ba7-99b8-40ee-a956-f38833a63fc0" xlink:href="bac-20251231.xsd#bac_ServiceChargesDepositRelatedFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_ServiceChargesMember_f687cf96-8b32-421e-b7a9-e23dfc3d23fb" xlink:to="loc_bac_ServiceChargesDepositRelatedFeesMember_ca964ba7-99b8-40ee-a956-f38833a63fc0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ServiceChargesLendingRelatedFeesMember_414561f8-84c5-4242-98ca-673c2be6dff2" xlink:href="bac-20251231.xsd#bac_ServiceChargesLendingRelatedFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_ServiceChargesMember_f687cf96-8b32-421e-b7a9-e23dfc3d23fb" xlink:to="loc_bac_ServiceChargesLendingRelatedFeesMember_414561f8-84c5-4242-98ca-673c2be6dff2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentandBrokerageServicesMember_0a1f7fd8-67f6-447c-9bf8-d0c13cc9909c" xlink:href="bac-20251231.xsd#bac_InvestmentandBrokerageServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5e19e885-f8a5-4f84-bdbe-b1977ba67242" xlink:to="loc_bac_InvestmentandBrokerageServicesMember_0a1f7fd8-67f6-447c-9bf8-d0c13cc9909c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentAndBrokerageServicesAssetManagementFeesMember_26e26ad5-76d8-4459-a130-6d94f01d6e53" xlink:href="bac-20251231.xsd#bac_InvestmentAndBrokerageServicesAssetManagementFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentandBrokerageServicesMember_0a1f7fd8-67f6-447c-9bf8-d0c13cc9909c" xlink:to="loc_bac_InvestmentAndBrokerageServicesAssetManagementFeesMember_26e26ad5-76d8-4459-a130-6d94f01d6e53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentAndBrokerageServicesBrokerageFeesMember_55ddfe15-030c-4a4d-8d40-de397210ac4b" xlink:href="bac-20251231.xsd#bac_InvestmentAndBrokerageServicesBrokerageFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentandBrokerageServicesMember_0a1f7fd8-67f6-447c-9bf8-d0c13cc9909c" xlink:to="loc_bac_InvestmentAndBrokerageServicesBrokerageFeesMember_55ddfe15-030c-4a4d-8d40-de397210ac4b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentBankingFeesMember_28572065-3064-42e5-9109-7300a8ac4c46" xlink:href="bac-20251231.xsd#bac_InvestmentBankingFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5e19e885-f8a5-4f84-bdbe-b1977ba67242" xlink:to="loc_bac_InvestmentBankingFeesMember_28572065-3064-42e5-9109-7300a8ac4c46" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentBankingIncomeUnderwritingIncomeMember_41836312-d451-4034-97da-fe8c0eee0c52" xlink:href="bac-20251231.xsd#bac_InvestmentBankingIncomeUnderwritingIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentBankingFeesMember_28572065-3064-42e5-9109-7300a8ac4c46" xlink:to="loc_bac_InvestmentBankingIncomeUnderwritingIncomeMember_41836312-d451-4034-97da-fe8c0eee0c52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentBankingIncomeSyndicationFeesMember_5a8bed90-fd73-4fa2-a9d4-c9bb53fa87e4" xlink:href="bac-20251231.xsd#bac_InvestmentBankingIncomeSyndicationFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentBankingFeesMember_28572065-3064-42e5-9109-7300a8ac4c46" xlink:to="loc_bac_InvestmentBankingIncomeSyndicationFeesMember_5a8bed90-fd73-4fa2-a9d4-c9bb53fa87e4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentBankingIncomeFinancialAdvisoryServicesMember_dbca5041-b178-43a0-a7b3-0646ec6ecbb4" xlink:href="bac-20251231.xsd#bac_InvestmentBankingIncomeFinancialAdvisoryServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentBankingFeesMember_28572065-3064-42e5-9109-7300a8ac4c46" xlink:to="loc_bac_InvestmentBankingIncomeFinancialAdvisoryServicesMember_dbca5041-b178-43a0-a7b3-0646ec6ecbb4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_ba7cb273-8f74-4d96-a4a0-d2a8e8617e7a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_6606503a-ba0d-477a-b0df-670b1b39f664" xlink:to="loc_srt_CounterpartyNameAxis_ba7cb273-8f74-4d96-a4a0-d2a8e8617e7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_ba7cb273-8f74-4d96-a4a0-d2a8e8617e7a_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_ba7cb273-8f74-4d96-a4a0-d2a8e8617e7a" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_ba7cb273-8f74-4d96-a4a0-d2a8e8617e7a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_92b46d00-98a5-4447-8d3f-84a94892624a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_ba7cb273-8f74-4d96-a4a0-d2a8e8617e7a" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_92b46d00-98a5-4447-8d3f-84a94892624a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FederalReserveNonU.S.CentralBanksAndOtherBanksMember_8f0a524f-8d72-4bbb-8346-8976b8675807" xlink:href="bac-20251231.xsd#bac_FederalReserveNonU.S.CentralBanksAndOtherBanksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_92b46d00-98a5-4447-8d3f-84a94892624a" xlink:to="loc_bac_FederalReserveNonU.S.CentralBanksAndOtherBanksMember_8f0a524f-8d72-4bbb-8346-8976b8675807" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNetAbstract_b42eaa22-8e7a-4dfd-8ebc-ac576eaf5054" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_caa605d7-6643-47ab-b7c1-03304b00e893" xlink:to="loc_us-gaap_InterestIncomeExpenseNetAbstract_b42eaa22-8e7a-4dfd-8ebc-ac576eaf5054" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_d6cdffe5-1ff9-42d6-b27c-14d01c39f3da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperatingAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestIncomeExpenseNetAbstract_b42eaa22-8e7a-4dfd-8ebc-ac576eaf5054" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_d6cdffe5-1ff9-42d6-b27c-14d01c39f3da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_a22a2372-b3f5-45a5-bf16-5335ac03a1bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_d6cdffe5-1ff9-42d6-b27c-14d01c39f3da" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_a22a2372-b3f5-45a5-bf16-5335ac03a1bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesOperating_ac766215-d7da-4d4e-82c7-ee2a0bac79cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDebtSecuritiesOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_d6cdffe5-1ff9-42d6-b27c-14d01c39f3da" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesOperating_ac766215-d7da-4d4e-82c7-ee2a0bac79cb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell_ef709354-f621-4ccf-8b9c-45efc0fe0fa5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_d6cdffe5-1ff9-42d6-b27c-14d01c39f3da" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell_ef709354-f621-4ccf-8b9c-45efc0fe0fa5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansTradeFinancing_9598e68c-d704-4254-8638-19391a218a3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndFeeIncomeLoansTradeFinancing"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_d6cdffe5-1ff9-42d6-b27c-14d01c39f3da" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansTradeFinancing_9598e68c-d704-4254-8638-19391a218a3f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOther_2518f30e-5fa0-4dd3-a718-53c4a04fbdd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_d6cdffe5-1ff9-42d6-b27c-14d01c39f3da" xlink:to="loc_us-gaap_InterestIncomeOther_2518f30e-5fa0-4dd3-a718-53c4a04fbdd1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_8b90e3f9-c931-4a96-97f3-f3f9f8e86c1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_d6cdffe5-1ff9-42d6-b27c-14d01c39f3da" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_8b90e3f9-c931-4a96-97f3-f3f9f8e86c1b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseAbstract_f416fbdf-5224-4784-aec0-f80a205079e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestIncomeExpenseNetAbstract_b42eaa22-8e7a-4dfd-8ebc-ac576eaf5054" xlink:to="loc_us-gaap_InterestExpenseAbstract_f416fbdf-5224-4784-aec0-f80a205079e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_9c0949b3-e891-4e9d-849e-e3386e57f4dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_f416fbdf-5224-4784-aec0-f80a205079e0" xlink:to="loc_us-gaap_InterestExpenseDeposits_9c0949b3-e891-4e9d-849e-e3386e57f4dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings_ebbc92ea-2f71-4117-aa1f-b761159e2620" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseShortTermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_f416fbdf-5224-4784-aec0-f80a205079e0" xlink:to="loc_us-gaap_InterestExpenseShortTermBorrowings_ebbc92ea-2f71-4117-aa1f-b761159e2620" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseTradingLiabilities_e39f6a68-f277-49c0-b064-31931121c3aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseTradingLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_f416fbdf-5224-4784-aec0-f80a205079e0" xlink:to="loc_us-gaap_InterestExpenseTradingLiabilities_e39f6a68-f277-49c0-b064-31931121c3aa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt_e3744652-ba74-4139-b6fa-95a505536315" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_f416fbdf-5224-4784-aec0-f80a205079e0" xlink:to="loc_us-gaap_InterestExpenseLongTermDebt_e3744652-ba74-4139-b6fa-95a505536315" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_ab8c6060-4cb5-4576-b59e-a4fde2aaff2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_f416fbdf-5224-4784-aec0-f80a205079e0" xlink:to="loc_us-gaap_InterestExpenseOperating_ab8c6060-4cb5-4576-b59e-a4fde2aaff2c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_10561f89-5e79-4487-bc15-0d0a51e7ba84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestIncomeExpenseNetAbstract_b42eaa22-8e7a-4dfd-8ebc-ac576eaf5054" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_10561f89-5e79-4487-bc15-0d0a51e7ba84" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_caa605d7-6643-47ab-b7c1-03304b00e893" xlink:to="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeesAndCommissionsMortgageBankingAndServicing_64ce0162-6e8f-4a95-980c-6f33176952fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FeesAndCommissionsMortgageBankingAndServicing"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:to="loc_us-gaap_FeesAndCommissionsMortgageBankingAndServicing_64ce0162-6e8f-4a95-980c-6f33176952fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BrokerageCommissionsRevenue_b1958bf4-adda-436e-aca2-494282825699" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BrokerageCommissionsRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:to="loc_us-gaap_BrokerageCommissionsRevenue_b1958bf4-adda-436e-aca2-494282825699" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBankingRevenue_57149d7f-8414-4093-b48b-a948bc80da7f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentBankingRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:to="loc_us-gaap_InvestmentBankingRevenue_57149d7f-8414-4093-b48b-a948bc80da7f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FeesAndCommissions1_e0a2bb66-f6be-40a0-a341-c3b5ae641866" xlink:href="bac-20251231.xsd#bac_FeesAndCommissions1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:to="loc_bac_FeesAndCommissions1_e0a2bb66-f6be-40a0-a341-c3b5ae641866" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingGainsLosses_7a8d9915-067b-48ae-938a-30e97c238225" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:to="loc_us-gaap_TradingGainsLosses_7a8d9915-067b-48ae-938a-30e97c238225" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_4417fe23-7531-42ec-ab67-51b1dcfe301d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_4417fe23-7531-42ec-ab67-51b1dcfe301d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_8cb86a26-217f-43ce-a9fb-4c2b5d9e5175" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_400c7f33-e52f-4403-aa19-09da5ab71905" xlink:to="loc_us-gaap_NoninterestIncome_8cb86a26-217f-43ce-a9fb-4c2b5d9e5175" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FeesAndCommissionsCreditAndDebitCardsGross_84c9f2ae-8c14-42f8-ab7a-b35b1610cb22" xlink:href="bac-20251231.xsd#bac_FeesAndCommissionsCreditAndDebitCardsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_caa605d7-6643-47ab-b7c1-03304b00e893" xlink:to="loc_bac_FeesAndCommissionsCreditAndDebitCardsGross_84c9f2ae-8c14-42f8-ab7a-b35b1610cb22" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RewardsAndRebatesExpenseAndLaborAndRelatedExpense_e3387ba0-e2ac-429c-8dc1-9f849825649a" xlink:href="bac-20251231.xsd#bac_RewardsAndRebatesExpenseAndLaborAndRelatedExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_caa605d7-6643-47ab-b7c1-03304b00e893" xlink:to="loc_bac_RewardsAndRebatesExpenseAndLaborAndRelatedExpense_e3387ba0-e2ac-429c-8dc1-9f849825649a" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesDerivativeBalancesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesDerivativeBalancesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesDerivativeBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_6af3d22f-ddd2-44ce-8917-c2a0c5d6d29d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_ac74daaa-2dc2-4942-9f35-bb28b9b946eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_6af3d22f-ddd2-44ce-8917-c2a0c5d6d29d" xlink:to="loc_us-gaap_DerivativeTable_ac74daaa-2dc2-4942-9f35-bb28b9b946eb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_bb224748-4dd5-4c4f-a014-f2edc054de93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_ac74daaa-2dc2-4942-9f35-bb28b9b946eb" xlink:to="loc_us-gaap_HedgingDesignationAxis_bb224748-4dd5-4c4f-a014-f2edc054de93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_bb224748-4dd5-4c4f-a014-f2edc054de93_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_bb224748-4dd5-4c4f-a014-f2edc054de93" xlink:to="loc_us-gaap_HedgingDesignationDomain_bb224748-4dd5-4c4f-a014-f2edc054de93_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_54581d52-4d15-433b-b1d6-b51559c8d268" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_bb224748-4dd5-4c4f-a014-f2edc054de93" xlink:to="loc_us-gaap_HedgingDesignationDomain_54581d52-4d15-433b-b1d6-b51559c8d268" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NondesignatedMember_7e900bbf-e40f-41dc-8401-92e9f91e6429" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NondesignatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_54581d52-4d15-433b-b1d6-b51559c8d268" xlink:to="loc_us-gaap_NondesignatedMember_7e900bbf-e40f-41dc-8401-92e9f91e6429" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_389c2bfd-313d-439d-8be4-9978c29701ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_54581d52-4d15-433b-b1d6-b51559c8d268" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_389c2bfd-313d-439d-8be4-9978c29701ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_729a6241-96dd-4103-9ad9-d171b921e047" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_ac74daaa-2dc2-4942-9f35-bb28b9b946eb" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_729a6241-96dd-4103-9ad9-d171b921e047" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_729a6241-96dd-4103-9ad9-d171b921e047_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_729a6241-96dd-4103-9ad9-d171b921e047" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_729a6241-96dd-4103-9ad9-d171b921e047_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_729a6241-96dd-4103-9ad9-d171b921e047" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_32effd9d-4361-4fee-b882-e036a01a424b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_InterestRateSwapMember_32effd9d-4361-4fee-b882-e036a01a424b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateFutureandForwardMember_27695adb-f555-400e-bf1b-33e53c258eaa" xlink:href="bac-20251231.xsd#bac_InterestRateFutureandForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_bac_InterestRateFutureandForwardMember_27695adb-f555-400e-bf1b-33e53c258eaa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateOptionMember_0b9ca993-d833-4867-9a02-55b062ea4413" xlink:href="bac-20251231.xsd#bac_InterestRateOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_bac_InterestRateOptionMember_0b9ca993-d833-4867-9a02-55b062ea4413" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrencySwapMember_d30210ba-9ed0-486d-a842-835855417e4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrencySwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_CurrencySwapMember_d30210ba-9ed0-486d-a842-835855417e4b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForeignExchangeSpotFutureAndForwardMember_8f86c277-2f21-4756-b71e-b2ff47537b99" xlink:href="bac-20251231.xsd#bac_ForeignExchangeSpotFutureAndForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_bac_ForeignExchangeSpotFutureAndForwardMember_8f86c277-2f21-4756-b71e-b2ff47537b99" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeOptionMember_9b7ef263-1952-468a-9a92-fb3bf20161c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_ForeignExchangeOptionMember_9b7ef263-1952-468a-9a92-fb3bf20161c5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySwapMember_92e35365-3b8b-40d2-a0ea-64d4a756f7c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_EquitySwapMember_92e35365-3b8b-40d2-a0ea-64d4a756f7c5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_EquityFutureAndForwardMember_9b4eac15-721e-41d6-850c-4cad6da400ca" xlink:href="bac-20251231.xsd#bac_EquityFutureAndForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_bac_EquityFutureAndForwardMember_9b4eac15-721e-41d6-850c-4cad6da400ca" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionMember_02fabd2a-0de9-4a1b-943e-a8317fec1b77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_StockOptionMember_02fabd2a-0de9-4a1b-943e-a8317fec1b77" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CommoditySwapMember_da6015b5-8c66-4f81-9bc5-c0efe6a9353b" xlink:href="bac-20251231.xsd#bac_CommoditySwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_bac_CommoditySwapMember_da6015b5-8c66-4f81-9bc5-c0efe6a9353b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CommodityFutureAndForwardMember_3a44c435-5381-4955-8424-18df7861877b" xlink:href="bac-20251231.xsd#bac_CommodityFutureAndForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_bac_CommodityFutureAndForwardMember_3a44c435-5381-4955-8424-18df7861877b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityOptionMember_2d1dc43a-e125-4d29-a3bf-ba3d388e6211" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommodityOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_CommodityOptionMember_2d1dc43a-e125-4d29-a3bf-ba3d388e6211" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDefaultSwapMember_241ee277-962d-4c29-be3c-1af78825f498" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDefaultSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_CreditDefaultSwapMember_241ee277-962d-4c29-be3c-1af78825f498" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCreditDerivativesMember_410f6459-2fb5-462e-b70c-c421723eea26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCreditDerivativesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_OtherCreditDerivativesMember_410f6459-2fb5-462e-b70c-c421723eea26" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditRiskContractMember_4297248a-23ae-4fb2-b0e6-98fbd62a8200" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditRiskContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0f3a24fd-720e-4492-b47c-6b0ae6563f0c" xlink:to="loc_us-gaap_CreditRiskContractMember_4297248a-23ae-4fb2-b0e6-98fbd62a8200" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionAxis_7db73106-b8e7-40d5-bfd5-c6b6424ea15d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PositionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_ac74daaa-2dc2-4942-9f35-bb28b9b946eb" xlink:to="loc_us-gaap_PositionAxis_7db73106-b8e7-40d5-bfd5-c6b6424ea15d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionDomain_7db73106-b8e7-40d5-bfd5-c6b6424ea15d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PositionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PositionAxis_7db73106-b8e7-40d5-bfd5-c6b6424ea15d" xlink:to="loc_us-gaap_PositionDomain_7db73106-b8e7-40d5-bfd5-c6b6424ea15d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionDomain_cfaf6812-2618-4bca-8dd1-eb10e5c72826" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PositionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PositionAxis_7db73106-b8e7-40d5-bfd5-c6b6424ea15d" xlink:to="loc_us-gaap_PositionDomain_cfaf6812-2618-4bca-8dd1-eb10e5c72826" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortMember_ed9cb5d6-a87c-45fb-8fad-4c87d87662ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PositionDomain_cfaf6812-2618-4bca-8dd1-eb10e5c72826" xlink:to="loc_us-gaap_ShortMember_ed9cb5d6-a87c-45fb-8fad-4c87d87662ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongMember_311a5d8e-98bf-4eaa-9f31-51a019aa1a91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PositionDomain_cfaf6812-2618-4bca-8dd1-eb10e5c72826" xlink:to="loc_us-gaap_LongMember_311a5d8e-98bf-4eaa-9f31-51a019aa1a91" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDerivativesByContractTypeAxis_87f4579c-629a-483f-843d-d158cd2bb159" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativesByContractTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_ac74daaa-2dc2-4942-9f35-bb28b9b946eb" xlink:to="loc_us-gaap_CreditDerivativesByContractTypeAxis_87f4579c-629a-483f-843d-d158cd2bb159" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDerivativesContractTypeDomain_87f4579c-629a-483f-843d-d158cd2bb159_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativesContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditDerivativesByContractTypeAxis_87f4579c-629a-483f-843d-d158cd2bb159" xlink:to="loc_us-gaap_CreditDerivativesContractTypeDomain_87f4579c-629a-483f-843d-d158cd2bb159_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDerivativesContractTypeDomain_ae8f4bca-7932-47d4-85ce-0a3517a2f66f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativesContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditDerivativesByContractTypeAxis_87f4579c-629a-483f-843d-d158cd2bb159" xlink:to="loc_us-gaap_CreditDerivativesContractTypeDomain_ae8f4bca-7932-47d4-85ce-0a3517a2f66f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDefaultSwapBuyingProtectionMember_210a3f04-70bd-4811-9653-2f40de3e07d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDefaultSwapBuyingProtectionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditDerivativesContractTypeDomain_ae8f4bca-7932-47d4-85ce-0a3517a2f66f" xlink:to="loc_us-gaap_CreditDefaultSwapBuyingProtectionMember_210a3f04-70bd-4811-9653-2f40de3e07d8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDefaultSwapSellingProtectionMember_0094ec36-765f-4efb-be79-e5148c55d6f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDefaultSwapSellingProtectionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditDerivativesContractTypeDomain_ae8f4bca-7932-47d4-85ce-0a3517a2f66f" xlink:to="loc_us-gaap_CreditDefaultSwapSellingProtectionMember_0094ec36-765f-4efb-be79-e5148c55d6f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotionalAmountOfDerivativesAbstract_d4ab079a-41fa-4e15-a052-c5c21ec1c56f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotionalAmountOfDerivativesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_6af3d22f-ddd2-44ce-8917-c2a0c5d6d29d" xlink:to="loc_us-gaap_NotionalAmountOfDerivativesAbstract_d4ab079a-41fa-4e15-a052-c5c21ec1c56f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_40bef4ef-6500-408d-93b3-c5c0eac7bbbf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotionalAmountOfDerivativesAbstract_d4ab079a-41fa-4e15-a052-c5c21ec1c56f" xlink:to="loc_us-gaap_DerivativeNotionalAmount_40bef4ef-6500-408d-93b3-c5c0eac7bbbf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsAbstract_742cbf16-57ea-4085-8c54-b7423934744c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_6af3d22f-ddd2-44ce-8917-c2a0c5d6d29d" xlink:to="loc_us-gaap_DerivativeAssetsAbstract_742cbf16-57ea-4085-8c54-b7423934744c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_cbf445a6-2f97-46bd-9219-a4fcf3de5f0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_742cbf16-57ea-4085-8c54-b7423934744c" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_cbf445a6-2f97-46bd-9219-a4fcf3de5f0a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_f258af44-cf9a-44f4-bd38-e8a7cfd25a86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_742cbf16-57ea-4085-8c54-b7423934744c" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_f258af44-cf9a-44f4-bd38-e8a7cfd25a86" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_31e7aa98-804f-44fa-a6f7-662ee72d2fff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_742cbf16-57ea-4085-8c54-b7423934744c" xlink:to="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_31e7aa98-804f-44fa-a6f7-662ee72d2fff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_75596fb6-be59-4ac5-9a15-888834f6e855" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_742cbf16-57ea-4085-8c54-b7423934744c" xlink:to="loc_us-gaap_DerivativeAssets_75596fb6-be59-4ac5-9a15-888834f6e855" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesAbstract_f9d8ff4b-8035-464a-84ba-07441e5f0123" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_6af3d22f-ddd2-44ce-8917-c2a0c5d6d29d" xlink:to="loc_us-gaap_DerivativeLiabilitiesAbstract_f9d8ff4b-8035-464a-84ba-07441e5f0123" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_2a1d4ed0-4ee7-44c0-8946-c1b8d08674f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_f9d8ff4b-8035-464a-84ba-07441e5f0123" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_2a1d4ed0-4ee7-44c0-8946-c1b8d08674f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_d14571af-50d5-46f5-8391-dfc27b348798" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_f9d8ff4b-8035-464a-84ba-07441e5f0123" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_d14571af-50d5-46f5-8391-dfc27b348798" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_658fbb46-02e7-46d6-bc3d-61e5459a0936" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_f9d8ff4b-8035-464a-84ba-07441e5f0123" xlink:to="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_658fbb46-02e7-46d6-bc3d-61e5459a0936" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_d60e13e6-dca4-4ada-9c3e-e99e71023c41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_f9d8ff4b-8035-464a-84ba-07441e5f0123" xlink:to="loc_us-gaap_DerivativeLiabilities_d60e13e6-dca4-4ada-9c3e-e99e71023c41" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditDerivativeFairValueWithIdenticalUnderlyingReferencedNamesAndTerms_f0de58cf-947c-4238-8b66-9fb0927be9a7" xlink:href="bac-20251231.xsd#bac_CreditDerivativeFairValueWithIdenticalUnderlyingReferencedNamesAndTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_6af3d22f-ddd2-44ce-8917-c2a0c5d6d29d" xlink:to="loc_bac_CreditDerivativeFairValueWithIdenticalUnderlyingReferencedNamesAndTerms_f0de58cf-947c-4238-8b66-9fb0927be9a7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditDerivativeNotionalAmountWithIdenticalUnderlyingReferencedNamesAndTerms_aac03c21-5521-4ebb-83d2-491113ce1a7d" xlink:href="bac-20251231.xsd#bac_CreditDerivativeNotionalAmountWithIdenticalUnderlyingReferencedNamesAndTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_6af3d22f-ddd2-44ce-8917-c2a0c5d6d29d" xlink:to="loc_bac_CreditDerivativeNotionalAmountWithIdenticalUnderlyingReferencedNamesAndTerms_aac03c21-5521-4ebb-83d2-491113ce1a7d" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesOffsettingAssetsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesOffsettingAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesOffsettingAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingAssetsTable_92f75cb1-c63e-4dbf-8e30-1a2cbe5353ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:to="loc_us-gaap_OffsettingAssetsTable_92f75cb1-c63e-4dbf-8e30-1a2cbe5353ff" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_bb58719e-7bbf-4162-b3a9-3c6df1faf9d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OffsettingAssetsTable_92f75cb1-c63e-4dbf-8e30-1a2cbe5353ff" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_bb58719e-7bbf-4162-b3a9-3c6df1faf9d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_bb58719e-7bbf-4162-b3a9-3c6df1faf9d7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_bb58719e-7bbf-4162-b3a9-3c6df1faf9d7" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_bb58719e-7bbf-4162-b3a9-3c6df1faf9d7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_f3b5db37-8504-4e89-9618-b489ce08dd07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_bb58719e-7bbf-4162-b3a9-3c6df1faf9d7" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_f3b5db37-8504-4e89-9618-b489ce08dd07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_e4540c5f-705e-43b2-8cd6-0a741f3bd5c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_f3b5db37-8504-4e89-9618-b489ce08dd07" xlink:to="loc_us-gaap_InterestRateContractMember_e4540c5f-705e-43b2-8cd6-0a741f3bd5c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeContractMember_e446d573-5c8f-470c-b515-4397606a2d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_f3b5db37-8504-4e89-9618-b489ce08dd07" xlink:to="loc_us-gaap_ForeignExchangeContractMember_e446d573-5c8f-470c-b515-4397606a2d0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityContractMember_6bfcce53-c563-4169-9bbe-3a4a4a8d3955" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_f3b5db37-8504-4e89-9618-b489ce08dd07" xlink:to="loc_us-gaap_EquityContractMember_6bfcce53-c563-4169-9bbe-3a4a4a8d3955" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_4a69ca39-bd7c-43be-8229-9013b77eb8ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_f3b5db37-8504-4e89-9618-b489ce08dd07" xlink:to="loc_us-gaap_CommodityContractMember_4a69ca39-bd7c-43be-8229-9013b77eb8ef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditRiskContractMember_c5ba235d-d417-498b-aece-802728defe87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditRiskContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_f3b5db37-8504-4e89-9618-b489ce08dd07" xlink:to="loc_us-gaap_CreditRiskContractMember_c5ba235d-d417-498b-aece-802728defe87" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionTypeAxis_a43b7c92-761f-4aba-85a3-d9064ccaf38e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransactionTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OffsettingAssetsTable_92f75cb1-c63e-4dbf-8e30-1a2cbe5353ff" xlink:to="loc_us-gaap_TransactionTypeAxis_a43b7c92-761f-4aba-85a3-d9064ccaf38e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionDomain_a43b7c92-761f-4aba-85a3-d9064ccaf38e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TransactionTypeAxis_a43b7c92-761f-4aba-85a3-d9064ccaf38e" xlink:to="loc_us-gaap_TransactionDomain_a43b7c92-761f-4aba-85a3-d9064ccaf38e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionDomain_f7994cbd-80e1-40ef-ac96-b64fe21909f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TransactionTypeAxis_a43b7c92-761f-4aba-85a3-d9064ccaf38e" xlink:to="loc_us-gaap_TransactionDomain_f7994cbd-80e1-40ef-ac96-b64fe21909f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverTheCounterMember_58c7ca1c-77f0-4406-a687-838d217f8e8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OverTheCounterMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransactionDomain_f7994cbd-80e1-40ef-ac96-b64fe21909f0" xlink:to="loc_us-gaap_OverTheCounterMember_58c7ca1c-77f0-4406-a687-838d217f8e8f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExchangeTradedMember_535fcd91-f402-454c-b121-ece477d280d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ExchangeTradedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransactionDomain_f7994cbd-80e1-40ef-ac96-b64fe21909f0" xlink:to="loc_us-gaap_ExchangeTradedMember_535fcd91-f402-454c-b121-ece477d280d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExchangeClearedMember_599ca8e9-7ea8-48fc-b027-d104565e73a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ExchangeClearedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransactionDomain_f7994cbd-80e1-40ef-ac96-b64fe21909f0" xlink:to="loc_us-gaap_ExchangeClearedMember_599ca8e9-7ea8-48fc-b027-d104565e73a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_a4dc6da8-d26b-42b1-b3fa-0454c8e564ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_a4dc6da8-d26b-42b1-b3fa-0454c8e564ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_f8e224cd-6d4a-4571-99cf-40474eba3383" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_f8e224cd-6d4a-4571-99cf-40474eba3383" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_ba3903ad-9caf-45f5-9b3c-949faac7b9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_ba3903ad-9caf-45f5-9b3c-949faac7b9eb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement_ccfaa82e-97d1-4fbd-b641-e11369f633df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:to="loc_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement_ccfaa82e-97d1-4fbd-b641-e11369f633df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_7b8c4056-0a78-448c-9147-57167715ffc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:to="loc_us-gaap_DerivativeAssets_7b8c4056-0a78-448c-9147-57167715ffc2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_b97911c2-245f-4389-8b7c-703fd21d2f90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_b97911c2-245f-4389-8b7c-703fd21d2f90" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_5d7d8faa-acc4-4af9-b5ee-056fba813a17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_d7ad3fd7-ff2a-4a76-8174-53b37e7f16aa" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_5d7d8faa-acc4-4af9-b5ee-056fba813a17" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesOffsettingLiabilitiesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesOffsettingLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesOffsettingLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingLiabilitiesTable_689c69ee-2bf4-484c-925d-eb3b6dd16554" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:to="loc_us-gaap_OffsettingLiabilitiesTable_689c69ee-2bf4-484c-925d-eb3b6dd16554" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_3b20ccff-98b7-4fb5-8bd9-82ffa973bbc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OffsettingLiabilitiesTable_689c69ee-2bf4-484c-925d-eb3b6dd16554" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_3b20ccff-98b7-4fb5-8bd9-82ffa973bbc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_3b20ccff-98b7-4fb5-8bd9-82ffa973bbc5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_3b20ccff-98b7-4fb5-8bd9-82ffa973bbc5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_3b20ccff-98b7-4fb5-8bd9-82ffa973bbc5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_5208387a-52d2-40ab-b683-ed6750f7f476" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_3b20ccff-98b7-4fb5-8bd9-82ffa973bbc5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5208387a-52d2-40ab-b683-ed6750f7f476" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_faeff3d9-6a98-43ae-bc39-5186a1082f9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5208387a-52d2-40ab-b683-ed6750f7f476" xlink:to="loc_us-gaap_InterestRateContractMember_faeff3d9-6a98-43ae-bc39-5186a1082f9c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeContractMember_46ab0a27-d3c8-4fe6-b0ae-d4afdd0401e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5208387a-52d2-40ab-b683-ed6750f7f476" xlink:to="loc_us-gaap_ForeignExchangeContractMember_46ab0a27-d3c8-4fe6-b0ae-d4afdd0401e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityContractMember_e9f7ebfa-e5fd-4ada-a046-b043bb13f731" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5208387a-52d2-40ab-b683-ed6750f7f476" xlink:to="loc_us-gaap_EquityContractMember_e9f7ebfa-e5fd-4ada-a046-b043bb13f731" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_fa709344-2b93-4884-8f84-c3ddedeaba92" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5208387a-52d2-40ab-b683-ed6750f7f476" xlink:to="loc_us-gaap_CommodityContractMember_fa709344-2b93-4884-8f84-c3ddedeaba92" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditRiskContractMember_fd5d4dc5-f87d-4e88-8da0-454c7b2f18b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditRiskContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5208387a-52d2-40ab-b683-ed6750f7f476" xlink:to="loc_us-gaap_CreditRiskContractMember_fd5d4dc5-f87d-4e88-8da0-454c7b2f18b9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionTypeAxis_422c49ea-7978-4fc2-a36f-6b56ad473e52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransactionTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OffsettingLiabilitiesTable_689c69ee-2bf4-484c-925d-eb3b6dd16554" xlink:to="loc_us-gaap_TransactionTypeAxis_422c49ea-7978-4fc2-a36f-6b56ad473e52" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionDomain_422c49ea-7978-4fc2-a36f-6b56ad473e52_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TransactionTypeAxis_422c49ea-7978-4fc2-a36f-6b56ad473e52" xlink:to="loc_us-gaap_TransactionDomain_422c49ea-7978-4fc2-a36f-6b56ad473e52_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionDomain_9920ecff-9539-4304-ad34-08ebb5168fba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TransactionTypeAxis_422c49ea-7978-4fc2-a36f-6b56ad473e52" xlink:to="loc_us-gaap_TransactionDomain_9920ecff-9539-4304-ad34-08ebb5168fba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverTheCounterMember_a61e08ae-afbe-4ceb-986e-76d6ea4bb62c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OverTheCounterMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransactionDomain_9920ecff-9539-4304-ad34-08ebb5168fba" xlink:to="loc_us-gaap_OverTheCounterMember_a61e08ae-afbe-4ceb-986e-76d6ea4bb62c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExchangeTradedMember_588f4105-59bb-4fe3-bcb6-c7673918382c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ExchangeTradedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransactionDomain_9920ecff-9539-4304-ad34-08ebb5168fba" xlink:to="loc_us-gaap_ExchangeTradedMember_588f4105-59bb-4fe3-bcb6-c7673918382c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExchangeClearedMember_971a41a1-c7be-48ee-b3c4-0851be4a1d0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ExchangeClearedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransactionDomain_9920ecff-9539-4304-ad34-08ebb5168fba" xlink:to="loc_us-gaap_ExchangeClearedMember_971a41a1-c7be-48ee-b3c4-0851be4a1d0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_e505a3be-b2dd-48cc-8cd6-b619387a9c34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_e505a3be-b2dd-48cc-8cd6-b619387a9c34" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_e4949feb-d80f-45d0-b095-4bf418db4178" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_e4949feb-d80f-45d0-b095-4bf418db4178" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_4628abb6-2f6e-4208-87bb-f6d7c90d670b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_4628abb6-2f6e-4208-87bb-f6d7c90d670b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement_159e6a90-dd48-4297-823f-aeec21599b21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:to="loc_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement_159e6a90-dd48-4297-823f-aeec21599b21" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_f1524141-1a7d-4888-bbfb-cbb921ab5e8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:to="loc_us-gaap_DerivativeLiabilities_f1524141-1a7d-4888-bbfb-cbb921ab5e8c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_161c2f3a-bd79-4671-a20f-1d686ca48b7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_161c2f3a-bd79-4671-a20f-1d686ca48b7d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_34d9f447-d42c-4749-9491-0bf4677462ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingLiabilitiesLineItems_57df7d98-fa48-4d39-a0c1-9aa46f8673be" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_34d9f447-d42c-4749-9491-0bf4677462ed" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesGainsandLossesonDerivativesandHedgedItemsDesignatedinFairValueHedgesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesGainsandLossesonDerivativesandHedgedItemsDesignatedinFairValueHedgesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesGainsandLossesonDerivativesandHedgedItemsDesignatedinFairValueHedgesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_e094d90e-5c53-44cd-9361-5e7543b14fd4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_f7c0541c-9d96-403c-b335-c7cd2ad13547" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_e094d90e-5c53-44cd-9361-5e7543b14fd4" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_f7c0541c-9d96-403c-b335-c7cd2ad13547" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_2796b69f-42db-4bca-9c2d-bbd1d8e2b2a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_f7c0541c-9d96-403c-b335-c7cd2ad13547" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_2796b69f-42db-4bca-9c2d-bbd1d8e2b2a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_2796b69f-42db-4bca-9c2d-bbd1d8e2b2a6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2796b69f-42db-4bca-9c2d-bbd1d8e2b2a6" xlink:to="loc_us-gaap_EquityComponentDomain_2796b69f-42db-4bca-9c2d-bbd1d8e2b2a6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_4a3d7c76-219b-456a-89ff-0b35f762fe05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2796b69f-42db-4bca-9c2d-bbd1d8e2b2a6" xlink:to="loc_us-gaap_EquityComponentDomain_4a3d7c76-219b-456a-89ff-0b35f762fe05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_b4068a2f-0af2-4f0c-af2e-d2bb82cf6e20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4a3d7c76-219b-456a-89ff-0b35f762fe05" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_b4068a2f-0af2-4f0c-af2e-d2bb82cf6e20" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_8cc5c073-88a3-41d6-a920-a1c7ac8ccc54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_f7c0541c-9d96-403c-b335-c7cd2ad13547" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_8cc5c073-88a3-41d6-a920-a1c7ac8ccc54" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_8cc5c073-88a3-41d6-a920-a1c7ac8ccc54_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_8cc5c073-88a3-41d6-a920-a1c7ac8ccc54" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_8cc5c073-88a3-41d6-a920-a1c7ac8ccc54_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_da8c5a05-9027-4bb3-b757-f992319466ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_8cc5c073-88a3-41d6-a920-a1c7ac8ccc54" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_da8c5a05-9027-4bb3-b757-f992319466ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateRiskOnLongTernDebtMember_68f481a3-6865-46e6-b873-d0c0d1d82636" xlink:href="bac-20251231.xsd#bac_InterestRateRiskOnLongTernDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_da8c5a05-9027-4bb3-b757-f992319466ac" xlink:to="loc_bac_InterestRateRiskOnLongTernDebtMember_68f481a3-6865-46e6-b873-d0c0d1d82636" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateAndForeignCurrencyRiskOnLongTermDebtMember_c13822fb-c60e-4cd2-9bf7-a36fc4ebd020" xlink:href="bac-20251231.xsd#bac_InterestRateAndForeignCurrencyRiskOnLongTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_da8c5a05-9027-4bb3-b757-f992319466ac" xlink:to="loc_bac_InterestRateAndForeignCurrencyRiskOnLongTermDebtMember_c13822fb-c60e-4cd2-9bf7-a36fc4ebd020" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateRiskOnAvailableForSaleSecuritiesMember_9aefc9cd-00ec-4eec-95f6-0f6f11b657f0" xlink:href="bac-20251231.xsd#bac_InterestRateRiskOnAvailableForSaleSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_da8c5a05-9027-4bb3-b757-f992319466ac" xlink:to="loc_bac_InterestRateRiskOnAvailableForSaleSecuritiesMember_9aefc9cd-00ec-4eec-95f6-0f6f11b657f0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PriceRiskOnCommodityInventoryMember_16c3191f-6be7-45b0-a290-36ebc70873b8" xlink:href="bac-20251231.xsd#bac_PriceRiskOnCommodityInventoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_da8c5a05-9027-4bb3-b757-f992319466ac" xlink:to="loc_bac_PriceRiskOnCommodityInventoryMember_16c3191f-6be7-45b0-a290-36ebc70873b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_6f1975f0-25ce-4727-b196-6fc69a3e439b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_f7c0541c-9d96-403c-b335-c7cd2ad13547" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_6f1975f0-25ce-4727-b196-6fc69a3e439b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_6f1975f0-25ce-4727-b196-6fc69a3e439b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_6f1975f0-25ce-4727-b196-6fc69a3e439b" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_6f1975f0-25ce-4727-b196-6fc69a3e439b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_debec30c-12b8-4a48-9388-e472e7e53121" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_6f1975f0-25ce-4727-b196-6fc69a3e439b" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_debec30c-12b8-4a48-9388-e472e7e53121" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeMember_405ac234-9402-4af7-a380-51e4a4429914" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_debec30c-12b8-4a48-9388-e472e7e53121" xlink:to="loc_us-gaap_InterestIncomeMember_405ac234-9402-4af7-a380-51e4a4429914" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseMember_019b27a0-3253-74cc-bfaa-b1734e31ad8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_debec30c-12b8-4a48-9388-e472e7e53121" xlink:to="loc_us-gaap_InterestExpenseMember_019b27a0-3253-74cc-bfaa-b1734e31ad8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MarketMakingAndSimilarActivitiesMember_1d1742e8-a925-4651-9dbe-3618d9b14f8a" xlink:href="bac-20251231.xsd#bac_MarketMakingAndSimilarActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_debec30c-12b8-4a48-9388-e472e7e53121" xlink:to="loc_bac_MarketMakingAndSimilarActivitiesMember_1d1742e8-a925-4651-9dbe-3618d9b14f8a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstract_2dfa18c5-18b5-4207-bcd0-8fc1b8a0cbc4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_e094d90e-5c53-44cd-9361-5e7543b14fd4" xlink:to="loc_us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstract_2dfa18c5-18b5-4207-bcd0-8fc1b8a0cbc4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_909eab05-d1b6-4167-950f-d31aa3ff074f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstract_2dfa18c5-18b5-4207-bcd0-8fc1b8a0cbc4" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_909eab05-d1b6-4167-950f-d31aa3ff074f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_5e0fecca-5c85-4941-a915-6663f9ab3e48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstract_2dfa18c5-18b5-4207-bcd0-8fc1b8a0cbc4" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_5e0fecca-5c85-4941-a915-6663f9ab3e48" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesDesignatedFairValueHedgedAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesDesignatedFairValueHedgedAssetsandLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesDesignatedFairValueHedgedAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_eb147d33-fa35-4555-8727-6fd7cb7b4d9b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_us-gaap_DerivativeTable_eb147d33-fa35-4555-8727-6fd7cb7b4d9b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_92f88fd2-eef1-4626-b1ea-67c8605534ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_eb147d33-fa35-4555-8727-6fd7cb7b4d9b" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_92f88fd2-eef1-4626-b1ea-67c8605534ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_92f88fd2-eef1-4626-b1ea-67c8605534ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_92f88fd2-eef1-4626-b1ea-67c8605534ab" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_92f88fd2-eef1-4626-b1ea-67c8605534ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4c33503d-4263-4f05-ac9f-cdd89ad0c359" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_92f88fd2-eef1-4626-b1ea-67c8605534ab" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4c33503d-4263-4f05-ac9f-cdd89ad0c359" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesMember_1437e039-eaad-4f57-a48c-4c3e227f4385" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4c33503d-4263-4f05-ac9f-cdd89ad0c359" xlink:to="loc_us-gaap_DebtSecuritiesMember_1437e039-eaad-4f57-a48c-4c3e227f4385" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingAccountAssets1Member_3a0d9776-ecfc-4194-b3b9-e222ba95eb62" xlink:href="bac-20251231.xsd#bac_TradingAccountAssets1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4c33503d-4263-4f05-ac9f-cdd89ad0c359" xlink:to="loc_bac_TradingAccountAssets1Member_3a0d9776-ecfc-4194-b3b9-e222ba95eb62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumeration_15dbb844-d28a-4c8f-be30-5ac157b4d569" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_us-gaap_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumeration_15dbb844-d28a-4c8f-be30-5ac157b4d569" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedLiabilityFairValueHedge_16c78398-9b01-460b-b755-8c5f8da3e5f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedLiabilityFairValueHedge"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_us-gaap_HedgedLiabilityFairValueHedge_16c78398-9b01-460b-b755-8c5f8da3e5f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease_f88433c2-4a94-4fbf-a54f-57ff8c36b23b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease_f88433c2-4a94-4fbf-a54f-57ff8c36b23b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedAssetFairValueHedge_7b1f7e10-65a8-456d-ad8d-a3d28815371d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedAssetFairValueHedge"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_us-gaap_HedgedAssetFairValueHedge_7b1f7e10-65a8-456d-ad8d-a3d28815371d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease_066dd579-34e8-4291-a0fd-b7dee77da2e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease_066dd579-34e8-4291-a0fd-b7dee77da2e5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepayableFinancialAssetClosedPortfolioLastOfLayerAmortizedCost_f82b2c6d-03ab-4d6b-80df-3929f9f76899" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepayableFinancialAssetClosedPortfolioLastOfLayerAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_us-gaap_PrepayableFinancialAssetClosedPortfolioLastOfLayerAmortizedCost_f82b2c6d-03ab-4d6b-80df-3929f9f76899" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HedgedAssetFairValueHedgePortfolioLayerAmount_a87f691f-e527-4913-a62e-cc8343729534" xlink:href="bac-20251231.xsd#bac_HedgedAssetFairValueHedgePortfolioLayerAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_bac_HedgedAssetFairValueHedgePortfolioLayerAmount_a87f691f-e527-4913-a62e-cc8343729534" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedAssetFairValueHedgeLastOfLayerCumulativeIncreaseDecrease_7c65a1af-80a2-43af-8a26-549636a2da61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedAssetFairValueHedgeLastOfLayerCumulativeIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_7631d801-16d6-43a0-a92a-04cc01e54c4f" xlink:to="loc_us-gaap_HedgedAssetFairValueHedgeLastOfLayerCumulativeIncreaseDecrease_7c65a1af-80a2-43af-8a26-549636a2da61" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_be3e0009-45a5-42b3-8930-f7732ecbd38e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_DerivativeTable_be3e0009-45a5-42b3-8930-f7732ecbd38e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_3f5c8a0e-cf9e-44ae-a0fb-a5ded6a63a26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_be3e0009-45a5-42b3-8930-f7732ecbd38e" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_3f5c8a0e-cf9e-44ae-a0fb-a5ded6a63a26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_3f5c8a0e-cf9e-44ae-a0fb-a5ded6a63a26_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3f5c8a0e-cf9e-44ae-a0fb-a5ded6a63a26" xlink:to="loc_us-gaap_EquityComponentDomain_3f5c8a0e-cf9e-44ae-a0fb-a5ded6a63a26_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_48c6702e-ae03-44c2-b4ab-899190594c0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3f5c8a0e-cf9e-44ae-a0fb-a5ded6a63a26" xlink:to="loc_us-gaap_EquityComponentDomain_48c6702e-ae03-44c2-b4ab-899190594c0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_b2dd7fda-6a58-4a34-af1a-d76a72005b27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_48c6702e-ae03-44c2-b4ab-899190594c0e" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_b2dd7fda-6a58-4a34-af1a-d76a72005b27" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_80fb875c-f8bd-40dd-a6d1-cf0d1e3ee40f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_be3e0009-45a5-42b3-8930-f7732ecbd38e" xlink:to="loc_us-gaap_FinancialInstrumentAxis_80fb875c-f8bd-40dd-a6d1-cf0d1e3ee40f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_80fb875c-f8bd-40dd-a6d1-cf0d1e3ee40f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_80fb875c-f8bd-40dd-a6d1-cf0d1e3ee40f" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_80fb875c-f8bd-40dd-a6d1-cf0d1e3ee40f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7f760b44-1e52-418f-9d23-ca8f626eb790" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_80fb875c-f8bd-40dd-a6d1-cf0d1e3ee40f" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7f760b44-1e52-418f-9d23-ca8f626eb790" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForeignMortgagebackedSecuritiesandForeignSecuritiesMember_4bfe0552-e97b-46fb-acb2-6a0ef4323872" xlink:href="bac-20251231.xsd#bac_ForeignMortgagebackedSecuritiesandForeignSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7f760b44-1e52-418f-9d23-ca8f626eb790" xlink:to="loc_bac_ForeignMortgagebackedSecuritiesandForeignSecuritiesMember_4bfe0552-e97b-46fb-acb2-6a0ef4323872" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_2d412f67-181d-4991-b568-71e93807d52e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_be3e0009-45a5-42b3-8930-f7732ecbd38e" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_2d412f67-181d-4991-b568-71e93807d52e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2d412f67-181d-4991-b568-71e93807d52e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2d412f67-181d-4991-b568-71e93807d52e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2d412f67-181d-4991-b568-71e93807d52e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_a34db178-e090-4aba-8410-8cc44022ef39" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2d412f67-181d-4991-b568-71e93807d52e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_a34db178-e090-4aba-8410-8cc44022ef39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateRiskOnLongTernDebtMember_b871aea6-2b5b-46e2-a3ad-f110094fedd5" xlink:href="bac-20251231.xsd#bac_InterestRateRiskOnLongTernDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_a34db178-e090-4aba-8410-8cc44022ef39" xlink:to="loc_bac_InterestRateRiskOnLongTernDebtMember_b871aea6-2b5b-46e2-a3ad-f110094fedd5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateRiskOnAvailableForSaleSecuritiesMember_ba6476ac-1223-4c31-b47e-ae5619114f50" xlink:href="bac-20251231.xsd#bac_InterestRateRiskOnAvailableForSaleSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_a34db178-e090-4aba-8410-8cc44022ef39" xlink:to="loc_bac_InterestRateRiskOnAvailableForSaleSecuritiesMember_ba6476ac-1223-4c31-b47e-ae5619114f50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditRiskContractMember_a329ff26-a7df-4f6f-b403-46ab11a80201" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditRiskContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_a34db178-e090-4aba-8410-8cc44022ef39" xlink:to="loc_us-gaap_CreditRiskContractMember_a329ff26-a7df-4f6f-b403-46ab11a80201" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_0e4513f4-724b-426d-a422-225a060db0a9" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_be3e0009-45a5-42b3-8930-f7732ecbd38e" xlink:to="loc_dei_LegalEntityAxis_0e4513f4-724b-426d-a422-225a060db0a9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_0e4513f4-724b-426d-a422-225a060db0a9_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_0e4513f4-724b-426d-a422-225a060db0a9" xlink:to="loc_dei_EntityDomain_0e4513f4-724b-426d-a422-225a060db0a9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_5c8a7ab8-ee0d-4dd9-aee7-e6e4ac02c66a" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_0e4513f4-724b-426d-a422-225a060db0a9" xlink:to="loc_dei_EntityDomain_5c8a7ab8-ee0d-4dd9-aee7-e6e4ac02c66a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_bbcc3106-57a9-4d79-8fdf-9cb89ad63773" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_5c8a7ab8-ee0d-4dd9-aee7-e6e4ac02c66a" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_bbcc3106-57a9-4d79-8fdf-9cb89ad63773" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_97538a30-46b9-4f34-8a9b-50baf852e608" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_97538a30-46b9-4f34-8a9b-50baf852e608" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_38f30add-f8b5-4da5-ae91-7ab861b2e155" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_38f30add-f8b5-4da5-ae91-7ab861b2e155" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_a6cd234b-de6d-4533-b2a9-ddde52dbc271" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_StockholdersEquity_a6cd234b-de6d-4533-b2a9-ddde52dbc271" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociBeforeTaxAttributableToParent_1a908519-1161-405e-805d-eca8d9b7d76e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AociBeforeTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_1a908519-1161-405e-805d-eca8d9b7d76e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonthsNetOfTax_57a85fb0-d254-4c7f-9ce8-8ee14f76fe45" xlink:href="bac-20251231.xsd#bac_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonthsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_bac_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonthsNetOfTax_57a85fb0-d254-4c7f-9ce8-8ee14f76fe45" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_2f50e799-a58b-4fd8-813b-f06815911dc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_2f50e799-a58b-4fd8-813b-f06815911dc1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OpenCashFlowHedgesLengthOfTimeOverWhichForecastedTransactionsAreSubstantiallyHedged_e2a1ac3a-461b-4d99-a653-2574b16d42b3" xlink:href="bac-20251231.xsd#bac_OpenCashFlowHedgesLengthOfTimeOverWhichForecastedTransactionsAreSubstantiallyHedged"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_bac_OpenCashFlowHedgesLengthOfTimeOverWhichForecastedTransactionsAreSubstantiallyHedged_e2a1ac3a-461b-4d99-a653-2574b16d42b3" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_57e85a68-e2ae-468d-89fd-90b61b7bf364" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_57e85a68-e2ae-468d-89fd-90b61b7bf364" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TerminatedCashFlowHedgesLengthOfTimeOverWhichForecastedTransactionsAreRecognizedInInterestIncome_b2f406d3-cecf-4997-ad3e-ca134b8ece97" xlink:href="bac-20251231.xsd#bac_TerminatedCashFlowHedgesLengthOfTimeOverWhichForecastedTransactionsAreRecognizedInInterestIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_bac_TerminatedCashFlowHedgesLengthOfTimeOverWhichForecastedTransactionsAreRecognizedInInterestIncome_b2f406d3-cecf-4997-ad3e-ca134b8ece97" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfFinancialAssetsAccountedForAsSalesAmountDerecognized_a59618c3-3e8b-4d02-b526-9bf9b1781721" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferOfFinancialAssetsAccountedForAsSalesAmountDerecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_TransferOfFinancialAssetsAccountedForAsSalesAmountDerecognized_a59618c3-3e8b-4d02-b526-9bf9b1781721" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfFinancialAssetsAccountedForAsSalesCashProceedsReceivedForAssetsDerecognizedAmount_2b80b5c5-cca6-4dd7-9205-a979c5daa00f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferOfFinancialAssetsAccountedForAsSalesCashProceedsReceivedForAssetsDerecognizedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_TransferOfFinancialAssetsAccountedForAsSalesCashProceedsReceivedForAssetsDerecognizedAmount_2b80b5c5-cca6-4dd7-9205-a979c5daa00f" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfFinancialAssetsAccountedForAsSalesFairValueOfDerecognizedAssets_6f033232-b7e1-49c7-bdda-effa4414545f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferOfFinancialAssetsAccountedForAsSalesFairValueOfDerecognizedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_TransferOfFinancialAssetsAccountedForAsSalesFairValueOfDerecognizedAssets_6f033232-b7e1-49c7-bdda-effa4414545f" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CashandSecuritiesHeldAsCollateralAtFairValue_d7d13c69-fa0d-4fca-b56d-7fedcccb222a" xlink:href="bac-20251231.xsd#bac_CashandSecuritiesHeldAsCollateralAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_bac_CashandSecuritiesHeldAsCollateralAtFairValue_d7d13c69-fa0d-4fca-b56d-7fedcccb222a" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralAlreadyPostedAggregateFairValue_eef6e085-1c50-43fc-b821-2a2b2ea97d58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollateralAlreadyPostedAggregateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_us-gaap_CollateralAlreadyPostedAggregateFairValue_eef6e085-1c50-43fc-b821-2a2b2ea97d58" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CollateralNotYetPostedAggregateFairValue_93ecd2bd-01e4-4deb-83b0-788ae4ddc9cc" xlink:href="bac-20251231.xsd#bac_CollateralNotYetPostedAggregateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_abd7bd1d-9281-42e4-8640-b3b559cb5442" xlink:to="loc_bac_CollateralNotYetPostedAggregateFairValue_93ecd2bd-01e4-4deb-83b0-788ae4ddc9cc" xlink:type="arc" order="14"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesDerivativesDesignatedasCashFlowandNetInvestmentHedgesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesDerivativesDesignatedasCashFlowandNetInvestmentHedgesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesDerivativesDesignatedasCashFlowandNetInvestmentHedgesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_11fcd7e7-eb48-4289-98b5-e533c497fdc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_efc414e5-28d6-4721-97b0-05e3d97adb1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_11fcd7e7-eb48-4289-98b5-e533c497fdc5" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_efc414e5-28d6-4721-97b0-05e3d97adb1b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_df097641-db14-4cfe-a0e8-c862bb1f10c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_efc414e5-28d6-4721-97b0-05e3d97adb1b" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_df097641-db14-4cfe-a0e8-c862bb1f10c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_df097641-db14-4cfe-a0e8-c862bb1f10c4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_df097641-db14-4cfe-a0e8-c862bb1f10c4" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_df097641-db14-4cfe-a0e8-c862bb1f10c4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_36d7ef1d-8001-4cd4-b53e-c13307d08acc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_df097641-db14-4cfe-a0e8-c862bb1f10c4" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_36d7ef1d-8001-4cd4-b53e-c13307d08acc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateRiskOnVariableRatePortfoliosMember_ffd161db-e8e8-4715-943b-0853a561ecab" xlink:href="bac-20251231.xsd#bac_InterestRateRiskOnVariableRatePortfoliosMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_36d7ef1d-8001-4cd4-b53e-c13307d08acc" xlink:to="loc_bac_InterestRateRiskOnVariableRatePortfoliosMember_ffd161db-e8e8-4715-943b-0853a561ecab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PriceRiskOnForecastedMBSPurchasesMember_93b6fb3e-8545-46de-9b8b-3d36d6bb703d" xlink:href="bac-20251231.xsd#bac_PriceRiskOnForecastedMBSPurchasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_36d7ef1d-8001-4cd4-b53e-c13307d08acc" xlink:to="loc_bac_PriceRiskOnForecastedMBSPurchasesMember_93b6fb3e-8545-46de-9b8b-3d36d6bb703d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PriceRiskOnCertainCompensationPlansMember_3e0f0d17-2252-4eee-9a99-1e2f48cd2922" xlink:href="bac-20251231.xsd#bac_PriceRiskOnCertainCompensationPlansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_36d7ef1d-8001-4cd4-b53e-c13307d08acc" xlink:to="loc_bac_PriceRiskOnCertainCompensationPlansMember_3e0f0d17-2252-4eee-9a99-1e2f48cd2922" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeContractMember_1070541a-ef72-481b-8f3b-026835de937a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_36d7ef1d-8001-4cd4-b53e-c13307d08acc" xlink:to="loc_us-gaap_ForeignExchangeContractMember_1070541a-ef72-481b-8f3b-026835de937a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_65eb4016-cab9-4611-80f1-b6c1511cd288" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_efc414e5-28d6-4721-97b0-05e3d97adb1b" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_65eb4016-cab9-4611-80f1-b6c1511cd288" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_65eb4016-cab9-4611-80f1-b6c1511cd288_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_65eb4016-cab9-4611-80f1-b6c1511cd288" xlink:to="loc_us-gaap_HedgingRelationshipDomain_65eb4016-cab9-4611-80f1-b6c1511cd288_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_f5aff479-ba14-450b-9acc-7f0036a1d4d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_65eb4016-cab9-4611-80f1-b6c1511cd288" xlink:to="loc_us-gaap_HedgingRelationshipDomain_f5aff479-ba14-450b-9acc-7f0036a1d4d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_8d23f9c2-0ab4-4ab1-8338-e924c46b61da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_f5aff479-ba14-450b-9acc-7f0036a1d4d1" xlink:to="loc_us-gaap_CashFlowHedgingMember_8d23f9c2-0ab4-4ab1-8338-e924c46b61da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentHedgingMember_8fc46620-d576-4a08-a68e-ff8b65552a31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_f5aff479-ba14-450b-9acc-7f0036a1d4d1" xlink:to="loc_us-gaap_NetInvestmentHedgingMember_8fc46620-d576-4a08-a68e-ff8b65552a31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_a9495090-18f8-4f53-98b4-926559877a73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_11fcd7e7-eb48-4289-98b5-e533c497fdc5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_a9495090-18f8-4f53-98b4-926559877a73" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_bfb570d0-daef-4e3b-b24f-074350e6f590" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_11fcd7e7-eb48-4289-98b5-e533c497fdc5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_bfb570d0-daef-4e3b-b24f-074350e6f590" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessNet_159a1f83-3b91-4fd0-9d55-e684eba41e6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_11fcd7e7-eb48-4289-98b5-e533c497fdc5" xlink:to="loc_us-gaap_GainLossFromComponentsExcludedFromAssessmentOfCashFlowHedgeEffectivenessNet_159a1f83-3b91-4fd0-9d55-e684eba41e6d" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesOtherRiskManagementDerivativesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesOtherRiskManagementDerivativesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesOtherRiskManagementDerivativesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_216e4603-5428-46d2-8507-4fd6015b9a5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0a8c8c9f-3ad8-45f8-ae90-4ddcd1894b05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_216e4603-5428-46d2-8507-4fd6015b9a5a" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0a8c8c9f-3ad8-45f8-ae90-4ddcd1894b05" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_5cc69c55-5516-40ae-a504-c6338a5ad09b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0a8c8c9f-3ad8-45f8-ae90-4ddcd1894b05" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_5cc69c55-5516-40ae-a504-c6338a5ad09b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_5cc69c55-5516-40ae-a504-c6338a5ad09b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_5cc69c55-5516-40ae-a504-c6338a5ad09b" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_5cc69c55-5516-40ae-a504-c6338a5ad09b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_5bd982cf-d119-4a60-9360-d7280870df05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_5cc69c55-5516-40ae-a504-c6338a5ad09b" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_5bd982cf-d119-4a60-9360-d7280870df05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NoninterestIncomeOtherOperatingIncomeMember_61eb8689-7b9b-4ca3-981a-80d2f367333f" xlink:href="bac-20251231.xsd#bac_NoninterestIncomeOtherOperatingIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_5bd982cf-d119-4a60-9360-d7280870df05" xlink:to="loc_bac_NoninterestIncomeOtherOperatingIncomeMember_61eb8689-7b9b-4ca3-981a-80d2f367333f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingGainLossMember_019c8ac1-6906-70e6-ab86-12c5f6052a91" xlink:href="bac-20251231.xsd#bac_TradingGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_5bd982cf-d119-4a60-9360-d7280870df05" xlink:to="loc_bac_TradingGainLossMember_019c8ac1-6906-70e6-ab86-12c5f6052a91" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LaborAndRelatedExpenseMember_019c8ac0-6358-7c4a-bf91-fa5c50042a82" xlink:href="bac-20251231.xsd#bac_LaborAndRelatedExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_5bd982cf-d119-4a60-9360-d7280870df05" xlink:to="loc_bac_LaborAndRelatedExpenseMember_019c8ac0-6358-7c4a-bf91-fa5c50042a82" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_2295a69a-a0e5-4aaf-8238-f85388fb6f8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0a8c8c9f-3ad8-45f8-ae90-4ddcd1894b05" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_2295a69a-a0e5-4aaf-8238-f85388fb6f8e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2295a69a-a0e5-4aaf-8238-f85388fb6f8e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2295a69a-a0e5-4aaf-8238-f85388fb6f8e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2295a69a-a0e5-4aaf-8238-f85388fb6f8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_037d5f9b-75b5-4b36-ba5c-9239c1d4699d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2295a69a-a0e5-4aaf-8238-f85388fb6f8e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_037d5f9b-75b5-4b36-ba5c-9239c1d4699d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateRiskOnMortgageActivitiesMember_ed5f82e0-5326-42ba-9a69-046d00ca1bd8" xlink:href="bac-20251231.xsd#bac_InterestRateRiskOnMortgageActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_037d5f9b-75b5-4b36-ba5c-9239c1d4699d" xlink:to="loc_bac_InterestRateRiskOnMortgageActivitiesMember_ed5f82e0-5326-42ba-9a69-046d00ca1bd8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditRiskOnLoansMember_b00fec3c-f435-4df0-a54b-42753f800eb0" xlink:href="bac-20251231.xsd#bac_CreditRiskOnLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_037d5f9b-75b5-4b36-ba5c-9239c1d4699d" xlink:to="loc_bac_CreditRiskOnLoansMember_b00fec3c-f435-4df0-a54b-42753f800eb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestRateandForeignCurrencyRiskonAssetLiabilityManagementActivitiesMember_d0a27948-88d2-4479-a3d2-1d1f6497c749" xlink:href="bac-20251231.xsd#bac_InterestRateandForeignCurrencyRiskonAssetLiabilityManagementActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_037d5f9b-75b5-4b36-ba5c-9239c1d4699d" xlink:to="loc_bac_InterestRateandForeignCurrencyRiskonAssetLiabilityManagementActivitiesMember_d0a27948-88d2-4479-a3d2-1d1f6497c749" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DeferredCompensationHedgesMember_cf159142-65d7-492c-b675-a6498d44f5bf" xlink:href="bac-20251231.xsd#bac_DeferredCompensationHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_037d5f9b-75b5-4b36-ba5c-9239c1d4699d" xlink:to="loc_bac_DeferredCompensationHedgesMember_cf159142-65d7-492c-b675-a6498d44f5bf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_78ed966a-53fb-43e6-867d-6a51a093ee49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_216e4603-5428-46d2-8507-4fd6015b9a5a" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_78ed966a-53fb-43e6-867d-6a51a093ee49" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstruments_019b27b0-99ef-712e-ba1b-48228000751a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstruments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_216e4603-5428-46d2-8507-4fd6015b9a5a" xlink:to="loc_us-gaap_GainLossOnInterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstruments_019b27b0-99ef-712e-ba1b-48228000751a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesSalesandTradingRevenueDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesSalesandTradingRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesSalesandTradingRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingActivityGainsAndLossesLineItems_a26520e6-3aa3-4a82-a497-ab6c7b8496c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingActivityGainsAndLossesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingActivitiesGainLossByTypeTable_16e0d1f1-ea8c-4ff7-b0f2-c41e49d21b16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingActivitiesGainLossByTypeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TradingActivityGainsAndLossesLineItems_a26520e6-3aa3-4a82-a497-ab6c7b8496c5" xlink:to="loc_us-gaap_TradingActivitiesGainLossByTypeTable_16e0d1f1-ea8c-4ff7-b0f2-c41e49d21b16" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_1e0de614-3d79-4a4c-8920-c43f0ad09c2a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TradingActivitiesGainLossByTypeTable_16e0d1f1-ea8c-4ff7-b0f2-c41e49d21b16" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_1e0de614-3d79-4a4c-8920-c43f0ad09c2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1e0de614-3d79-4a4c-8920-c43f0ad09c2a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1e0de614-3d79-4a4c-8920-c43f0ad09c2a" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1e0de614-3d79-4a4c-8920-c43f0ad09c2a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_e80d57b7-7265-490b-adb0-b278ccb87de4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1e0de614-3d79-4a4c-8920-c43f0ad09c2a" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_e80d57b7-7265-490b-adb0-b278ccb87de4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingDerivativesMember_5752a425-1a65-4a41-8e3f-95097a5fdf5e" xlink:href="bac-20251231.xsd#bac_TradingDerivativesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_e80d57b7-7265-490b-adb0-b278ccb87de4" xlink:to="loc_bac_TradingDerivativesMember_5752a425-1a65-4a41-8e3f-95097a5fdf5e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingActivityByTypeAxis_e562bfd0-d015-4355-88a7-9ea8c5546f45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingActivityByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TradingActivitiesGainLossByTypeTable_16e0d1f1-ea8c-4ff7-b0f2-c41e49d21b16" xlink:to="loc_us-gaap_TradingActivityByTypeAxis_e562bfd0-d015-4355-88a7-9ea8c5546f45" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingActivityByTypeDomain_e562bfd0-d015-4355-88a7-9ea8c5546f45_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TradingActivityByTypeAxis_e562bfd0-d015-4355-88a7-9ea8c5546f45" xlink:to="loc_us-gaap_TradingActivityByTypeDomain_e562bfd0-d015-4355-88a7-9ea8c5546f45_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingActivityByTypeDomain_7fca507c-e61e-4fe3-bde3-98e5195ea251" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TradingActivityByTypeAxis_e562bfd0-d015-4355-88a7-9ea8c5546f45" xlink:to="loc_us-gaap_TradingActivityByTypeDomain_7fca507c-e61e-4fe3-bde3-98e5195ea251" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeInterestRateMember_e8853b34-f9d0-4161-a940-6027342cfde3" xlink:href="bac-20251231.xsd#bac_IncomeInterestRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingActivityByTypeDomain_7fca507c-e61e-4fe3-bde3-98e5195ea251" xlink:to="loc_bac_IncomeInterestRateMember_e8853b34-f9d0-4161-a940-6027342cfde3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeMember_2febecf1-f9d3-443d-8c05-c9167b25143a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingActivityByTypeDomain_7fca507c-e61e-4fe3-bde3-98e5195ea251" xlink:to="loc_us-gaap_ForeignExchangeMember_2febecf1-f9d3-443d-8c05-c9167b25143a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMember_2d5703fc-f9ec-4b80-849c-744d3d48f1e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingActivityByTypeDomain_7fca507c-e61e-4fe3-bde3-98e5195ea251" xlink:to="loc_us-gaap_EquityMember_2d5703fc-f9ec-4b80-849c-744d3d48f1e6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditMember_076186ba-13c9-4a20-b3a3-f519846976f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingActivityByTypeDomain_7fca507c-e61e-4fe3-bde3-98e5195ea251" xlink:to="loc_us-gaap_CreditMember_076186ba-13c9-4a20-b3a3-f519846976f0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherTradingMember_eac795a1-bbb6-45f3-b004-0c8d9c73458b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherTradingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingActivityByTypeDomain_7fca507c-e61e-4fe3-bde3-98e5195ea251" xlink:to="loc_us-gaap_OtherTradingMember_eac795a1-bbb6-45f3-b004-0c8d9c73458b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_f8b4c610-ba41-4724-9459-975cae607f53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TradingActivitiesGainLossByTypeTable_16e0d1f1-ea8c-4ff7-b0f2-c41e49d21b16" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_f8b4c610-ba41-4724-9459-975cae607f53" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_f8b4c610-ba41-4724-9459-975cae607f53_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_f8b4c610-ba41-4724-9459-975cae607f53" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_f8b4c610-ba41-4724-9459-975cae607f53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_c70cfe17-1d77-4982-bb68-2dac2ecb9e93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_f8b4c610-ba41-4724-9459-975cae607f53" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_c70cfe17-1d77-4982-bb68-2dac2ecb9e93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MarketMakingAndSimilarActivitiesMember_de0e1094-9210-4e03-92a0-62191945fd8d" xlink:href="bac-20251231.xsd#bac_MarketMakingAndSimilarActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_c70cfe17-1d77-4982-bb68-2dac2ecb9e93" xlink:to="loc_bac_MarketMakingAndSimilarActivitiesMember_de0e1094-9210-4e03-92a0-62191945fd8d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestIncomeExpenseMember_8d209a92-abbe-4e87-9354-4d8aaf83b1bc" xlink:href="bac-20251231.xsd#bac_InterestIncomeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_c70cfe17-1d77-4982-bb68-2dac2ecb9e93" xlink:to="loc_bac_InterestIncomeExpenseMember_8d209a92-abbe-4e87-9354-4d8aaf83b1bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OperatingIncomeLossAndBrokerageCommissionsAndAssetManagementFeeRevenueMember_913cc718-1e22-4a10-af71-d25f6234e698" xlink:href="bac-20251231.xsd#bac_OperatingIncomeLossAndBrokerageCommissionsAndAssetManagementFeeRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_c70cfe17-1d77-4982-bb68-2dac2ecb9e93" xlink:to="loc_bac_OperatingIncomeLossAndBrokerageCommissionsAndAssetManagementFeeRevenueMember_913cc718-1e22-4a10-af71-d25f6234e698" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BrokerageCommissionsAndAssetManagementFeeRevenueMember_3b020ccb-5b82-4323-87a3-67be071c652b" xlink:href="bac-20251231.xsd#bac_BrokerageCommissionsAndAssetManagementFeeRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_c70cfe17-1d77-4982-bb68-2dac2ecb9e93" xlink:to="loc_bac_BrokerageCommissionsAndAssetManagementFeeRevenueMember_3b020ccb-5b82-4323-87a3-67be071c652b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_dd4e82d9-6414-416a-83db-23adc9f6c54d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TradingActivitiesGainLossByTypeTable_16e0d1f1-ea8c-4ff7-b0f2-c41e49d21b16" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_dd4e82d9-6414-416a-83db-23adc9f6c54d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_dd4e82d9-6414-416a-83db-23adc9f6c54d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_dd4e82d9-6414-416a-83db-23adc9f6c54d" xlink:to="loc_us-gaap_SegmentDomain_dd4e82d9-6414-416a-83db-23adc9f6c54d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_56150298-0bc6-4d46-9c94-fa0cef726e0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_dd4e82d9-6414-416a-83db-23adc9f6c54d" xlink:to="loc_us-gaap_SegmentDomain_56150298-0bc6-4d46-9c94-fa0cef726e0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalMarketsSegmentMember_d4fda74d-d3a1-4b66-a0a9-0652d2c754d4" xlink:href="bac-20251231.xsd#bac_GlobalMarketsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_56150298-0bc6-4d46-9c94-fa0cef726e0d" xlink:to="loc_bac_GlobalMarketsSegmentMember_d4fda74d-d3a1-4b66-a0a9-0652d2c754d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingGainsLosses_ce7401b2-7fe2-4549-8257-981b55c6be5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingActivityGainsAndLossesLineItems_a26520e6-3aa3-4a82-a497-ab6c7b8496c5" xlink:to="loc_us-gaap_TradingGainsLosses_ce7401b2-7fe2-4549-8257-981b55c6be5b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesCreditDerivativesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesCreditDerivativesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesCreditDerivativesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDerivativesLineItems_0c1af40c-1248-4a6f-9816-6abc9f48b85a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCreditDerivativesTable_2c65ff21-eb42-4f6d-a922-f2918f24586e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCreditDerivativesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CreditDerivativesLineItems_0c1af40c-1248-4a6f-9816-6abc9f48b85a" xlink:to="loc_us-gaap_ScheduleOfCreditDerivativesTable_2c65ff21-eb42-4f6d-a922-f2918f24586e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_110c5794-4be7-41d5-84ab-f23a0c42e749" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCreditDerivativesTable_2c65ff21-eb42-4f6d-a922-f2918f24586e" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_110c5794-4be7-41d5-84ab-f23a0c42e749" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_110c5794-4be7-41d5-84ab-f23a0c42e749_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_110c5794-4be7-41d5-84ab-f23a0c42e749" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_110c5794-4be7-41d5-84ab-f23a0c42e749_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_86103d01-f009-4bf0-83bb-afe2cfe53b84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_110c5794-4be7-41d5-84ab-f23a0c42e749" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_86103d01-f009-4bf0-83bb-afe2cfe53b84" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalInvestmentGradeMember_cf42c196-4153-4555-8f9f-e024fff0a880" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalInvestmentGradeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_86103d01-f009-4bf0-83bb-afe2cfe53b84" xlink:to="loc_us-gaap_InternalInvestmentGradeMember_cf42c196-4153-4555-8f9f-e024fff0a880" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalNoninvestmentGradeMember_14385475-acc9-4bcc-8928-a91487f95be2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalNoninvestmentGradeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_86103d01-f009-4bf0-83bb-afe2cfe53b84" xlink:to="loc_us-gaap_InternalNoninvestmentGradeMember_14385475-acc9-4bcc-8928-a91487f95be2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_4076653c-5ed2-436b-b497-4ae5359ac4f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCreditDerivativesTable_2c65ff21-eb42-4f6d-a922-f2918f24586e" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_4076653c-5ed2-436b-b497-4ae5359ac4f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_4076653c-5ed2-436b-b497-4ae5359ac4f8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_4076653c-5ed2-436b-b497-4ae5359ac4f8" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_4076653c-5ed2-436b-b497-4ae5359ac4f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_5e311ea7-2a19-4005-a198-78cf8e5684a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_4076653c-5ed2-436b-b497-4ae5359ac4f8" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5e311ea7-2a19-4005-a198-78cf8e5684a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditRiskContractMember_543f1325-aae2-43e2-9541-b9cb752e49ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditRiskContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5e311ea7-2a19-4005-a198-78cf8e5684a2" xlink:to="loc_us-gaap_CreditRiskContractMember_543f1325-aae2-43e2-9541-b9cb752e49ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDefaultSwapMember_e73fe769-0f32-4b57-9684-a84fc8e25ddb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDefaultSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditRiskContractMember_543f1325-aae2-43e2-9541-b9cb752e49ea" xlink:to="loc_us-gaap_CreditDefaultSwapMember_e73fe769-0f32-4b57-9684-a84fc8e25ddb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCreditDerivativesMember_03f8e87b-2d5f-402e-85a0-84514a2ff416" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCreditDerivativesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditRiskContractMember_543f1325-aae2-43e2-9541-b9cb752e49ea" xlink:to="loc_us-gaap_OtherCreditDerivativesMember_03f8e87b-2d5f-402e-85a0-84514a2ff416" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDerivativesByContractTypeAxis_9029c11f-0853-4a0d-bde4-c07456532f54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativesByContractTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCreditDerivativesTable_2c65ff21-eb42-4f6d-a922-f2918f24586e" xlink:to="loc_us-gaap_CreditDerivativesByContractTypeAxis_9029c11f-0853-4a0d-bde4-c07456532f54" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDerivativesContractTypeDomain_9029c11f-0853-4a0d-bde4-c07456532f54_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativesContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditDerivativesByContractTypeAxis_9029c11f-0853-4a0d-bde4-c07456532f54" xlink:to="loc_us-gaap_CreditDerivativesContractTypeDomain_9029c11f-0853-4a0d-bde4-c07456532f54_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDerivativesContractTypeDomain_06f02e2f-81ef-47ad-9c4d-b55773c70ac6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativesContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditDerivativesByContractTypeAxis_9029c11f-0853-4a0d-bde4-c07456532f54" xlink:to="loc_us-gaap_CreditDerivativesContractTypeDomain_06f02e2f-81ef-47ad-9c4d-b55773c70ac6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDefaultSwapSellingProtectionMember_c4cb6157-52dd-4746-bca2-ff53c5440b01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDefaultSwapSellingProtectionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditDerivativesContractTypeDomain_06f02e2f-81ef-47ad-9c4d-b55773c70ac6" xlink:to="loc_us-gaap_CreditDefaultSwapSellingProtectionMember_c4cb6157-52dd-4746-bca2-ff53c5440b01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CarryingValueofDerivativesAbstract_6fef85a5-be55-4dc4-8f16-1d404055fb0b" xlink:href="bac-20251231.xsd#bac_CarryingValueofDerivativesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditDerivativesLineItems_0c1af40c-1248-4a6f-9816-6abc9f48b85a" xlink:to="loc_bac_CarryingValueofDerivativesAbstract_6fef85a5-be55-4dc4-8f16-1d404055fb0b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationLessThanOneYear_c15bf889-35f7-4a1a-880e-6471d24a0425" xlink:href="bac-20251231.xsd#bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationLessThanOneYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofDerivativesAbstract_6fef85a5-be55-4dc4-8f16-1d404055fb0b" xlink:to="loc_bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationLessThanOneYear_c15bf889-35f7-4a1a-880e-6471d24a0425" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationFromOneToThreeYears_b3e7f9dc-f737-48b1-a45a-edc6db364c57" xlink:href="bac-20251231.xsd#bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationFromOneToThreeYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofDerivativesAbstract_6fef85a5-be55-4dc4-8f16-1d404055fb0b" xlink:to="loc_bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationFromOneToThreeYears_b3e7f9dc-f737-48b1-a45a-edc6db364c57" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationFromThreeToFiveYears_68487bc8-531a-4d5e-aeaf-499198e03463" xlink:href="bac-20251231.xsd#bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationFromThreeToFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofDerivativesAbstract_6fef85a5-be55-4dc4-8f16-1d404055fb0b" xlink:to="loc_bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangementExpirationFromThreeToFiveYears_68487bc8-531a-4d5e-aeaf-499198e03463" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjecttoMasterNettingArrangementExpirationGreaterThanFiveYears_77e98025-33bc-4dbc-a32e-5419884210ee" xlink:href="bac-20251231.xsd#bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjecttoMasterNettingArrangementExpirationGreaterThanFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofDerivativesAbstract_6fef85a5-be55-4dc4-8f16-1d404055fb0b" xlink:to="loc_bac_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjecttoMasterNettingArrangementExpirationGreaterThanFiveYears_77e98025-33bc-4dbc-a32e-5419884210ee" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_13c688e0-8529-4319-be82-072eb9f2e166" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofDerivativesAbstract_6fef85a5-be55-4dc4-8f16-1d404055fb0b" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_13c688e0-8529-4319-be82-072eb9f2e166" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CarryingValueofCreditRelatedNotesAbstract_9584a0c6-ce1c-4d9c-8c6f-2396ddf0cb15" xlink:href="bac-20251231.xsd#bac_CarryingValueofCreditRelatedNotesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditDerivativesLineItems_0c1af40c-1248-4a6f-9816-6abc9f48b85a" xlink:to="loc_bac_CarryingValueofCreditRelatedNotesAbstract_9584a0c6-ce1c-4d9c-8c6f-2396ddf0cb15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditDerivativeMaximumExposureLessThanOneYear_8697398b-96f1-462e-a2b0-30784f49eaa7" xlink:href="bac-20251231.xsd#bac_CreditDerivativeMaximumExposureLessThanOneYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofCreditRelatedNotesAbstract_9584a0c6-ce1c-4d9c-8c6f-2396ddf0cb15" xlink:to="loc_bac_CreditDerivativeMaximumExposureLessThanOneYear_8697398b-96f1-462e-a2b0-30784f49eaa7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditDerivativeMaximumExposureOneToThreeYears_90423b01-21a4-4f03-a413-62b001bbf5e2" xlink:href="bac-20251231.xsd#bac_CreditDerivativeMaximumExposureOneToThreeYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofCreditRelatedNotesAbstract_9584a0c6-ce1c-4d9c-8c6f-2396ddf0cb15" xlink:to="loc_bac_CreditDerivativeMaximumExposureOneToThreeYears_90423b01-21a4-4f03-a413-62b001bbf5e2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditDerivativeMaximumExposureThreeToFiveYears_7a149647-6bb9-4be6-b03c-42d716ed729c" xlink:href="bac-20251231.xsd#bac_CreditDerivativeMaximumExposureThreeToFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofCreditRelatedNotesAbstract_9584a0c6-ce1c-4d9c-8c6f-2396ddf0cb15" xlink:to="loc_bac_CreditDerivativeMaximumExposureThreeToFiveYears_7a149647-6bb9-4be6-b03c-42d716ed729c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditDerivativeMaximumExposureGreaterThanFiveYears_d35a6d96-c867-4807-bd35-7842abda6df8" xlink:href="bac-20251231.xsd#bac_CreditDerivativeMaximumExposureGreaterThanFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofCreditRelatedNotesAbstract_9584a0c6-ce1c-4d9c-8c6f-2396ddf0cb15" xlink:to="loc_bac_CreditDerivativeMaximumExposureGreaterThanFiveYears_d35a6d96-c867-4807-bd35-7842abda6df8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditDerivativeMaximumExposureUndiscounted_dff30b76-e0b8-4100-8d4c-8ae431412fa2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativeMaximumExposureUndiscounted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_CarryingValueofCreditRelatedNotesAbstract_9584a0c6-ce1c-4d9c-8c6f-2396ddf0cb15" xlink:to="loc_us-gaap_CreditDerivativeMaximumExposureUndiscounted_dff30b76-e0b8-4100-8d4c-8ae431412fa2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotionalAmountOfDerivativesAbstract_9a5ec6c4-ccd0-48b7-9df6-07e88ef26e50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotionalAmountOfDerivativesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditDerivativesLineItems_0c1af40c-1248-4a6f-9816-6abc9f48b85a" xlink:to="loc_us-gaap_NotionalAmountOfDerivativesAbstract_9a5ec6c4-ccd0-48b7-9df6-07e88ef26e50" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeLiabilityNotionalAmountExpirationLessThanOneYear_d87debfd-a986-437b-b502-e915a7971526" xlink:href="bac-20251231.xsd#bac_DerivativeLiabilityNotionalAmountExpirationLessThanOneYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotionalAmountOfDerivativesAbstract_9a5ec6c4-ccd0-48b7-9df6-07e88ef26e50" xlink:to="loc_bac_DerivativeLiabilityNotionalAmountExpirationLessThanOneYear_d87debfd-a986-437b-b502-e915a7971526" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeLiabilityNotionalAmountExpirationFromOneToThreeYears_127aeb46-e226-4a3e-a559-6d3d1009c902" xlink:href="bac-20251231.xsd#bac_DerivativeLiabilityNotionalAmountExpirationFromOneToThreeYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotionalAmountOfDerivativesAbstract_9a5ec6c4-ccd0-48b7-9df6-07e88ef26e50" xlink:to="loc_bac_DerivativeLiabilityNotionalAmountExpirationFromOneToThreeYears_127aeb46-e226-4a3e-a559-6d3d1009c902" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeLiabilityNotionalAmountExpirationFromThreeToFiveYears_b0b45d6e-938f-4241-99a6-340d7e1190df" xlink:href="bac-20251231.xsd#bac_DerivativeLiabilityNotionalAmountExpirationFromThreeToFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotionalAmountOfDerivativesAbstract_9a5ec6c4-ccd0-48b7-9df6-07e88ef26e50" xlink:to="loc_bac_DerivativeLiabilityNotionalAmountExpirationFromThreeToFiveYears_b0b45d6e-938f-4241-99a6-340d7e1190df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeLiabilityNotionalAmountGreaterThanFiveYears_95f6aec8-a4ae-4c8a-a30e-80547578936c" xlink:href="bac-20251231.xsd#bac_DerivativeLiabilityNotionalAmountGreaterThanFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotionalAmountOfDerivativesAbstract_9a5ec6c4-ccd0-48b7-9df6-07e88ef26e50" xlink:to="loc_bac_DerivativeLiabilityNotionalAmountGreaterThanFiveYears_95f6aec8-a4ae-4c8a-a30e-80547578936c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_d2a8ebdf-ac4b-45cb-88ec-7f4c3b1e7a15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotionalAmountOfDerivativesAbstract_9a5ec6c4-ccd0-48b7-9df6-07e88ef26e50" xlink:to="loc_us-gaap_DerivativeNotionalAmount_d2a8ebdf-ac4b-45cb-88ec-7f4c3b1e7a15" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DerivativesCreditrelatedContingentFeaturesandCollateralDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DerivativesCreditrelatedContingentFeaturesandCollateralDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DerivativesCreditrelatedContingentFeaturesandCollateralDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_ac0e2635-f563-44be-bf57-5be87fd95929" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_624c55fe-4b3d-4ed1-bc56-34488908dad5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_ac0e2635-f563-44be-bf57-5be87fd95929" xlink:to="loc_us-gaap_DerivativeTable_624c55fe-4b3d-4ed1-bc56-34488908dad5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_63e3da30-71bd-467b-9a9e-261230f635e2" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_624c55fe-4b3d-4ed1-bc56-34488908dad5" xlink:to="loc_dei_LegalEntityAxis_63e3da30-71bd-467b-9a9e-261230f635e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_63e3da30-71bd-467b-9a9e-261230f635e2_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_63e3da30-71bd-467b-9a9e-261230f635e2" xlink:to="loc_dei_EntityDomain_63e3da30-71bd-467b-9a9e-261230f635e2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_8c3bda8f-affb-478c-867e-9000bf5d9d82" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_63e3da30-71bd-467b-9a9e-261230f635e2" xlink:to="loc_dei_EntityDomain_8c3bda8f-affb-478c-867e-9000bf5d9d82" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_e1adc2c9-393a-437e-b865-23da43640af7" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_8c3bda8f-affb-478c-867e-9000bf5d9d82" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_e1adc2c9-393a-437e-b865-23da43640af7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_c9b94497-a2a0-4cdd-8543-e2acf12a330e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_624c55fe-4b3d-4ed1-bc56-34488908dad5" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_c9b94497-a2a0-4cdd-8543-e2acf12a330e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_c9b94497-a2a0-4cdd-8543-e2acf12a330e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_c9b94497-a2a0-4cdd-8543-e2acf12a330e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_c9b94497-a2a0-4cdd-8543-e2acf12a330e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_153044dc-7f9f-445f-b904-8f207755b7dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_c9b94497-a2a0-4cdd-8543-e2acf12a330e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_153044dc-7f9f-445f-b904-8f207755b7dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditRiskContractMember_0c5546c3-2180-471d-babb-e12af72a776e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditRiskContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_153044dc-7f9f-445f-b904-8f207755b7dd" xlink:to="loc_us-gaap_CreditRiskContractMember_0c5546c3-2180-471d-babb-e12af72a776e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AdditionalCollateralEffectOfDowngradeByOneIncrementalNotchAggregateFairValue_d53eca4a-bcdc-4024-b245-b35110002ef4" xlink:href="bac-20251231.xsd#bac_AdditionalCollateralEffectOfDowngradeByOneIncrementalNotchAggregateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ac0e2635-f563-44be-bf57-5be87fd95929" xlink:to="loc_bac_AdditionalCollateralEffectOfDowngradeByOneIncrementalNotchAggregateFairValue_d53eca4a-bcdc-4024-b245-b35110002ef4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AdditionalCollateralEffectofDowngradebySecondIncrementalNotchAggregateFairValue_e6713f00-c0c5-4541-b86c-e4f80c1c3cd1" xlink:href="bac-20251231.xsd#bac_AdditionalCollateralEffectofDowngradebySecondIncrementalNotchAggregateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ac0e2635-f563-44be-bf57-5be87fd95929" xlink:to="loc_bac_AdditionalCollateralEffectofDowngradebySecondIncrementalNotchAggregateFairValue_e6713f00-c0c5-4541-b86c-e4f80c1c3cd1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeNetLiabilityPositionEffectOfDowngradeByOneIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance_e9d6021e-f4cd-4e2d-8b10-4753c7a393b7" xlink:href="bac-20251231.xsd#bac_DerivativeNetLiabilityPositionEffectOfDowngradeByOneIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ac0e2635-f563-44be-bf57-5be87fd95929" xlink:to="loc_bac_DerivativeNetLiabilityPositionEffectOfDowngradeByOneIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance_e9d6021e-f4cd-4e2d-8b10-4753c7a393b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DerivativeNetLiabilityPositionEffectOfDowngradeBySecondIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance_7549e6fe-eb50-4414-bfb3-9cb62a6a4d80" xlink:href="bac-20251231.xsd#bac_DerivativeNetLiabilityPositionEffectOfDowngradeBySecondIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ac0e2635-f563-44be-bf57-5be87fd95929" xlink:to="loc_bac_DerivativeNetLiabilityPositionEffectOfDowngradeBySecondIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance_7549e6fe-eb50-4414-bfb3-9cb62a6a4d80" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CollateralPostedEffectOfDowngradeByOneIncrementalNotchAggregateFairValueIncludingTriggeringCircumstances_45b7c355-df7a-4ae5-b3c4-d5539e10fb4e" xlink:href="bac-20251231.xsd#bac_CollateralPostedEffectOfDowngradeByOneIncrementalNotchAggregateFairValueIncludingTriggeringCircumstances"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ac0e2635-f563-44be-bf57-5be87fd95929" xlink:to="loc_bac_CollateralPostedEffectOfDowngradeByOneIncrementalNotchAggregateFairValueIncludingTriggeringCircumstances_45b7c355-df7a-4ae5-b3c4-d5539e10fb4e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CollateralPostedEffectofDowngradebySecondIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance_bddcaba4-8a96-482d-9644-b5b2823393cf" xlink:href="bac-20251231.xsd#bac_CollateralPostedEffectofDowngradebySecondIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ac0e2635-f563-44be-bf57-5be87fd95929" xlink:to="loc_bac_CollateralPostedEffectofDowngradebySecondIncrementalNotchAggregateFairValueIncludingTriggeringCircumstance_bddcaba4-8a96-482d-9644-b5b2823393cf" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritiesDebtSecuritiesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritiesDebtSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritiesDebtSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_fa3b942c-1032-4963-a4d5-aa3d41742afa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_fa3b942c-1032-4963-a4d5-aa3d41742afa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_dcce6f5f-1fab-45ec-8366-d54364a58b6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_fa3b942c-1032-4963-a4d5-aa3d41742afa" xlink:to="loc_us-gaap_FinancialInstrumentAxis_dcce6f5f-1fab-45ec-8366-d54364a58b6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_dcce6f5f-1fab-45ec-8366-d54364a58b6a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_dcce6f5f-1fab-45ec-8366-d54364a58b6a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_dcce6f5f-1fab-45ec-8366-d54364a58b6a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e18c44be-12d3-4aab-8995-7c542864de31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_dcce6f5f-1fab-45ec-8366-d54364a58b6a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e18c44be-12d3-4aab-8995-7c542864de31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_3fa48f7f-00fa-45e3-a8f2-2c050b8476a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e18c44be-12d3-4aab-8995-7c542864de31" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_3fa48f7f-00fa-45e3-a8f2-2c050b8476a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageBackedSecuritiesAgencyMember_3cfc5ce7-3e8d-40e0-a0ed-685b7c6dbf21" xlink:href="bac-20251231.xsd#bac_MortgageBackedSecuritiesAgencyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_3fa48f7f-00fa-45e3-a8f2-2c050b8476a6" xlink:to="loc_bac_MortgageBackedSecuritiesAgencyMember_3cfc5ce7-3e8d-40e0-a0ed-685b7c6dbf21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember_85e4bea4-2038-4074-87a9-fdcf1b289325" xlink:href="bac-20251231.xsd#bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_3fa48f7f-00fa-45e3-a8f2-2c050b8476a6" xlink:to="loc_bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember_85e4bea4-2038-4074-87a9-fdcf1b289325" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_7092e1d4-fc20-40dd-8092-04986a5caf1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_3fa48f7f-00fa-45e3-a8f2-2c050b8476a6" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_7092e1d4-fc20-40dd-8092-04986a5caf1a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_83c9bb5c-a92a-4697-ad9e-46e84a264eab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_3fa48f7f-00fa-45e3-a8f2-2c050b8476a6" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_83c9bb5c-a92a-4697-ad9e-46e84a264eab" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_8d5f7571-927c-4342-9f7d-5915d3928c0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e18c44be-12d3-4aab-8995-7c542864de31" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_8d5f7571-927c-4342-9f7d-5915d3928c0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForeignSecuritiesMember_596ca7da-52ad-4e1c-b4a4-9ab9bd3a3446" xlink:href="bac-20251231.xsd#bac_ForeignSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e18c44be-12d3-4aab-8995-7c542864de31" xlink:to="loc_bac_ForeignSecuritiesMember_596ca7da-52ad-4e1c-b4a4-9ab9bd3a3446" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherTaxableSecuritiesMember_4dd8bc3d-6219-41b5-baea-c34839f4b8a9" xlink:href="bac-20251231.xsd#bac_OtherTaxableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e18c44be-12d3-4aab-8995-7c542864de31" xlink:to="loc_bac_OtherTaxableSecuritiesMember_4dd8bc3d-6219-41b5-baea-c34839f4b8a9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxExemptSecuritiesMember_69bae0a2-0710-4d65-adea-0484c2318a19" xlink:href="bac-20251231.xsd#bac_TaxExemptSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e18c44be-12d3-4aab-8995-7c542864de31" xlink:to="loc_bac_TaxExemptSecuritiesMember_69bae0a2-0710-4d65-adea-0484c2318a19" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_3d9d8cad-b639-4795-9cf0-d7666f668d1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_fa3b942c-1032-4963-a4d5-aa3d41742afa" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_3d9d8cad-b639-4795-9cf0-d7666f668d1a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_3d9d8cad-b639-4795-9cf0-d7666f668d1a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_3d9d8cad-b639-4795-9cf0-d7666f668d1a" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_3d9d8cad-b639-4795-9cf0-d7666f668d1a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_e85c950d-4dff-4931-9729-60db204bec33" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_3d9d8cad-b639-4795-9cf0-d7666f668d1a" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_e85c950d-4dff-4931-9729-60db204bec33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrimeMember_bb440198-f603-4753-af9c-aa431f682202" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_e85c950d-4dff-4931-9729-60db204bec33" xlink:to="loc_us-gaap_PrimeMember_bb440198-f603-4753-af9c-aa431f682202" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubprimeMember_8fac7c94-5c46-4807-99f3-932535199320" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubprimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_e85c950d-4dff-4931-9729-60db204bec33" xlink:to="loc_us-gaap_SubprimeMember_8fac7c94-5c46-4807-99f3-932535199320" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_fecc7ec1-1182-40a6-89e6-13f93965292d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_fa3b942c-1032-4963-a4d5-aa3d41742afa" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_fecc7ec1-1182-40a6-89e6-13f93965292d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_fecc7ec1-1182-40a6-89e6-13f93965292d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_fecc7ec1-1182-40a6-89e6-13f93965292d" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_fecc7ec1-1182-40a6-89e6-13f93965292d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_0caf2493-04a1-439b-9545-d8b07f5ed14b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_fecc7ec1-1182-40a6-89e6-13f93965292d" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_0caf2493-04a1-439b-9545-d8b07f5ed14b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalNationalMortgageAssociationFnmaInsuredLoansMember_4f051a83-d4c0-41a9-9534-1f571d076b1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalNationalMortgageAssociationFnmaInsuredLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_0caf2493-04a1-439b-9545-d8b07f5ed14b" xlink:to="loc_us-gaap_FederalNationalMortgageAssociationFnmaInsuredLoansMember_4f051a83-d4c0-41a9-9534-1f571d076b1b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanMortgageCorporationFhlmcInsuredLoansMember_b8a31019-ebf8-4e4d-a6ee-c56d32bfaf4d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanMortgageCorporationFhlmcInsuredLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_0caf2493-04a1-439b-9545-d8b07f5ed14b" xlink:to="loc_us-gaap_FederalHomeLoanMortgageCorporationFhlmcInsuredLoansMember_b8a31019-ebf8-4e4d-a6ee-c56d32bfaf4d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e260855b-254b-4192-b3a1-07333cafd8b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_fa3b942c-1032-4963-a4d5-aa3d41742afa" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e260855b-254b-4192-b3a1-07333cafd8b6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e260855b-254b-4192-b3a1-07333cafd8b6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e260855b-254b-4192-b3a1-07333cafd8b6" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e260855b-254b-4192-b3a1-07333cafd8b6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_ce96b9bc-101f-4376-ae3b-dc5205b548f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e260855b-254b-4192-b3a1-07333cafd8b6" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_ce96b9bc-101f-4376-ae3b-dc5205b548f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityTotalMember_ee3cc4dc-04aa-4057-a5c5-3361a704b260" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityTotalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_ce96b9bc-101f-4376-ae3b-dc5205b548f0" xlink:to="loc_us-gaap_StockholdersEquityTotalMember_ee3cc4dc-04aa-4057-a5c5-3361a704b260" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_53b33260-156c-4834-87c7-3d098a2a72b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_fa3b942c-1032-4963-a4d5-aa3d41742afa" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_53b33260-156c-4834-87c7-3d098a2a72b1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_53b33260-156c-4834-87c7-3d098a2a72b1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_53b33260-156c-4834-87c7-3d098a2a72b1" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_53b33260-156c-4834-87c7-3d098a2a72b1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_bc60b13f-e9cc-4942-9520-47447b18a533" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_53b33260-156c-4834-87c7-3d098a2a72b1" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_bc60b13f-e9cc-4942-9520-47447b18a533" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentConcentrationRiskMember_95201e31-abdb-4126-98c2-008d128052a9" xlink:href="bac-20251231.xsd#bac_InvestmentConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_bc60b13f-e9cc-4942-9520-47447b18a533" xlink:to="loc_bac_InvestmentConcentrationRiskMember_95201e31-abdb-4126-98c2-008d128052a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_edfcca75-4f36-4fc5-bb00-ee07a413ceb5" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_fa3b942c-1032-4963-a4d5-aa3d41742afa" xlink:to="loc_srt_CounterpartyNameAxis_edfcca75-4f36-4fc5-bb00-ee07a413ceb5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_edfcca75-4f36-4fc5-bb00-ee07a413ceb5_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_edfcca75-4f36-4fc5-bb00-ee07a413ceb5" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_edfcca75-4f36-4fc5-bb00-ee07a413ceb5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_51da2921-a4ad-4996-95d3-c0bc5567686d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_edfcca75-4f36-4fc5-bb00-ee07a413ceb5" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_51da2921-a4ad-4996-95d3-c0bc5567686d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FannieMaeMember_c2d645e8-a1cf-4260-bc21-c8f4bae49175" xlink:href="bac-20251231.xsd#bac_FannieMaeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_51da2921-a4ad-4996-95d3-c0bc5567686d" xlink:to="loc_bac_FannieMaeMember_c2d645e8-a1cf-4260-bc21-c8f4bae49175" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FreddieMacMember_6994312d-35f8-481a-806c-5458596456ff" xlink:href="bac-20251231.xsd#bac_FreddieMacMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_51da2921-a4ad-4996-95d3-c0bc5567686d" xlink:to="loc_bac_FreddieMacMember_6994312d-35f8-481a-806c-5458596456ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_25a16fd2-d399-460e-8e22-5e7f83628a31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_25a16fd2-d399-460e-8e22-5e7f83628a31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_99102e8b-240e-4474-8bb9-ae9567b35479" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_25a16fd2-d399-460e-8e22-5e7f83628a31" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_99102e8b-240e-4474-8bb9-ae9567b35479" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_584de32d-9a6e-4c4d-b9d7-28fe16a91e0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_25a16fd2-d399-460e-8e22-5e7f83628a31" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_584de32d-9a6e-4c4d-b9d7-28fe16a91e0d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7b5c8697-9ee5-43e2-9ff6-c2408d30f529" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_25a16fd2-d399-460e-8e22-5e7f83628a31" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7b5c8697-9ee5-43e2-9ff6-c2408d30f529" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_7af53cc1-f776-4092-a990-f1f72006d282" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_25a16fd2-d399-460e-8e22-5e7f83628a31" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_7af53cc1-f776-4092-a990-f1f72006d282" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherDebtSecuritiesCarriedatFairValueAbstract_d7e038a8-de71-445c-bb68-dfe20f2ad27c" xlink:href="bac-20251231.xsd#bac_OtherDebtSecuritiesCarriedatFairValueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_bac_OtherDebtSecuritiesCarriedatFairValueAbstract_d7e038a8-de71-445c-bb68-dfe20f2ad27c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherDebtSecuritiesCarriedAtFairValueAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_0c731bf4-32f6-4848-aed4-d598a8783b59" xlink:href="bac-20251231.xsd#bac_OtherDebtSecuritiesCarriedAtFairValueAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_OtherDebtSecuritiesCarriedatFairValueAbstract_d7e038a8-de71-445c-bb68-dfe20f2ad27c" xlink:to="loc_bac_OtherDebtSecuritiesCarriedAtFairValueAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_0c731bf4-32f6-4848-aed4-d598a8783b59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherDebtSecuritiesCarriedAtFairValueGrossUnrealizedGain_9b5bd030-b50f-4ecb-9884-4e0b77801ba3" xlink:href="bac-20251231.xsd#bac_OtherDebtSecuritiesCarriedAtFairValueGrossUnrealizedGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_OtherDebtSecuritiesCarriedatFairValueAbstract_d7e038a8-de71-445c-bb68-dfe20f2ad27c" xlink:to="loc_bac_OtherDebtSecuritiesCarriedAtFairValueGrossUnrealizedGain_9b5bd030-b50f-4ecb-9884-4e0b77801ba3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherDebtSecuritiesCarriedAtFairValueGrossUnrealizedLoss_af3dda82-3ab5-454d-9253-6a025fa6fa65" xlink:href="bac-20251231.xsd#bac_OtherDebtSecuritiesCarriedAtFairValueGrossUnrealizedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_OtherDebtSecuritiesCarriedatFairValueAbstract_d7e038a8-de71-445c-bb68-dfe20f2ad27c" xlink:to="loc_bac_OtherDebtSecuritiesCarriedAtFairValueGrossUnrealizedLoss_af3dda82-3ab5-454d-9253-6a025fa6fa65" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherDebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_b94218e5-2768-4fe8-8f9f-4e7f7fba26a3" xlink:href="bac-20251231.xsd#bac_OtherDebtSecuritiesCarriedAtFairValueExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_OtherDebtSecuritiesCarriedatFairValueAbstract_d7e038a8-de71-445c-bb68-dfe20f2ad27c" xlink:to="loc_bac_OtherDebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_b94218e5-2768-4fe8-8f9f-4e7f7fba26a3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedatFairValueAbstract_5b709745-78e6-4807-b17a-64b4e09620c0" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedatFairValueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_bac_DebtSecuritiesCarriedatFairValueAbstract_5b709745-78e6-4807-b17a-64b4e09620c0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_a7831087-d9c2-4174-906c-a251a48c07e1" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtSecuritiesCarriedatFairValueAbstract_5b709745-78e6-4807-b17a-64b4e09620c0" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_a7831087-d9c2-4174-906c-a251a48c07e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueGrossUnrealizedGain_36c77b8d-a014-4c1f-8cf9-781f1fe871cd" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueGrossUnrealizedGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtSecuritiesCarriedatFairValueAbstract_5b709745-78e6-4807-b17a-64b4e09620c0" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueGrossUnrealizedGain_36c77b8d-a014-4c1f-8cf9-781f1fe871cd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueGrossUnrealizedLoss_aa9cde51-558f-4ead-be7f-88c49c69c48b" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueGrossUnrealizedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtSecuritiesCarriedatFairValueAbstract_5b709745-78e6-4807-b17a-64b4e09620c0" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueGrossUnrealizedLoss_aa9cde51-558f-4ead-be7f-88c49c69c48b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_10af11c5-c683-425e-87c7-a54cf7181e9d" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtSecuritiesCarriedatFairValueAbstract_5b709745-78e6-4807-b17a-64b4e09620c0" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_10af11c5-c683-425e-87c7-a54cf7181e9d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAbstract_fff79ebf-d6cc-4d88-b333-1ec4feeee4ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAbstract_fff79ebf-d6cc-4d88-b333-1ec4feeee4ab" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_f11c3f84-7b4b-481b-9ed3-07442f3fb345" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_fff79ebf-d6cc-4d88-b333-1ec4feeee4ab" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_f11c3f84-7b4b-481b-9ed3-07442f3fb345" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_9cea544e-fc95-4f54-824e-34470e7313cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_fff79ebf-d6cc-4d88-b333-1ec4feeee4ab" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_9cea544e-fc95-4f54-824e-34470e7313cb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_4d4df06e-c350-4863-ae39-3b28d6cc3ab9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_fff79ebf-d6cc-4d88-b333-1ec4feeee4ab" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_4d4df06e-c350-4863-ae39-3b28d6cc3ab9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_65d90699-42e9-476b-967b-d946c70f5af1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_fff79ebf-d6cc-4d88-b333-1ec4feeee4ab" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_65d90699-42e9-476b-967b-d946c70f5af1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAbstract_4b7ac868-447a-450c-8570-8e1f27ec8203" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_us-gaap_DebtSecuritiesAbstract_4b7ac868-447a-450c-8570-8e1f27ec8203" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_cc1fbc79-697d-4dcf-abd3-93a702fc5b7f" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAbstract_4b7ac868-447a-450c-8570-8e1f27ec8203" xlink:to="loc_bac_DebtSecuritiesAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_cc1fbc79-697d-4dcf-abd3-93a702fc5b7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesGrossUnrealizedGain_4b7aca4b-8c8b-421b-8411-195a71aca8f9" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesGrossUnrealizedGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAbstract_4b7ac868-447a-450c-8570-8e1f27ec8203" xlink:to="loc_bac_DebtSecuritiesGrossUnrealizedGain_4b7aca4b-8c8b-421b-8411-195a71aca8f9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesGrossUnrealizedLoss_8e5c4d87-847b-430a-a507-0138b49bf3ea" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesGrossUnrealizedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAbstract_4b7ac868-447a-450c-8570-8e1f27ec8203" xlink:to="loc_bac_DebtSecuritiesGrossUnrealizedLoss_8e5c4d87-847b-430a-a507-0138b49bf3ea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesFairValueExcludingAccruedInterest_a5734cc1-c16a-424a-8000-ec5778b760c2" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesFairValueExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAbstract_4b7ac868-447a-450c-8570-8e1f27ec8203" xlink:to="loc_bac_DebtSecuritiesFairValueExcludingAccruedInterest_a5734cc1-c16a-424a-8000-ec5778b760c2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AvailableForSaleDebtSecuritiesUnderlyingCollateralTypeByCreditRatingPercentage_76f3af10-67b0-4cb4-8e9b-fb48d5517812" xlink:href="bac-20251231.xsd#bac_AvailableForSaleDebtSecuritiesUnderlyingCollateralTypeByCreditRatingPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_bac_AvailableForSaleDebtSecuritiesUnderlyingCollateralTypeByCreditRatingPercentage_76f3af10-67b0-4cb4-8e9b-fb48d5517812" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MarketableSecuritiesPledgedAsCollateral_986b9748-7123-4988-9b0b-92fa56de905c" xlink:href="bac-20251231.xsd#bac_MarketableSecuritiesPledgedAsCollateral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_bac_MarketableSecuritiesPledgedAsCollateral_986b9748-7123-4988-9b0b-92fa56de905c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_88210545-13ed-4d35-a6c3-8f12927f1af6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_beebd428-7cef-432a-abb0-3fe1ce9d2eec" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_88210545-13ed-4d35-a6c3-8f12927f1af6" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritiesNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritiesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentsDebtAndEquitySecuritiesLineItems_c030584e-5e5b-461e-85f0-64c0e824edd4" xlink:href="bac-20251231.xsd#bac_InvestmentsDebtAndEquitySecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentsDebtAndEquitySecuritiesTable_a1ea9ac5-b02b-4877-8108-fa878018735d" xlink:href="bac-20251231.xsd#bac_InvestmentsDebtAndEquitySecuritiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesLineItems_c030584e-5e5b-461e-85f0-64c0e824edd4" xlink:to="loc_bac_InvestmentsDebtAndEquitySecuritiesTable_a1ea9ac5-b02b-4877-8108-fa878018735d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_797ecc50-28fe-4c86-b90f-11f9e5c09fd3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesTable_a1ea9ac5-b02b-4877-8108-fa878018735d" xlink:to="loc_us-gaap_FinancialInstrumentAxis_797ecc50-28fe-4c86-b90f-11f9e5c09fd3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_797ecc50-28fe-4c86-b90f-11f9e5c09fd3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_797ecc50-28fe-4c86-b90f-11f9e5c09fd3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_797ecc50-28fe-4c86-b90f-11f9e5c09fd3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5c9cca82-62b2-4526-b448-d83ca14e7633" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_797ecc50-28fe-4c86-b90f-11f9e5c09fd3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5c9cca82-62b2-4526-b448-d83ca14e7633" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesMember_9e6e57b6-cc62-4111-95a5-e34375470717" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5c9cca82-62b2-4526-b448-d83ca14e7633" xlink:to="loc_us-gaap_DebtSecuritiesMember_9e6e57b6-cc62-4111-95a5-e34375470717" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_U.S.AgencyAndU.S.TreasurySecuritiesMember_f2000527-065b-40e0-831a-041055e7a9c1" xlink:href="bac-20251231.xsd#bac_U.S.AgencyAndU.S.TreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5c9cca82-62b2-4526-b448-d83ca14e7633" xlink:to="loc_bac_U.S.AgencyAndU.S.TreasurySecuritiesMember_f2000527-065b-40e0-831a-041055e7a9c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AllNonU.S.AgencyAndNonU.S.TreasurySecuritiesMember_b9c8d0af-48ab-4087-9852-ae25393cc322" xlink:href="bac-20251231.xsd#bac_AllNonU.S.AgencyAndNonU.S.TreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5c9cca82-62b2-4526-b448-d83ca14e7633" xlink:to="loc_bac_AllNonU.S.AgencyAndNonU.S.TreasurySecuritiesMember_b9c8d0af-48ab-4087-9852-ae25393cc322" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_04a52254-cf4d-4337-b67b-6711f4ff2de4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesTable_a1ea9ac5-b02b-4877-8108-fa878018735d" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_04a52254-cf4d-4337-b67b-6711f4ff2de4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_04a52254-cf4d-4337-b67b-6711f4ff2de4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_04a52254-cf4d-4337-b67b-6711f4ff2de4" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_04a52254-cf4d-4337-b67b-6711f4ff2de4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_e68f46a1-2c06-41c7-926f-fb1074498874" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_04a52254-cf4d-4337-b67b-6711f4ff2de4" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_e68f46a1-2c06-41c7-926f-fb1074498874" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_ec08609f-cc2d-479b-9c3d-09e118c8bddd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_e68f46a1-2c06-41c7-926f-fb1074498874" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_ec08609f-cc2d-479b-9c3d-09e118c8bddd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_161d8605-3e7a-474e-9836-c66510788d90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesLineItems_c030584e-5e5b-461e-85f0-64c0e824edd4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_161d8605-3e7a-474e-9836-c66510788d90" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBenefitExpenseTax_b70f7f71-b1fe-405c-8940-471c998ce4de" xlink:href="bac-20251231.xsd#bac_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBenefitExpenseTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesLineItems_c030584e-5e5b-461e-85f0-64c0e824edd4" xlink:to="loc_bac_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBenefitExpenseTax_b70f7f71-b1fe-405c-8940-471c998ce4de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesAvailableForSaleAndHeldToMaturityExcludingAccruedInterest_6b1583de-13e7-4de1-9f26-1e17d758c5d6" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesAvailableForSaleAndHeldToMaturityExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesLineItems_c030584e-5e5b-461e-85f0-64c0e824edd4" xlink:to="loc_bac_DebtSecuritiesAvailableForSaleAndHeldToMaturityExcludingAccruedInterest_6b1583de-13e7-4de1-9f26-1e17d758c5d6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_f9f138d9-2280-4dcc-a625-e00bad5709f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesLineItems_c030584e-5e5b-461e-85f0-64c0e824edd4" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_f9f138d9-2280-4dcc-a625-e00bad5709f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_e2d45858-4b7d-4d91-93c0-cf3f5555fc2a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesLineItems_c030584e-5e5b-461e-85f0-64c0e824edd4" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCost_e2d45858-4b7d-4d91-93c0-cf3f5555fc2a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TimeDepositsPlacedAndOtherShortTermInvestmentsFairValueDisclosure_821e4335-e270-4a67-b239-72ad28434ccf" xlink:href="bac-20251231.xsd#bac_TimeDepositsPlacedAndOtherShortTermInvestmentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentsDebtAndEquitySecuritiesLineItems_c030584e-5e5b-461e-85f0-64c0e824edd4" xlink:to="loc_bac_TimeDepositsPlacedAndOtherShortTermInvestmentsFairValueDisclosure_821e4335-e270-4a67-b239-72ad28434ccf" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritiesAFSDebtSecuritiesinaContinuousUnrealizedLossPositionDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritiesAFSDebtSecuritiesinaContinuousUnrealizedLossPositionDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritiesAFSDebtSecuritiesinaContinuousUnrealizedLossPositionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesAvailableForSaleLineItems_0d0790b7-dbc3-414d-8047-2b30453862ee" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesAvailableForSaleLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_d7d93a20-2722-489f-8215-36180a017f9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bac_DebtSecuritiesAvailableForSaleLineItems_0d0790b7-dbc3-414d-8047-2b30453862ee" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_d7d93a20-2722-489f-8215-36180a017f9c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_481d83ca-e968-4f49-92d8-6274e2a2d6db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_d7d93a20-2722-489f-8215-36180a017f9c" xlink:to="loc_us-gaap_FinancialInstrumentAxis_481d83ca-e968-4f49-92d8-6274e2a2d6db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_481d83ca-e968-4f49-92d8-6274e2a2d6db_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_481d83ca-e968-4f49-92d8-6274e2a2d6db" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_481d83ca-e968-4f49-92d8-6274e2a2d6db_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d8d1f27c-afa7-4f3f-bf69-44a65e2fd09f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_481d83ca-e968-4f49-92d8-6274e2a2d6db" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d8d1f27c-afa7-4f3f-bf69-44a65e2fd09f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_98c00b31-79a2-4425-ba84-7826989db52a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d8d1f27c-afa7-4f3f-bf69-44a65e2fd09f" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_98c00b31-79a2-4425-ba84-7826989db52a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageBackedSecuritiesAgencyMember_4e035b23-78b3-416f-a0dc-7097b8fd5a4f" xlink:href="bac-20251231.xsd#bac_MortgageBackedSecuritiesAgencyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_98c00b31-79a2-4425-ba84-7826989db52a" xlink:to="loc_bac_MortgageBackedSecuritiesAgencyMember_4e035b23-78b3-416f-a0dc-7097b8fd5a4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember_a15349cc-bfef-4d2a-a92b-df27be68d830" xlink:href="bac-20251231.xsd#bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_98c00b31-79a2-4425-ba84-7826989db52a" xlink:to="loc_bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember_a15349cc-bfef-4d2a-a92b-df27be68d830" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_344f5aea-83dd-412c-86bb-690e0e4d9772" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_98c00b31-79a2-4425-ba84-7826989db52a" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_344f5aea-83dd-412c-86bb-690e0e4d9772" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_47255215-3ef1-4492-882f-a14d2faa1818" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_98c00b31-79a2-4425-ba84-7826989db52a" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_47255215-3ef1-4492-882f-a14d2faa1818" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_9eeb2caf-efe3-4825-a972-4468e0cd68bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d8d1f27c-afa7-4f3f-bf69-44a65e2fd09f" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_9eeb2caf-efe3-4825-a972-4468e0cd68bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForeignSecuritiesMember_8fce8fbd-74fd-4fde-9c75-486afe6fbf2e" xlink:href="bac-20251231.xsd#bac_ForeignSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d8d1f27c-afa7-4f3f-bf69-44a65e2fd09f" xlink:to="loc_bac_ForeignSecuritiesMember_8fce8fbd-74fd-4fde-9c75-486afe6fbf2e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherTaxableSecuritiesMember_48364bc5-7a95-4673-b240-df34c7912601" xlink:href="bac-20251231.xsd#bac_OtherTaxableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d8d1f27c-afa7-4f3f-bf69-44a65e2fd09f" xlink:to="loc_bac_OtherTaxableSecuritiesMember_48364bc5-7a95-4673-b240-df34c7912601" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxExemptSecuritiesMember_1dc8dea9-b52d-4dc8-b4ff-4461c986c454" xlink:href="bac-20251231.xsd#bac_TaxExemptSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d8d1f27c-afa7-4f3f-bf69-44a65e2fd09f" xlink:to="loc_bac_TaxExemptSecuritiesMember_1dc8dea9-b52d-4dc8-b4ff-4461c986c454" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableforSaleUnrealizedLossPositionAbstract_f7b367ee-337e-4938-bf44-9c9d5065a3e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableforSaleUnrealizedLossPositionAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtSecuritiesAvailableForSaleLineItems_0d0790b7-dbc3-414d-8047-2b30453862ee" xlink:to="loc_us-gaap_DebtSecuritiesAvailableforSaleUnrealizedLossPositionAbstract_f7b367ee-337e-4938-bf44-9c9d5065a3e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_635c24ec-755d-47a6-ad05-acfcfb492b35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforSaleUnrealizedLossPositionAbstract_f7b367ee-337e-4938-bf44-9c9d5065a3e5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_635c24ec-755d-47a6-ad05-acfcfb492b35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_bffce069-bd74-4f42-8464-2cb5e6d1cb2a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforSaleUnrealizedLossPositionAbstract_f7b367ee-337e-4938-bf44-9c9d5065a3e5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_bffce069-bd74-4f42-8464-2cb5e6d1cb2a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_6daf7a00-7bdb-46a0-b389-f2d816efddeb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforSaleUnrealizedLossPositionAbstract_f7b367ee-337e-4938-bf44-9c9d5065a3e5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_6daf7a00-7bdb-46a0-b389-f2d816efddeb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_98b4ac60-f67e-4501-9ec8-25e42a734953" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtSecuritiesAvailableForSaleLineItems_0d0790b7-dbc3-414d-8047-2b30453862ee" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_98b4ac60-f67e-4501-9ec8-25e42a734953" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9117ddad-0eb4-4272-ab72-d24173e83cfd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_98b4ac60-f67e-4501-9ec8-25e42a734953" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9117ddad-0eb4-4272-ab72-d24173e83cfd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_1be6f58a-deee-4f58-8649-e74cbf88cbfb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_98b4ac60-f67e-4501-9ec8-25e42a734953" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_1be6f58a-deee-4f58-8649-e74cbf88cbfb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_ee63b555-d993-492b-80fe-7b5f9a78a67f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_98b4ac60-f67e-4501-9ec8-25e42a734953" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_ee63b555-d993-492b-80fe-7b5f9a78a67f" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritiesMaturitiesofDebtSecuritiesCarriedatFairValueandHeldtomaturityDebtSecuritiesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritiesMaturitiesofDebtSecuritiesCarriedatFairValueandHeldtomaturityDebtSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritiesMaturitiesofDebtSecuritiesCarriedatFairValueandHeldtomaturityDebtSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesLineItems_9efd6b33-6fba-4539-a726-d0331fa4a804" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesTable_f8181b63-d732-4acf-bd26-ae093c17f0d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MarketableSecuritiesLineItems_9efd6b33-6fba-4539-a726-d0331fa4a804" xlink:to="loc_us-gaap_MarketableSecuritiesTable_f8181b63-d732-4acf-bd26-ae093c17f0d0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_d418dd81-003c-4670-8a88-406c9c4b82bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MarketableSecuritiesTable_f8181b63-d732-4acf-bd26-ae093c17f0d0" xlink:to="loc_us-gaap_FinancialInstrumentAxis_d418dd81-003c-4670-8a88-406c9c4b82bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d418dd81-003c-4670-8a88-406c9c4b82bb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_d418dd81-003c-4670-8a88-406c9c4b82bb" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d418dd81-003c-4670-8a88-406c9c4b82bb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_538c6b89-c9f5-4ac2-a1d7-9dfc030fbee4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_d418dd81-003c-4670-8a88-406c9c4b82bb" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_538c6b89-c9f5-4ac2-a1d7-9dfc030fbee4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesMember_0c0409ed-8bd8-46bb-bb52-3192190f34e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_538c6b89-c9f5-4ac2-a1d7-9dfc030fbee4" xlink:to="loc_us-gaap_DebtSecuritiesMember_0c0409ed-8bd8-46bb-bb52-3192190f34e3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_55dcbbf6-1860-4bc2-a885-ae4a85030b87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_0c0409ed-8bd8-46bb-bb52-3192190f34e3" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_55dcbbf6-1860-4bc2-a885-ae4a85030b87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageBackedSecuritiesAgencyMember_6a1a97d6-2eab-4b97-97e0-d5ed10eab0da" xlink:href="bac-20251231.xsd#bac_MortgageBackedSecuritiesAgencyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_55dcbbf6-1860-4bc2-a885-ae4a85030b87" xlink:to="loc_bac_MortgageBackedSecuritiesAgencyMember_6a1a97d6-2eab-4b97-97e0-d5ed10eab0da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember_c3dee173-5b2d-42ab-91c0-cdbb6a1c4ed2" xlink:href="bac-20251231.xsd#bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_55dcbbf6-1860-4bc2-a885-ae4a85030b87" xlink:to="loc_bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember_c3dee173-5b2d-42ab-91c0-cdbb6a1c4ed2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_79d724e6-584c-41c9-8a55-927e78187d7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_55dcbbf6-1860-4bc2-a885-ae4a85030b87" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_79d724e6-584c-41c9-8a55-927e78187d7e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_4acf99fd-0539-480b-b0b2-f359d8e0483d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember_55dcbbf6-1860-4bc2-a885-ae4a85030b87" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_4acf99fd-0539-480b-b0b2-f359d8e0483d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_5790a9f3-6b6f-4815-8282-2148d40423be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_0c0409ed-8bd8-46bb-bb52-3192190f34e3" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_5790a9f3-6b6f-4815-8282-2148d40423be" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForeignSecuritiesMember_b55f3891-8419-4262-bf42-41a1b10f3c2c" xlink:href="bac-20251231.xsd#bac_ForeignSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_0c0409ed-8bd8-46bb-bb52-3192190f34e3" xlink:to="loc_bac_ForeignSecuritiesMember_b55f3891-8419-4262-bf42-41a1b10f3c2c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherTaxableSecuritiesMember_36c10ec2-1bef-4273-acd9-89d3c1308e5b" xlink:href="bac-20251231.xsd#bac_OtherTaxableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_0c0409ed-8bd8-46bb-bb52-3192190f34e3" xlink:to="loc_bac_OtherTaxableSecuritiesMember_36c10ec2-1bef-4273-acd9-89d3c1308e5b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxExemptSecuritiesMember_9ab858d3-6b4c-4c79-8a73-93da9b1cae0d" xlink:href="bac-20251231.xsd#bac_TaxExemptSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_0c0409ed-8bd8-46bb-bb52-3192190f34e3" xlink:to="loc_bac_TaxExemptSecuritiesMember_9ab858d3-6b4c-4c79-8a73-93da9b1cae0d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesLineItems_9efd6b33-6fba-4539-a726-d0331fa4a804" xlink:to="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_116b8ebb-c5db-4e1d-9129-fceda62e9bee" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_116b8ebb-c5db-4e1d-9129-fceda62e9bee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasisAverageYield_db8a2107-00e9-49ec-8c67-09694e657779" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasisAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasisAverageYield_db8a2107-00e9-49ec-8c67-09694e657779" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_fbc71a4d-3026-47fb-9275-666bfeca3561" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_fbc71a4d-3026-47fb-9275-666bfeca3561" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasisAverageYield_c4f62cfe-45a1-42ea-a5ab-a453fbb7c65b" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasisAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasisAverageYield_c4f62cfe-45a1-42ea-a5ab-a453fbb7c65b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_bd9ca873-29f6-47ad-8b88-b7ff2ea916ef" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_bd9ca873-29f6-47ad-8b88-b7ff2ea916ef" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingYearSixThroughTenAmortizedCostBasisAverageYield_dfb4c0bb-9d36-4c70-af02-d2ee94ca753a" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingYearSixThroughTenAmortizedCostBasisAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtMaturitiesRollingYearSixThroughTenAmortizedCostBasisAverageYield_dfb4c0bb-9d36-4c70-af02-d2ee94ca753a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingAfterYearTenAmortizedCostBasis_da51e9b6-7dc6-427c-9459-ad6ce96a698a" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingAfterYearTenAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtMaturitiesRollingAfterYearTenAmortizedCostBasis_da51e9b6-7dc6-427c-9459-ad6ce96a698a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingAfterYearTenAmortizedCostBasisAverageYield_5f2810be-420b-44c3-9dbd-e4a9ae6fcc2c" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingAfterYearTenAmortizedCostBasisAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtMaturitiesRollingAfterYearTenAmortizedCostBasisAverageYield_5f2810be-420b-44c3-9dbd-e4a9ae6fcc2c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueAmortizedCostBasis_7eba203f-9133-4f83-8676-22958384adfa" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueAmortizedCostBasis_7eba203f-9133-4f83-8676-22958384adfa" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueAmortizedCostAverageYield_0bdfeb53-7c8e-4a41-a4e5-4f3d932f9ebb" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueAmortizedCostAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesAmortizedCostBasisRollingMaturityAbstract_8093d639-4adb-4c99-90d4-a9a9ecd60583" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueAmortizedCostAverageYield_0bdfeb53-7c8e-4a41-a4e5-4f3d932f9ebb" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesLineItems_9efd6b33-6fba-4539-a726-d0331fa4a804" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsNetCarryingAmount_0fc42adf-58cc-4211-8e6b-1517feeeb607" xlink:href="bac-20251231.xsd#bac_HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsNetCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsNetCarryingAmount_0fc42adf-58cc-4211-8e6b-1517feeeb607" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsNetCarryingAmountAverageYield_50adcb66-2ef8-4e64-8fd0-0f70a0c3b73c" xlink:href="bac-20251231.xsd#bac_HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsNetCarryingAmountAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesNextRollingTwelveMonthsNetCarryingAmountAverageYield_50adcb66-2ef8-4e64-8fd0-0f70a0c3b73c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveNetCarryingAmount_86e0044b-6617-41c1-8987-8171f20f2e7d" xlink:href="bac-20251231.xsd#bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveNetCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveNetCarryingAmount_86e0044b-6617-41c1-8987-8171f20f2e7d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveNetCarryingAmountAverageYield_1ec846a2-00c4-4c21-8f38-e81df21c6e3f" xlink:href="bac-20251231.xsd#bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveNetCarryingAmountAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearTwoThroughFiveNetCarryingAmountAverageYield_1ec846a2-00c4-4c21-8f38-e81df21c6e3f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldToMaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenNetCarryingAmount_61a9c380-7bf7-4a1f-ba97-0ee61b39bc8b" xlink:href="bac-20251231.xsd#bac_HeldToMaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenNetCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldToMaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenNetCarryingAmount_61a9c380-7bf7-4a1f-ba97-0ee61b39bc8b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenNetCarryingAmountAverageYield_4949b505-2468-4bad-b53a-265c4788e8f8" xlink:href="bac-20251231.xsd#bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenNetCarryingAmountAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesRollingYearSixThroughTenNetCarryingAmountAverageYield_4949b505-2468-4bad-b53a-265c4788e8f8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldToMaturitySecuritiesDebtMaturitiesRollingAfterTenYearsNetCarryingAmount_1c984b71-b9ba-4b6e-8d6f-e294291ca087" xlink:href="bac-20251231.xsd#bac_HeldToMaturitySecuritiesDebtMaturitiesRollingAfterTenYearsNetCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldToMaturitySecuritiesDebtMaturitiesRollingAfterTenYearsNetCarryingAmount_1c984b71-b9ba-4b6e-8d6f-e294291ca087" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesRollingAfterTenYearsNetCarryingAmountAverageYield_a69d743a-ec79-4591-8eaf-5490c642f87c" xlink:href="bac-20251231.xsd#bac_HeldtomaturitySecuritiesDebtMaturitiesRollingAfterTenYearsNetCarryingAmountAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldtomaturitySecuritiesDebtMaturitiesRollingAfterTenYearsNetCarryingAmountAverageYield_a69d743a-ec79-4591-8eaf-5490c642f87c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_1ee1fa97-0aa2-4d43-a56d-8d5bd86014d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_1ee1fa97-0aa2-4d43-a56d-8d5bd86014d3" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HeldtomaturitySecuritiesAverageYield_537536f0-5cea-4364-8362-5029b54cb796" xlink:href="bac-20251231.xsd#bac_HeldtomaturitySecuritiesAverageYield"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_a7510c75-5d1d-4e41-b2c8-c1c7a9808301" xlink:to="loc_bac_HeldtomaturitySecuritiesAverageYield_537536f0-5cea-4364-8362-5029b54cb796" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesFairValueRollingMaturityAbstract_06a252df-18f6-4c80-a4ec-2ae44d5ae0c9" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesFairValueRollingMaturityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesLineItems_9efd6b33-6fba-4539-a726-d0331fa4a804" xlink:to="loc_bac_DebtMaturitiesFairValueRollingMaturityAbstract_06a252df-18f6-4c80-a4ec-2ae44d5ae0c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesNextRollingTwelveMonthsFairValue_0885067b-78fb-4695-b861-f4ebf3b2336b" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesNextRollingTwelveMonthsFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesFairValueRollingMaturityAbstract_06a252df-18f6-4c80-a4ec-2ae44d5ae0c9" xlink:to="loc_bac_DebtMaturitiesNextRollingTwelveMonthsFairValue_0885067b-78fb-4695-b861-f4ebf3b2336b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingYearTwoThroughFiveFairValue_f57c1fea-32c3-4299-9bc7-9580e5a08b7c" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingYearTwoThroughFiveFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesFairValueRollingMaturityAbstract_06a252df-18f6-4c80-a4ec-2ae44d5ae0c9" xlink:to="loc_bac_DebtMaturitiesRollingYearTwoThroughFiveFairValue_f57c1fea-32c3-4299-9bc7-9580e5a08b7c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingYearSixThroughTenFairValue_b46dd3df-528d-4149-9fc4-d796e56f6c7b" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingYearSixThroughTenFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesFairValueRollingMaturityAbstract_06a252df-18f6-4c80-a4ec-2ae44d5ae0c9" xlink:to="loc_bac_DebtMaturitiesRollingYearSixThroughTenFairValue_b46dd3df-528d-4149-9fc4-d796e56f6c7b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtMaturitiesRollingAfterYearTenFairValue_742cd3bb-acd5-4ce3-8ec9-b81dd48ba68a" xlink:href="bac-20251231.xsd#bac_DebtMaturitiesRollingAfterYearTenFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesFairValueRollingMaturityAbstract_06a252df-18f6-4c80-a4ec-2ae44d5ae0c9" xlink:to="loc_bac_DebtMaturitiesRollingAfterYearTenFairValue_742cd3bb-acd5-4ce3-8ec9-b81dd48ba68a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_25150e5b-d5f1-45a1-9260-974de495eda8" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_DebtMaturitiesFairValueRollingMaturityAbstract_06a252df-18f6-4c80-a4ec-2ae44d5ae0c9" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_25150e5b-d5f1-45a1-9260-974de495eda8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueRollingMaturityAbstract_91e5791f-1efc-4b58-941d-a906741bab75" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueRollingMaturityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesLineItems_9efd6b33-6fba-4539-a726-d0331fa4a804" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueRollingMaturityAbstract_91e5791f-1efc-4b58-941d-a906741bab75" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateYearOne_fd1c7751-bc9a-40d0-9e8a-0e33327ac91e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateYearOne"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueRollingMaturityAbstract_91e5791f-1efc-4b58-941d-a906741bab75" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateYearOne_fd1c7751-bc9a-40d0-9e8a-0e33327ac91e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYearOneThroughFive_f3ea334a-a9ca-43a4-b9f1-e00d8e2c3128" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYearOneThroughFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueRollingMaturityAbstract_91e5791f-1efc-4b58-941d-a906741bab75" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYearOneThroughFive_f3ea334a-a9ca-43a4-b9f1-e00d8e2c3128" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear5Through10_9556a220-8865-4584-a2bf-d79f95f77332" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear5Through10"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueRollingMaturityAbstract_91e5791f-1efc-4b58-941d-a906741bab75" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear5Through10_9556a220-8865-4584-a2bf-d79f95f77332" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear10_575b4393-25c2-42cf-aae9-b34cc7e15d51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear10"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueRollingMaturityAbstract_91e5791f-1efc-4b58-941d-a906741bab75" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateAfterYear10_575b4393-25c2-42cf-aae9-b34cc7e15d51" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_71d06e34-e253-4e6b-8146-5631e8a18188" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueRollingMaturityAbstract_91e5791f-1efc-4b58-941d-a906741bab75" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_71d06e34-e253-4e6b-8146-5631e8a18188" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesPastDueDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesPastDueDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesPastDueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_4275410f-4bef-4c34-af98-f423d9201460" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_4275410f-4bef-4c34-af98-f423d9201460" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_cb9986f7-c53f-40a9-95ec-f384dcef00b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_cb9986f7-c53f-40a9-95ec-f384dcef00b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_cb9986f7-c53f-40a9-95ec-f384dcef00b4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_cb9986f7-c53f-40a9-95ec-f384dcef00b4" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_cb9986f7-c53f-40a9-95ec-f384dcef00b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_d332302a-c448-41e5-ae0c-bb1286c47158" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_cb9986f7-c53f-40a9-95ec-f384dcef00b4" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_d332302a-c448-41e5-ae0c-bb1286c47158" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_1801095a-9c06-4d4e-bad4-8396699f3aa5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_d332302a-c448-41e5-ae0c-bb1286c47158" xlink:to="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_1801095a-9c06-4d4e-bad4-8396699f3aa5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_a3f05393-78ea-42af-802e-074e1b6f0a86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_d332302a-c448-41e5-ae0c-bb1286c47158" xlink:to="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_a3f05393-78ea-42af-802e-074e1b6f0a86" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_3a5df352-6af8-4138-b813-3e3e571396ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_d332302a-c448-41e5-ae0c-bb1286c47158" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_3a5df352-6af8-4138-b813-3e3e571396ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivablesTotal30DaysorGreaterPastDueMember_3045417e-f6ef-4789-8738-6d15706fa59f" xlink:href="bac-20251231.xsd#bac_FinancingReceivablesTotal30DaysorGreaterPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_d332302a-c448-41e5-ae0c-bb1286c47158" xlink:to="loc_bac_FinancingReceivablesTotal30DaysorGreaterPastDueMember_3045417e-f6ef-4789-8738-6d15706fa59f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivablesCurrentorLessThan30DaysPastDueMember_ed5bbcd8-1bce-4308-bc1d-06010fd3792b" xlink:href="bac-20251231.xsd#bac_FinancingReceivablesCurrentorLessThan30DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_d332302a-c448-41e5-ae0c-bb1286c47158" xlink:to="loc_bac_FinancingReceivablesCurrentorLessThan30DaysPastDueMember_ed5bbcd8-1bce-4308-bc1d-06010fd3792b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_024cc0af-9b12-4ca0-bb80-f3aad394bb80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_024cc0af-9b12-4ca0-bb80-f3aad394bb80" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_024cc0af-9b12-4ca0-bb80-f3aad394bb80_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_024cc0af-9b12-4ca0-bb80-f3aad394bb80" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_024cc0af-9b12-4ca0-bb80-f3aad394bb80_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_79d33e48-74ee-40bf-8e77-42075d7a2e08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_024cc0af-9b12-4ca0-bb80-f3aad394bb80" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_79d33e48-74ee-40bf-8e77-42075d7a2e08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_e0f42c9b-d7f9-4e52-808a-2daa2fd7c6a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_79d33e48-74ee-40bf-8e77-42075d7a2e08" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_e0f42c9b-d7f9-4e52-808a-2daa2fd7c6a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_ed40ec33-3365-4428-8b82-7b8770df3607" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsumerPortfolioSegmentMember_e0f42c9b-d7f9-4e52-808a-2daa2fd7c6a8" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_ed40ec33-3365-4428-8b82-7b8770df3607" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardandOtherConsumerPortfolioSegmentMember_3daeca82-fd25-4bcc-9a79-f7f96baa3f90" xlink:href="bac-20251231.xsd#bac_CreditCardandOtherConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsumerPortfolioSegmentMember_e0f42c9b-d7f9-4e52-808a-2daa2fd7c6a8" xlink:to="loc_bac_CreditCardandOtherConsumerPortfolioSegmentMember_3daeca82-fd25-4bcc-9a79-f7f96baa3f90" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_b01d137f-6df5-48ff-85bd-daec021e8ab9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_79d33e48-74ee-40bf-8e77-42075d7a2e08" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_b01d137f-6df5-48ff-85bd-daec021e8ab9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_e4337ed7-9bb5-49be-9412-720386661879" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_e4337ed7-9bb5-49be-9412-720386661879" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_e4337ed7-9bb5-49be-9412-720386661879_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_e4337ed7-9bb5-49be-9412-720386661879" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_e4337ed7-9bb5-49be-9412-720386661879_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_e4337ed7-9bb5-49be-9412-720386661879" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_1f45a3a9-59be-443b-9742-7dcd382095ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_us-gaap_ResidentialMortgageMember_1f45a3a9-59be-443b-9742-7dcd382095ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityLoanMember_9082238e-2b09-47e7-a78c-e422206ec771" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_us-gaap_HomeEquityLoanMember_9082238e-2b09-47e7-a78c-e422206ec771" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditCardReceivablesMember_e2c36df5-c817-4cc9-a923-25c6a2e64d34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditCardReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_us-gaap_CreditCardReceivablesMember_e2c36df5-c817-4cc9-a923-25c6a2e64d34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DirectandIndirectFinancingReceivableMember_e9fe8ec9-4bc1-47b5-a59e-f20f08a2045e" xlink:href="bac-20251231.xsd#bac_DirectandIndirectFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_bac_DirectandIndirectFinancingReceivableMember_e9fe8ec9-4bc1-47b5-a59e-f20f08a2045e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherFinancingReceivablesMember_ed9900ca-0cb5-4b0d-8a9e-2bdb2c8160f9" xlink:href="bac-20251231.xsd#bac_OtherFinancingReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_bac_OtherFinancingReceivablesMember_ed9900ca-0cb5-4b0d-8a9e-2bdb2c8160f9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateLoanMember_139ca706-678d-4bcf-b35e-7a52714d3aa8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_us-gaap_RealEstateLoanMember_139ca706-678d-4bcf-b35e-7a52714d3aa8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasesPortfolioSegmentMember_bcfb2cae-209e-45e7-b596-3a4bc06fc101" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasesPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_us-gaap_FinanceLeasesPortfolioSegmentMember_bcfb2cae-209e-45e7-b596-3a4bc06fc101" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SmallBusinessFinancingReceivableMember_d37cc964-0e77-4968-9545-dae92cbf1556" xlink:href="bac-20251231.xsd#bac_SmallBusinessFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_bac_SmallBusinessFinancingReceivableMember_d37cc964-0e77-4968-9545-dae92cbf1556" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityMember_29f4d215-ec09-4e8d-ab86-77e5db513027" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_74d93677-db06-4a9c-ba90-c008cc6ff0eb" xlink:to="loc_us-gaap_HomeEquityMember_29f4d215-ec09-4e8d-ab86-77e5db513027" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_03a00b8b-9a63-4900-a939-165c660da84f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_03a00b8b-9a63-4900-a939-165c660da84f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_03a00b8b-9a63-4900-a939-165c660da84f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_03a00b8b-9a63-4900-a939-165c660da84f" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_03a00b8b-9a63-4900-a939-165c660da84f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_01f06a9c-4bfc-42ee-912a-56442aef4a06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_03a00b8b-9a63-4900-a939-165c660da84f" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_01f06a9c-4bfc-42ee-912a-56442aef4a06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_a58d815a-48d4-48b6-b675-e746c709bed6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_01f06a9c-4bfc-42ee-912a-56442aef4a06" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_a58d815a-48d4-48b6-b675-e746c709bed6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_3107d87f-4620-421e-a88f-9cd9bbfeb801" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_a58d815a-48d4-48b6-b675-e746c709bed6" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_3107d87f-4620-421e-a88f-9cd9bbfeb801" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_41b18c78-4f68-4ae6-aedb-5a8cd23e528c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_a58d815a-48d4-48b6-b675-e746c709bed6" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_41b18c78-4f68-4ae6-aedb-5a8cd23e528c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_fd353d69-a068-42ce-9279-448ad957a5fa" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_srt_ProductOrServiceAxis_fd353d69-a068-42ce-9279-448ad957a5fa" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_fd353d69-a068-42ce-9279-448ad957a5fa_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_fd353d69-a068-42ce-9279-448ad957a5fa" xlink:to="loc_srt_ProductsAndServicesDomain_fd353d69-a068-42ce-9279-448ad957a5fa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_bca9276b-c682-4970-8ce8-a8b51e4074f6" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_fd353d69-a068-42ce-9279-448ad957a5fa" xlink:to="loc_srt_ProductsAndServicesDomain_bca9276b-c682-4970-8ce8-a8b51e4074f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AutoAndSpecialtyLendingLoansAndLeasesMember_4ef78e69-4439-4b38-9184-d8c91da232d2" xlink:href="bac-20251231.xsd#bac_AutoAndSpecialtyLendingLoansAndLeasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_bca9276b-c682-4970-8ce8-a8b51e4074f6" xlink:to="loc_bac_AutoAndSpecialtyLendingLoansAndLeasesMember_4ef78e69-4439-4b38-9184-d8c91da232d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritiesBasedLendingLoansMember_1816fbf0-8d92-43aa-ab5e-36d6046d50d9" xlink:href="bac-20251231.xsd#bac_SecuritiesBasedLendingLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_bca9276b-c682-4970-8ce8-a8b51e4074f6" xlink:to="loc_bac_SecuritiesBasedLendingLoansMember_1816fbf0-8d92-43aa-ab5e-36d6046d50d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_7e25a585-3c59-446f-acb5-0c523e4a4243" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_GeographicDistributionAxis_7e25a585-3c59-446f-acb5-0c523e4a4243" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_7e25a585-3c59-446f-acb5-0c523e4a4243_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_7e25a585-3c59-446f-acb5-0c523e4a4243" xlink:to="loc_us-gaap_GeographicDistributionDomain_7e25a585-3c59-446f-acb5-0c523e4a4243_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_44371e4a-eeb2-4943-9b32-45018a51f5da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_7e25a585-3c59-446f-acb5-0c523e4a4243" xlink:to="loc_us-gaap_GeographicDistributionDomain_44371e4a-eeb2-4943-9b32-45018a51f5da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_f6f9fde0-9694-4855-8dec-fa70780deb24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_44371e4a-eeb2-4943-9b32-45018a51f5da" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_f6f9fde0-9694-4855-8dec-fa70780deb24" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionForeignMember_be1b424f-da22-41f8-9634-1cd3318159b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_44371e4a-eeb2-4943-9b32-45018a51f5da" xlink:to="loc_us-gaap_GeographicDistributionForeignMember_be1b424f-da22-41f8-9634-1cd3318159b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_34021384-1623-495a-8b95-ff3701e7efc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentPerformanceStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_34021384-1623-495a-8b95-ff3701e7efc2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_34021384-1623-495a-8b95-ff3701e7efc2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentPerformanceStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_34021384-1623-495a-8b95-ff3701e7efc2" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_34021384-1623-495a-8b95-ff3701e7efc2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_0cd5ea96-586d-4202-9acd-82185dd2ea32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentPerformanceStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_34021384-1623-495a-8b95-ff3701e7efc2" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_0cd5ea96-586d-4202-9acd-82185dd2ea32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonperformingFinancingReceivableMember_7b87c19e-fcf9-46df-98e3-9f0682d9a390" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonperformingFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_0cd5ea96-586d-4202-9acd-82185dd2ea32" xlink:to="loc_us-gaap_NonperformingFinancingReceivableMember_7b87c19e-fcf9-46df-98e3-9f0682d9a390" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_1446e4eb-f5c3-4d41-bfc3-3ee1b31a72e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_1446e4eb-f5c3-4d41-bfc3-3ee1b31a72e6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_1446e4eb-f5c3-4d41-bfc3-3ee1b31a72e6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_1446e4eb-f5c3-4d41-bfc3-3ee1b31a72e6" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_1446e4eb-f5c3-4d41-bfc3-3ee1b31a72e6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_ad92d2da-9b27-4c00-8495-fe8d1bbf2c37" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_1446e4eb-f5c3-4d41-bfc3-3ee1b31a72e6" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_ad92d2da-9b27-4c00-8495-fe8d1bbf2c37" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UsGovernmentAgencyInsuredLoansMember_a07d4186-9171-4f39-8eaf-38d0732aa856" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UsGovernmentAgencyInsuredLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_ad92d2da-9b27-4c00-8495-fe8d1bbf2c37" xlink:to="loc_us-gaap_UsGovernmentAgencyInsuredLoansMember_a07d4186-9171-4f39-8eaf-38d0732aa856" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PledgedStatusAxis_09f5e321-9e32-4411-bcc6-cb9e42c17dbb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PledgedStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_PledgedStatusAxis_09f5e321-9e32-4411-bcc6-cb9e42c17dbb" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PledgedStatusDomain_09f5e321-9e32-4411-bcc6-cb9e42c17dbb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PledgedStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PledgedStatusAxis_09f5e321-9e32-4411-bcc6-cb9e42c17dbb" xlink:to="loc_us-gaap_PledgedStatusDomain_09f5e321-9e32-4411-bcc6-cb9e42c17dbb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PledgedStatusDomain_6c72080d-7a51-4e45-9607-973236890cf1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PledgedStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PledgedStatusAxis_09f5e321-9e32-4411-bcc6-cb9e42c17dbb" xlink:to="loc_us-gaap_PledgedStatusDomain_6c72080d-7a51-4e45-9607-973236890cf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetPledgedAsCollateralMember_b32ad0ac-ba9a-4ef4-8b31-42fead13ef02" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetPledgedAsCollateralMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PledgedStatusDomain_6c72080d-7a51-4e45-9607-973236890cf1" xlink:to="loc_us-gaap_AssetPledgedAsCollateralMember_b32ad0ac-ba9a-4ef4-8b31-42fead13ef02" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PledgingPurposeAxis_4eecc1f5-b877-4a8a-8e83-5ccd7dcf7bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PledgingPurposeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_bad44324-0e80-4358-8122-10504feb6113" xlink:to="loc_us-gaap_PledgingPurposeAxis_4eecc1f5-b877-4a8a-8e83-5ccd7dcf7bf0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PledgingPurposeDomain_4eecc1f5-b877-4a8a-8e83-5ccd7dcf7bf0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PledgingPurposeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PledgingPurposeAxis_4eecc1f5-b877-4a8a-8e83-5ccd7dcf7bf0" xlink:to="loc_us-gaap_PledgingPurposeDomain_4eecc1f5-b877-4a8a-8e83-5ccd7dcf7bf0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PledgingPurposeDomain_ed9e4954-6efe-493a-83ff-ec5fc9a2c0a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PledgingPurposeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PledgingPurposeAxis_4eecc1f5-b877-4a8a-8e83-5ccd7dcf7bf0" xlink:to="loc_us-gaap_PledgingPurposeDomain_ed9e4954-6efe-493a-83ff-ec5fc9a2c0a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FederalReserveBankAndFederalHomeLoanBankMember_57f58fa8-9fb6-4e86-b8eb-98a8840c0d61" xlink:href="bac-20251231.xsd#bac_FederalReserveBankAndFederalHomeLoanBankMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PledgingPurposeDomain_ed9e4954-6efe-493a-83ff-ec5fc9a2c0a0" xlink:to="loc_bac_FederalReserveBankAndFederalHomeLoanBankMember_57f58fa8-9fb6-4e86-b8eb-98a8840c0d61" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_d122f8ca-068c-4419-b75f-70564d3499e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_4275410f-4bef-4c34-af98-f423d9201460" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_d122f8ca-068c-4419-b75f-70564d3499e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePercentPastDue1_73caf6d8-1441-4de0-a643-d7e37c5e0e97" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePercentPastDue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_4275410f-4bef-4c34-af98-f423d9201460" xlink:to="loc_us-gaap_FinancingReceivablePercentPastDue1_73caf6d8-1441-4de0-a643-d7e37c5e0e97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableNetOfDeferredIncomePercent_31a8766c-58c4-41b6-82e1-d5f2382b3623" xlink:href="bac-20251231.xsd#bac_FinancingReceivableNetOfDeferredIncomePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_4275410f-4bef-4c34-af98-f423d9201460" xlink:to="loc_bac_FinancingReceivableNetOfDeferredIncomePercent_31a8766c-58c4-41b6-82e1-d5f2382b3623" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestRecordedInvestmentCurrentAnd1To29DaysPastDue_b6ea219b-1e76-4926-aec2-9a86ef0d223b" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestRecordedInvestmentCurrentAnd1To29DaysPastDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_4275410f-4bef-4c34-af98-f423d9201460" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestRecordedInvestmentCurrentAnd1To29DaysPastDue_b6ea219b-1e76-4926-aec2-9a86ef0d223b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_70120a9c-6026-4a05-bb3d-09e769a9c7e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_4275410f-4bef-4c34-af98-f423d9201460" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_70120a9c-6026-4a05-bb3d-09e769a9c7e8" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesNonperformingNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesNonperformingNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesNonperformingNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_078d177e-fd9c-4b68-9838-cd6ac44b01dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_ab5186a7-cdb5-4a69-a550-b4c84b04e943" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_078d177e-fd9c-4b68-9838-cd6ac44b01dd" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_ab5186a7-cdb5-4a69-a550-b4c84b04e943" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_b4fc7e16-6281-4e19-b28f-1375b6b3fe27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_ab5186a7-cdb5-4a69-a550-b4c84b04e943" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_b4fc7e16-6281-4e19-b28f-1375b6b3fe27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_b4fc7e16-6281-4e19-b28f-1375b6b3fe27_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_b4fc7e16-6281-4e19-b28f-1375b6b3fe27" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_b4fc7e16-6281-4e19-b28f-1375b6b3fe27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_e11584c5-e9fa-46b1-ac3c-97d58df383ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_b4fc7e16-6281-4e19-b28f-1375b6b3fe27" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_e11584c5-e9fa-46b1-ac3c-97d58df383ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FederalNationalMortgageAssociationCertificatesandObligationsFNMAandFederalHomeLoanMortgageCorporationCertificatesandObligationsFHLMCMember_ae62ab4d-411e-4b8c-9a1a-64b32063cbb1" xlink:href="bac-20251231.xsd#bac_FederalNationalMortgageAssociationCertificatesandObligationsFNMAandFederalHomeLoanMortgageCorporationCertificatesandObligationsFHLMCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_e11584c5-e9fa-46b1-ac3c-97d58df383ea" xlink:to="loc_bac_FederalNationalMortgageAssociationCertificatesandObligationsFNMAandFederalHomeLoanMortgageCorporationCertificatesandObligationsFHLMCMember_ae62ab4d-411e-4b8c-9a1a-64b32063cbb1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_14ba31df-6a74-4402-a6f0-9b78315405b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_ab5186a7-cdb5-4a69-a550-b4c84b04e943" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_14ba31df-6a74-4402-a6f0-9b78315405b2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_14ba31df-6a74-4402-a6f0-9b78315405b2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_14ba31df-6a74-4402-a6f0-9b78315405b2" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_14ba31df-6a74-4402-a6f0-9b78315405b2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_e6925146-6e86-475e-919d-8cae6a6dcfd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_14ba31df-6a74-4402-a6f0-9b78315405b2" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_e6925146-6e86-475e-919d-8cae6a6dcfd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_56b8b691-5c89-458e-bde7-f99d8b144188" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_e6925146-6e86-475e-919d-8cae6a6dcfd7" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_56b8b691-5c89-458e-bde7-f99d8b144188" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_6fcfe656-17b9-4674-8fab-05b549a1737d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_e6925146-6e86-475e-919d-8cae6a6dcfd7" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_6fcfe656-17b9-4674-8fab-05b549a1737d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_431459e5-06ba-4ccb-96fd-561b26a8014d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_ab5186a7-cdb5-4a69-a550-b4c84b04e943" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_431459e5-06ba-4ccb-96fd-561b26a8014d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_431459e5-06ba-4ccb-96fd-561b26a8014d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_431459e5-06ba-4ccb-96fd-561b26a8014d" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_431459e5-06ba-4ccb-96fd-561b26a8014d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8559295c-cd3b-4c5f-b7d2-6a7c2fd19971" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_431459e5-06ba-4ccb-96fd-561b26a8014d" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8559295c-cd3b-4c5f-b7d2-6a7c2fd19971" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_792e306e-36c2-49c9-9776-09190cb8c60c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8559295c-cd3b-4c5f-b7d2-6a7c2fd19971" xlink:to="loc_us-gaap_ResidentialMortgageMember_792e306e-36c2-49c9-9776-09190cb8c60c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LongTermCreditProtectionAgreementsAmountCovered_b0bc97e3-be24-42a7-9945-e4955e2fcf29" xlink:href="bac-20251231.xsd#bac_LongTermCreditProtectionAgreementsAmountCovered"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_078d177e-fd9c-4b68-9838-cd6ac44b01dd" xlink:to="loc_bac_LongTermCreditProtectionAgreementsAmountCovered_b0bc97e3-be24-42a7-9945-e4955e2fcf29" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_232a2992-f917-4e5d-adeb-378ac7392d93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_078d177e-fd9c-4b68-9838-cd6ac44b01dd" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_232a2992-f917-4e5d-adeb-378ac7392d93" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesNonperformingCreditQualityDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesNonperformingCreditQualityDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesNonperformingCreditQualityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_2b60da96-6899-472d-8273-43ad1b4e94bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_f4ccadbe-3c20-4ee4-bb6d-b6acdd3c5dd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_2b60da96-6899-472d-8273-43ad1b4e94bd" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_f4ccadbe-3c20-4ee4-bb6d-b6acdd3c5dd2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_da9e5806-ed7c-4aec-a676-217a133ec775" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentPerformanceStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_f4ccadbe-3c20-4ee4-bb6d-b6acdd3c5dd2" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_da9e5806-ed7c-4aec-a676-217a133ec775" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_da9e5806-ed7c-4aec-a676-217a133ec775_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentPerformanceStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_da9e5806-ed7c-4aec-a676-217a133ec775" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_da9e5806-ed7c-4aec-a676-217a133ec775_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_45f6dcdd-bd94-4da5-9ee5-986a834b5e42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentPerformanceStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_da9e5806-ed7c-4aec-a676-217a133ec775" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_45f6dcdd-bd94-4da5-9ee5-986a834b5e42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonperformingFinancingReceivableMember_9bdee919-9924-4a96-bd7f-05a4b13f6c37" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonperformingFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_45f6dcdd-bd94-4da5-9ee5-986a834b5e42" xlink:to="loc_us-gaap_NonperformingFinancingReceivableMember_9bdee919-9924-4a96-bd7f-05a4b13f6c37" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_c688d7bf-c6d9-48c9-93a5-59202a8b3820" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_f4ccadbe-3c20-4ee4-bb6d-b6acdd3c5dd2" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_c688d7bf-c6d9-48c9-93a5-59202a8b3820" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_c688d7bf-c6d9-48c9-93a5-59202a8b3820_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_c688d7bf-c6d9-48c9-93a5-59202a8b3820" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_c688d7bf-c6d9-48c9-93a5-59202a8b3820_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_39cc17ed-13e4-45b3-bccc-0126021283e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_c688d7bf-c6d9-48c9-93a5-59202a8b3820" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_39cc17ed-13e4-45b3-bccc-0126021283e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_38f2011b-fb17-4862-bbf1-d726eebfde03" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_39cc17ed-13e4-45b3-bccc-0126021283e7" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_38f2011b-fb17-4862-bbf1-d726eebfde03" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_76d6fbc2-8e25-46a3-ba2c-0f7c2244176f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_39cc17ed-13e4-45b3-bccc-0126021283e7" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_76d6fbc2-8e25-46a3-ba2c-0f7c2244176f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_6d249994-a644-4d68-bbfb-1cd3f90cc942" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_f4ccadbe-3c20-4ee4-bb6d-b6acdd3c5dd2" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_6d249994-a644-4d68-bbfb-1cd3f90cc942" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6d249994-a644-4d68-bbfb-1cd3f90cc942_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_6d249994-a644-4d68-bbfb-1cd3f90cc942" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6d249994-a644-4d68-bbfb-1cd3f90cc942_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_6d249994-a644-4d68-bbfb-1cd3f90cc942" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_375e2c6a-4ef2-44c3-a091-fe519ecf2a4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_us-gaap_ResidentialMortgageMember_375e2c6a-4ef2-44c3-a091-fe519ecf2a4b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResidentialMortgageWithNegativeAllowanceMember_d922aa59-46b0-4acb-b78a-8ed5bd2db812" xlink:href="bac-20251231.xsd#bac_ResidentialMortgageWithNegativeAllowanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_bac_ResidentialMortgageWithNegativeAllowanceMember_d922aa59-46b0-4acb-b78a-8ed5bd2db812" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityMember_7427f095-cf18-4a46-b4d5-b0cfc5653834" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_us-gaap_HomeEquityMember_7427f095-cf18-4a46-b4d5-b0cfc5653834" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HomeEquityLineofCreditWithNegativeAllowanceMember_cf46f148-0103-4482-9c9e-2559e0794222" xlink:href="bac-20251231.xsd#bac_HomeEquityLineofCreditWithNegativeAllowanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_bac_HomeEquityLineofCreditWithNegativeAllowanceMember_cf46f148-0103-4482-9c9e-2559e0794222" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditCardReceivablesMember_c0fd416b-4058-4f79-8b15-570a78067c2e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditCardReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_us-gaap_CreditCardReceivablesMember_c0fd416b-4058-4f79-8b15-570a78067c2e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DirectandIndirectFinancingReceivableMember_d036c9f4-d980-489a-b308-0112901a662c" xlink:href="bac-20251231.xsd#bac_DirectandIndirectFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_bac_DirectandIndirectFinancingReceivableMember_d036c9f4-d980-489a-b308-0112901a662c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateLoanMember_4e7cf10c-d990-43db-bf80-93ae502a4b92" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_us-gaap_RealEstateLoanMember_4e7cf10c-d990-43db-bf80-93ae502a4b92" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasesPortfolioSegmentMember_4cdc4e86-4d18-4562-9be2-652551084dc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasesPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_us-gaap_FinanceLeasesPortfolioSegmentMember_4cdc4e86-4d18-4562-9be2-652551084dc3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SmallBusinessFinancingReceivableMember_f4971301-697b-4178-b3f4-4fc90781c5be" xlink:href="bac-20251231.xsd#bac_SmallBusinessFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_fa77ea87-3009-4957-9275-ab00b636b93f" xlink:to="loc_bac_SmallBusinessFinancingReceivableMember_f4971301-697b-4178-b3f4-4fc90781c5be" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_849c442b-28ed-4544-8a7b-3ed8b4556411" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_f4ccadbe-3c20-4ee4-bb6d-b6acdd3c5dd2" xlink:to="loc_us-gaap_GeographicDistributionAxis_849c442b-28ed-4544-8a7b-3ed8b4556411" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_849c442b-28ed-4544-8a7b-3ed8b4556411_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_849c442b-28ed-4544-8a7b-3ed8b4556411" xlink:to="loc_us-gaap_GeographicDistributionDomain_849c442b-28ed-4544-8a7b-3ed8b4556411_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_85b5308a-82c2-4f5d-97e6-3eae12e5ce43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_849c442b-28ed-4544-8a7b-3ed8b4556411" xlink:to="loc_us-gaap_GeographicDistributionDomain_85b5308a-82c2-4f5d-97e6-3eae12e5ce43" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_07c803b8-1579-4bdb-a91d-9888f3ecac2a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_85b5308a-82c2-4f5d-97e6-3eae12e5ce43" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_07c803b8-1579-4bdb-a91d-9888f3ecac2a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionForeignMember_6a3a2e3a-6cfe-48a8-bd2f-13276de8d6aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_85b5308a-82c2-4f5d-97e6-3eae12e5ce43" xlink:to="loc_us-gaap_GeographicDistributionForeignMember_6a3a2e3a-6cfe-48a8-bd2f-13276de8d6aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_5abfb29f-588b-4bf8-a1cd-bd70be1ffc01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_2b60da96-6899-472d-8273-43ad1b4e94bd" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual_5abfb29f-588b-4bf8-a1cd-bd70be1ffc01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruing_7a03524c-3040-4064-98a9-7a31045fd629" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruing"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_2b60da96-6899-472d-8273-43ad1b4e94bd" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruing_7a03524c-3040-4064-98a9-7a31045fd629" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualPercentPastDue_6ed92a43-75a3-44ec-aa72-cb3b88f867c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualPercentPastDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_2b60da96-6899-472d-8273-43ad1b4e94bd" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrualPercentPastDue_6ed92a43-75a3-44ec-aa72-cb3b88f867c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruingPercent_16148c55-48e7-47e2-a411-7730bfb1e33e" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruingPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_2b60da96-6899-472d-8273-43ad1b4e94bd" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruingPercent_16148c55-48e7-47e2-a411-7730bfb1e33e" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesResidentialMortgageCreditQualityIndicatorsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesResidentialMortgageCreditQualityIndicatorsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesResidentialMortgageCreditQualityIndicatorsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_14733d94-bbba-494a-9394-82e3b37817ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_14733d94-bbba-494a-9394-82e3b37817ed" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueAxis_64083b99-5409-4b99-8bc1-92b303f238ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_14733d94-bbba-494a-9394-82e3b37817ed" xlink:to="loc_us-gaap_LoanToValueAxis_64083b99-5409-4b99-8bc1-92b303f238ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueDomain_64083b99-5409-4b99-8bc1-92b303f238ae_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanToValueAxis_64083b99-5409-4b99-8bc1-92b303f238ae" xlink:to="loc_us-gaap_LoanToValueDomain_64083b99-5409-4b99-8bc1-92b303f238ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueDomain_fa9f94d9-b7c9-427e-b428-3c972cfac14d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanToValueAxis_64083b99-5409-4b99-8bc1-92b303f238ae" xlink:to="loc_us-gaap_LoanToValueDomain_fa9f94d9-b7c9-427e-b428-3c972cfac14d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtToValueLessThanOrEqualToNinetyPercentMember_01f09d54-30c3-4c7b-b9c3-3558f94ddf8c" xlink:href="bac-20251231.xsd#bac_DebtToValueLessThanOrEqualToNinetyPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_fa9f94d9-b7c9-427e-b428-3c972cfac14d" xlink:to="loc_bac_DebtToValueLessThanOrEqualToNinetyPercentMember_01f09d54-30c3-4c7b-b9c3-3558f94ddf8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtToValueGreaterThanNinetyPercentButLessThanOrEqualToHundredPercentMember_be5686ec-bb52-4636-89f8-53c2b4ba94d3" xlink:href="bac-20251231.xsd#bac_DebtToValueGreaterThanNinetyPercentButLessThanOrEqualToHundredPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_fa9f94d9-b7c9-427e-b428-3c972cfac14d" xlink:to="loc_bac_DebtToValueGreaterThanNinetyPercentButLessThanOrEqualToHundredPercentMember_be5686ec-bb52-4636-89f8-53c2b4ba94d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtToValueGreaterThanHundredPercentMember_b4461d3c-c6ea-42fd-beda-dc21d498fc5a" xlink:href="bac-20251231.xsd#bac_DebtToValueGreaterThanHundredPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_fa9f94d9-b7c9-427e-b428-3c972cfac14d" xlink:to="loc_bac_DebtToValueGreaterThanHundredPercentMember_b4461d3c-c6ea-42fd-beda-dc21d498fc5a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FullyInsuredLoansMember_a4356299-91f0-4236-9436-9bafee695eea" xlink:href="bac-20251231.xsd#bac_FullyInsuredLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_fa9f94d9-b7c9-427e-b428-3c972cfac14d" xlink:to="loc_bac_FullyInsuredLoansMember_a4356299-91f0-4236-9436-9bafee695eea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_50fdf4f2-fce1-443f-a594-557923b5a54c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_14733d94-bbba-494a-9394-82e3b37817ed" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_50fdf4f2-fce1-443f-a594-557923b5a54c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_50fdf4f2-fce1-443f-a594-557923b5a54c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_50fdf4f2-fce1-443f-a594-557923b5a54c" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_50fdf4f2-fce1-443f-a594-557923b5a54c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_13233a2a-da88-4896-b81f-cedfb9d140c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_50fdf4f2-fce1-443f-a594-557923b5a54c" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_13233a2a-da88-4896-b81f-cedfb9d140c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_aa2c2c0e-6384-4349-9c11-10377d1e1f28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_13233a2a-da88-4896-b81f-cedfb9d140c2" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_aa2c2c0e-6384-4349-9c11-10377d1e1f28" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoAxis_27d216b9-f7c7-447f-ab81-8a5620381dcb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_14733d94-bbba-494a-9394-82e3b37817ed" xlink:to="loc_us-gaap_CreditScoreFicoAxis_27d216b9-f7c7-447f-ab81-8a5620381dcb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoDomain_27d216b9-f7c7-447f-ab81-8a5620381dcb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditScoreFicoAxis_27d216b9-f7c7-447f-ab81-8a5620381dcb" xlink:to="loc_us-gaap_CreditScoreFicoDomain_27d216b9-f7c7-447f-ab81-8a5620381dcb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoDomain_18795a02-54ef-4c81-b81b-a2db7815fdc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditScoreFicoAxis_27d216b9-f7c7-447f-ab81-8a5620381dcb" xlink:to="loc_us-gaap_CreditScoreFicoDomain_18795a02-54ef-4c81-b81b-a2db7815fdc1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreLessThan620Member_d3a55820-b4a1-4c92-a6ed-abf14628bbcb" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreLessThan620Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_18795a02-54ef-4c81-b81b-a2db7815fdc1" xlink:to="loc_bac_RefreshedFICOScoreLessThan620Member_d3a55820-b4a1-4c92-a6ed-abf14628bbcb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreBetween620And660Member_c8512d0b-cfd8-4739-8007-4654ce40de34" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreBetween620And660Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_18795a02-54ef-4c81-b81b-a2db7815fdc1" xlink:to="loc_bac_RefreshedFICOScoreBetween620And660Member_c8512d0b-cfd8-4739-8007-4654ce40de34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreBetween660And740Member_2a654eaf-9305-4323-8f67-0766ea4e780a" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreBetween660And740Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_18795a02-54ef-4c81-b81b-a2db7815fdc1" xlink:to="loc_bac_RefreshedFICOScoreBetween660And740Member_2a654eaf-9305-4323-8f67-0766ea4e780a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member_f33b4ac5-8bbb-4acc-8001-2f7731ab814d" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_18795a02-54ef-4c81-b81b-a2db7815fdc1" xlink:to="loc_bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member_f33b4ac5-8bbb-4acc-8001-2f7731ab814d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_41475f36-c9b7-4775-a787-fa777b7d43f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_14733d94-bbba-494a-9394-82e3b37817ed" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_41475f36-c9b7-4775-a787-fa777b7d43f0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_41475f36-c9b7-4775-a787-fa777b7d43f0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_41475f36-c9b7-4775-a787-fa777b7d43f0" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_41475f36-c9b7-4775-a787-fa777b7d43f0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c3a39de2-decc-4833-bfcb-d58dbf5af6e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_41475f36-c9b7-4775-a787-fa777b7d43f0" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c3a39de2-decc-4833-bfcb-d58dbf5af6e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_be442e70-3660-40dc-8ffe-b449201de467" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c3a39de2-decc-4833-bfcb-d58dbf5af6e3" xlink:to="loc_us-gaap_ResidentialMortgageMember_be442e70-3660-40dc-8ffe-b449201de467" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SmallBusinessCardLoansMember_c14cc80e-e842-4e99-baca-ba820fceaeef" xlink:href="bac-20251231.xsd#bac_SmallBusinessCardLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c3a39de2-decc-4833-bfcb-d58dbf5af6e3" xlink:to="loc_bac_SmallBusinessCardLoansMember_c14cc80e-e842-4e99-baca-ba820fceaeef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_200534de-2890-4289-9f50-1f471621bc4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_14733d94-bbba-494a-9394-82e3b37817ed" xlink:to="loc_us-gaap_GeographicDistributionAxis_200534de-2890-4289-9f50-1f471621bc4a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_200534de-2890-4289-9f50-1f471621bc4a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_200534de-2890-4289-9f50-1f471621bc4a" xlink:to="loc_us-gaap_GeographicDistributionDomain_200534de-2890-4289-9f50-1f471621bc4a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_70d700f3-ad7a-4352-9974-e45549e630f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_200534de-2890-4289-9f50-1f471621bc4a" xlink:to="loc_us-gaap_GeographicDistributionDomain_70d700f3-ad7a-4352-9974-e45549e630f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_cdc64a02-d216-4d2e-9494-43c9efc271b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_70d700f3-ad7a-4352-9974-e45549e630f1" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_cdc64a02-d216-4d2e-9494-43c9efc271b7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_1037ac7c-de7c-4823-bf1a-d9c4c5eb9c8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_1037ac7c-de7c-4823-bf1a-d9c4c5eb9c8f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_6222de9b-a31b-4ff5-b837-de3d642b3117" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_6222de9b-a31b-4ff5-b837-de3d642b3117" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_03423dcb-93ba-46cb-afab-9432d0c2597a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_03423dcb-93ba-46cb-afab-9432d0c2597a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_85c319f0-94e4-4946-b59a-15467f0631cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_85c319f0-94e4-4946-b59a-15467f0631cf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_c583785d-3d68-44c1-83c9-1fb66587d95d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_c583785d-3d68-44c1-83c9-1fb66587d95d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_e84c7caf-e0f5-4be8-890e-aad55dc195df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_e84c7caf-e0f5-4be8-890e-aad55dc195df" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_60e445ef-f5e8-4c03-9331-1b2b4f6e993f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_60e445ef-f5e8-4c03-9331-1b2b4f6e993f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_30cee56d-3c26-4231-a6d5-2b3407c39270" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_30cee56d-3c26-4231-a6d5-2b3407c39270" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_646ff6e0-3aa1-46d5-b009-e8ed7a793cd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_646ff6e0-3aa1-46d5-b009-e8ed7a793cd1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_b92a4b2f-403a-4818-9088-8a945543a194" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_b92a4b2f-403a-4818-9088-8a945543a194" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_aa33d6c5-adc3-4776-a6d3-470f636badd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_aa33d6c5-adc3-4776-a6d3-470f636badd6" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_b9ca869f-b349-400c-b6e9-8caa05305635" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_b9ca869f-b349-400c-b6e9-8caa05305635" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_8b1c71b0-3619-4f54-99f4-43280e69ffc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_8b1c71b0-3619-4f54-99f4-43280e69ffc5" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_5ae0538a-7784-4203-b8c9-991945511757" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_ca3c3aca-885e-41d6-a166-2e1726aed0a0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_5ae0538a-7784-4203-b8c9-991945511757" xlink:type="arc" order="13"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesHomeEquityCreditQualityIndicatorsIncludingVintageDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesHomeEquityCreditQualityIndicatorsIncludingVintageDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesHomeEquityCreditQualityIndicatorsIncludingVintageDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_780f8536-0f0d-43bc-872d-3a24cd21d8a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_9b21f5c5-fd57-4875-92c6-282c5940a2e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_780f8536-0f0d-43bc-872d-3a24cd21d8a1" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_9b21f5c5-fd57-4875-92c6-282c5940a2e9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueAxis_09044916-8293-4582-9f6d-c95a8db0b149" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_9b21f5c5-fd57-4875-92c6-282c5940a2e9" xlink:to="loc_us-gaap_LoanToValueAxis_09044916-8293-4582-9f6d-c95a8db0b149" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueDomain_09044916-8293-4582-9f6d-c95a8db0b149_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanToValueAxis_09044916-8293-4582-9f6d-c95a8db0b149" xlink:to="loc_us-gaap_LoanToValueDomain_09044916-8293-4582-9f6d-c95a8db0b149_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueDomain_d70bad08-5f9c-4eac-a420-329d8fb8d6ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanToValueAxis_09044916-8293-4582-9f6d-c95a8db0b149" xlink:to="loc_us-gaap_LoanToValueDomain_d70bad08-5f9c-4eac-a420-329d8fb8d6ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtToValueLessThanOrEqualToNinetyPercentMember_6d22caa5-42c8-4c18-b572-dd2ae0cbd9d9" xlink:href="bac-20251231.xsd#bac_DebtToValueLessThanOrEqualToNinetyPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_d70bad08-5f9c-4eac-a420-329d8fb8d6ef" xlink:to="loc_bac_DebtToValueLessThanOrEqualToNinetyPercentMember_6d22caa5-42c8-4c18-b572-dd2ae0cbd9d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtToValueGreaterThanNinetyPercentButLessThanOrEqualToHundredPercentMember_73e13a98-8945-405f-a7b5-b686bc0a1137" xlink:href="bac-20251231.xsd#bac_DebtToValueGreaterThanNinetyPercentButLessThanOrEqualToHundredPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_d70bad08-5f9c-4eac-a420-329d8fb8d6ef" xlink:to="loc_bac_DebtToValueGreaterThanNinetyPercentButLessThanOrEqualToHundredPercentMember_73e13a98-8945-405f-a7b5-b686bc0a1137" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtToValueGreaterThanHundredPercentMember_8f747790-390b-427e-8c5d-63c22540e66e" xlink:href="bac-20251231.xsd#bac_DebtToValueGreaterThanHundredPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_d70bad08-5f9c-4eac-a420-329d8fb8d6ef" xlink:to="loc_bac_DebtToValueGreaterThanHundredPercentMember_8f747790-390b-427e-8c5d-63c22540e66e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_c492abbb-abca-40f1-94d6-06e8d3f63a00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_9b21f5c5-fd57-4875-92c6-282c5940a2e9" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_c492abbb-abca-40f1-94d6-06e8d3f63a00" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_c492abbb-abca-40f1-94d6-06e8d3f63a00_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_c492abbb-abca-40f1-94d6-06e8d3f63a00" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_c492abbb-abca-40f1-94d6-06e8d3f63a00_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6356dd67-9362-4e3b-aa3e-0a3c041d188d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_c492abbb-abca-40f1-94d6-06e8d3f63a00" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6356dd67-9362-4e3b-aa3e-0a3c041d188d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_1bb287bf-6a46-4e2d-a54f-ecf0aee0c29f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6356dd67-9362-4e3b-aa3e-0a3c041d188d" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_1bb287bf-6a46-4e2d-a54f-ecf0aee0c29f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_cb9b8c3c-965e-490a-9dc9-1e91ca07e3de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_9b21f5c5-fd57-4875-92c6-282c5940a2e9" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_cb9b8c3c-965e-490a-9dc9-1e91ca07e3de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_cb9b8c3c-965e-490a-9dc9-1e91ca07e3de_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_cb9b8c3c-965e-490a-9dc9-1e91ca07e3de" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_cb9b8c3c-965e-490a-9dc9-1e91ca07e3de_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_77e75c21-d1e2-4544-9b23-e1ec8c038635" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_cb9b8c3c-965e-490a-9dc9-1e91ca07e3de" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_77e75c21-d1e2-4544-9b23-e1ec8c038635" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityLoanMember_df9d0ca3-7ceb-4768-b8e8-299adb616d53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_77e75c21-d1e2-4544-9b23-e1ec8c038635" xlink:to="loc_us-gaap_HomeEquityLoanMember_df9d0ca3-7ceb-4768-b8e8-299adb616d53" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HomeEquityLoanAndReverseMortgagesMember_472bdd73-80e6-45fe-b8e2-d1bb6dc95020" xlink:href="bac-20251231.xsd#bac_HomeEquityLoanAndReverseMortgagesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HomeEquityLoanMember_df9d0ca3-7ceb-4768-b8e8-299adb616d53" xlink:to="loc_bac_HomeEquityLoanAndReverseMortgagesMember_472bdd73-80e6-45fe-b8e2-d1bb6dc95020" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ReverseMortgagesMember_577a6f65-a4ae-4fa7-8f21-e9db447fdfdb" xlink:href="bac-20251231.xsd#bac_ReverseMortgagesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_HomeEquityLoanAndReverseMortgagesMember_472bdd73-80e6-45fe-b8e2-d1bb6dc95020" xlink:to="loc_bac_ReverseMortgagesMember_577a6f65-a4ae-4fa7-8f21-e9db447fdfdb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_HomeEquityLoanNoLongerOriginatedMember_e9d4b94a-7d91-44c7-aea9-c4185bd351e3" xlink:href="bac-20251231.xsd#bac_HomeEquityLoanNoLongerOriginatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_HomeEquityLoanAndReverseMortgagesMember_472bdd73-80e6-45fe-b8e2-d1bb6dc95020" xlink:to="loc_bac_HomeEquityLoanNoLongerOriginatedMember_e9d4b94a-7d91-44c7-aea9-c4185bd351e3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_7336cc67-c54a-4a43-8e60-264d4ab7520e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HomeEquityLoanMember_df9d0ca3-7ceb-4768-b8e8-299adb616d53" xlink:to="loc_us-gaap_LineOfCreditMember_7336cc67-c54a-4a43-8e60-264d4ab7520e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RevolvingLoanConvertedtoTermLoanMember_85d88168-3a41-4f3e-b138-44693758a444" xlink:href="bac-20251231.xsd#bac_RevolvingLoanConvertedtoTermLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HomeEquityLoanMember_df9d0ca3-7ceb-4768-b8e8-299adb616d53" xlink:to="loc_bac_RevolvingLoanConvertedtoTermLoanMember_85d88168-3a41-4f3e-b138-44693758a444" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoAxis_d52deacd-eb9d-4692-8808-d5bc691327ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_9b21f5c5-fd57-4875-92c6-282c5940a2e9" xlink:to="loc_us-gaap_CreditScoreFicoAxis_d52deacd-eb9d-4692-8808-d5bc691327ad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoDomain_d52deacd-eb9d-4692-8808-d5bc691327ad_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditScoreFicoAxis_d52deacd-eb9d-4692-8808-d5bc691327ad" xlink:to="loc_us-gaap_CreditScoreFicoDomain_d52deacd-eb9d-4692-8808-d5bc691327ad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoDomain_c62da21c-f574-4c05-b37e-3e84828f9417" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditScoreFicoAxis_d52deacd-eb9d-4692-8808-d5bc691327ad" xlink:to="loc_us-gaap_CreditScoreFicoDomain_c62da21c-f574-4c05-b37e-3e84828f9417" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreLessThan620Member_7c224016-779b-4cd8-8c57-a6cfdf9563bb" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreLessThan620Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_c62da21c-f574-4c05-b37e-3e84828f9417" xlink:to="loc_bac_RefreshedFICOScoreLessThan620Member_7c224016-779b-4cd8-8c57-a6cfdf9563bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreBetween620And660Member_6b5ac11d-a1db-473f-bcde-5217c5373f05" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreBetween620And660Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_c62da21c-f574-4c05-b37e-3e84828f9417" xlink:to="loc_bac_RefreshedFICOScoreBetween620And660Member_6b5ac11d-a1db-473f-bcde-5217c5373f05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreBetween660And740Member_b8196ce4-ea8f-4ec2-8066-41df2d5e0f6b" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreBetween660And740Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_c62da21c-f574-4c05-b37e-3e84828f9417" xlink:to="loc_bac_RefreshedFICOScoreBetween660And740Member_b8196ce4-ea8f-4ec2-8066-41df2d5e0f6b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member_077495f5-268c-4865-93d8-61a360b3a35a" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_c62da21c-f574-4c05-b37e-3e84828f9417" xlink:to="loc_bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member_077495f5-268c-4865-93d8-61a360b3a35a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_d29580a9-834b-40f0-b45e-116a7731bc57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_780f8536-0f0d-43bc-872d-3a24cd21d8a1" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_d29580a9-834b-40f0-b45e-116a7731bc57" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_d2c13e84-e5f3-4b57-a04c-1223c85494f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_780f8536-0f0d-43bc-872d-3a24cd21d8a1" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_d2c13e84-e5f3-4b57-a04c-1223c85494f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_350343bc-138f-4867-9715-65026b3436f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_780f8536-0f0d-43bc-872d-3a24cd21d8a1" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_350343bc-138f-4867-9715-65026b3436f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_dea6721d-bdbe-4bde-bb31-5ae083dec17b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_780f8536-0f0d-43bc-872d-3a24cd21d8a1" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_dea6721d-bdbe-4bde-bb31-5ae083dec17b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_7bbefaa1-ae10-4672-816a-00e15f77f8fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_780f8536-0f0d-43bc-872d-3a24cd21d8a1" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_7bbefaa1-ae10-4672-816a-00e15f77f8fb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_638e6064-3b0e-4db7-9974-a665cb3cb582" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_780f8536-0f0d-43bc-872d-3a24cd21d8a1" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_638e6064-3b0e-4db7-9974-a665cb3cb582" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesCreditCardandOtherConsumerCreditQualityIndicatorsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesCreditCardandOtherConsumerCreditQualityIndicatorsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesCreditCardandOtherConsumerCreditQualityIndicatorsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0d237123-01e0-4e70-9097-7c222ea9f6f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0d237123-01e0-4e70-9097-7c222ea9f6f0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_432495fb-844d-447d-8f42-55ced9be8d50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0d237123-01e0-4e70-9097-7c222ea9f6f0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_432495fb-844d-447d-8f42-55ced9be8d50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_432495fb-844d-447d-8f42-55ced9be8d50_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_432495fb-844d-447d-8f42-55ced9be8d50" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_432495fb-844d-447d-8f42-55ced9be8d50_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_605e9863-39f0-4ff1-835f-a802b5ecf230" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_432495fb-844d-447d-8f42-55ced9be8d50" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_605e9863-39f0-4ff1-835f-a802b5ecf230" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardandDirectIndirectConsumerMember_f16d3272-d58b-48e8-b4a7-2af8d5ed5f74" xlink:href="bac-20251231.xsd#bac_CreditCardandDirectIndirectConsumerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_605e9863-39f0-4ff1-835f-a802b5ecf230" xlink:to="loc_bac_CreditCardandDirectIndirectConsumerMember_f16d3272-d58b-48e8-b4a7-2af8d5ed5f74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2e1536cc-1b17-4d54-ada8-a4386a335e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0d237123-01e0-4e70-9097-7c222ea9f6f0" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2e1536cc-1b17-4d54-ada8-a4386a335e0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2e1536cc-1b17-4d54-ada8-a4386a335e0e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2e1536cc-1b17-4d54-ada8-a4386a335e0e" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2e1536cc-1b17-4d54-ada8-a4386a335e0e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3e048135-c41b-4f3a-90b4-c741219b1fd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2e1536cc-1b17-4d54-ada8-a4386a335e0e" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3e048135-c41b-4f3a-90b4-c741219b1fd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DirectandIndirectFinancingReceivableMember_77f08097-6a34-4e4a-846d-3314ac676088" xlink:href="bac-20251231.xsd#bac_DirectandIndirectFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3e048135-c41b-4f3a-90b4-c741219b1fd8" xlink:to="loc_bac_DirectandIndirectFinancingReceivableMember_77f08097-6a34-4e4a-846d-3314ac676088" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditCardReceivablesMember_772529c2-c35f-41eb-90d3-b101d4c2f67c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditCardReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3e048135-c41b-4f3a-90b4-c741219b1fd8" xlink:to="loc_us-gaap_CreditCardReceivablesMember_772529c2-c35f-41eb-90d3-b101d4c2f67c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoAxis_5e869107-343a-4629-b292-d065213269e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0d237123-01e0-4e70-9097-7c222ea9f6f0" xlink:to="loc_us-gaap_CreditScoreFicoAxis_5e869107-343a-4629-b292-d065213269e5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoDomain_5e869107-343a-4629-b292-d065213269e5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditScoreFicoAxis_5e869107-343a-4629-b292-d065213269e5" xlink:to="loc_us-gaap_CreditScoreFicoDomain_5e869107-343a-4629-b292-d065213269e5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoDomain_23c7ef15-30e3-4524-8ff9-c2cec13815e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditScoreFicoAxis_5e869107-343a-4629-b292-d065213269e5" xlink:to="loc_us-gaap_CreditScoreFicoDomain_23c7ef15-30e3-4524-8ff9-c2cec13815e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreLessThan620Member_7e86e576-f6a2-46d6-babb-8489bb183954" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreLessThan620Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_23c7ef15-30e3-4524-8ff9-c2cec13815e0" xlink:to="loc_bac_RefreshedFICOScoreLessThan620Member_7e86e576-f6a2-46d6-babb-8489bb183954" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreBetween620And660Member_cd90e8fa-0404-4fb9-9119-c4641b8b3024" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreBetween620And660Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_23c7ef15-30e3-4524-8ff9-c2cec13815e0" xlink:to="loc_bac_RefreshedFICOScoreBetween620And660Member_cd90e8fa-0404-4fb9-9119-c4641b8b3024" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreBetween660And740Member_605f770d-8a95-4335-adf0-08c0a2024fad" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreBetween660And740Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_23c7ef15-30e3-4524-8ff9-c2cec13815e0" xlink:to="loc_bac_RefreshedFICOScoreBetween660And740Member_605f770d-8a95-4335-adf0-08c0a2024fad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member_e0ff7dbd-f2e3-4bf9-82e6-c410c2b58368" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_23c7ef15-30e3-4524-8ff9-c2cec13815e0" xlink:to="loc_bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member_e0ff7dbd-f2e3-4bf9-82e6-c410c2b58368" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherInternalCreditMetricsMember_41b6b7f6-16ff-48f1-9f62-7e1388f4d043" xlink:href="bac-20251231.xsd#bac_OtherInternalCreditMetricsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_23c7ef15-30e3-4524-8ff9-c2cec13815e0" xlink:to="loc_bac_OtherInternalCreditMetricsMember_41b6b7f6-16ff-48f1-9f62-7e1388f4d043" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_1a7c1394-af38-45bb-8b98-9ae8bcc931c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_1a7c1394-af38-45bb-8b98-9ae8bcc931c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_583f9cda-1d74-4d8b-b277-5df4ed47e995" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_583f9cda-1d74-4d8b-b277-5df4ed47e995" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_35723526-3bcb-42bc-b533-3013f548d8a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_35723526-3bcb-42bc-b533-3013f548d8a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_641ea23f-73b6-4f5e-8843-d23710dc0802" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_641ea23f-73b6-4f5e-8843-d23710dc0802" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_5a8dc29b-5f64-4aa6-9412-58b6cf0abe17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_5a8dc29b-5f64-4aa6-9412-58b6cf0abe17" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_3b59f640-aaf2-436f-bb8c-8fabf4a77a22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_3b59f640-aaf2-436f-bb8c-8fabf4a77a22" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_861ab5d6-3ddf-4944-b094-32518301db5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_861ab5d6-3ddf-4944-b094-32518301db5c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_c2e24bd8-0770-4bba-9f31-3bde8697ed03" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_c2e24bd8-0770-4bba-9f31-3bde8697ed03" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestRevolvingAndRevolvingConvertedToTermLoan_cbae53be-adcb-4a2d-9454-8755f261ad47" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestRevolvingAndRevolvingConvertedToTermLoan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestRevolvingAndRevolvingConvertedToTermLoan_cbae53be-adcb-4a2d-9454-8755f261ad47" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_7eb2e68c-b5ec-42f8-8cd5-6e217fb33119" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_a37a2d3f-4e8f-4041-a45e-282149562517" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_a37a2d3f-4e8f-4041-a45e-282149562517" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_c97481b5-0651-4d2a-a327-cc975fc4d750" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_c97481b5-0651-4d2a-a327-cc975fc4d750" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_cb3a7510-16b6-4b89-a21a-1d2e23b6f0fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_cb3a7510-16b6-4b89-a21a-1d2e23b6f0fc" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_73a2c1f0-257d-4386-ba53-c347424535bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_73a2c1f0-257d-4386-ba53-c347424535bb" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_b04bec5a-2173-45a4-a71d-0b6b767e8c5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_b04bec5a-2173-45a4-a71d-0b6b767e8c5b" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_d9f4bec6-0cc8-4943-9c7d-dc2641116c40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_d9f4bec6-0cc8-4943-9c7d-dc2641116c40" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_ec429f4b-8296-4584-bae4-040eb809cb73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_ec429f4b-8296-4584-bae4-040eb809cb73" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_f412ad54-c955-4df6-b261-02d4d41edcf8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_f412ad54-c955-4df6-b261-02d4d41edcf8" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_2c2e8cd0-8f6c-40a4-b00e-5418b527f2bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_2c2e8cd0-8f6c-40a4-b00e-5418b527f2bf" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestRevolvingAndRevolvingConvertedToTermLoanWriteoff_45d5341f-1f3f-417c-98fc-dff35c735561" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestRevolvingAndRevolvingConvertedToTermLoanWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestRevolvingAndRevolvingConvertedToTermLoanWriteoff_45d5341f-1f3f-417c-98fc-dff35c735561" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_9604a898-37c0-490b-9f72-edad133a3145" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_19835906-71e6-472d-a7d7-ab8dc5f93185" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_19835906-71e6-472d-a7d7-ab8dc5f93185" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableSecuritiesBasedLendingOvercollateralized_f6c7c3a3-87a9-419d-bda7-6d657245c5e4" xlink:href="bac-20251231.xsd#bac_FinancingReceivableSecuritiesBasedLendingOvercollateralized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_1b71f40d-4175-477b-9c3a-c6909a017b92" xlink:to="loc_bac_FinancingReceivableSecuritiesBasedLendingOvercollateralized_f6c7c3a3-87a9-419d-bda7-6d657245c5e4" xlink:type="arc" order="22"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesCommercialCreditQualityIndicatorsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesCommercialCreditQualityIndicatorsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesCommercialCreditQualityIndicatorsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_8a903aa6-3463-423a-8838-eb074730dcca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_8a903aa6-3463-423a-8838-eb074730dcca" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_4e5a71fe-5c77-4984-9c52-d2a99d6a04dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_8a903aa6-3463-423a-8838-eb074730dcca" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_4e5a71fe-5c77-4984-9c52-d2a99d6a04dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4e5a71fe-5c77-4984-9c52-d2a99d6a04dc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_4e5a71fe-5c77-4984-9c52-d2a99d6a04dc" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4e5a71fe-5c77-4984-9c52-d2a99d6a04dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_aa4e7f34-0dbc-423c-9262-933eafd0aefd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_4e5a71fe-5c77-4984-9c52-d2a99d6a04dc" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_aa4e7f34-0dbc-423c-9262-933eafd0aefd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_bf57ea2f-f090-45b1-98ef-b518b39cfe81" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_aa4e7f34-0dbc-423c-9262-933eafd0aefd" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_bf57ea2f-f090-45b1-98ef-b518b39cfe81" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_816d2f6f-8b5b-4a79-9429-f60ad828e9ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_8a903aa6-3463-423a-8838-eb074730dcca" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_816d2f6f-8b5b-4a79-9429-f60ad828e9ad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_816d2f6f-8b5b-4a79-9429-f60ad828e9ad_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_816d2f6f-8b5b-4a79-9429-f60ad828e9ad" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_816d2f6f-8b5b-4a79-9429-f60ad828e9ad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18a26404-c5ba-4ccc-bf01-b3563b4027f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_816d2f6f-8b5b-4a79-9429-f60ad828e9ad" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18a26404-c5ba-4ccc-bf01-b3563b4027f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateLoanMember_73b25831-c789-455a-bdd4-919bc25b9787" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18a26404-c5ba-4ccc-bf01-b3563b4027f3" xlink:to="loc_us-gaap_RealEstateLoanMember_73b25831-c789-455a-bdd4-919bc25b9787" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LeaseFinancingMember_198590e6-bd03-4996-a246-cc51fc4624e4" xlink:href="bac-20251231.xsd#bac_LeaseFinancingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18a26404-c5ba-4ccc-bf01-b3563b4027f3" xlink:to="loc_bac_LeaseFinancingMember_198590e6-bd03-4996-a246-cc51fc4624e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SmallBusinessFinancingReceivableMember_f40b2476-3526-4b9a-90af-3c1d412cc888" xlink:href="bac-20251231.xsd#bac_SmallBusinessFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18a26404-c5ba-4ccc-bf01-b3563b4027f3" xlink:to="loc_bac_SmallBusinessFinancingReceivableMember_f40b2476-3526-4b9a-90af-3c1d412cc888" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TermLoansMember_c9a97180-9afc-4324-8dfd-766b9d777399" xlink:href="bac-20251231.xsd#bac_TermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18a26404-c5ba-4ccc-bf01-b3563b4027f3" xlink:to="loc_bac_TermLoansMember_c9a97180-9afc-4324-8dfd-766b9d777399" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SmallBusinessCardLoansMember_46c76c56-a29b-4af9-8cf2-6d8342db15f9" xlink:href="bac-20251231.xsd#bac_SmallBusinessCardLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18a26404-c5ba-4ccc-bf01-b3563b4027f3" xlink:to="loc_bac_SmallBusinessCardLoansMember_46c76c56-a29b-4af9-8cf2-6d8342db15f9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_872c0479-3693-4f43-bf88-4c26ba0d10ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_8a903aa6-3463-423a-8838-eb074730dcca" xlink:to="loc_us-gaap_GeographicDistributionAxis_872c0479-3693-4f43-bf88-4c26ba0d10ec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_872c0479-3693-4f43-bf88-4c26ba0d10ec_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_872c0479-3693-4f43-bf88-4c26ba0d10ec" xlink:to="loc_us-gaap_GeographicDistributionDomain_872c0479-3693-4f43-bf88-4c26ba0d10ec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_31fd03a9-c547-44d2-b5c6-30e81c93d78a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_872c0479-3693-4f43-bf88-4c26ba0d10ec" xlink:to="loc_us-gaap_GeographicDistributionDomain_31fd03a9-c547-44d2-b5c6-30e81c93d78a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_a261752c-4de0-4459-9adb-bc4970cf4fea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_31fd03a9-c547-44d2-b5c6-30e81c93d78a" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_a261752c-4de0-4459-9adb-bc4970cf4fea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionForeignMember_3ebd153e-3619-4ca0-9d4a-0584af98e6fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_31fd03a9-c547-44d2-b5c6-30e81c93d78a" xlink:to="loc_us-gaap_GeographicDistributionForeignMember_3ebd153e-3619-4ca0-9d4a-0584af98e6fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoAxis_524d46d7-8a12-4a4c-97b3-cc0e6e602af4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_8a903aa6-3463-423a-8838-eb074730dcca" xlink:to="loc_us-gaap_CreditScoreFicoAxis_524d46d7-8a12-4a4c-97b3-cc0e6e602af4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoDomain_524d46d7-8a12-4a4c-97b3-cc0e6e602af4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditScoreFicoAxis_524d46d7-8a12-4a4c-97b3-cc0e6e602af4" xlink:to="loc_us-gaap_CreditScoreFicoDomain_524d46d7-8a12-4a4c-97b3-cc0e6e602af4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditScoreFicoDomain_8bfc4ffd-bcba-431a-a3eb-22838df771ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditScoreFicoDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditScoreFicoAxis_524d46d7-8a12-4a4c-97b3-cc0e6e602af4" xlink:to="loc_us-gaap_CreditScoreFicoDomain_8bfc4ffd-bcba-431a-a3eb-22838df771ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreLessThan620Member_aa7b5de6-d71b-49e5-9515-a7c6a8e84da9" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreLessThan620Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_8bfc4ffd-bcba-431a-a3eb-22838df771ce" xlink:to="loc_bac_RefreshedFICOScoreLessThan620Member_aa7b5de6-d71b-49e5-9515-a7c6a8e84da9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreBetween620And660Member_15764fb9-16ae-456a-9d76-9c350794c28e" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreBetween620And660Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_8bfc4ffd-bcba-431a-a3eb-22838df771ce" xlink:to="loc_bac_RefreshedFICOScoreBetween620And660Member_15764fb9-16ae-456a-9d76-9c350794c28e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreBetween660And740Member_6bab9f7a-7e8b-432f-9a0a-d27dce62ea2a" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreBetween660And740Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_8bfc4ffd-bcba-431a-a3eb-22838df771ce" xlink:to="loc_bac_RefreshedFICOScoreBetween660And740Member_6bab9f7a-7e8b-432f-9a0a-d27dce62ea2a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member_6babbb58-31d8-4c85-837c-b91290031ed8" xlink:href="bac-20251231.xsd#bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditScoreFicoDomain_8bfc4ffd-bcba-431a-a3eb-22838df771ce" xlink:to="loc_bac_RefreshedFICOScoreGreaterThanOrEqualTo740Member_6babbb58-31d8-4c85-837c-b91290031ed8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_88e63b19-06c4-4e50-a5f7-a32190f3f095" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_8a903aa6-3463-423a-8838-eb074730dcca" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_88e63b19-06c4-4e50-a5f7-a32190f3f095" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_88e63b19-06c4-4e50-a5f7-a32190f3f095_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_88e63b19-06c4-4e50-a5f7-a32190f3f095" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_88e63b19-06c4-4e50-a5f7-a32190f3f095_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_cf04984e-a352-4a15-9141-35e2506ec5af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_88e63b19-06c4-4e50-a5f7-a32190f3f095" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_cf04984e-a352-4a15-9141-35e2506ec5af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PassMember_10a658f1-2bc5-4d5b-b8d8-18f25f49f215" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PassMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_cf04984e-a352-4a15-9141-35e2506ec5af" xlink:to="loc_us-gaap_PassMember_10a658f1-2bc5-4d5b-b8d8-18f25f49f215" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CriticizedMember_aa799d4a-2e33-4434-89fc-c3d8be1e5b37" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CriticizedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_cf04984e-a352-4a15-9141-35e2506ec5af" xlink:to="loc_us-gaap_CriticizedMember_aa799d4a-2e33-4434-89fc-c3d8be1e5b37" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_cb108648-3c66-4694-96ad-50d3efa13334" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_8a903aa6-3463-423a-8838-eb074730dcca" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_cb108648-3c66-4694-96ad-50d3efa13334" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_cb108648-3c66-4694-96ad-50d3efa13334_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_cb108648-3c66-4694-96ad-50d3efa13334" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_cb108648-3c66-4694-96ad-50d3efa13334_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_37e50f07-99fb-4f31-a015-d1bce675fbb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_cb108648-3c66-4694-96ad-50d3efa13334" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_37e50f07-99fb-4f31-a015-d1bce675fbb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_445058e9-da6b-4552-b943-ad82edb1eeca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_37e50f07-99fb-4f31-a015-d1bce675fbb5" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_445058e9-da6b-4552-b943-ad82edb1eeca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_5478978c-5f2c-499c-906c-e5ca02f1bdd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_445058e9-da6b-4552-b943-ad82edb1eeca" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_5478978c-5f2c-499c-906c-e5ca02f1bdd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_97ddac55-2bad-4d3a-bc44-f7c9d1f4a6e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_97ddac55-2bad-4d3a-bc44-f7c9d1f4a6e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_5579e5b7-e3ca-484f-ae2b-386325ca4918" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_5579e5b7-e3ca-484f-ae2b-386325ca4918" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_a2136d49-d15d-49b9-9ebf-e5eee96c660b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_a2136d49-d15d-49b9-9ebf-e5eee96c660b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_2d2e2485-2bde-4b1f-a0e0-4b83f7347627" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_2d2e2485-2bde-4b1f-a0e0-4b83f7347627" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_c2a6fe01-db34-42e5-9ee0-a0dc7b1a1bdc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_c2a6fe01-db34-42e5-9ee0-a0dc7b1a1bdc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_9a133306-e09c-4f8d-81a3-06b3181ae26d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_9a133306-e09c-4f8d-81a3-06b3181ae26d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_da22675a-125b-4b25-80a7-5dc768b7ad3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_da22675a-125b-4b25-80a7-5dc768b7ad3b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_bd58be0b-a337-4a9e-a85b-fe85e9db7fbb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_bd58be0b-a337-4a9e-a85b-fe85e9db7fbb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_66eb6b12-06bc-455f-96a0-9b52a67f1e84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_66eb6b12-06bc-455f-96a0-9b52a67f1e84" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_4ee7b200-8cfa-4880-9bca-9fd7110a3a4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_4ee7b200-8cfa-4880-9bca-9fd7110a3a4c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_5bf9292f-238b-4cb4-a60c-5c0ef6970e28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_5bf9292f-238b-4cb4-a60c-5c0ef6970e28" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_8d3a1972-98d7-411f-bdce-5a3d2cf740e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_8d3a1972-98d7-411f-bdce-5a3d2cf740e7" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_8a257454-e2bb-4d04-beb5-3e529a172a83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_8a257454-e2bb-4d04-beb5-3e529a172a83" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_cd210faa-a3a1-4ed3-bccc-d3a40bf61b55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_cd210faa-a3a1-4ed3-bccc-d3a40bf61b55" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_4c323805-42b2-4b9a-a43a-6a6c61878b78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_4c323805-42b2-4b9a-a43a-6a6c61878b78" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_bf111597-06ab-409c-a5e2-01e4bf3bab32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_6b45b2c2-7655-417b-ba49-729bd516618c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_bf111597-06ab-409c-a5e2-01e4bf3bab32" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesLoanModificationstoBorrowersinFinancialDifficultyNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesLoanModificationstoBorrowersinFinancialDifficultyNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesLoanModificationstoBorrowersinFinancialDifficultyNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModificationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_427ca433-306c-4f09-ac82-71406b78fb9e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_427ca433-306c-4f09-ac82-71406b78fb9e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0c3ef6a1-34f8-4b45-a384-5311fea4fbc8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_427ca433-306c-4f09-ac82-71406b78fb9e" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0c3ef6a1-34f8-4b45-a384-5311fea4fbc8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_0c3ef6a1-34f8-4b45-a384-5311fea4fbc8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0c3ef6a1-34f8-4b45-a384-5311fea4fbc8" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_0c3ef6a1-34f8-4b45-a384-5311fea4fbc8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4318f450-aba7-4547-a7e3-07570d54db3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0c3ef6a1-34f8-4b45-a384-5311fea4fbc8" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4318f450-aba7-4547-a7e3-07570d54db3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_24abad4c-41d4-4f6c-8ad3-21991c6dd57d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4318f450-aba7-4547-a7e3-07570d54db3e" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_24abad4c-41d4-4f6c-8ad3-21991c6dd57d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardandOtherConsumerPortfolioSegmentMember_e78e5fbd-f030-4e2e-8bac-bdb6cfe64959" xlink:href="bac-20251231.xsd#bac_CreditCardandOtherConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4318f450-aba7-4547-a7e3-07570d54db3e" xlink:to="loc_bac_CreditCardandOtherConsumerPortfolioSegmentMember_e78e5fbd-f030-4e2e-8bac-bdb6cfe64959" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_390fe3e5-297d-4513-a984-48df97cb6d26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4318f450-aba7-4547-a7e3-07570d54db3e" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_390fe3e5-297d-4513-a984-48df97cb6d26" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_c29bf8e0-7311-4a64-abdc-4e2da2fe1115" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_427ca433-306c-4f09-ac82-71406b78fb9e" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_c29bf8e0-7311-4a64-abdc-4e2da2fe1115" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c29bf8e0-7311-4a64-abdc-4e2da2fe1115_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_c29bf8e0-7311-4a64-abdc-4e2da2fe1115" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c29bf8e0-7311-4a64-abdc-4e2da2fe1115_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8a4e4076-e13b-4ee8-a1e9-b5d5d0926881" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_c29bf8e0-7311-4a64-abdc-4e2da2fe1115" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8a4e4076-e13b-4ee8-a1e9-b5d5d0926881" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResidentialMortgageAndHomeEquityLoanMember_9a3e60ff-e02e-467a-8c7b-1dbff108c451" xlink:href="bac-20251231.xsd#bac_ResidentialMortgageAndHomeEquityLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8a4e4076-e13b-4ee8-a1e9-b5d5d0926881" xlink:to="loc_bac_ResidentialMortgageAndHomeEquityLoanMember_9a3e60ff-e02e-467a-8c7b-1dbff108c451" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_38dee945-cac9-4b4e-8fd2-e2374d3ff72d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_ResidentialMortgageAndHomeEquityLoanMember_9a3e60ff-e02e-467a-8c7b-1dbff108c451" xlink:to="loc_us-gaap_ResidentialMortgageMember_38dee945-cac9-4b4e-8fd2-e2374d3ff72d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityLoanMember_dd6aa95a-3c25-4302-bf4c-96d56268c443" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_ResidentialMortgageAndHomeEquityLoanMember_9a3e60ff-e02e-467a-8c7b-1dbff108c451" xlink:to="loc_us-gaap_HomeEquityLoanMember_dd6aa95a-3c25-4302-bf4c-96d56268c443" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialLoanMember_5965a985-0233-44b3-b7fe-d5620f562739" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8a4e4076-e13b-4ee8-a1e9-b5d5d0926881" xlink:to="loc_us-gaap_CommercialLoanMember_5965a985-0233-44b3-b7fe-d5620f562739" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis_0829f4e9-9d0c-4f14-967a-aa7d4b6cd398" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_427ca433-306c-4f09-ac82-71406b78fb9e" xlink:to="loc_us-gaap_LoanRestructuringModificationAxis_0829f4e9-9d0c-4f14-967a-aa7d4b6cd398" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_0829f4e9-9d0c-4f14-967a-aa7d4b6cd398_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_0829f4e9-9d0c-4f14-967a-aa7d4b6cd398" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_0829f4e9-9d0c-4f14-967a-aa7d4b6cd398_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_0829f4e9-9d0c-4f14-967a-aa7d4b6cd398" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TrialModificationsMember_e5a668e2-9676-40f8-ab84-24b6cfa16570" xlink:href="bac-20251231.xsd#bac_TrialModificationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:to="loc_bac_TrialModificationsMember_e5a668e2-9676-40f8-ab84-24b6cfa16570" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PermanentModificationsMember_5dc32028-0b64-4f4b-a9d8-db206c48fe3b" xlink:href="bac-20251231.xsd#bac_PermanentModificationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:to="loc_bac_PermanentModificationsMember_5dc32028-0b64-4f4b-a9d8-db206c48fe3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualInterestRateReductionMember_8783f509-406c-4660-82c9-2161c3209b4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualInterestRateReductionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:to="loc_us-gaap_ContractualInterestRateReductionMember_8783f509-406c-4660-82c9-2161c3209b4e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrincipalForgivenessMember_92fffd00-4c47-47dd-b19a-4fd4f2ffa1cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrincipalForgivenessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:to="loc_us-gaap_PrincipalForgivenessMember_92fffd00-4c47-47dd-b19a-4fd4f2ffa1cc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForbearanceAndOtherPaymentPlansMember_2a465ff8-94e4-4f95-8c99-d59d73b9eb76" xlink:href="bac-20251231.xsd#bac_ForbearanceAndOtherPaymentPlansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:to="loc_bac_ForbearanceAndOtherPaymentPlansMember_2a465ff8-94e4-4f95-8c99-d59d73b9eb76" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForbearanceProgramMember_d5add03e-a38b-46c1-8435-3c56bd3aa24f" xlink:href="bac-20251231.xsd#bac_ForbearanceProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:to="loc_bac_ForbearanceProgramMember_d5add03e-a38b-46c1-8435-3c56bd3aa24f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentDeferralMember_314f5c06-89be-4242-b6d0-52987ea06149" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentDeferralMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_50c7178e-7677-465a-a468-fcda6d41ac70" xlink:to="loc_us-gaap_PaymentDeferralMember_314f5c06-89be-4242-b6d0-52987ea06149" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_9d87c19b-f2ff-480f-a646-caa913e56413" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_427ca433-306c-4f09-ac82-71406b78fb9e" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_9d87c19b-f2ff-480f-a646-caa913e56413" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9d87c19b-f2ff-480f-a646-caa913e56413_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_9d87c19b-f2ff-480f-a646-caa913e56413" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9d87c19b-f2ff-480f-a646-caa913e56413_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_7e45bada-13fb-4cec-ba39-580392b3e95c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_9d87c19b-f2ff-480f-a646-caa913e56413" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_7e45bada-13fb-4cec-ba39-580392b3e95c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialAssetNotPastDueMember_36193771-0789-44de-b3ca-2d93497b878d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialAssetNotPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_7e45bada-13fb-4cec-ba39-580392b3e95c" xlink:to="loc_us-gaap_FinancialAssetNotPastDueMember_36193771-0789-44de-b3ca-2d93497b878d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancialAsset30To89DaysPastDueMember_779fd643-3a62-4e30-84f2-654563ec2643" xlink:href="bac-20251231.xsd#bac_FinancialAsset30To89DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_7e45bada-13fb-4cec-ba39-580392b3e95c" xlink:to="loc_bac_FinancialAsset30To89DaysPastDueMember_779fd643-3a62-4e30-84f2-654563ec2643" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_98c0cf7b-b485-4cb5-814a-4f16c0782568" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_7e45bada-13fb-4cec-ba39-580392b3e95c" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_98c0cf7b-b485-4cb5-814a-4f16c0782568" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_3787728e-12db-4a16-9204-778ee52fe515" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_427ca433-306c-4f09-ac82-71406b78fb9e" xlink:to="loc_srt_RangeAxis_3787728e-12db-4a16-9204-778ee52fe515" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_3787728e-12db-4a16-9204-778ee52fe515_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_3787728e-12db-4a16-9204-778ee52fe515" xlink:to="loc_srt_RangeMember_3787728e-12db-4a16-9204-778ee52fe515_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_8d2815d9-0584-4bf9-bc30-e8e99fb6c3b1" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_3787728e-12db-4a16-9204-778ee52fe515" xlink:to="loc_srt_RangeMember_8d2815d9-0584-4bf9-bc30-e8e99fb6c3b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_dd123e4f-feac-4c6c-be0a-3c24795cb9e8" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_8d2815d9-0584-4bf9-bc30-e8e99fb6c3b1" xlink:to="loc_srt_MinimumMember_dd123e4f-feac-4c6c-be0a-3c24795cb9e8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2451f6e2-c7d9-4d9c-9d8a-9b3dd5a2e79f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_8d2815d9-0584-4bf9-bc30-e8e99fb6c3b1" xlink:to="loc_srt_MaximumMember_2451f6e2-c7d9-4d9c-9d8a-9b3dd5a2e79f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_7a176865-33e2-4c85-8aaa-20440ee7bfa0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_427ca433-306c-4f09-ac82-71406b78fb9e" xlink:to="loc_us-gaap_GeographicDistributionAxis_7a176865-33e2-4c85-8aaa-20440ee7bfa0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_7a176865-33e2-4c85-8aaa-20440ee7bfa0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_7a176865-33e2-4c85-8aaa-20440ee7bfa0" xlink:to="loc_us-gaap_GeographicDistributionDomain_7a176865-33e2-4c85-8aaa-20440ee7bfa0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_0aab6946-b72a-4b0e-81e0-f46b2cc32c00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_7a176865-33e2-4c85-8aaa-20440ee7bfa0" xlink:to="loc_us-gaap_GeographicDistributionDomain_0aab6946-b72a-4b0e-81e0-f46b2cc32c00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_eb00f150-d459-4263-956c-e8dfc4de211c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_0aab6946-b72a-4b0e-81e0-f46b2cc32c00" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_eb00f150-d459-4263-956c-e8dfc4de211c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableModifiedTerm_c14429d3-5494-481e-b8c6-41f88cdb6eab" xlink:href="bac-20251231.xsd#bac_FinancingReceivableModifiedTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_bac_FinancingReceivableModifiedTerm_c14429d3-5494-481e-b8c6-41f88cdb6eab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableModifiedTermExtensionGranted_23f2e45d-1a41-4b79-a0e1-3856b2cf4cf1" xlink:href="bac-20251231.xsd#bac_FinancingReceivableModifiedTermExtensionGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_bac_FinancingReceivableModifiedTermExtensionGranted_23f2e45d-1a41-4b79-a0e1-3856b2cf4cf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1_019b27b9-b0cb-7bf2-a044-b1ee917911e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1_019b27b9-b0cb-7bf2-a044-b1ee917911e9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_e3d15771-96a6-4255-966f-2f31ef0cfcb2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_e3d15771-96a6-4255-966f-2f31ef0cfcb2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableLoansWithFormalForeclosureProceedingInProcess_e97b22aa-7b40-42b6-972b-843b2ac2b677" xlink:href="bac-20251231.xsd#bac_FinancingReceivableLoansWithFormalForeclosureProceedingInProcess"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_bac_FinancingReceivableLoansWithFormalForeclosureProceedingInProcess_e97b22aa-7b40-42b6-972b-843b2ac2b677" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NoncashInvestingAndFinancingActivitiesReclassificationsOutOfLoansAndLeasesReceivable_07dd26bb-4a7d-4b58-b3fa-1c6a6d2c9a98" xlink:href="bac-20251231.xsd#bac_NoncashInvestingAndFinancingActivitiesReclassificationsOutOfLoansAndLeasesReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_bac_NoncashInvestingAndFinancingActivitiesReclassificationsOutOfLoansAndLeasesReceivable_07dd26bb-4a7d-4b58-b3fa-1c6a6d2c9a98" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod_670b6954-7e1b-42c9-8802-b1dc5ede9351" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod_670b6954-7e1b-42c9-8802-b1dc5ede9351" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesExcludingAccruedInterestPercent_20b5410c-ffa7-4d0c-bcf5-85eea596c5a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesExcludingAccruedInterestPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesExcludingAccruedInterestPercent_20b5410c-ffa7-4d0c-bcf5-85eea596c5a6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification_dbb91049-0ea4-46b9-b58f-c27065505356" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification_dbb91049-0ea4-46b9-b58f-c27065505356" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPast12Months_f25dbd97-2573-4dac-9808-3e695fdd9f37" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPast12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_3c370044-ca13-48b9-b63e-e153cefa3456" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPast12Months_f25dbd97-2573-4dac-9808-3e695fdd9f37" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesModificationstoBorrowersinFinancialDifficultyandFinancialEffectofModifiedLoansDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesModificationstoBorrowersinFinancialDifficultyandFinancialEffectofModifiedLoansDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesModificationstoBorrowersinFinancialDifficultyandFinancialEffectofModifiedLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_bd496484-b857-4a18-a214-a8851b6039bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModificationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_9df2af18-67ce-4977-b850-b2056118f34d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_bd496484-b857-4a18-a214-a8851b6039bf" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_9df2af18-67ce-4977-b850-b2056118f34d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_b3091ba9-27ac-4893-9415-900f04f3f459" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_9df2af18-67ce-4977-b850-b2056118f34d" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_b3091ba9-27ac-4893-9415-900f04f3f459" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_b3091ba9-27ac-4893-9415-900f04f3f459_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_b3091ba9-27ac-4893-9415-900f04f3f459" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_b3091ba9-27ac-4893-9415-900f04f3f459_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_15afe6dc-7b42-49af-8d07-007cfafe0d30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_b3091ba9-27ac-4893-9415-900f04f3f459" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_15afe6dc-7b42-49af-8d07-007cfafe0d30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_bfce4966-25d4-4398-8bd3-eab5a763aa5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_15afe6dc-7b42-49af-8d07-007cfafe0d30" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_bfce4966-25d4-4398-8bd3-eab5a763aa5c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_95010a87-3324-4da0-a644-fcc3af911c1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_15afe6dc-7b42-49af-8d07-007cfafe0d30" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_95010a87-3324-4da0-a644-fcc3af911c1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2017abbe-3201-4c61-9b3a-6f71be2b6d89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_9df2af18-67ce-4977-b850-b2056118f34d" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2017abbe-3201-4c61-9b3a-6f71be2b6d89" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2017abbe-3201-4c61-9b3a-6f71be2b6d89_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2017abbe-3201-4c61-9b3a-6f71be2b6d89" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2017abbe-3201-4c61-9b3a-6f71be2b6d89_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_9206f506-c294-4258-b66d-43fc1c3ab8a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2017abbe-3201-4c61-9b3a-6f71be2b6d89" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_9206f506-c294-4258-b66d-43fc1c3ab8a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_7e21a65c-3aae-4fc6-9aa8-f9995d6cfeb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_9206f506-c294-4258-b66d-43fc1c3ab8a7" xlink:to="loc_us-gaap_ResidentialMortgageMember_7e21a65c-3aae-4fc6-9aa8-f9995d6cfeb3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityLoanMember_d4b0c155-a5a6-4f01-8055-18066d89d4c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_9206f506-c294-4258-b66d-43fc1c3ab8a7" xlink:to="loc_us-gaap_HomeEquityLoanMember_d4b0c155-a5a6-4f01-8055-18066d89d4c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateLoanMember_99f407be-412c-481c-afa3-c35a3a319d0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_9206f506-c294-4258-b66d-43fc1c3ab8a7" xlink:to="loc_us-gaap_RealEstateLoanMember_99f407be-412c-481c-afa3-c35a3a319d0a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis_b6f7771b-fd98-4ec8-b209-84431f267aa5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_9df2af18-67ce-4977-b850-b2056118f34d" xlink:to="loc_us-gaap_LoanRestructuringModificationAxis_b6f7771b-fd98-4ec8-b209-84431f267aa5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_b6f7771b-fd98-4ec8-b209-84431f267aa5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_b6f7771b-fd98-4ec8-b209-84431f267aa5" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_b6f7771b-fd98-4ec8-b209-84431f267aa5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_8ca5e210-7a80-4c7f-a89f-323a818a3c0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_b6f7771b-fd98-4ec8-b209-84431f267aa5" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_8ca5e210-7a80-4c7f-a89f-323a818a3c0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForbearanceAndOtherPaymentPlansMember_320ca70d-f404-4b6b-ad8f-bc08ca931abe" xlink:href="bac-20251231.xsd#bac_ForbearanceAndOtherPaymentPlansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_8ca5e210-7a80-4c7f-a89f-323a818a3c0f" xlink:to="loc_bac_ForbearanceAndOtherPaymentPlansMember_320ca70d-f404-4b6b-ad8f-bc08ca931abe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PermanentModificationsMember_bb08a6c3-2158-4f79-9d32-70fc2834d886" xlink:href="bac-20251231.xsd#bac_PermanentModificationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_8ca5e210-7a80-4c7f-a89f-323a818a3c0f" xlink:to="loc_bac_PermanentModificationsMember_bb08a6c3-2158-4f79-9d32-70fc2834d886" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtendedMaturityMember_a07329f9-8fcc-466c-b36b-b249a515685a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ExtendedMaturityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_8ca5e210-7a80-4c7f-a89f-323a818a3c0f" xlink:to="loc_us-gaap_ExtendedMaturityMember_a07329f9-8fcc-466c-b36b-b249a515685a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentDeferralMember_96db3898-938d-45fc-9991-f5e9feb22c27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentDeferralMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_8ca5e210-7a80-4c7f-a89f-323a818a3c0f" xlink:to="loc_us-gaap_PaymentDeferralMember_96db3898-938d-45fc-9991-f5e9feb22c27" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualInterestRateReductionMember_39b1c6a2-0a73-47d0-9df2-4459e27b9313" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualInterestRateReductionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_8ca5e210-7a80-4c7f-a89f-323a818a3c0f" xlink:to="loc_us-gaap_ContractualInterestRateReductionMember_39b1c6a2-0a73-47d0-9df2-4459e27b9313" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_51eb1b8d-0f65-4931-85de-12d8b0e099aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_9df2af18-67ce-4977-b850-b2056118f34d" xlink:to="loc_us-gaap_GeographicDistributionAxis_51eb1b8d-0f65-4931-85de-12d8b0e099aa" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_51eb1b8d-0f65-4931-85de-12d8b0e099aa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_51eb1b8d-0f65-4931-85de-12d8b0e099aa" xlink:to="loc_us-gaap_GeographicDistributionDomain_51eb1b8d-0f65-4931-85de-12d8b0e099aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_1dd889df-2aa3-4876-ac5a-135831159021" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_51eb1b8d-0f65-4931-85de-12d8b0e099aa" xlink:to="loc_us-gaap_GeographicDistributionDomain_1dd889df-2aa3-4876-ac5a-135831159021" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_c1a17965-5fc8-494f-ad51-8e9dc8e145a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_1dd889df-2aa3-4876-ac5a-135831159021" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_c1a17965-5fc8-494f-ad51-8e9dc8e145a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionForeignMember_d417c4f6-68c5-433e-8a1d-443580225412" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_1dd889df-2aa3-4876-ac5a-135831159021" xlink:to="loc_us-gaap_GeographicDistributionForeignMember_d417c4f6-68c5-433e-8a1d-443580225412" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod_e1c75a65-b0e9-4d2e-8883-b14fa4c4b37a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_bd496484-b857-4a18-a214-a8851b6039bf" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod_e1c75a65-b0e9-4d2e-8883-b14fa4c4b37a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesExcludingAccruedInterestPercent_07132301-d6b7-43ff-8b48-bc062738ad36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesExcludingAccruedInterestPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_bd496484-b857-4a18-a214-a8851b6039bf" xlink:to="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesExcludingAccruedInterestPercent_07132301-d6b7-43ff-8b48-bc062738ad36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_4a7f57d7-cca7-4ef3-b43e-19d8121180aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_bd496484-b857-4a18-a214-a8851b6039bf" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_4a7f57d7-cca7-4ef3-b43e-19d8121180aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification_2018292f-c98c-4a28-88e0-c80b540cdd8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_bd496484-b857-4a18-a214-a8851b6039bf" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification_2018292f-c98c-4a28-88e0-c80b540cdd8e" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesPaymentStatusofModificationstoBorrowersinFinancialDifficultyDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesPaymentStatusofModificationstoBorrowersinFinancialDifficultyDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesPaymentStatusofModificationstoBorrowersinFinancialDifficultyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_e0a40bf7-3d81-4d0f-ad24-a6d632fdab51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModificationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_5afc72ec-1dc0-4d9e-8cb5-18ca30258ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_e0a40bf7-3d81-4d0f-ad24-a6d632fdab51" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_5afc72ec-1dc0-4d9e-8cb5-18ca30258ce8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_d19f011e-c711-4cd7-a485-f0961bbb8265" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_5afc72ec-1dc0-4d9e-8cb5-18ca30258ce8" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_d19f011e-c711-4cd7-a485-f0961bbb8265" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_d19f011e-c711-4cd7-a485-f0961bbb8265_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_d19f011e-c711-4cd7-a485-f0961bbb8265" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_d19f011e-c711-4cd7-a485-f0961bbb8265_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_f1f7ca4d-d0d2-4006-b810-dcf76f24d700" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_d19f011e-c711-4cd7-a485-f0961bbb8265" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_f1f7ca4d-d0d2-4006-b810-dcf76f24d700" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_74dec7ae-dbca-4e78-84f9-b2e6692aba4d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_f1f7ca4d-d0d2-4006-b810-dcf76f24d700" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_74dec7ae-dbca-4e78-84f9-b2e6692aba4d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_0406b215-48ca-490b-8549-82335d4a5ab4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_f1f7ca4d-d0d2-4006-b810-dcf76f24d700" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_0406b215-48ca-490b-8549-82335d4a5ab4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_d5ce1c11-b483-4566-9ebd-3cfe47932c5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_5afc72ec-1dc0-4d9e-8cb5-18ca30258ce8" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_d5ce1c11-b483-4566-9ebd-3cfe47932c5d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_d5ce1c11-b483-4566-9ebd-3cfe47932c5d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_d5ce1c11-b483-4566-9ebd-3cfe47932c5d" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_d5ce1c11-b483-4566-9ebd-3cfe47932c5d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_f64f3dbb-3e9e-4b76-aa5d-3d4bc84e3286" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_d5ce1c11-b483-4566-9ebd-3cfe47932c5d" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_f64f3dbb-3e9e-4b76-aa5d-3d4bc84e3286" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_58428a6a-8578-4007-b4c3-1ccaf3ded72c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_f64f3dbb-3e9e-4b76-aa5d-3d4bc84e3286" xlink:to="loc_us-gaap_ResidentialMortgageMember_58428a6a-8578-4007-b4c3-1ccaf3ded72c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityLoanMember_c15df2ef-3708-4474-b7d7-c5a6cc24a529" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_f64f3dbb-3e9e-4b76-aa5d-3d4bc84e3286" xlink:to="loc_us-gaap_HomeEquityLoanMember_c15df2ef-3708-4474-b7d7-c5a6cc24a529" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateLoanMember_07f50e6a-b0ed-4f39-b5f6-6e014b53d748" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_f64f3dbb-3e9e-4b76-aa5d-3d4bc84e3286" xlink:to="loc_us-gaap_RealEstateLoanMember_07f50e6a-b0ed-4f39-b5f6-6e014b53d748" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_e1331ade-ffe1-46a7-b94a-d74dce68673b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_5afc72ec-1dc0-4d9e-8cb5-18ca30258ce8" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_e1331ade-ffe1-46a7-b94a-d74dce68673b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_e1331ade-ffe1-46a7-b94a-d74dce68673b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_e1331ade-ffe1-46a7-b94a-d74dce68673b" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_e1331ade-ffe1-46a7-b94a-d74dce68673b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_e3b1ca2f-501b-483f-8a4d-554559c009a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_e1331ade-ffe1-46a7-b94a-d74dce68673b" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_e3b1ca2f-501b-483f-8a4d-554559c009a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialAssetNotPastDueMember_4c5d2513-5337-43ab-a3c0-b1a51868e9fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialAssetNotPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_e3b1ca2f-501b-483f-8a4d-554559c009a3" xlink:to="loc_us-gaap_FinancialAssetNotPastDueMember_4c5d2513-5337-43ab-a3c0-b1a51868e9fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancialAsset30To89DaysPastDueMember_b7398526-bed1-4bd9-affd-43861a55002c" xlink:href="bac-20251231.xsd#bac_FinancialAsset30To89DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_e3b1ca2f-501b-483f-8a4d-554559c009a3" xlink:to="loc_bac_FinancialAsset30To89DaysPastDueMember_b7398526-bed1-4bd9-affd-43861a55002c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_732142d4-8c63-415c-99d5-220b63ea7120" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_e3b1ca2f-501b-483f-8a4d-554559c009a3" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_732142d4-8c63-415c-99d5-220b63ea7120" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_4468069e-2f3e-494e-9cb6-62134b916da2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_5afc72ec-1dc0-4d9e-8cb5-18ca30258ce8" xlink:to="loc_us-gaap_GeographicDistributionAxis_4468069e-2f3e-494e-9cb6-62134b916da2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_4468069e-2f3e-494e-9cb6-62134b916da2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_4468069e-2f3e-494e-9cb6-62134b916da2" xlink:to="loc_us-gaap_GeographicDistributionDomain_4468069e-2f3e-494e-9cb6-62134b916da2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_8180933b-271a-4c4a-9907-459724ef3f81" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_4468069e-2f3e-494e-9cb6-62134b916da2" xlink:to="loc_us-gaap_GeographicDistributionDomain_8180933b-271a-4c4a-9907-459724ef3f81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_12ff6682-601c-42c1-adf3-a5d19f87894b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_8180933b-271a-4c4a-9907-459724ef3f81" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_12ff6682-601c-42c1-adf3-a5d19f87894b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionForeignMember_da0866b4-de12-446e-b32f-15201856df52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_8180933b-271a-4c4a-9907-459724ef3f81" xlink:to="loc_us-gaap_GeographicDistributionForeignMember_da0866b4-de12-446e-b32f-15201856df52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPast12Months_2268dbf9-2981-4f85-ac35-55ae2a955ec0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPast12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_e0a40bf7-3d81-4d0f-ad24-a6d632fdab51" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPast12Months_2268dbf9-2981-4f85-ac35-55ae2a955ec0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesCommercialLoansLoansHeldforsaleandAccruedInterestReceivableDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesCommercialLoansLoansHeldforsaleandAccruedInterestReceivableDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesCommercialLoansLoansHeldforsaleandAccruedInterestReceivableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_a40d3267-5a72-42ff-83b0-e222a78ec4e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_a40d3267-5a72-42ff-83b0-e222a78ec4e5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_f48e13a7-152b-421d-8926-8f542f300cb4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_a40d3267-5a72-42ff-83b0-e222a78ec4e5" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_f48e13a7-152b-421d-8926-8f542f300cb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_f48e13a7-152b-421d-8926-8f542f300cb4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_f48e13a7-152b-421d-8926-8f542f300cb4" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_f48e13a7-152b-421d-8926-8f542f300cb4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_88436628-295f-4698-95e4-f8dcc728c89b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_f48e13a7-152b-421d-8926-8f542f300cb4" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_88436628-295f-4698-95e4-f8dcc728c89b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_0fb4041e-4dd9-4bc0-ae70-516155c032d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_88436628-295f-4698-95e4-f8dcc728c89b" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_0fb4041e-4dd9-4bc0-ae70-516155c032d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_48298de7-adf5-40cc-9895-8e6ddd85b99e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_a40d3267-5a72-42ff-83b0-e222a78ec4e5" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_48298de7-adf5-40cc-9895-8e6ddd85b99e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_48298de7-adf5-40cc-9895-8e6ddd85b99e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_48298de7-adf5-40cc-9895-8e6ddd85b99e" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_48298de7-adf5-40cc-9895-8e6ddd85b99e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_16233b3c-154c-4e0f-a2b8-cad51dc8b087" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_48298de7-adf5-40cc-9895-8e6ddd85b99e" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_16233b3c-154c-4e0f-a2b8-cad51dc8b087" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialLoanMember_7e1fd3c2-2f5e-456f-9418-33c3850cb040" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_16233b3c-154c-4e0f-a2b8-cad51dc8b087" xlink:to="loc_us-gaap_CommercialLoanMember_7e1fd3c2-2f5e-456f-9418-33c3850cb040" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardLinesMember_22da1b39-1ccc-4e72-bb25-6c44e66ec28e" xlink:href="bac-20251231.xsd#bac_CreditCardLinesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_16233b3c-154c-4e0f-a2b8-cad51dc8b087" xlink:to="loc_bac_CreditCardLinesMember_22da1b39-1ccc-4e72-bb25-6c44e66ec28e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis_e425d9e5-94e9-4a23-9da0-5418ae6d74c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_a40d3267-5a72-42ff-83b0-e222a78ec4e5" xlink:to="loc_us-gaap_LoanRestructuringModificationAxis_e425d9e5-94e9-4a23-9da0-5418ae6d74c9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_e425d9e5-94e9-4a23-9da0-5418ae6d74c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_e425d9e5-94e9-4a23-9da0-5418ae6d74c9" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_e425d9e5-94e9-4a23-9da0-5418ae6d74c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_0adeb262-aac3-4f22-ba8c-c0791146d1e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_e425d9e5-94e9-4a23-9da0-5418ae6d74c9" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_0adeb262-aac3-4f22-ba8c-c0791146d1e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForbearanceProgramMember_9106f707-66cb-4e86-b969-63a405191475" xlink:href="bac-20251231.xsd#bac_ForbearanceProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_0adeb262-aac3-4f22-ba8c-c0791146d1e1" xlink:to="loc_bac_ForbearanceProgramMember_9106f707-66cb-4e86-b969-63a405191475" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentDeferralMember_d1c89bee-f44e-4b87-b827-625cd3d5b698" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentDeferralMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_0adeb262-aac3-4f22-ba8c-c0791146d1e1" xlink:to="loc_us-gaap_PaymentDeferralMember_d1c89bee-f44e-4b87-b827-625cd3d5b698" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_83e6b5fc-f459-4c80-aed9-b3520b06029e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_a40d3267-5a72-42ff-83b0-e222a78ec4e5" xlink:to="loc_srt_RangeAxis_83e6b5fc-f459-4c80-aed9-b3520b06029e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_83e6b5fc-f459-4c80-aed9-b3520b06029e_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_83e6b5fc-f459-4c80-aed9-b3520b06029e" xlink:to="loc_srt_RangeMember_83e6b5fc-f459-4c80-aed9-b3520b06029e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_eae915f8-01c2-4e80-84b7-1fa56824926d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_83e6b5fc-f459-4c80-aed9-b3520b06029e" xlink:to="loc_srt_RangeMember_eae915f8-01c2-4e80-84b7-1fa56824926d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8990bd4c-ab07-4241-9d15-721130564e23" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_eae915f8-01c2-4e80-84b7-1fa56824926d" xlink:to="loc_srt_MinimumMember_8990bd4c-ab07-4241-9d15-721130564e23" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_4e239b27-4265-4618-ba79-bdcb39ba6b5e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_eae915f8-01c2-4e80-84b7-1fa56824926d" xlink:to="loc_srt_MaximumMember_4e239b27-4265-4618-ba79-bdcb39ba6b5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_4c248e32-cd4e-46f4-95a3-98c16ef75e73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_a40d3267-5a72-42ff-83b0-e222a78ec4e5" xlink:to="loc_us-gaap_GeographicDistributionAxis_4c248e32-cd4e-46f4-95a3-98c16ef75e73" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_4c248e32-cd4e-46f4-95a3-98c16ef75e73_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_4c248e32-cd4e-46f4-95a3-98c16ef75e73" xlink:to="loc_us-gaap_GeographicDistributionDomain_4c248e32-cd4e-46f4-95a3-98c16ef75e73_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_362d4c02-925a-4102-b6b3-6eb81580899a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_4c248e32-cd4e-46f4-95a3-98c16ef75e73" xlink:to="loc_us-gaap_GeographicDistributionDomain_362d4c02-925a-4102-b6b3-6eb81580899a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_a1b58814-119b-4ee6-9e06-97d3691cbee9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_362d4c02-925a-4102-b6b3-6eb81580899a" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_a1b58814-119b-4ee6-9e06-97d3691cbee9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_12d76a19-ef1a-4b2f-8ac3-dff9a82318c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_12d76a19-ef1a-4b2f-8ac3-dff9a82318c7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend_d7e4008d-c9cb-4503-88de-a080d401b6ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend_d7e4008d-c9cb-4503-88de-a080d401b6ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableHeldForSaleExcludingAccruedInterestNotPartOfDisposalGroupAfterValuationAllowance_c161d7fe-e503-4aba-b298-7d169b9ab504" xlink:href="bac-20251231.xsd#bac_FinancingReceivableHeldForSaleExcludingAccruedInterestNotPartOfDisposalGroupAfterValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_bac_FinancingReceivableHeldForSaleExcludingAccruedInterestNotPartOfDisposalGroupAfterValuationAllowance_c161d7fe-e503-4aba-b298-7d169b9ab504" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale_249f928f-82dd-474f-9f4c-f00b5191a2f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale_249f928f-82dd-474f-9f4c-f00b5191a2f5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_025fef27-ab97-4b48-9eb9-d11ae5faf677" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_025fef27-ab97-4b48-9eb9-d11ae5faf677" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonCashNetTransferIntoLoansHeldForSale_019b27bd-0543-70e5-aeb7-0bf8d6727c65" xlink:href="bac-20251231.xsd#bac_NonCashNetTransferIntoLoansHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_bac_NonCashNetTransferIntoLoansHeldForSale_019b27bd-0543-70e5-aeb7-0bf8d6727c65" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_292b5496-872a-42db-899c-1d3ef3768c88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_292b5496-872a-42db-899c-1d3ef3768c88" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLossStatementOfFinancialPositionExtensibleList_eabc41f5-1eeb-4ed4-b0e8-2ee863c9727f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLossStatementOfFinancialPositionExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLossStatementOfFinancialPositionExtensibleList_eabc41f5-1eeb-4ed4-b0e8-2ee863c9727f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff_6d0170d3-9439-4a02-98a7-443e48537cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff_6d0170d3-9439-4a02-98a7-443e48537cb9" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedSubsequentDefault_019b28f1-ed5a-7f6a-9dbf-74e67fd0a6b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestModifiedSubsequentDefault"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_0916eb23-314c-4e29-b01c-0d00f3995465" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestModifiedSubsequentDefault_019b28f1-ed5a-7f6a-9dbf-74e67fd0a6b5" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesAllowanceforCreditLossesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesAllowanceforCreditLossesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesAllowanceforCreditLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_38e3a903-d719-4640-8c76-cca6331e945c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_38e3a903-d719-4640-8c76-cca6331e945c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_eac8ddf9-9d47-4f1e-8177-23b7c336c3c6" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_38e3a903-d719-4640-8c76-cca6331e945c" xlink:to="loc_srt_StatementScenarioAxis_eac8ddf9-9d47-4f1e-8177-23b7c336c3c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_eac8ddf9-9d47-4f1e-8177-23b7c336c3c6_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_eac8ddf9-9d47-4f1e-8177-23b7c336c3c6" xlink:to="loc_srt_ScenarioUnspecifiedDomain_eac8ddf9-9d47-4f1e-8177-23b7c336c3c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_0d72e7e4-06b9-4215-8c5a-715e62c9237c" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_eac8ddf9-9d47-4f1e-8177-23b7c336c3c6" xlink:to="loc_srt_ScenarioUnspecifiedDomain_0d72e7e4-06b9-4215-8c5a-715e62c9237c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_b52f3aef-b784-45c8-9189-9878b571ae9a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_0d72e7e4-06b9-4215-8c5a-715e62c9237c" xlink:to="loc_srt_ScenarioForecastMember_b52f3aef-b784-45c8-9189-9878b571ae9a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_019b27a5-6810-748d-a590-c3cb53b82b40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_38e3a903-d719-4640-8c76-cca6331e945c" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_019b27a5-6810-748d-a590-c3cb53b82b40" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_019b27a5-6810-748d-a590-c3cb53b82b40_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_019b27a5-6810-748d-a590-c3cb53b82b40" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_019b27a5-6810-748d-a590-c3cb53b82b40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_019b27a5-6810-79a7-a047-b73232c83f0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_019b27a5-6810-748d-a590-c3cb53b82b40" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_019b27a5-6810-79a7-a047-b73232c83f0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardandOtherConsumerPortfolioSegmentMember_019b27a5-6810-7070-8492-f2ba6064d818" xlink:href="bac-20251231.xsd#bac_CreditCardandOtherConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_019b27a5-6810-79a7-a047-b73232c83f0f" xlink:to="loc_bac_CreditCardandOtherConsumerPortfolioSegmentMember_019b27a5-6810-7070-8492-f2ba6064d818" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_019b27c6-839a-72b8-aa27-726eeaeb8021" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_019b27a5-6810-79a7-a047-b73232c83f0f" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_019b27c6-839a-72b8-aa27-726eeaeb8021" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_019b27c7-3508-7fc9-9a1b-c5ccc014d5f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_019b27a5-6810-79a7-a047-b73232c83f0f" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_019b27c7-3508-7fc9-9a1b-c5ccc014d5f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_UnemploymentRateCurrentEconomicOutlook_4dee70cf-0bb6-4dd8-9ea6-1e249a73f3fb" xlink:href="bac-20251231.xsd#bac_UnemploymentRateCurrentEconomicOutlook"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_bac_UnemploymentRateCurrentEconomicOutlook_4dee70cf-0bb6-4dd8-9ea6-1e249a73f3fb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AllowanceForCreditLossesUnitedStatesGrossDomesticProductCurrentEconomicOutlook_24f423a6-1a7e-4a54-8295-7a7d63c12fc5" xlink:href="bac-20251231.xsd#bac_AllowanceForCreditLossesUnitedStatesGrossDomesticProductCurrentEconomicOutlook"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_bac_AllowanceForCreditLossesUnitedStatesGrossDomesticProductCurrentEconomicOutlook_24f423a6-1a7e-4a54-8295-7a7d63c12fc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetCreditLossAllowanceIncreaseDecrease_0f894915-e3aa-4a57-99d6-7226e3aa6dbf" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetCreditLossAllowanceIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetCreditLossAllowanceIncreaseDecrease_0f894915-e3aa-4a57-99d6-7226e3aa6dbf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossPeriodIncreaseDecrease_019b28f2-3da5-7113-b4a2-30188017be48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossPeriodIncreaseDecrease_019b28f2-3da5-7113-b4a2-30188017be48" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OffBalanceSheetCreditLossLiabilityPeriodIncreaseDecrease_019b28f3-0916-7b3a-b6a4-2b022fd5e798" xlink:href="bac-20251231.xsd#bac_OffBalanceSheetCreditLossLiabilityPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_bac_OffBalanceSheetCreditLossLiabilityPeriodIncreaseDecrease_019b28f3-0916-7b3a-b6a4-2b022fd5e798" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestIncreaseDecreaseInCreditLossExpenseReversal_019b27ce-04bc-777f-8aa5-f4681850e80a" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestIncreaseDecreaseInCreditLossExpenseReversal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestIncreaseDecreaseInCreditLossExpenseReversal_019b27ce-04bc-777f-8aa5-f4681850e80a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetLiabilityCreditLossProvisionReversal_019c8637-b451-7942-aaf9-04ae7ab392c0" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetLiabilityCreditLossProvisionReversal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetLiabilityCreditLossProvisionReversal_019c8637-b451-7942-aaf9-04ae7ab392c0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffRecoveryPeriodIncreaseDecrease_1fc7e550-aee4-48bd-9867-a2c588e3bebf" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffRecoveryPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffRecoveryPeriodIncreaseDecrease_1fc7e550-aee4-48bd-9867-a2c588e3bebf" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_4e9176f2-276b-4a08-a8e5-9cc2a6d74faf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_4e9176f2-276b-4a08-a8e5-9cc2a6d74faf" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivablesPeriodIncreaseDecreaseExcludingLoansAccountedForUnderTheFairValueOption_019b27cf-e7b6-7da0-9b5e-d1454b93ce10" xlink:href="bac-20251231.xsd#bac_FinancingReceivablesPeriodIncreaseDecreaseExcludingLoansAccountedForUnderTheFairValueOption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_51ea586a-d6f6-4f19-addb-2f3352bb2d47" xlink:to="loc_bac_FinancingReceivablesPeriodIncreaseDecreaseExcludingLoansAccountedForUnderTheFairValueOption_019b27cf-e7b6-7da0-9b5e-d1454b93ce10" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesAllowancebyPortfolioSegmentDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#OutstandingLoansandLeasesandAllowanceforCreditLossesAllowancebyPortfolioSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/OutstandingLoansandLeasesandAllowanceforCreditLossesAllowancebyPortfolioSegmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_3d48fc1e-6f0c-4747-bb93-711c1baba8e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_ef37db00-146e-47f8-adf2-c3660639fe5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_3d48fc1e-6f0c-4747-bb93-711c1baba8e0" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_ef37db00-146e-47f8-adf2-c3660639fe5d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_089a6c7a-e573-4f04-9291-0c2d9276014b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_ef37db00-146e-47f8-adf2-c3660639fe5d" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_089a6c7a-e573-4f04-9291-0c2d9276014b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_089a6c7a-e573-4f04-9291-0c2d9276014b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_089a6c7a-e573-4f04-9291-0c2d9276014b" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_089a6c7a-e573-4f04-9291-0c2d9276014b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_ae9904f1-1fe2-40f3-93c2-5bd33ef21163" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_089a6c7a-e573-4f04-9291-0c2d9276014b" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_ae9904f1-1fe2-40f3-93c2-5bd33ef21163" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_44f11bb9-216b-47ce-bce9-b99d6592088a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_ae9904f1-1fe2-40f3-93c2-5bd33ef21163" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_44f11bb9-216b-47ce-bce9-b99d6592088a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardandOtherConsumerPortfolioSegmentMember_ef3ca61e-5704-4e16-b316-afadb5c1a645" xlink:href="bac-20251231.xsd#bac_CreditCardandOtherConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_ae9904f1-1fe2-40f3-93c2-5bd33ef21163" xlink:to="loc_bac_CreditCardandOtherConsumerPortfolioSegmentMember_ef3ca61e-5704-4e16-b316-afadb5c1a645" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_aa53a0ea-2244-4833-8423-f37ecef20ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_ae9904f1-1fe2-40f3-93c2-5bd33ef21163" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_aa53a0ea-2244-4833-8423-f37ecef20ea7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_019b27a5-a588-79d2-99d5-d60b985bef7a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_ef37db00-146e-47f8-adf2-c3660639fe5d" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_019b27a5-a588-79d2-99d5-d60b985bef7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b27a5-a588-79d2-99d5-d60b985bef7a_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_019b27a5-a588-79d2-99d5-d60b985bef7a" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b27a5-a588-79d2-99d5-d60b985bef7a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b27a5-a588-74cb-b4c6-1e66b0d76da4" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_019b27a5-a588-79d2-99d5-d60b985bef7a" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b27a5-a588-74cb-b4c6-1e66b0d76da4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_019b27a5-a588-7262-b73d-fbde477c280a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b27a5-a588-74cb-b4c6-1e66b0d76da4" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_019b27a5-a588-7262-b73d-fbde477c280a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember_019c57b3-fa44-7d5e-aa2e-a06d56fc1133" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_019b27a5-a588-74cb-b4c6-1e66b0d76da4" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember_019c57b3-fa44-7d5e-aa2e-a06d56fc1133" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward_099e7c01-753c-4548-ab8e-eea55095c543" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_3d48fc1e-6f0c-4747-bb93-711c1baba8e0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward_099e7c01-753c-4548-ab8e-eea55095c543" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_d2d05bd1-93f8-4805-bdf4-7eeb19d18809" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward_099e7c01-753c-4548-ab8e-eea55095c543" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_d2d05bd1-93f8-4805-bdf4-7eeb19d18809" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_b4c5cce6-b9c9-4f1b-8ca1-cf23d1d7d233" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward_099e7c01-753c-4548-ab8e-eea55095c543" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_b4c5cce6-b9c9-4f1b-8ca1-cf23d1d7d233" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_675b9bba-5eac-4505-8ebd-8df1543bc926" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward_099e7c01-753c-4548-ab8e-eea55095c543" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_675b9bba-5eac-4505-8ebd-8df1543bc926" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_43ffda0c-02c3-43a5-a246-e685dfffb4d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward_099e7c01-753c-4548-ab8e-eea55095c543" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_43ffda0c-02c3-43a5-a246-e685dfffb4d4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_44e0317d-4fe8-4880-bef9-cb045598c4d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward_099e7c01-753c-4548-ab8e-eea55095c543" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_44e0317d-4fe8-4880-bef9-cb045598c4d2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestAllowanceAdjustmentsOther_92ece5b1-d374-4314-a26f-c3a0f6335d35" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestAllowanceAdjustmentsOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward_099e7c01-753c-4548-ab8e-eea55095c543" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestAllowanceAdjustmentsOther_92ece5b1-d374-4314-a26f-c3a0f6335d35" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_a4aa0b8a-1132-42c9-bb44-9771b2f22114" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffBalanceSheetCreditLossLiabilityRollforward_bb1200f0-dfcb-4310-be23-08b4f7cf0fe9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffBalanceSheetCreditLossLiabilityRollforward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_3d48fc1e-6f0c-4747-bb93-711c1baba8e0" xlink:to="loc_us-gaap_OffBalanceSheetCreditLossLiabilityRollforward_bb1200f0-dfcb-4310-be23-08b4f7cf0fe9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffBalanceSheetCreditLossLiability_bf4872e2-1fb3-4f9b-9f98-25fa9e2efef9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffBalanceSheetCreditLossLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffBalanceSheetCreditLossLiabilityRollforward_bb1200f0-dfcb-4310-be23-08b4f7cf0fe9" xlink:to="loc_us-gaap_OffBalanceSheetCreditLossLiability_bf4872e2-1fb3-4f9b-9f98-25fa9e2efef9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal_36d3a6d4-cb9a-4a54-bbc0-fb805fd8a152" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffBalanceSheetCreditLossLiabilityRollforward_bb1200f0-dfcb-4310-be23-08b4f7cf0fe9" xlink:to="loc_us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal_36d3a6d4-cb9a-4a54-bbc0-fb805fd8a152" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OffBalanceSheetCreditLossLiabilityIncreaseDecreaseInOther_5063b5cc-a7ca-4dd2-a3db-cab443385fdb" xlink:href="bac-20251231.xsd#bac_OffBalanceSheetCreditLossLiabilityIncreaseDecreaseInOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffBalanceSheetCreditLossLiabilityRollforward_bb1200f0-dfcb-4310-be23-08b4f7cf0fe9" xlink:to="loc_bac_OffBalanceSheetCreditLossLiabilityIncreaseDecreaseInOther_5063b5cc-a7ca-4dd2-a3db-cab443385fdb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffBalanceSheetCreditLossLiability_908a97e8-884e-4d33-b74c-5f9a1c441a83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffBalanceSheetCreditLossLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetCreditLossAllowance_9ed31b23-3650-4bac-abcf-5d97e5e6105c" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetCreditLossAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_3d48fc1e-6f0c-4747-bb93-711c1baba8e0" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetCreditLossAllowance_9ed31b23-3650-4bac-abcf-5d97e5e6105c" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritizationsandOtherVariableInterestEntitiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_dea75eda-e417-4985-9bfb-6806f7765e6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_731d8cbb-1a6f-40d7-91ad-1c0593f0fd1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_dea75eda-e417-4985-9bfb-6806f7765e6b" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_731d8cbb-1a6f-40d7-91ad-1c0593f0fd1f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_a27e70d0-e99c-4534-b158-6fd164332948" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_731d8cbb-1a6f-40d7-91ad-1c0593f0fd1f" xlink:to="loc_srt_ConsolidatedEntitiesAxis_a27e70d0-e99c-4534-b158-6fd164332948" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_a27e70d0-e99c-4534-b158-6fd164332948_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_a27e70d0-e99c-4534-b158-6fd164332948" xlink:to="loc_srt_ConsolidatedEntitiesDomain_a27e70d0-e99c-4534-b158-6fd164332948_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_f8add0ce-3054-4318-b43a-f41959ec0b3f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_a27e70d0-e99c-4534-b158-6fd164332948" xlink:to="loc_srt_ConsolidatedEntitiesDomain_f8add0ce-3054-4318-b43a-f41959ec0b3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_c289b71e-0f89-4a7b-bdcf-95abe8bb613e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_f8add0ce-3054-4318-b43a-f41959ec0b3f" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_c289b71e-0f89-4a7b-bdcf-95abe8bb613e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementLiquidityCommitment_38a397ba-afd0-4a10-9169-c2d5dc1ce02d" xlink:href="bac-20251231.xsd#bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementLiquidityCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_dea75eda-e417-4985-9bfb-6806f7765e6b" xlink:to="loc_bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementLiquidityCommitment_38a397ba-afd0-4a10-9169-c2d5dc1ce02d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesFirstLienMortgageSecuritizationsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritizationsandOtherVariableInterestEntitiesFirstLienMortgageSecuritizationsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesFirstLienMortgageSecuritizationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleTable_611c8318-64ec-4b42-92f0-2b4f2f853ba6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:to="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleTable_611c8318-64ec-4b42-92f0-2b4f2f853ba6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_2d2cc56e-f6c0-44bc-8026-b8e71cf239ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleTable_611c8318-64ec-4b42-92f0-2b4f2f853ba6" xlink:to="loc_us-gaap_FinancialInstrumentAxis_2d2cc56e-f6c0-44bc-8026-b8e71cf239ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2d2cc56e-f6c0-44bc-8026-b8e71cf239ca_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2d2cc56e-f6c0-44bc-8026-b8e71cf239ca" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2d2cc56e-f6c0-44bc-8026-b8e71cf239ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_bbe52b81-6d53-42e6-9e7c-cb3d96175627" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2d2cc56e-f6c0-44bc-8026-b8e71cf239ca" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_bbe52b81-6d53-42e6-9e7c-cb3d96175627" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResidentialMortgagebackedSecuritiesIssuedbyUSGovernmentSponsoredEnterprisesMember_32d41b53-ca7a-40b0-bba1-212300baa16a" xlink:href="bac-20251231.xsd#bac_ResidentialMortgagebackedSecuritiesIssuedbyUSGovernmentSponsoredEnterprisesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_bbe52b81-6d53-42e6-9e7c-cb3d96175627" xlink:to="loc_bac_ResidentialMortgagebackedSecuritiesIssuedbyUSGovernmentSponsoredEnterprisesMember_32d41b53-ca7a-40b0-bba1-212300baa16a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_16601655-ac33-48fa-9b2b-36599cdd06f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_bbe52b81-6d53-42e6-9e7c-cb3d96175627" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_16601655-ac33-48fa-9b2b-36599cdd06f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FirstLienMortgagesMember_2a5651d1-f5b0-4b8d-8473-cbcbe118c17a" xlink:href="bac-20251231.xsd#bac_FirstLienMortgagesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_bbe52b81-6d53-42e6-9e7c-cb3d96175627" xlink:to="loc_bac_FirstLienMortgagesMember_2a5651d1-f5b0-4b8d-8473-cbcbe118c17a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TransfersOfFinancialAssetsAccountedForAsSaleInitialFairValueOfAssetsObtainedAsProceedsInPeriod_088c205c-389e-4c29-824d-086ed46e6513" xlink:href="bac-20251231.xsd#bac_TransfersOfFinancialAssetsAccountedForAsSaleInitialFairValueOfAssetsObtainedAsProceedsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:to="loc_bac_TransfersOfFinancialAssetsAccountedForAsSaleInitialFairValueOfAssetsObtainedAsProceedsInPeriod_088c205c-389e-4c29-824d-086ed46e6513" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleGainLossOnSale_3bbbc202-d939-4a86-8ee1-702d16b308c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleGainLossOnSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:to="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleGainLossOnSale_3bbbc202-d939-4a86-8ee1-702d16b308c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowsBetweenTransfereeAndTransferorPurchasesOfPreviouslyTransferredFinancialAssets_b67976b5-eaf3-4429-ac41-9de02a017305" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowsBetweenTransfereeAndTransferorPurchasesOfPreviouslyTransferredFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:to="loc_us-gaap_CashFlowsBetweenTransfereeAndTransferorPurchasesOfPreviouslyTransferredFinancialAssets_b67976b5-eaf3-4429-ac41-9de02a017305" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GainLossOnLoansHeldForSaleAndSecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleGainLossOnSale_a3fc4120-8f15-4c70-a602-c375f12c33c4" xlink:href="bac-20251231.xsd#bac_GainLossOnLoansHeldForSaleAndSecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleGainLossOnSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:to="loc_bac_GainLossOnLoansHeldForSaleAndSecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleGainLossOnSale_a3fc4120-8f15-4c70-a602-c375f12c33c4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ServicingAssetAtFairValueForInvestors_b1ffd08b-2b48-47ce-a1d8-8650ef57eae4" xlink:href="bac-20251231.xsd#bac_ServicingAssetAtFairValueForInvestors"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:to="loc_bac_ServicingAssetAtFairValueForInvestors_b1ffd08b-2b48-47ce-a1d8-8650ef57eae4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_f79b4e71-dc7c-44cb-8d5d-7f7b1bd360fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:to="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_f79b4e71-dc7c-44cb-8d5d-7f7b1bd360fd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TransfersContinuingInvolvementServicingFeeAdvances_e2fac924-21c7-458a-be67-13fe3b2d5a14" xlink:href="bac-20251231.xsd#bac_TransfersContinuingInvolvementServicingFeeAdvances"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritizationFinancialAssetForWhichTransferIsAccountedAsSaleLineItems_2f3f4b92-803e-4d4d-b8a9-eecc77b23c8f" xlink:to="loc_bac_TransfersContinuingInvolvementServicingFeeAdvances_e2fac924-21c7-458a-be67-13fe3b2d5a14" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesMortgageandHomeEquitySecuritizationsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritizationsandOtherVariableInterestEntitiesMortgageandHomeEquitySecuritizationsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesMortgageandHomeEquitySecuritizationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_8fc19b1c-1a11-4104-88b4-222e59ccac25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_790f45ac-b054-487d-901c-df979b057e3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_8fc19b1c-1a11-4104-88b4-222e59ccac25" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_790f45ac-b054-487d-901c-df979b057e3b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_30dfa205-e5d4-4808-b5d4-abe098a5cc46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_790f45ac-b054-487d-901c-df979b057e3b" xlink:to="loc_us-gaap_FinancialInstrumentAxis_30dfa205-e5d4-4808-b5d4-abe098a5cc46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_30dfa205-e5d4-4808-b5d4-abe098a5cc46_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_30dfa205-e5d4-4808-b5d4-abe098a5cc46" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_30dfa205-e5d4-4808-b5d4-abe098a5cc46_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_44c2802f-6761-4d41-8812-b45f75a660f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_30dfa205-e5d4-4808-b5d4-abe098a5cc46" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_44c2802f-6761-4d41-8812-b45f75a660f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResidentialMortgagebackedSecuritiesIssuedbyUSGovernmentSponsoredEnterprisesMember_d2db75c0-6ae3-4609-bd3d-2fdd177426da" xlink:href="bac-20251231.xsd#bac_ResidentialMortgagebackedSecuritiesIssuedbyUSGovernmentSponsoredEnterprisesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_44c2802f-6761-4d41-8812-b45f75a660f3" xlink:to="loc_bac_ResidentialMortgagebackedSecuritiesIssuedbyUSGovernmentSponsoredEnterprisesMember_d2db75c0-6ae3-4609-bd3d-2fdd177426da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResidentialMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_e781721c-8b96-42c9-8a5d-23de9a311767" xlink:href="bac-20251231.xsd#bac_ResidentialMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_44c2802f-6761-4d41-8812-b45f75a660f3" xlink:to="loc_bac_ResidentialMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_e781721c-8b96-42c9-8a5d-23de9a311767" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityMember_e5d4cfaa-2812-4273-b04c-b83985fecdd5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_44c2802f-6761-4d41-8812-b45f75a660f3" xlink:to="loc_us-gaap_HomeEquityMember_e5d4cfaa-2812-4273-b04c-b83985fecdd5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_04cda83e-08d7-4b6c-805e-84a33c48d68c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_44c2802f-6761-4d41-8812-b45f75a660f3" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_04cda83e-08d7-4b6c-805e-84a33c48d68c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_e1b1cfcd-d395-4136-976d-41926f962c7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_790f45ac-b054-487d-901c-df979b057e3b" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_e1b1cfcd-d395-4136-976d-41926f962c7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_e1b1cfcd-d395-4136-976d-41926f962c7a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_e1b1cfcd-d395-4136-976d-41926f962c7a" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_e1b1cfcd-d395-4136-976d-41926f962c7a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_9c7a5e07-5498-4020-aa61-2ca3bb13004d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_e1b1cfcd-d395-4136-976d-41926f962c7a" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_9c7a5e07-5498-4020-aa61-2ca3bb13004d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PrimeAndAltALoanMember_7b7ffc26-3b9d-4ab1-906c-f932c28e8e70" xlink:href="bac-20251231.xsd#bac_PrimeAndAltALoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_9c7a5e07-5498-4020-aa61-2ca3bb13004d" xlink:to="loc_bac_PrimeAndAltALoanMember_7b7ffc26-3b9d-4ab1-906c-f932c28e8e70" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubprimeLoanMember_40938b12-6c1c-42e7-a0b2-9262b3ef1703" xlink:href="bac-20251231.xsd#bac_SubprimeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_9c7a5e07-5498-4020-aa61-2ca3bb13004d" xlink:to="loc_bac_SubprimeLoanMember_40938b12-6c1c-42e7-a0b2-9262b3ef1703" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LienCategoryAxis_5e95beb4-5a0c-4039-b659-7a50294c949c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LienCategoryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_790f45ac-b054-487d-901c-df979b057e3b" xlink:to="loc_us-gaap_LienCategoryAxis_5e95beb4-5a0c-4039-b659-7a50294c949c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LienCategoryDomain_5e95beb4-5a0c-4039-b659-7a50294c949c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LienCategoryDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LienCategoryAxis_5e95beb4-5a0c-4039-b659-7a50294c949c" xlink:to="loc_us-gaap_LienCategoryDomain_5e95beb4-5a0c-4039-b659-7a50294c949c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LienCategoryDomain_bfb44022-4863-4fa1-9d49-726041e7e16c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LienCategoryDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LienCategoryAxis_5e95beb4-5a0c-4039-b659-7a50294c949c" xlink:to="loc_us-gaap_LienCategoryDomain_bfb44022-4863-4fa1-9d49-726041e7e16c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorLienMember_451dde88-0221-413c-924f-4ad3a5d2b905" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorLienMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LienCategoryDomain_bfb44022-4863-4fa1-9d49-726041e7e16c" xlink:to="loc_us-gaap_SeniorLienMember_451dde88-0221-413c-924f-4ad3a5d2b905" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_4b39c9b7-1216-45f8-9d59-97b108e38960" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_790f45ac-b054-487d-901c-df979b057e3b" xlink:to="loc_srt_ConsolidatedEntitiesAxis_4b39c9b7-1216-45f8-9d59-97b108e38960" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_4b39c9b7-1216-45f8-9d59-97b108e38960_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_4b39c9b7-1216-45f8-9d59-97b108e38960" xlink:to="loc_srt_ConsolidatedEntitiesDomain_4b39c9b7-1216-45f8-9d59-97b108e38960_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_722a0eea-562f-4077-928f-3eb182568d73" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_4b39c9b7-1216-45f8-9d59-97b108e38960" xlink:to="loc_srt_ConsolidatedEntitiesDomain_722a0eea-562f-4077-928f-3eb182568d73" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_e09d6c66-4654-4fc1-8f17-0bf3ed61b83e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_722a0eea-562f-4077-928f-3eb182568d73" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_e09d6c66-4654-4fc1-8f17-0bf3ed61b83e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_72cd15bb-2553-49ac-bf5f-86de628ffc51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_722a0eea-562f-4077-928f-3eb182568d73" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_72cd15bb-2553-49ac-bf5f-86de628ffc51" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_ba571ccf-e8ee-4c21-b5d1-9eadba3745b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_8fc19b1c-1a11-4104-88b4-222e59ccac25" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_ba571ccf-e8ee-4c21-b5d1-9eadba3745b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_8fc19b1c-1a11-4104-88b4-222e59ccac25" xlink:to="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_03c69a67-13f0-4073-9925-bb727aba8fac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:to="loc_us-gaap_TradingSecurities_03c69a67-13f0-4073-9925-bb727aba8fac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_827fd71a-9353-4a42-854e-685e20e4c435" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_827fd71a-9353-4a42-854e-685e20e4c435" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_9bfd9abc-83df-4676-91d7-051ff92af32a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_9bfd9abc-83df-4676-91d7-051ff92af32a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_3892d0aa-cd65-4688-a74c-05ec48ce61d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_3892d0aa-cd65-4688-a74c-05ec48ce61d7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_f9c61282-0bd9-4c46-836a-695296457b06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_f9c61282-0bd9-4c46-836a-695296457b06" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_a884e381-3233-4bc6-a102-058dedc2615c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:to="loc_us-gaap_OtherAssets_a884e381-3233-4bc6-a102-058dedc2615c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_1f740ba1-1e4d-480e-88a0-e6034ca0b21d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:to="loc_us-gaap_Assets_1f740ba1-1e4d-480e-88a0-e6034ca0b21d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding_729b9703-da51-4431-96fa-beaba1c70c84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f5562d39-32eb-455f-9352-259c1dd639dd" xlink:to="loc_us-gaap_ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding_729b9703-da51-4431-96fa-beaba1c70c84" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_af3b3529-4504-4715-8aca-064573bd2b3a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_8fc19b1c-1a11-4104-88b4-222e59ccac25" xlink:to="loc_us-gaap_Liabilities_af3b3529-4504-4715-8aca-064573bd2b3a" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesOtherAssetbackedSecuritizationsNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritizationsandOtherVariableInterestEntitiesOtherAssetbackedSecuritizationsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesOtherAssetbackedSecuritizationsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_c4c3df8d-4bc6-4452-9347-1abd2d451fa8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_c4c3df8d-4bc6-4452-9347-1abd2d451fa8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_2e0de022-ab97-4071-8184-d221dbba5bc8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_c4c3df8d-4bc6-4452-9347-1abd2d451fa8" xlink:to="loc_us-gaap_FinancialInstrumentAxis_2e0de022-ab97-4071-8184-d221dbba5bc8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2e0de022-ab97-4071-8184-d221dbba5bc8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2e0de022-ab97-4071-8184-d221dbba5bc8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2e0de022-ab97-4071-8184-d221dbba5bc8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_66011dce-5b9c-4e18-b5e6-e3d4fd3547aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2e0de022-ab97-4071-8184-d221dbba5bc8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_66011dce-5b9c-4e18-b5e6-e3d4fd3547aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardReceivableAndAssetBackedSecuritiesSecuritizedLoansAndReceivablesMember_4ab55c61-46a1-4ba8-926e-f83981cf6443" xlink:href="bac-20251231.xsd#bac_CreditCardReceivableAndAssetBackedSecuritiesSecuritizedLoansAndReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_66011dce-5b9c-4e18-b5e6-e3d4fd3547aa" xlink:to="loc_bac_CreditCardReceivableAndAssetBackedSecuritiesSecuritizedLoansAndReceivablesMember_4ab55c61-46a1-4ba8-926e-f83981cf6443" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResecuritizationTrustsMember_36ae0a43-f13e-4a98-95f6-171030a65f28" xlink:href="bac-20251231.xsd#bac_ResecuritizationTrustsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_66011dce-5b9c-4e18-b5e6-e3d4fd3547aa" xlink:to="loc_bac_ResecuritizationTrustsMember_36ae0a43-f13e-4a98-95f6-171030a65f28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritiesMember_c501ead6-de27-45c4-aba1-63cb15679985" xlink:href="bac-20251231.xsd#bac_SecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_66011dce-5b9c-4e18-b5e6-e3d4fd3547aa" xlink:to="loc_bac_SecuritiesMember_c501ead6-de27-45c4-aba1-63cb15679985" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MunicipalBondsMember_3db89b7f-a209-4d76-b708-cad8c93fb4d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MunicipalBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_66011dce-5b9c-4e18-b5e6-e3d4fd3547aa" xlink:to="loc_us-gaap_MunicipalBondsMember_3db89b7f-a209-4d76-b708-cad8c93fb4d3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_47e9ed63-b3b2-4f2c-b03d-01cd36585ff4" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_c4c3df8d-4bc6-4452-9347-1abd2d451fa8" xlink:to="loc_srt_ConsolidatedEntitiesAxis_47e9ed63-b3b2-4f2c-b03d-01cd36585ff4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_47e9ed63-b3b2-4f2c-b03d-01cd36585ff4_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_47e9ed63-b3b2-4f2c-b03d-01cd36585ff4" xlink:to="loc_srt_ConsolidatedEntitiesDomain_47e9ed63-b3b2-4f2c-b03d-01cd36585ff4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_5940796c-c69e-49f8-959e-c77719628298" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_47e9ed63-b3b2-4f2c-b03d-01cd36585ff4" xlink:to="loc_srt_ConsolidatedEntitiesDomain_5940796c-c69e-49f8-959e-c77719628298" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_5681f1f1-ef05-4bf6-abf2-bf649ec60ca8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_5940796c-c69e-49f8-959e-c77719628298" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_5681f1f1-ef05-4bf6-abf2-bf649ec60ca8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_ee3b580d-179c-483e-a34b-f20800aae1ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_5940796c-c69e-49f8-959e-c77719628298" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_ee3b580d-179c-483e-a34b-f20800aae1ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_cf214767-9d19-4b8d-b9f0-970087b77376" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_c4c3df8d-4bc6-4452-9347-1abd2d451fa8" xlink:to="loc_us-gaap_InvestmentTypeAxis_cf214767-9d19-4b8d-b9f0-970087b77376" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_cf214767-9d19-4b8d-b9f0-970087b77376_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_cf214767-9d19-4b8d-b9f0-970087b77376" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_cf214767-9d19-4b8d-b9f0-970087b77376_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_99cd1857-050e-4321-aba8-b3d4f24c3535" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_cf214767-9d19-4b8d-b9f0-970087b77376" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_99cd1857-050e-4321-aba8-b3d4f24c3535" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CustomerVehiclesMember_90cf586a-d040-4164-a0ef-e36ccb1fb4ab" xlink:href="bac-20251231.xsd#bac_CustomerVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_99cd1857-050e-4321-aba8-b3d4f24c3535" xlink:to="loc_bac_CustomerVehiclesMember_90cf586a-d040-4164-a0ef-e36ccb1fb4ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralizedDebtObligationsMember_ab56c45b-0494-405a-b1d5-8ef30637b740" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollateralizedDebtObligationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_99cd1857-050e-4321-aba8-b3d4f24c3535" xlink:to="loc_us-gaap_CollateralizedDebtObligationsMember_ab56c45b-0494-405a-b1d5-8ef30637b740" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxCreditVehiclesMember_4e950b4a-0072-4151-b82a-76fbb91678ff" xlink:href="bac-20251231.xsd#bac_TaxCreditVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_99cd1857-050e-4321-aba8-b3d4f24c3535" xlink:to="loc_bac_TaxCreditVehiclesMember_4e950b4a-0072-4151-b82a-76fbb91678ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RenewableEnergyInvestmentsMember_019c580e-7e94-7ce0-aeae-922a51f41ad5" xlink:href="bac-20251231.xsd#bac_RenewableEnergyInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_99cd1857-050e-4321-aba8-b3d4f24c3535" xlink:to="loc_bac_RenewableEnergyInvestmentsMember_019c580e-7e94-7ce0-aeae-922a51f41ad5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentVehiclesMember_019c5822-9959-72b7-9ddb-047a4133cb9a" xlink:href="bac-20251231.xsd#bac_InvestmentVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_99cd1857-050e-4321-aba8-b3d4f24c3535" xlink:to="loc_bac_InvestmentVehiclesMember_019c5822-9959-72b7-9ddb-047a4133cb9a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LeveragedLeaseTrustsMember_019c5822-9959-7dd7-8ddc-b9e5d80c2aa4" xlink:href="bac-20251231.xsd#bac_LeveragedLeaseTrustsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_99cd1857-050e-4321-aba8-b3d4f24c3535" xlink:to="loc_bac_LeveragedLeaseTrustsMember_019c5822-9959-7dd7-8ddc-b9e5d80c2aa4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_313d63cd-0c93-4e30-9f74-ae4cdc033860" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_313d63cd-0c93-4e30-9f74-ae4cdc033860" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_86a5fd11-30ff-4f97-93da-ebe83408213d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_LongTermDebt_86a5fd11-30ff-4f97-93da-ebe83408213d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers_9bddfd71-6cf3-4c25-9222-d5bb7925edfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers_9bddfd71-6cf3-4c25-9222-d5bb7925edfa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CashFlowsBetweenTransferorAndTransfereeDeconsolidation_019c397a-f0ff-7f66-ac9e-0434fd19b7a9" xlink:href="bac-20251231.xsd#bac_CashFlowsBetweenTransferorAndTransfereeDeconsolidation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_CashFlowsBetweenTransferorAndTransfereeDeconsolidation_019c397a-f0ff-7f66-ac9e-0434fd19b7a9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_bd0eb149-e359-4184-b762-c6b024bc5819" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_bd0eb149-e359-4184-b762-c6b024bc5819" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementLiquidityCommitment_10f33ba6-f3c8-473b-9b82-9c3298d71060" xlink:href="bac-20251231.xsd#bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementLiquidityCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementLiquidityCommitment_10f33ba6-f3c8-473b-9b82-9c3298d71060" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementRemainingLifeOfBondsHeldInTrust_08650255-0aec-432c-9d38-fd84e616d371" xlink:href="bac-20251231.xsd#bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementRemainingLifeOfBondsHeldInTrust"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementRemainingLifeOfBondsHeldInTrust_08650255-0aec-432c-9d38-fd84e616d371" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_17ac565d-c822-42f6-9f2b-e64d62f0be76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_Assets_17ac565d-c822-42f6-9f2b-e64d62f0be76" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments_019c580e-7e94-7cc5-a802-9d0b58d1d4ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments_019c580e-7e94-7cc5-a802-9d0b58d1d4ad" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment_019c580e-7e94-79e0-a272-c1060176e70b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment_019c580e-7e94-79e0-a272-c1060176e70b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentProportionalAmortizationMethodElectedStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_019c5841-1932-7e8c-8c95-088ccf77e6ab" xlink:href="bac-20251231.xsd#bac_InvestmentProportionalAmortizationMethodElectedStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_InvestmentProportionalAmortizationMethodElectedStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_019c5841-1932-7e8c-8c95-088ccf77e6ab" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag_019c586e-4705-7dec-a9eb-4ab8422f7281" xlink:href="bac-20251231.xsd#bac_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag_019c586e-4705-7dec-a9eb-4ab8422f7281" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfCashFlowsExtensibleEnumerationNotDisclosedFlag_019c763e-054c-7f0d-a3ce-7e7ff2b51991" xlink:href="bac-20251231.xsd#bac_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfCashFlowsExtensibleEnumerationNotDisclosedFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfCashFlowsExtensibleEnumerationNotDisclosedFlag_019c763e-054c-7f0d-a3ce-7e7ff2b51991" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount_019c5841-1932-779a-8391-7c330b2bffc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount_019c5841-1932-779a-8391-7c330b2bffc3" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization_019c5841-1932-79e8-8c2a-39214aaeebc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization_019c5841-1932-79e8-8c2a-39214aaeebc6" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_019c5841-1932-7983-85e5-fbddbfdf998a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_019c5841-1932-7983-85e5-fbddbfdf998a" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfCashFlowsExtensibleEnumeration_019c586e-4705-784d-a51d-8193cdbca60d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfCashFlowsExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_InvestmentProgramProportionalAmortizationMethodAppliedIncomeTaxCreditAndOtherTaxBenefitAmortizationStatementOfCashFlowsExtensibleEnumeration_019c586e-4705-784d-a51d-8193cdbca60d" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentProgramProportionalAmortizationMethodElectedGainsLossAndOtherReturns_019c5841-1932-7ac2-a72d-231f8867a568" xlink:href="bac-20251231.xsd#bac_InvestmentProgramProportionalAmortizationMethodElectedGainsLossAndOtherReturns"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_InvestmentProgramProportionalAmortizationMethodElectedGainsLossAndOtherReturns_019c5841-1932-7ac2-a72d-231f8867a568" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019c5841-1932-759b-a90a-58b9a404888a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_us-gaap_EquityMethodInvestments_019c5841-1932-759b-a90a-58b9a404888a" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_EquityMethodInvestmentsUnfundedCommitments_019c5841-1932-77d5-8e48-b1440eb709a7" xlink:href="bac-20251231.xsd#bac_EquityMethodInvestmentsUnfundedCommitments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_EquityMethodInvestmentsUnfundedCommitments_019c5841-1932-77d5-8e48-b1440eb709a7" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_UnfundedCapitalContributionsTerm_019c94b0-d54b-73ea-8a61-4602d888e3b7" xlink:href="bac-20251231.xsd#bac_UnfundedCapitalContributionsTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_06610070-9f34-4b28-b39a-5f1f4643d85a" xlink:to="loc_bac_UnfundedCapitalContributionsTerm_019c94b0-d54b-73ea-8a61-4602d888e3b7" xlink:type="arc" order="20"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesOtherAssetbackedVIEsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritizationsandOtherVariableInterestEntitiesOtherAssetbackedVIEsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesOtherAssetbackedVIEsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_bca2ce64-be10-4b32-bc07-27ef6b18b07e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_8b75b1df-5644-4610-9039-8b25752833a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_bca2ce64-be10-4b32-bc07-27ef6b18b07e" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_8b75b1df-5644-4610-9039-8b25752833a7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_9f84d3a8-5284-4745-9fe1-beaa5447d365" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_8b75b1df-5644-4610-9039-8b25752833a7" xlink:to="loc_us-gaap_FinancialInstrumentAxis_9f84d3a8-5284-4745-9fe1-beaa5447d365" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9f84d3a8-5284-4745-9fe1-beaa5447d365_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9f84d3a8-5284-4745-9fe1-beaa5447d365" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9f84d3a8-5284-4745-9fe1-beaa5447d365_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1d44e01f-34a9-48dc-afea-8a4bb7c6ef47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9f84d3a8-5284-4745-9fe1-beaa5447d365" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1d44e01f-34a9-48dc-afea-8a4bb7c6ef47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardReceivableAndAssetBackedSecuritiesSecuritizedLoansAndReceivablesMember_fc01bfab-47cf-4a2c-b6ea-cb3cafb4670b" xlink:href="bac-20251231.xsd#bac_CreditCardReceivableAndAssetBackedSecuritiesSecuritizedLoansAndReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1d44e01f-34a9-48dc-afea-8a4bb7c6ef47" xlink:to="loc_bac_CreditCardReceivableAndAssetBackedSecuritiesSecuritizedLoansAndReceivablesMember_fc01bfab-47cf-4a2c-b6ea-cb3cafb4670b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResecuritizationTrustsAndCustomerVariableInterestEntityMember_a1f0b9db-31db-484e-97de-a3f24d410d01" xlink:href="bac-20251231.xsd#bac_ResecuritizationTrustsAndCustomerVariableInterestEntityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1d44e01f-34a9-48dc-afea-8a4bb7c6ef47" xlink:to="loc_bac_ResecuritizationTrustsAndCustomerVariableInterestEntityMember_a1f0b9db-31db-484e-97de-a3f24d410d01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MunicipalBondsAndCollateralizedDebtObligationMember_d7894b0a-9cdb-4c71-b5cb-350a8614bcdf" xlink:href="bac-20251231.xsd#bac_MunicipalBondsAndCollateralizedDebtObligationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1d44e01f-34a9-48dc-afea-8a4bb7c6ef47" xlink:to="loc_bac_MunicipalBondsAndCollateralizedDebtObligationMember_d7894b0a-9cdb-4c71-b5cb-350a8614bcdf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentVehiclesAndLeveragedLeaseTrustsMember_944f724f-2b00-42d7-b8b2-818f56b4e4d8" xlink:href="bac-20251231.xsd#bac_InvestmentVehiclesAndLeveragedLeaseTrustsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1d44e01f-34a9-48dc-afea-8a4bb7c6ef47" xlink:to="loc_bac_InvestmentVehiclesAndLeveragedLeaseTrustsMember_944f724f-2b00-42d7-b8b2-818f56b4e4d8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LienCategoryAxis_a527be55-5d92-4362-99c9-597a8599653d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LienCategoryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_8b75b1df-5644-4610-9039-8b25752833a7" xlink:to="loc_us-gaap_LienCategoryAxis_a527be55-5d92-4362-99c9-597a8599653d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LienCategoryDomain_a527be55-5d92-4362-99c9-597a8599653d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LienCategoryDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LienCategoryAxis_a527be55-5d92-4362-99c9-597a8599653d" xlink:to="loc_us-gaap_LienCategoryDomain_a527be55-5d92-4362-99c9-597a8599653d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LienCategoryDomain_a5a3eab1-fe08-4b4c-b8f7-7490cb6125da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LienCategoryDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LienCategoryAxis_a527be55-5d92-4362-99c9-597a8599653d" xlink:to="loc_us-gaap_LienCategoryDomain_a5a3eab1-fe08-4b4c-b8f7-7490cb6125da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorLienMember_42970b13-2053-40fa-8462-5087cd202a1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorLienMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LienCategoryDomain_a5a3eab1-fe08-4b4c-b8f7-7490cb6125da" xlink:to="loc_us-gaap_SeniorLienMember_42970b13-2053-40fa-8462-5087cd202a1a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_85f71bd9-fade-4a10-b1c3-b47bf90958e8" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_8b75b1df-5644-4610-9039-8b25752833a7" xlink:to="loc_srt_ConsolidatedEntitiesAxis_85f71bd9-fade-4a10-b1c3-b47bf90958e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_85f71bd9-fade-4a10-b1c3-b47bf90958e8_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_85f71bd9-fade-4a10-b1c3-b47bf90958e8" xlink:to="loc_srt_ConsolidatedEntitiesDomain_85f71bd9-fade-4a10-b1c3-b47bf90958e8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_d1a51b5b-c5b7-4026-acfc-68d0544261f6" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_85f71bd9-fade-4a10-b1c3-b47bf90958e8" xlink:to="loc_srt_ConsolidatedEntitiesDomain_d1a51b5b-c5b7-4026-acfc-68d0544261f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_a217a919-b622-44f6-8069-f68fc8d51b6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_d1a51b5b-c5b7-4026-acfc-68d0544261f6" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_a217a919-b622-44f6-8069-f68fc8d51b6f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_97c39468-1b93-4f48-963d-cf956a24aae2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_d1a51b5b-c5b7-4026-acfc-68d0544261f6" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_97c39468-1b93-4f48-963d-cf956a24aae2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_9bd19bb0-cc4a-4c2f-9e72-34b6d771b35e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_bca2ce64-be10-4b32-bc07-27ef6b18b07e" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_9bd19bb0-cc4a-4c2f-9e72-34b6d771b35e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_bca2ce64-be10-4b32-bc07-27ef6b18b07e" xlink:to="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_6abf3d3f-7952-463f-b89f-36144a4e39a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:to="loc_us-gaap_TradingSecurities_6abf3d3f-7952-463f-b89f-36144a4e39a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_019c397d-ac54-7be6-9dcb-de216a85e7c7" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:to="loc_bac_DebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_019c397d-ac54-7be6-9dcb-de216a85e7c7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c397d-ac54-7e67-97ce-3bb5d073a32c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c397d-ac54-7e67-97ce-3bb5d073a32c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_bc09d00a-f1c9-473f-b8a7-f32d47cb8293" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_bc09d00a-f1c9-473f-b8a7-f32d47cb8293" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_30ccade6-aca7-495f-a83d-279fa9bb30b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_30ccade6-aca7-495f-a83d-279fa9bb30b3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_0cb56cc0-54b8-4475-861f-015b9a7a5d81" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:to="loc_us-gaap_OtherAssets_0cb56cc0-54b8-4475-861f-015b9a7a5d81" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Investments_3e27d5f9-0eef-41b9-bb41-4b0fe5b61a86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Investments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:to="loc_us-gaap_Investments_3e27d5f9-0eef-41b9-bb41-4b0fe5b61a86" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_336cc4ce-fc4d-426c-a903-ed1c09d30be0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_c240c0d0-565a-4b8c-bc18-fc6f2610ec52" xlink:to="loc_us-gaap_Assets_336cc4ce-fc4d-426c-a903-ed1c09d30be0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_699f4839-b327-4ffc-99cf-0378e6f8af73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_bca2ce64-be10-4b32-bc07-27ef6b18b07e" xlink:to="loc_us-gaap_LiabilitiesAbstract_699f4839-b327-4ffc-99cf-0378e6f8af73" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_34311873-ebad-4f91-becb-083e5d8211d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_699f4839-b327-4ffc-99cf-0378e6f8af73" xlink:to="loc_us-gaap_ShortTermBorrowings_34311873-ebad-4f91-becb-083e5d8211d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6813e946-76aa-4691-be5a-e0d2afaa9c3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_699f4839-b327-4ffc-99cf-0378e6f8af73" xlink:to="loc_us-gaap_LongTermDebt_6813e946-76aa-4691-be5a-e0d2afaa9c3d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_2daf4cfc-f56c-4ecb-a82c-77ba623e3793" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_699f4839-b327-4ffc-99cf-0378e6f8af73" xlink:to="loc_us-gaap_OtherLiabilities_2daf4cfc-f56c-4ecb-a82c-77ba623e3793" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_2a6cf8a2-cadf-472d-9167-a9d79192c996" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_699f4839-b327-4ffc-99cf-0378e6f8af73" xlink:to="loc_us-gaap_Liabilities_2a6cf8a2-cadf-472d-9167-a9d79192c996" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedInterestFairValueDisclosure_99ee1372-3eed-4b6d-9c97-bc3416eb7fad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedInterestFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_bca2ce64-be10-4b32-bc07-27ef6b18b07e" xlink:to="loc_us-gaap_RetainedInterestFairValueDisclosure_99ee1372-3eed-4b6d-9c97-bc3416eb7fad" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesUnconsolidatedTaxCreditVIEsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritizationsandOtherVariableInterestEntitiesUnconsolidatedTaxCreditVIEsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritizationsandOtherVariableInterestEntitiesUnconsolidatedTaxCreditVIEsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_866c7ad7-ec1c-4021-91a2-1e9edb1ffdaa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_625f683d-59b2-4f55-acd0-994395f217fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_866c7ad7-ec1c-4021-91a2-1e9edb1ffdaa" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_625f683d-59b2-4f55-acd0-994395f217fc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_27cd12bf-4e7f-4602-a50f-6354ba80cc43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_625f683d-59b2-4f55-acd0-994395f217fc" xlink:to="loc_us-gaap_FinancialInstrumentAxis_27cd12bf-4e7f-4602-a50f-6354ba80cc43" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_27cd12bf-4e7f-4602-a50f-6354ba80cc43_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_27cd12bf-4e7f-4602-a50f-6354ba80cc43" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_27cd12bf-4e7f-4602-a50f-6354ba80cc43_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6955df90-fd13-49e0-9bd7-ecf46cf6f6be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_27cd12bf-4e7f-4602-a50f-6354ba80cc43" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6955df90-fd13-49e0-9bd7-ecf46cf6f6be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxCreditVehiclesMember_fa8469f7-d14b-4c2a-8304-aeddda8ff715" xlink:href="bac-20251231.xsd#bac_TaxCreditVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6955df90-fd13-49e0-9bd7-ecf46cf6f6be" xlink:to="loc_bac_TaxCreditVehiclesMember_fa8469f7-d14b-4c2a-8304-aeddda8ff715" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherVariableInterestEntitiesMember_c3ed5b11-83b6-4eab-9f17-04b0f4dccba6" xlink:href="bac-20251231.xsd#bac_OtherVariableInterestEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6955df90-fd13-49e0-9bd7-ecf46cf6f6be" xlink:to="loc_bac_OtherVariableInterestEntitiesMember_c3ed5b11-83b6-4eab-9f17-04b0f4dccba6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_f30771f0-68f3-408e-ba48-3658cb615f6b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_625f683d-59b2-4f55-acd0-994395f217fc" xlink:to="loc_srt_ConsolidatedEntitiesAxis_f30771f0-68f3-408e-ba48-3658cb615f6b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_f30771f0-68f3-408e-ba48-3658cb615f6b_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_f30771f0-68f3-408e-ba48-3658cb615f6b" xlink:to="loc_srt_ConsolidatedEntitiesDomain_f30771f0-68f3-408e-ba48-3658cb615f6b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_bebbd693-c92e-4787-acdb-8c909892a0b7" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_f30771f0-68f3-408e-ba48-3658cb615f6b" xlink:to="loc_srt_ConsolidatedEntitiesDomain_bebbd693-c92e-4787-acdb-8c909892a0b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_941517e6-292d-41d3-b734-2c9934ef104d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_bebbd693-c92e-4787-acdb-8c909892a0b7" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_941517e6-292d-41d3-b734-2c9934ef104d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_eefd1656-4bc7-46be-b612-32239a41159d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_866c7ad7-ec1c-4021-91a2-1e9edb1ffdaa" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_eefd1656-4bc7-46be-b612-32239a41159d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_cd8d2324-80f9-4fc8-9b05-a9c09ce9efcd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_866c7ad7-ec1c-4021-91a2-1e9edb1ffdaa" xlink:to="loc_us-gaap_AssetsAbstract_cd8d2324-80f9-4fc8-9b05-a9c09ce9efcd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_d3f24c22-4335-4971-ac2c-2ce0bd4271f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_cd8d2324-80f9-4fc8-9b05-a9c09ce9efcd" xlink:to="loc_us-gaap_OtherAssets_d3f24c22-4335-4971-ac2c-2ce0bd4271f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_34aae6cc-9520-45fd-9b5e-978bfbc1d0b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_cd8d2324-80f9-4fc8-9b05-a9c09ce9efcd" xlink:to="loc_us-gaap_Assets_34aae6cc-9520-45fd-9b5e-978bfbc1d0b1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_0eb4b970-c0cf-4bd4-8cc1-b5aad727926f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_866c7ad7-ec1c-4021-91a2-1e9edb1ffdaa" xlink:to="loc_us-gaap_LiabilitiesAbstract_0eb4b970-c0cf-4bd4-8cc1-b5aad727926f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_f0361a70-a09a-457a-b969-4dc335135555" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_0eb4b970-c0cf-4bd4-8cc1-b5aad727926f" xlink:to="loc_us-gaap_OtherLiabilities_f0361a70-a09a-457a-b969-4dc335135555" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_3cfdb549-4e94-49a4-bc90-d4eb14d84e89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_0eb4b970-c0cf-4bd4-8cc1-b5aad727926f" xlink:to="loc_us-gaap_Liabilities_3cfdb549-4e94-49a4-bc90-d4eb14d84e89" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_VariableInterestEntityNonconsolidatedEntitiesAssets_8a06f0d1-fafa-4a49-a63f-801dbc426a89" xlink:href="bac-20251231.xsd#bac_VariableInterestEntityNonconsolidatedEntitiesAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_866c7ad7-ec1c-4021-91a2-1e9edb1ffdaa" xlink:to="loc_bac_VariableInterestEntityNonconsolidatedEntitiesAssets_8a06f0d1-fafa-4a49-a63f-801dbc426a89" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/GoodwillandIntangibleAssetsScheduleofGoodwillDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#GoodwillandIntangibleAssetsScheduleofGoodwillDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/GoodwillandIntangibleAssetsScheduleofGoodwillDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_b85e1cca-1f99-4e4f-9f9d-3f3d56ca3350" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_ebb7a8e5-1390-4ba1-a969-5459125aaf4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_b85e1cca-1f99-4e4f-9f9d-3f3d56ca3350" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_ebb7a8e5-1390-4ba1-a969-5459125aaf4f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_3fc16485-a9f7-412a-a0c3-2f2ca249b2c0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_ebb7a8e5-1390-4ba1-a969-5459125aaf4f" xlink:to="loc_srt_ConsolidationItemsAxis_3fc16485-a9f7-412a-a0c3-2f2ca249b2c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_3fc16485-a9f7-412a-a0c3-2f2ca249b2c0_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_3fc16485-a9f7-412a-a0c3-2f2ca249b2c0" xlink:to="loc_srt_ConsolidationItemsDomain_3fc16485-a9f7-412a-a0c3-2f2ca249b2c0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_84f66a2d-d0ee-4d5f-8b6a-7cad95195659" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_3fc16485-a9f7-412a-a0c3-2f2ca249b2c0" xlink:to="loc_srt_ConsolidationItemsDomain_84f66a2d-d0ee-4d5f-8b6a-7cad95195659" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_e9a0fa8e-ea14-4ec9-9cb9-0a32533319d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_84f66a2d-d0ee-4d5f-8b6a-7cad95195659" xlink:to="loc_us-gaap_OperatingSegmentsMember_e9a0fa8e-ea14-4ec9-9cb9-0a32533319d7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_f9de66b8-202d-477c-9f50-7a7828bf4d5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_ebb7a8e5-1390-4ba1-a969-5459125aaf4f" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_f9de66b8-202d-477c-9f50-7a7828bf4d5f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_f9de66b8-202d-477c-9f50-7a7828bf4d5f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_f9de66b8-202d-477c-9f50-7a7828bf4d5f" xlink:to="loc_us-gaap_SegmentDomain_f9de66b8-202d-477c-9f50-7a7828bf4d5f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_cfb6c0ec-ac97-4abe-af10-707343d73c7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_f9de66b8-202d-477c-9f50-7a7828bf4d5f" xlink:to="loc_us-gaap_SegmentDomain_cfb6c0ec-ac97-4abe-af10-707343d73c7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ConsumerBankingSegmentMember_d28da149-18a4-46d2-a67f-a86f76bd28c3" xlink:href="bac-20251231.xsd#bac_ConsumerBankingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_cfb6c0ec-ac97-4abe-af10-707343d73c7b" xlink:to="loc_bac_ConsumerBankingSegmentMember_d28da149-18a4-46d2-a67f-a86f76bd28c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalWealthAndInvestmentManagementSegmentMember_1b005956-e052-485d-9091-3d7e005c27e6" xlink:href="bac-20251231.xsd#bac_GlobalWealthAndInvestmentManagementSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_cfb6c0ec-ac97-4abe-af10-707343d73c7b" xlink:to="loc_bac_GlobalWealthAndInvestmentManagementSegmentMember_1b005956-e052-485d-9091-3d7e005c27e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalBankingSegmentMember_fcb76176-50ed-4b9e-8323-e6bb9c2ab704" xlink:href="bac-20251231.xsd#bac_GlobalBankingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_cfb6c0ec-ac97-4abe-af10-707343d73c7b" xlink:to="loc_bac_GlobalBankingSegmentMember_fcb76176-50ed-4b9e-8323-e6bb9c2ab704" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalMarketsSegmentMember_026e1284-e13a-433b-a8ff-bef234a1a3ed" xlink:href="bac-20251231.xsd#bac_GlobalMarketsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_cfb6c0ec-ac97-4abe-af10-707343d73c7b" xlink:to="loc_bac_GlobalMarketsSegmentMember_026e1284-e13a-433b-a8ff-bef234a1a3ed" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_7bf7ecda-ea86-4476-b26b-babc1359e7de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_b85e1cca-1f99-4e4f-9f9d-3f3d56ca3350" xlink:to="loc_us-gaap_Goodwill_7bf7ecda-ea86-4476-b26b-babc1359e7de" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/GoodwillandIntangibleAssetsNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#GoodwillandIntangibleAssetsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/GoodwillandIntangibleAssetsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_d7bd737e-6c7a-4d56-9093-187b184a2205" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_47cd01f1-89b1-4b9c-8ee0-8f1a56e0a5f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_d7bd737e-6c7a-4d56-9093-187b184a2205" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_47cd01f1-89b1-4b9c-8ee0-8f1a56e0a5f0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_c8d759ae-144d-4a78-81aa-58747cab1de6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_47cd01f1-89b1-4b9c-8ee0-8f1a56e0a5f0" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_c8d759ae-144d-4a78-81aa-58747cab1de6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_c8d759ae-144d-4a78-81aa-58747cab1de6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_c8d759ae-144d-4a78-81aa-58747cab1de6" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_c8d759ae-144d-4a78-81aa-58747cab1de6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_fa376698-f0c5-4508-8115-6a799602e2bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_c8d759ae-144d-4a78-81aa-58747cab1de6" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_fa376698-f0c5-4508-8115-6a799602e2bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_8986d042-9778-464d-a658-b4f9d26762f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_fa376698-f0c5-4508-8115-6a799602e2bf" xlink:to="loc_us-gaap_TradeNamesMember_8986d042-9778-464d-a658-b4f9d26762f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c34b4ee6-3bc7-4a7f-82a1-6c9070b40c6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_d7bd737e-6c7a-4d56-9093-187b184a2205" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c34b4ee6-3bc7-4a7f-82a1-6c9070b40c6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_d82a4c21-9c64-4d57-823d-45234b9ea577" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_d7bd737e-6c7a-4d56-9093-187b184a2205" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_d82a4c21-9c64-4d57-823d-45234b9ea577" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/LeasesMaturityofLessorandLesseeArrangementsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#LeasesMaturityofLessorandLesseeArrangementsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/LeasesMaturityofLessorandLesseeArrangementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems_0e3e4f0f-7bff-48b6-8411-0cff812fb083" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable_546f76c7-e539-48ba-9450-f6d87ca43a24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_0e3e4f0f-7bff-48b6-8411-0cff812fb083" xlink:to="loc_us-gaap_LessorLeaseDescriptionTable_546f76c7-e539-48ba-9450-f6d87ca43a24" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_9b1d2f49-9556-4661-8a31-060777212fa2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_546f76c7-e539-48ba-9450-f6d87ca43a24" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_9b1d2f49-9556-4661-8a31-060777212fa2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9b1d2f49-9556-4661-8a31-060777212fa2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_9b1d2f49-9556-4661-8a31-060777212fa2" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9b1d2f49-9556-4661-8a31-060777212fa2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_3d369c05-17f8-446d-a021-69cddc0a40e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_9b1d2f49-9556-4661-8a31-060777212fa2" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_3d369c05-17f8-446d-a021-69cddc0a40e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_eb6335be-c2f2-4e4f-bb15-ee5dbd5c9349" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_3d369c05-17f8-446d-a021-69cddc0a40e1" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_eb6335be-c2f2-4e4f-bb15-ee5dbd5c9349" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_77412d47-be1a-4929-bb7e-26017ef45b21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_3d369c05-17f8-446d-a021-69cddc0a40e1" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_77412d47-be1a-4929-bb7e-26017ef45b21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivable_53e8a231-d02c-4dd2-b082-39d766f467be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_0e3e4f0f-7bff-48b6-8411-0cff812fb083" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivable_53e8a231-d02c-4dd2-b082-39d766f467be" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DepositsContractualMaturitiesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DepositsContractualMaturitiesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DepositsContractualMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositLiabilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsTable_4cbaf0aa-eb7c-4411-97ad-f04af54ce946" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:to="loc_us-gaap_TimeDepositsTable_4cbaf0aa-eb7c-4411-97ad-f04af54ce946" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_8cc53068-c17b-4ba7-9e66-94b977fce625" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TimeDepositsTable_4cbaf0aa-eb7c-4411-97ad-f04af54ce946" xlink:to="loc_us-gaap_GeographicDistributionAxis_8cc53068-c17b-4ba7-9e66-94b977fce625" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_8cc53068-c17b-4ba7-9e66-94b977fce625_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_8cc53068-c17b-4ba7-9e66-94b977fce625" xlink:to="loc_us-gaap_GeographicDistributionDomain_8cc53068-c17b-4ba7-9e66-94b977fce625_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_4229b9fd-1993-43a7-97cf-13a4083442f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_8cc53068-c17b-4ba7-9e66-94b977fce625" xlink:to="loc_us-gaap_GeographicDistributionDomain_4229b9fd-1993-43a7-97cf-13a4083442f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_39dd7f98-cdaa-4a06-9a4f-ec2b55cb0444" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_4229b9fd-1993-43a7-97cf-13a4083442f5" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_39dd7f98-cdaa-4a06-9a4f-ec2b55cb0444" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionForeignMember_3ecde0b7-2b0f-459d-ace3-dea63c6cab95" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_4229b9fd-1993-43a7-97cf-13a4083442f5" xlink:to="loc_us-gaap_GeographicDistributionForeignMember_3ecde0b7-2b0f-459d-ace3-dea63c6cab95" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_2652fb42-19bb-440c-a4b3-80ee69cc389e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_2652fb42-19bb-440c-a4b3-80ee69cc389e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_7bc46cbb-1e4c-4bba-b60a-83ff81b4f72e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_7bc46cbb-1e4c-4bba-b60a-83ff81b4f72e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_04f40c22-7f61-4235-98a9-66f57bf0b4f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_04f40c22-7f61-4235-98a9-66f57bf0b4f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_1ebc094f-e25a-48ed-8fd6-78103023f01e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositMaturitiesYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_1ebc094f-e25a-48ed-8fd6-78103023f01e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFive_d4cfedec-b02c-41f7-8514-1a92ae69d0af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositMaturitiesYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFive_d4cfedec-b02c-41f7-8514-1a92ae69d0af" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesAfterYearFive_5b6596b5-bf65-4d6c-af07-56ecb52f2686" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositMaturitiesAfterYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:to="loc_us-gaap_TimeDepositMaturitiesAfterYearFive_5b6596b5-bf65-4d6c-af07-56ecb52f2686" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_5cabf1e0-5a0a-4637-b730-982f42442179" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDeposits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositLiabilityLineItems_a1fbbd45-6df1-4107-8b0d-d717a8e47977" xlink:to="loc_us-gaap_TimeDeposits_5cabf1e0-5a0a-4637-b730-982f42442179" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/DepositsNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#DepositsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/DepositsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositLiabilityLineItems_cfaf3796-9d67-4d45-b3a7-f0e0aea4a0b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositLiabilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsTable_9f6f5081-09f3-4377-b83d-ad85111127b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimeDepositsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DepositLiabilityLineItems_cfaf3796-9d67-4d45-b3a7-f0e0aea4a0b2" xlink:to="loc_us-gaap_TimeDepositsTable_9f6f5081-09f3-4377-b83d-ad85111127b5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_9f146373-6f45-45cf-bf67-1cb529da8030" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TimeDepositsTable_9f6f5081-09f3-4377-b83d-ad85111127b5" xlink:to="loc_us-gaap_GeographicDistributionAxis_9f146373-6f45-45cf-bf67-1cb529da8030" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_9f146373-6f45-45cf-bf67-1cb529da8030_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_9f146373-6f45-45cf-bf67-1cb529da8030" xlink:to="loc_us-gaap_GeographicDistributionDomain_9f146373-6f45-45cf-bf67-1cb529da8030_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_99684d66-2354-4c3c-a752-e48a57f7ad12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_9f146373-6f45-45cf-bf67-1cb529da8030" xlink:to="loc_us-gaap_GeographicDistributionDomain_99684d66-2354-4c3c-a752-e48a57f7ad12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_31585093-d489-4fe9-91fd-6a3ffdba931d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_99684d66-2354-4c3c-a752-e48a57f7ad12" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_31585093-d489-4fe9-91fd-6a3ffdba931d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionForeignMember_01f39f3e-49a0-4d4d-8b38-8c37c4b414bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_99684d66-2354-4c3c-a752-e48a57f7ad12" xlink:to="loc_us-gaap_GeographicDistributionForeignMember_01f39f3e-49a0-4d4d-8b38-8c37c4b414bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TimeDepositsAtOrAboveInsuranceLimit_5d2af666-0978-447f-ba58-a275426ab23c" xlink:href="bac-20251231.xsd#bac_TimeDepositsAtOrAboveInsuranceLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepositLiabilityLineItems_cfaf3796-9d67-4d45-b3a7-f0e0aea4a0b2" xlink:to="loc_bac_TimeDepositsAtOrAboveInsuranceLimit_5d2af666-0978-447f-ba58-a275426ab23c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashRemainingContractualMaturityDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashRemainingContractualMaturityDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashRemainingContractualMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_1002a77a-a097-4dbd-8fd3-fb59636bf96d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_298d712b-b61c-4ef9-88ae-9e33d509a1ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_1002a77a-a097-4dbd-8fd3-fb59636bf96d" xlink:to="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_298d712b-b61c-4ef9-88ae-9e33d509a1ef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_4571c12f-ac3b-408c-a895-1a6c1b9a2c23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_298d712b-b61c-4ef9-88ae-9e33d509a1ef" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_4571c12f-ac3b-408c-a895-1a6c1b9a2c23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_4571c12f-ac3b-408c-a895-1a6c1b9a2c23_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_4571c12f-ac3b-408c-a895-1a6c1b9a2c23" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_4571c12f-ac3b-408c-a895-1a6c1b9a2c23_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_ae193a12-1b5e-469a-adf1-38c00cfac608" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_4571c12f-ac3b-408c-a895-1a6c1b9a2c23" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_ae193a12-1b5e-469a-adf1-38c00cfac608" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaturityOvernightAndOnDemandMember_ec3af127-6c8a-44b6-8b63-b5051edd568b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MaturityOvernightAndOnDemandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_ae193a12-1b5e-469a-adf1-38c00cfac608" xlink:to="loc_us-gaap_MaturityOvernightAndOnDemandMember_ec3af127-6c8a-44b6-8b63-b5051edd568b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaturityUpTo30DaysMember_cba9fdfe-3c7d-4203-92c5-986836c67d6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MaturityUpTo30DaysMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_ae193a12-1b5e-469a-adf1-38c00cfac608" xlink:to="loc_us-gaap_MaturityUpTo30DaysMember_cba9fdfe-3c7d-4203-92c5-986836c67d6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Maturity30To90DaysMember_2db9d4df-6f6a-4517-8308-341225be7dc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Maturity30To90DaysMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_ae193a12-1b5e-469a-adf1-38c00cfac608" xlink:to="loc_us-gaap_Maturity30To90DaysMember_2db9d4df-6f6a-4517-8308-341225be7dc6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaturityOver90DaysMember_8e65a520-6ad0-432a-9af4-dabd5b07b80f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MaturityOver90DaysMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_ae193a12-1b5e-469a-adf1-38c00cfac608" xlink:to="loc_us-gaap_MaturityOver90DaysMember_8e65a520-6ad0-432a-9af4-dabd5b07b80f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement_2e4531a5-4484-4b29-9b9c-6cac5bca56f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_1002a77a-a097-4dbd-8fd3-fb59636bf96d" xlink:to="loc_us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement_2e4531a5-4484-4b29-9b9c-6cac5bca56f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesLoanedIncludingNotSubjectToMasterNettingArrangementAndAssetsOtherThanSecuritiesTransferred_aceba103-257e-4e24-b473-56e5b16ba8a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesLoanedIncludingNotSubjectToMasterNettingArrangementAndAssetsOtherThanSecuritiesTransferred"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_1002a77a-a097-4dbd-8fd3-fb59636bf96d" xlink:to="loc_us-gaap_SecuritiesLoanedIncludingNotSubjectToMasterNettingArrangementAndAssetsOtherThanSecuritiesTransferred_aceba103-257e-4e24-b473-56e5b16ba8a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritiesLoanedOtherAssetsGrossIncludingNotSubjectToMasterNettingArrangement_c155fd97-0a8c-4b1c-9973-1136d5a4013a" xlink:href="bac-20251231.xsd#bac_SecuritiesLoanedOtherAssetsGrossIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_1002a77a-a097-4dbd-8fd3-fb59636bf96d" xlink:to="loc_bac_SecuritiesLoanedOtherAssetsGrossIncludingNotSubjectToMasterNettingArrangement_c155fd97-0a8c-4b1c-9973-1136d5a4013a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredBorrowingsGrossIncludingNotSubjectToMasterNettingArrangement_112e8137-8ead-44cb-a63d-9ef6ef8d8952" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredBorrowingsGrossIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_1002a77a-a097-4dbd-8fd3-fb59636bf96d" xlink:to="loc_us-gaap_SecuredBorrowingsGrossIncludingNotSubjectToMasterNettingArrangement_112e8137-8ead-44cb-a63d-9ef6ef8d8952" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashClassofCollateralPledgedDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashClassofCollateralPledgedDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/SecuritiesFinancingAgreementsShorttermBorrowingsCollateralandRestrictedCashClassofCollateralPledgedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_24fb5002-51d9-4ca2-891e-e431dd36d0c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_60b476b4-efde-4506-97a2-895136b7ca20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_24fb5002-51d9-4ca2-891e-e431dd36d0c0" xlink:to="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_60b476b4-efde-4506-97a2-895136b7ca20" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_664a1301-5535-46a8-a745-334f31346706" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_60b476b4-efde-4506-97a2-895136b7ca20" xlink:to="loc_us-gaap_FinancialInstrumentAxis_664a1301-5535-46a8-a745-334f31346706" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_664a1301-5535-46a8-a745-334f31346706_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_664a1301-5535-46a8-a745-334f31346706" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_664a1301-5535-46a8-a745-334f31346706_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fa4ca60-c634-48aa-bf50-166954b3daab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_664a1301-5535-46a8-a745-334f31346706" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fa4ca60-c634-48aa-bf50-166954b3daab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_54091346-d21b-4867-bc7c-50b328b275bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fa4ca60-c634-48aa-bf50-166954b3daab" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_54091346-d21b-4867-bc7c-50b328b275bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CorporateDebtSecuritiesTradingLoansandOtherMember_ceb559a2-e035-4814-b09c-478cd66cf090" xlink:href="bac-20251231.xsd#bac_CorporateDebtSecuritiesTradingLoansandOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fa4ca60-c634-48aa-bf50-166954b3daab" xlink:to="loc_bac_CorporateDebtSecuritiesTradingLoansandOtherMember_ceb559a2-e035-4814-b09c-478cd66cf090" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesMember_aab7cf72-dc4f-4614-a32f-a2bf3baa5e5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fa4ca60-c634-48aa-bf50-166954b3daab" xlink:to="loc_us-gaap_EquitySecuritiesMember_aab7cf72-dc4f-4614-a32f-a2bf3baa5e5f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_8dd64fad-f9ea-4a3b-8762-b451a63a61d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fa4ca60-c634-48aa-bf50-166954b3daab" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_8dd64fad-f9ea-4a3b-8762-b451a63a61d7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansMember_cf384357-baaa-4ac6-9797-ee358e816faf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fa4ca60-c634-48aa-bf50-166954b3daab" xlink:to="loc_us-gaap_LoansMember_cf384357-baaa-4ac6-9797-ee358e816faf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement_7abf11f6-ad93-4e1d-8294-2eee835dff2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_24fb5002-51d9-4ca2-891e-e431dd36d0c0" xlink:to="loc_us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement_7abf11f6-ad93-4e1d-8294-2eee835dff2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesLoanedIncludingNotSubjectToMasterNettingArrangementAndAssetsOtherThanSecuritiesTransferred_1a656144-2439-46b2-9dc2-31a76dd69608" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesLoanedIncludingNotSubjectToMasterNettingArrangementAndAssetsOtherThanSecuritiesTransferred"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_24fb5002-51d9-4ca2-891e-e431dd36d0c0" xlink:to="loc_us-gaap_SecuritiesLoanedIncludingNotSubjectToMasterNettingArrangementAndAssetsOtherThanSecuritiesTransferred_1a656144-2439-46b2-9dc2-31a76dd69608" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritiesLoanedOtherAssetsGrossIncludingNotSubjectToMasterNettingArrangement_1dd6b6f6-ef08-4c98-a420-d50c08f88d89" xlink:href="bac-20251231.xsd#bac_SecuritiesLoanedOtherAssetsGrossIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_24fb5002-51d9-4ca2-891e-e431dd36d0c0" xlink:to="loc_bac_SecuritiesLoanedOtherAssetsGrossIncludingNotSubjectToMasterNettingArrangement_1dd6b6f6-ef08-4c98-a420-d50c08f88d89" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredBorrowingsGrossIncludingNotSubjectToMasterNettingArrangement_651ca7c8-1ccb-4a8b-99eb-57793c919d73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredBorrowingsGrossIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_24fb5002-51d9-4ca2-891e-e431dd36d0c0" xlink:to="loc_us-gaap_SecuredBorrowingsGrossIncludingNotSubjectToMasterNettingArrangement_651ca7c8-1ccb-4a8b-99eb-57793c919d73" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/LongtermDebtBalancesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#LongtermDebtBalancesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/LongtermDebtBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_62db551f-e3ec-4854-953c-749a59a9e1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_62db551f-e3ec-4854-953c-749a59a9e1d8" xlink:to="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_8d4d1335-ef18-4bb8-85b0-6c6832a013b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_8d4d1335-ef18-4bb8-85b0-6c6832a013b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_8d4d1335-ef18-4bb8-85b0-6c6832a013b5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8d4d1335-ef18-4bb8-85b0-6c6832a013b5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_8d4d1335-ef18-4bb8-85b0-6c6832a013b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_8d4d1335-ef18-4bb8-85b0-6c6832a013b5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_adfe8cc8-80af-4380-addc-9e99e33556bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_us-gaap_SeniorNotesMember_adfe8cc8-80af-4380-addc-9e99e33556bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorSubordinatedNotesMember_261d69c2-9715-455f-934e-e0642e9b4535" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorSubordinatedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_us-gaap_SeniorSubordinatedNotesMember_261d69c2-9715-455f-934e-e0642e9b4535" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebtMember_7b05439d-d76c-408a-bdd1-d443309c9078" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubordinatedDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_us-gaap_SubordinatedDebtMember_7b05439d-d76c-408a-bdd1-d443309c9078" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_JuniorSubordinatedDebtMember_7e090d6a-38a8-474a-a4a6-e7875a34bed3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_JuniorSubordinatedDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_us-gaap_JuniorSubordinatedDebtMember_7e090d6a-38a8-474a-a4a6-e7875a34bed3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMember_2b5e17dd-1dd2-411e-afb9-491ead97ccf5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMember_2b5e17dd-1dd2-411e-afb9-491ead97ccf5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritizationsMember_59432aa4-f7d8-4464-ac7d-f1df11adb8ca" xlink:href="bac-20251231.xsd#bac_SecuritizationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_bac_SecuritizationsMember_59432aa4-f7d8-4464-ac7d-f1df11adb8ca" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherLongTermDebtMember_1265e940-2f6e-4ac8-8850-8518a5774696" xlink:href="bac-20251231.xsd#bac_OtherLongTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_bac_OtherLongTermDebtMember_1265e940-2f6e-4ac8-8850-8518a5774696" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StructuredFinanceMember_8c51f1d5-b5c6-474b-967c-e3a325fdec71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StructuredFinanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_us-gaap_StructuredFinanceMember_8c51f1d5-b5c6-474b-967c-e3a325fdec71" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonBankVariableInterestEntitiesMember_542004de-1c3a-4020-a532-5039531daa9b" xlink:href="bac-20251231.xsd#bac_NonBankVariableInterestEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cf81b87d-c992-4e86-8bf7-1ade81e2355e" xlink:to="loc_bac_NonBankVariableInterestEntitiesMember_542004de-1c3a-4020-a532-5039531daa9b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_c6b0a678-5ef8-45e8-aa59-6ba18edb9a87" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:to="loc_srt_ConsolidatedEntitiesAxis_c6b0a678-5ef8-45e8-aa59-6ba18edb9a87" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_c6b0a678-5ef8-45e8-aa59-6ba18edb9a87_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_c6b0a678-5ef8-45e8-aa59-6ba18edb9a87" xlink:to="loc_srt_ConsolidatedEntitiesDomain_c6b0a678-5ef8-45e8-aa59-6ba18edb9a87_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_ed53e6f4-3759-4d39-8092-61fc38e4de03" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_c6b0a678-5ef8-45e8-aa59-6ba18edb9a87" xlink:to="loc_srt_ConsolidatedEntitiesDomain_ed53e6f4-3759-4d39-8092-61fc38e4de03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_1ac55420-9001-4a1e-a77f-4ff24d0d55bb" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_ed53e6f4-3759-4d39-8092-61fc38e4de03" xlink:to="loc_srt_ParentCompanyMember_1ac55420-9001-4a1e-a77f-4ff24d0d55bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_9963b984-6614-4b94-a921-025760d4b46a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_ed53e6f4-3759-4d39-8092-61fc38e4de03" xlink:to="loc_srt_SubsidiariesMember_9963b984-6614-4b94-a921-025760d4b46a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_3e76d516-e38e-4b06-af8f-485bb98f79fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_ed53e6f4-3759-4d39-8092-61fc38e4de03" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_3e76d516-e38e-4b06-af8f-485bb98f79fd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_57500693-1c1c-4027-8f90-a3b521a6621b" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:to="loc_dei_LegalEntityAxis_57500693-1c1c-4027-8f90-a3b521a6621b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_57500693-1c1c-4027-8f90-a3b521a6621b_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_57500693-1c1c-4027-8f90-a3b521a6621b" xlink:to="loc_dei_EntityDomain_57500693-1c1c-4027-8f90-a3b521a6621b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_126f3478-9359-491a-87ba-6f19d8284de1" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_57500693-1c1c-4027-8f90-a3b521a6621b" xlink:to="loc_dei_EntityDomain_126f3478-9359-491a-87ba-6f19d8284de1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_1e710e9f-a408-4105-8d83-cf63df4963a7" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_126f3478-9359-491a-87ba-6f19d8284de1" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_1e710e9f-a408-4105-8d83-cf63df4963a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_a61f5b01-e70c-4c94-b554-469105bb7c62" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:to="loc_srt_RangeAxis_a61f5b01-e70c-4c94-b554-469105bb7c62" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a61f5b01-e70c-4c94-b554-469105bb7c62_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_a61f5b01-e70c-4c94-b554-469105bb7c62" xlink:to="loc_srt_RangeMember_a61f5b01-e70c-4c94-b554-469105bb7c62_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d0d1c2e3-5b83-4feb-979a-e435b4e6ec50" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_a61f5b01-e70c-4c94-b554-469105bb7c62" xlink:to="loc_srt_RangeMember_d0d1c2e3-5b83-4feb-979a-e435b4e6ec50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_65cca77b-e0a1-438d-ac7c-394a550f793b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d0d1c2e3-5b83-4feb-979a-e435b4e6ec50" xlink:to="loc_srt_MinimumMember_65cca77b-e0a1-438d-ac7c-394a550f793b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_47a48ecd-84ac-4929-bfd9-4adffe3d7c7f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d0d1c2e3-5b83-4feb-979a-e435b4e6ec50" xlink:to="loc_srt_MaximumMember_47a48ecd-84ac-4929-bfd9-4adffe3d7c7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_dc598b1b-47c3-454c-be82-e9d6661b7ddb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:to="loc_us-gaap_DebtInstrumentAxis_dc598b1b-47c3-454c-be82-e9d6661b7ddb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_dc598b1b-47c3-454c-be82-e9d6661b7ddb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_dc598b1b-47c3-454c-be82-e9d6661b7ddb" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_dc598b1b-47c3-454c-be82-e9d6661b7ddb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_dc598b1b-47c3-454c-be82-e9d6661b7ddb" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaCorporationSeniorNotesFixedMember_fe86e647-20b2-45f1-8087-eefb9e347fa3" xlink:href="bac-20251231.xsd#bac_BankofAmericaCorporationSeniorNotesFixedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaCorporationSeniorNotesFixedMember_fe86e647-20b2-45f1-8087-eefb9e347fa3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaCorporationSeniorNotesFloatingMember_657b642f-27f4-439f-9355-8004274d2aaf" xlink:href="bac-20251231.xsd#bac_BankofAmericaCorporationSeniorNotesFloatingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaCorporationSeniorNotesFloatingMember_657b642f-27f4-439f-9355-8004274d2aaf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaCorporationSubordinatedNotesFixedMember_9247318c-f8e1-4256-9c97-278db2004017" xlink:href="bac-20251231.xsd#bac_BankofAmericaCorporationSubordinatedNotesFixedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaCorporationSubordinatedNotesFixedMember_9247318c-f8e1-4256-9c97-278db2004017" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaCorporationSubordinatedNotesFloatingMember_da8ea027-3c8d-4533-855c-bb9f509b75f5" xlink:href="bac-20251231.xsd#bac_BankofAmericaCorporationSubordinatedNotesFloatingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaCorporationSubordinatedNotesFloatingMember_da8ea027-3c8d-4533-855c-bb9f509b75f5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaCorporationJuniorSubordinatedNotesFixedMember_1f9fb750-c58e-4153-93fe-70b1ff6403d6" xlink:href="bac-20251231.xsd#bac_BankofAmericaCorporationJuniorSubordinatedNotesFixedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaCorporationJuniorSubordinatedNotesFixedMember_1f9fb750-c58e-4153-93fe-70b1ff6403d6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaCorporationJuniorSubordinatedNotesFloatingMember_5b1e2672-6d1b-4586-8cc2-fe7fce4121f2" xlink:href="bac-20251231.xsd#bac_BankofAmericaCorporationJuniorSubordinatedNotesFloatingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaCorporationJuniorSubordinatedNotesFloatingMember_5b1e2672-6d1b-4586-8cc2-fe7fce4121f2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaN.A.SeniorNotesFixedMember_23c07b39-2622-47fb-9c94-a9401ff47def" xlink:href="bac-20251231.xsd#bac_BankofAmericaN.A.SeniorNotesFixedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaN.A.SeniorNotesFixedMember_23c07b39-2622-47fb-9c94-a9401ff47def" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaN.A.SeniorNotesFloatingMember_1623c305-43a3-4ff8-85ea-10a7f4c90613" xlink:href="bac-20251231.xsd#bac_BankofAmericaN.A.SeniorNotesFloatingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaN.A.SeniorNotesFloatingMember_1623c305-43a3-4ff8-85ea-10a7f4c90613" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaN.A.SubordinatedNotesFixedMember_011d745d-1510-4413-be12-c0ff13bdf8bd" xlink:href="bac-20251231.xsd#bac_BankofAmericaN.A.SubordinatedNotesFixedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaN.A.SubordinatedNotesFixedMember_011d745d-1510-4413-be12-c0ff13bdf8bd" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaN.A.AdvancesfromFederalHomeLoanBanksFixedMember_09eba478-51bd-4515-85cc-8b77354d5f86" xlink:href="bac-20251231.xsd#bac_BankofAmericaN.A.AdvancesfromFederalHomeLoanBanksFixedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaN.A.AdvancesfromFederalHomeLoanBanksFixedMember_09eba478-51bd-4515-85cc-8b77354d5f86" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankofAmericaN.A.AdvancesfromFederalHomeLoanBanksFloatingMember_d7de78ad-83d6-406f-ab65-db9f67a54868" xlink:href="bac-20251231.xsd#bac_BankofAmericaN.A.AdvancesfromFederalHomeLoanBanksFloatingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_918442b5-1df7-4abd-b949-a8664537f95b" xlink:to="loc_bac_BankofAmericaN.A.AdvancesfromFederalHomeLoanBanksFloatingMember_d7de78ad-83d6-406f-ab65-db9f67a54868" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_70d465a3-d5d7-481d-9663-550e58e942f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:to="loc_us-gaap_FinancialInstrumentAxis_70d465a3-d5d7-481d-9663-550e58e942f4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_70d465a3-d5d7-481d-9663-550e58e942f4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_70d465a3-d5d7-481d-9663-550e58e942f4" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_70d465a3-d5d7-481d-9663-550e58e942f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8fbba1af-ddda-4fdb-9297-38edf5d74831" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_70d465a3-d5d7-481d-9663-550e58e942f4" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8fbba1af-ddda-4fdb-9297-38edf5d74831" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardReceivableAndAutomobileSecuritizationsMember_69719e47-c03c-408a-a92d-ed043611b391" xlink:href="bac-20251231.xsd#bac_CreditCardReceivableAndAutomobileSecuritizationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8fbba1af-ddda-4fdb-9297-38edf5d74831" xlink:to="loc_bac_CreditCardReceivableAndAutomobileSecuritizationsMember_69719e47-c03c-408a-a92d-ed043611b391" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherVariableInterestEntitiesMember_2636739f-0e11-4a59-8114-ad2a7561d6e2" xlink:href="bac-20251231.xsd#bac_OtherVariableInterestEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8fbba1af-ddda-4fdb-9297-38edf5d74831" xlink:to="loc_bac_OtherVariableInterestEntitiesMember_2636739f-0e11-4a59-8114-ad2a7561d6e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_bca1fb96-c416-48d2-8515-ad9721c09373" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8aead804-91d4-4405-be0b-2c5abc6a0111" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_bca1fb96-c416-48d2-8515-ad9721c09373" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_bca1fb96-c416-48d2-8515-ad9721c09373_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_bca1fb96-c416-48d2-8515-ad9721c09373" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_bca1fb96-c416-48d2-8515-ad9721c09373_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_3b824d60-e170-47d2-b681-76b366cb6529" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_bca1fb96-c416-48d2-8515-ad9721c09373" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_3b824d60-e170-47d2-b681-76b366cb6529" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialGuaranteeMember_fed9092c-7210-4132-b9ee-7122296e64aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialGuaranteeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_3b824d60-e170-47d2-b681-76b366cb6529" xlink:to="loc_us-gaap_FinancialGuaranteeMember_fed9092c-7210-4132-b9ee-7122296e64aa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_06dd1a24-170c-4e1c-9dda-0eead5556b5e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_62db551f-e3ec-4854-953c-749a59a9e1d8" xlink:to="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_06dd1a24-170c-4e1c-9dda-0eead5556b5e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_61d4eed1-88b1-4f51-a67f-39881a0a2eb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_62db551f-e3ec-4854-953c-749a59a9e1d8" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_61d4eed1-88b1-4f51-a67f-39881a0a2eb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_69862abd-c15e-48ad-a1f6-0ebc14aa137a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtPercentageBearingVariableInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_62db551f-e3ec-4854-953c-749a59a9e1d8" xlink:to="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_69862abd-c15e-48ad-a1f6-0ebc14aa137a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_585bff09-e50b-40a0-97c0-6cd0fcb482f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_62db551f-e3ec-4854-953c-749a59a9e1d8" xlink:to="loc_us-gaap_LongTermDebt_585bff09-e50b-40a0-97c0-6cd0fcb482f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_e8828ffc-163f-4dc1-9553-b58377338a2e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsCurrentCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_62db551f-e3ec-4854-953c-749a59a9e1d8" xlink:to="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_e8828ffc-163f-4dc1-9553-b58377338a2e" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/LongtermDebtNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#LongtermDebtNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/LongtermDebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_dd2a97f0-5da1-4899-a68c-a9eedf480b4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_2ecf56ef-6d3c-45a5-870d-b4f9ad02cdac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd2a97f0-5da1-4899-a68c-a9eedf480b4b" xlink:to="loc_us-gaap_DebtInstrumentTable_2ecf56ef-6d3c-45a5-870d-b4f9ad02cdac" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_90dc3518-c425-4535-ade5-135c06753650" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2ecf56ef-6d3c-45a5-870d-b4f9ad02cdac" xlink:to="loc_us-gaap_DebtInstrumentAxis_90dc3518-c425-4535-ade5-135c06753650" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_90dc3518-c425-4535-ade5-135c06753650_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_90dc3518-c425-4535-ade5-135c06753650" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_90dc3518-c425-4535-ade5-135c06753650_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_cc54ae5d-986c-4158-8af1-febd983c671c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_90dc3518-c425-4535-ade5-135c06753650" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_cc54ae5d-986c-4158-8af1-febd983c671c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_A2021LongTermDebtNotesMember_800dca72-4539-4549-8edf-136c3aae811f" xlink:href="bac-20251231.xsd#bac_A2021LongTermDebtNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc54ae5d-986c-4158-8af1-febd983c671c" xlink:to="loc_bac_A2021LongTermDebtNotesMember_800dca72-4539-4549-8edf-136c3aae811f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_A2020LongTermDebtNotesMember_2c2ac0da-26fd-44ee-a5bd-dfc5aefe4816" xlink:href="bac-20251231.xsd#bac_A2020LongTermDebtNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc54ae5d-986c-4158-8af1-febd983c671c" xlink:to="loc_bac_A2020LongTermDebtNotesMember_2c2ac0da-26fd-44ee-a5bd-dfc5aefe4816" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForeignCurrencyDominatedDebtMember_f216212f-555d-4bd5-9cd6-3de961b725dd" xlink:href="bac-20251231.xsd#bac_ForeignCurrencyDominatedDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc54ae5d-986c-4158-8af1-febd983c671c" xlink:to="loc_bac_ForeignCurrencyDominatedDebtMember_f216212f-555d-4bd5-9cd6-3de961b725dd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_4e6ac130-6740-4cc0-befd-98dfabef1814" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2ecf56ef-6d3c-45a5-870d-b4f9ad02cdac" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_4e6ac130-6740-4cc0-befd-98dfabef1814" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4e6ac130-6740-4cc0-befd-98dfabef1814_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4e6ac130-6740-4cc0-befd-98dfabef1814" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4e6ac130-6740-4cc0-befd-98dfabef1814_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_524f58bd-5440-4039-b14e-65e139c92f89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4e6ac130-6740-4cc0-befd-98dfabef1814" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_524f58bd-5440-4039-b14e-65e139c92f89" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LongTermDebtExcludingSeniorStructuredNotesMember_ac51222f-32a2-4fbc-a5c9-b9f473e2d72c" xlink:href="bac-20251231.xsd#bac_LongTermDebtExcludingSeniorStructuredNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_524f58bd-5440-4039-b14e-65e139c92f89" xlink:to="loc_bac_LongTermDebtExcludingSeniorStructuredNotesMember_ac51222f-32a2-4fbc-a5c9-b9f473e2d72c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FixedRateDebtMember_c6f61839-a62a-4ed4-aae6-cc02628a2004" xlink:href="bac-20251231.xsd#bac_FixedRateDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_524f58bd-5440-4039-b14e-65e139c92f89" xlink:to="loc_bac_FixedRateDebtMember_c6f61839-a62a-4ed4-aae6-cc02628a2004" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FloatingRateDebtMember_332fa6cb-d082-4c27-b89f-7df94957eb85" xlink:href="bac-20251231.xsd#bac_FloatingRateDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_524f58bd-5440-4039-b14e-65e139c92f89" xlink:to="loc_bac_FloatingRateDebtMember_332fa6cb-d082-4c27-b89f-7df94957eb85" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_07238cab-7f67-4e3c-a7b4-1a4d16f2997b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2ecf56ef-6d3c-45a5-870d-b4f9ad02cdac" xlink:to="loc_srt_ConsolidatedEntitiesAxis_07238cab-7f67-4e3c-a7b4-1a4d16f2997b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_07238cab-7f67-4e3c-a7b4-1a4d16f2997b_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_07238cab-7f67-4e3c-a7b4-1a4d16f2997b" xlink:to="loc_srt_ConsolidatedEntitiesDomain_07238cab-7f67-4e3c-a7b4-1a4d16f2997b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_fd5d7d59-1b5b-4d4c-8ff8-837f6d783e62" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_07238cab-7f67-4e3c-a7b4-1a4d16f2997b" xlink:to="loc_srt_ConsolidatedEntitiesDomain_fd5d7d59-1b5b-4d4c-8ff8-837f6d783e62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_09eb6b95-77be-4c99-adea-8dd58a27539d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_fd5d7d59-1b5b-4d4c-8ff8-837f6d783e62" xlink:to="loc_srt_ParentCompanyMember_09eb6b95-77be-4c99-adea-8dd58a27539d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_54b490ea-2227-4826-afd4-8bfe54168027" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_fd5d7d59-1b5b-4d4c-8ff8-837f6d783e62" xlink:to="loc_srt_SubsidiariesMember_54b490ea-2227-4826-afd4-8bfe54168027" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_eac3788c-99c6-4972-b4ba-d5f4af1f9bc9" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2ecf56ef-6d3c-45a5-870d-b4f9ad02cdac" xlink:to="loc_dei_LegalEntityAxis_eac3788c-99c6-4972-b4ba-d5f4af1f9bc9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_eac3788c-99c6-4972-b4ba-d5f4af1f9bc9_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_eac3788c-99c6-4972-b4ba-d5f4af1f9bc9" xlink:to="loc_dei_EntityDomain_eac3788c-99c6-4972-b4ba-d5f4af1f9bc9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_5de5ce9b-4037-4ceb-9c33-d06511311655" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_eac3788c-99c6-4972-b4ba-d5f4af1f9bc9" xlink:to="loc_dei_EntityDomain_5de5ce9b-4037-4ceb-9c33-d06511311655" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_57d8a7c0-e65d-4483-b7a7-473921a42fbf" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_5de5ce9b-4037-4ceb-9c33-d06511311655" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_57d8a7c0-e65d-4483-b7a7-473921a42fbf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_9aea12cb-893d-40a5-8b73-1e96aa2f8892" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd2a97f0-5da1-4899-a68c-a9eedf480b4b" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_9aea12cb-893d-40a5-8b73-1e96aa2f8892" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RepaymentsOfLongTermDebtNetOfAdjustments_c664e410-e2c8-4418-920d-731fe82590c3" xlink:href="bac-20251231.xsd#bac_RepaymentsOfLongTermDebtNetOfAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd2a97f0-5da1-4899-a68c-a9eedf480b4b" xlink:to="loc_bac_RepaymentsOfLongTermDebtNetOfAdjustments_c664e410-e2c8-4418-920d-731fe82590c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_e4261ca3-5b33-4e02-a3d7-e4c5c4c3d333" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd2a97f0-5da1-4899-a68c-a9eedf480b4b" xlink:to="loc_us-gaap_LongTermDebt_e4261ca3-5b33-4e02-a3d7-e4c5c4c3d333" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_24d3cda4-fc06-4d46-86d7-26813e943f09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd2a97f0-5da1-4899-a68c-a9eedf480b4b" xlink:to="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_24d3cda4-fc06-4d46-86d7-26813e943f09" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/LongtermDebtLongtermDebtbyMaturityDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#LongtermDebtLongtermDebtbyMaturityDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/LongtermDebtLongtermDebtbyMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_67ac2ae6-b6f0-4097-9188-f66ddf84af25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_97d5845b-0a2c-4e88-abda-39c1ff9cc56e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_67ac2ae6-b6f0-4097-9188-f66ddf84af25" xlink:to="loc_us-gaap_DebtInstrumentTable_97d5845b-0a2c-4e88-abda-39c1ff9cc56e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_732d3cdd-8975-413d-a6eb-b32bba26df8f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_97d5845b-0a2c-4e88-abda-39c1ff9cc56e" xlink:to="loc_srt_ConsolidatedEntitiesAxis_732d3cdd-8975-413d-a6eb-b32bba26df8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_732d3cdd-8975-413d-a6eb-b32bba26df8f_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_732d3cdd-8975-413d-a6eb-b32bba26df8f" xlink:to="loc_srt_ConsolidatedEntitiesDomain_732d3cdd-8975-413d-a6eb-b32bba26df8f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_86587b55-9510-4847-a09d-119ddd15d70a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_732d3cdd-8975-413d-a6eb-b32bba26df8f" xlink:to="loc_srt_ConsolidatedEntitiesDomain_86587b55-9510-4847-a09d-119ddd15d70a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_b7360381-a72a-4de4-aa28-ca8bc92df60a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_86587b55-9510-4847-a09d-119ddd15d70a" xlink:to="loc_srt_ParentCompanyMember_b7360381-a72a-4de4-aa28-ca8bc92df60a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_3374bd02-e036-4365-9de4-0e81236e1be8" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_86587b55-9510-4847-a09d-119ddd15d70a" xlink:to="loc_srt_SubsidiariesMember_3374bd02-e036-4365-9de4-0e81236e1be8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_61d0c133-3151-4a53-baa7-3b5129199d94" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_97d5845b-0a2c-4e88-abda-39c1ff9cc56e" xlink:to="loc_dei_LegalEntityAxis_61d0c133-3151-4a53-baa7-3b5129199d94" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_61d0c133-3151-4a53-baa7-3b5129199d94_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_61d0c133-3151-4a53-baa7-3b5129199d94" xlink:to="loc_dei_EntityDomain_61d0c133-3151-4a53-baa7-3b5129199d94_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_02a81628-c34f-4671-96b0-159a799f19ad" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_61d0c133-3151-4a53-baa7-3b5129199d94" xlink:to="loc_dei_EntityDomain_02a81628-c34f-4671-96b0-159a799f19ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_e8be12e7-325e-4cdf-9b00-34f59235767d" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_02a81628-c34f-4671-96b0-159a799f19ad" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_e8be12e7-325e-4cdf-9b00-34f59235767d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_cd87f2cf-1d25-47d3-80a6-9affbeba3e00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_97d5845b-0a2c-4e88-abda-39c1ff9cc56e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_cd87f2cf-1d25-47d3-80a6-9affbeba3e00" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_cd87f2cf-1d25-47d3-80a6-9affbeba3e00_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_cd87f2cf-1d25-47d3-80a6-9affbeba3e00" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_cd87f2cf-1d25-47d3-80a6-9affbeba3e00_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_cd87f2cf-1d25-47d3-80a6-9affbeba3e00" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_8f3a1c46-b632-4514-afa1-ca0466e4c49b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_us-gaap_SeniorNotesMember_8f3a1c46-b632-4514-afa1-ca0466e4c49b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorSubordinatedNotesMember_06c6bda0-2e32-4d7e-99c4-23da095ec556" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorSubordinatedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_us-gaap_SeniorSubordinatedNotesMember_06c6bda0-2e32-4d7e-99c4-23da095ec556" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebtMember_0b282ce5-fd61-4d1b-aee2-7d1ae61981de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubordinatedDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_us-gaap_SubordinatedDebtMember_0b282ce5-fd61-4d1b-aee2-7d1ae61981de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_JuniorSubordinatedDebtMember_ecf05c50-7c5f-489c-b920-7ea308e08256" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_JuniorSubordinatedDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_us-gaap_JuniorSubordinatedDebtMember_ecf05c50-7c5f-489c-b920-7ea308e08256" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMember_11034e36-bcaf-452b-8d26-4b9b232afa23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMember_11034e36-bcaf-452b-8d26-4b9b232afa23" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritizationsMember_0f724b34-c49b-4854-8d2f-7f3df8b43ba9" xlink:href="bac-20251231.xsd#bac_SecuritizationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_bac_SecuritizationsMember_0f724b34-c49b-4854-8d2f-7f3df8b43ba9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherLongTermDebtMember_c595355b-64fd-408b-bfdd-830b8141666e" xlink:href="bac-20251231.xsd#bac_OtherLongTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_bac_OtherLongTermDebtMember_c595355b-64fd-408b-bfdd-830b8141666e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StructuredFinanceMember_0b62e17a-a72c-425d-90d4-acf6f473eda2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StructuredFinanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_us-gaap_StructuredFinanceMember_0b62e17a-a72c-425d-90d4-acf6f473eda2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NoncoreNonbankVariableInterestEntityMember_13d8bb17-0b0b-4ff2-beb3-c2dd28e2c00b" xlink:href="bac-20251231.xsd#bac_NoncoreNonbankVariableInterestEntityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_fe738d00-922c-4c7a-9f00-78c986751ee4" xlink:to="loc_bac_NoncoreNonbankVariableInterestEntityMember_13d8bb17-0b0b-4ff2-beb3-c2dd28e2c00b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtByMaturityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_67ac2ae6-b6f0-4097-9188-f66ddf84af25" xlink:to="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_44a55640-1a6a-4cb2-9052-f94ef15ba6e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_44a55640-1a6a-4cb2-9052-f94ef15ba6e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_6c1b01c6-1dff-4dc4-a82a-d3de0300c101" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_6c1b01c6-1dff-4dc4-a82a-d3de0300c101" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_60f2535c-1b53-4996-893b-7187a810c45b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_60f2535c-1b53-4996-893b-7187a810c45b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_eb95ee7d-a21d-4235-8e7b-0aa66f1a4780" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_eb95ee7d-a21d-4235-8e7b-0aa66f1a4780" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_17dffcca-2696-44b7-bdcd-4a90584c7671" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_17dffcca-2696-44b7-bdcd-4a90584c7671" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_76061fe5-010c-410e-a5c2-9f99830f2a4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_76061fe5-010c-410e-a5c2-9f99830f2a4b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_749ed110-5aec-47a0-80ac-6231509200b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_bc9f85e1-9a16-49a9-8dc0-fe424434ea55" xlink:to="loc_us-gaap_LongTermDebt_749ed110-5aec-47a0-80ac-6231509200b7" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/CommitmentsandContingenciesCreditExtensionCommitmentsNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#CommitmentsandContingenciesCreditExtensionCommitmentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/CommitmentsandContingenciesCreditExtensionCommitmentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_f7a379b3-218e-4005-a0e9-05e207a15d80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCommitmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_e9c1084a-3a95-4da9-9bb8-dcd7bfa59ba1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_f7a379b3-218e-4005-a0e9-05e207a15d80" xlink:to="loc_us-gaap_LossContingenciesTable_e9c1084a-3a95-4da9-9bb8-dcd7bfa59ba1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_f6dec8f7-2018-4ef9-8d48-cd7a0131cd42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_e9c1084a-3a95-4da9-9bb8-dcd7bfa59ba1" xlink:to="loc_us-gaap_FinancialInstrumentAxis_f6dec8f7-2018-4ef9-8d48-cd7a0131cd42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f6dec8f7-2018-4ef9-8d48-cd7a0131cd42_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_f6dec8f7-2018-4ef9-8d48-cd7a0131cd42" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f6dec8f7-2018-4ef9-8d48-cd7a0131cd42_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_693c1bb6-54e3-43c0-9cd5-0843dfda02a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_f6dec8f7-2018-4ef9-8d48-cd7a0131cd42" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_693c1bb6-54e3-43c0-9cd5-0843dfda02a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember_d279a76d-fa9a-4116-b061-9b4ab21b4850" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnfundedLoanCommitmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_693c1bb6-54e3-43c0-9cd5-0843dfda02a2" xlink:to="loc_us-gaap_UnfundedLoanCommitmentMember_d279a76d-fa9a-4116-b061-9b4ab21b4850" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionFairValueCarryingAmountLiabilities_000f7c09-bb73-43b2-9f38-0e89ffc69713" xlink:href="bac-20251231.xsd#bac_FairValueOptionFairValueCarryingAmountLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_f7a379b3-218e-4005-a0e9-05e207a15d80" xlink:to="loc_bac_FairValueOptionFairValueCarryingAmountLiabilities_000f7c09-bb73-43b2-9f38-0e89ffc69713" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/CommitmentsandContingenciesCreditExtensionCommitmentsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#CommitmentsandContingenciesCreditExtensionCommitmentsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/CommitmentsandContingenciesCreditExtensionCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_13cad2e1-9dab-48e0-b8ca-f17133ed7772" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCommitmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsTable_67d24912-cf8e-4784-8e18-d0201b6dc8cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCommitmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_13cad2e1-9dab-48e0-b8ca-f17133ed7772" xlink:to="loc_us-gaap_OtherCommitmentsTable_67d24912-cf8e-4784-8e18-d0201b6dc8cd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_64f54266-7aa2-4389-bcd2-615562597383" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_67d24912-cf8e-4784-8e18-d0201b6dc8cd" xlink:to="loc_us-gaap_FinancialInstrumentAxis_64f54266-7aa2-4389-bcd2-615562597383" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64f54266-7aa2-4389-bcd2-615562597383_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_64f54266-7aa2-4389-bcd2-615562597383" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64f54266-7aa2-4389-bcd2-615562597383_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6bcf3c82-3061-49fb-ad26-d3bcde0036dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_64f54266-7aa2-4389-bcd2-615562597383" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6bcf3c82-3061-49fb-ad26-d3bcde0036dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsToExtendCreditMember_761b6872-e891-4e48-bf61-bcda954c3500" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsToExtendCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6bcf3c82-3061-49fb-ad26-d3bcde0036dd" xlink:to="loc_us-gaap_CommitmentsToExtendCreditMember_761b6872-e891-4e48-bf61-bcda954c3500" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember_cd7c0b2d-4ef7-4ae6-811e-7ff72fe6caf8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnfundedLoanCommitmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommitmentsToExtendCreditMember_761b6872-e891-4e48-bf61-bcda954c3500" xlink:to="loc_us-gaap_UnfundedLoanCommitmentMember_cd7c0b2d-4ef7-4ae6-811e-7ff72fe6caf8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_UnfundedLoanCommitmentDebtSecuritiesAndOtherInvestmentsMember_d4bf086b-fc0c-473b-97fe-fa1deaac57b2" xlink:href="bac-20251231.xsd#bac_UnfundedLoanCommitmentDebtSecuritiesAndOtherInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UnfundedLoanCommitmentMember_cd7c0b2d-4ef7-4ae6-811e-7ff72fe6caf8" xlink:to="loc_bac_UnfundedLoanCommitmentDebtSecuritiesAndOtherInvestmentsMember_d4bf086b-fc0c-473b-97fe-fa1deaac57b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HomeEquityMember_eafc7d65-1d3a-4603-97a2-5dfb51e3c4cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HomeEquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommitmentsToExtendCreditMember_761b6872-e891-4e48-bf61-bcda954c3500" xlink:to="loc_us-gaap_HomeEquityMember_eafc7d65-1d3a-4603-97a2-5dfb51e3c4cc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_1feee04e-b735-42d4-af0d-4ed2f735e37e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialStandbyLetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommitmentsToExtendCreditMember_761b6872-e891-4e48-bf61-bcda954c3500" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_1feee04e-b735-42d4-af0d-4ed2f735e37e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_00c8ade4-64b1-428b-8115-480f907a9df9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommitmentsToExtendCreditMember_761b6872-e891-4e48-bf61-bcda954c3500" xlink:to="loc_us-gaap_LetterOfCreditMember_00c8ade4-64b1-428b-8115-480f907a9df9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherCommitmentsMember_094bb073-0ab1-49f8-8013-c10c09f2c5b1" xlink:href="bac-20251231.xsd#bac_OtherCommitmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommitmentsToExtendCreditMember_761b6872-e891-4e48-bf61-bcda954c3500" xlink:to="loc_bac_OtherCommitmentsMember_094bb073-0ab1-49f8-8013-c10c09f2c5b1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditCardLinesMember_4535ff57-0b4e-4c9f-8ae7-719de959f97b" xlink:href="bac-20251231.xsd#bac_CreditCardLinesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6bcf3c82-3061-49fb-ad26-d3bcde0036dd" xlink:to="loc_bac_CreditCardLinesMember_4535ff57-0b4e-4c9f-8ae7-719de959f97b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_1bd601ff-e3f9-4094-b7e4-8e2ce2ce5e05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_67d24912-cf8e-4784-8e18-d0201b6dc8cd" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_1bd601ff-e3f9-4094-b7e4-8e2ce2ce5e05" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_1bd601ff-e3f9-4094-b7e4-8e2ce2ce5e05_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_1bd601ff-e3f9-4094-b7e4-8e2ce2ce5e05" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_1bd601ff-e3f9-4094-b7e4-8e2ce2ce5e05_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_a661e6a2-4bc9-4d06-8deb-b9f5ebe2f616" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_1bd601ff-e3f9-4094-b7e4-8e2ce2ce5e05" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_a661e6a2-4bc9-4d06-8deb-b9f5ebe2f616" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalInvestmentGradeMember_aab92638-567f-4651-adaa-c1998be32fb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalInvestmentGradeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_a661e6a2-4bc9-4d06-8deb-b9f5ebe2f616" xlink:to="loc_us-gaap_InternalInvestmentGradeMember_aab92638-567f-4651-adaa-c1998be32fb7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalNoninvestmentGradeMember_f1cd1637-2099-4d8e-82d2-681130d2ab01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalNoninvestmentGradeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_a661e6a2-4bc9-4d06-8deb-b9f5ebe2f616" xlink:to="loc_us-gaap_InternalNoninvestmentGradeMember_f1cd1637-2099-4d8e-82d2-681130d2ab01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_df451734-c2e3-475f-9a06-b2f02ded24e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_67d24912-cf8e-4784-8e18-d0201b6dc8cd" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_df451734-c2e3-475f-9a06-b2f02ded24e7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_df451734-c2e3-475f-9a06-b2f02ded24e7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_df451734-c2e3-475f-9a06-b2f02ded24e7" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_df451734-c2e3-475f-9a06-b2f02ded24e7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6a45a391-9b6f-488c-9e3d-2463affb6094" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_df451734-c2e3-475f-9a06-b2f02ded24e7" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6a45a391-9b6f-488c-9e3d-2463affb6094" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_86b73a16-4a4c-4f8a-b40e-675f335e0df4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsumerPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6a45a391-9b6f-488c-9e3d-2463affb6094" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_86b73a16-4a4c-4f8a-b40e-675f335e0df4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditExtensionCommitmentsNotionalAmountExpirationInOneYearOrLess_efaf2f79-e6a0-467d-a007-230b81690e1e" xlink:href="bac-20251231.xsd#bac_CreditExtensionCommitmentsNotionalAmountExpirationInOneYearOrLess"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_13cad2e1-9dab-48e0-b8ca-f17133ed7772" xlink:to="loc_bac_CreditExtensionCommitmentsNotionalAmountExpirationInOneYearOrLess_efaf2f79-e6a0-467d-a007-230b81690e1e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterOneYearThroughThreeYears_98da35f8-1b40-4607-b21e-ead5a21f791d" xlink:href="bac-20251231.xsd#bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterOneYearThroughThreeYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_13cad2e1-9dab-48e0-b8ca-f17133ed7772" xlink:to="loc_bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterOneYearThroughThreeYears_98da35f8-1b40-4607-b21e-ead5a21f791d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterThreeYearsThroughFiveYears_5812a7ec-c775-4afb-9061-25529858d28e" xlink:href="bac-20251231.xsd#bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterThreeYearsThroughFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_13cad2e1-9dab-48e0-b8ca-f17133ed7772" xlink:to="loc_bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterThreeYearsThroughFiveYears_5812a7ec-c775-4afb-9061-25529858d28e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterFiveYears_c81074a2-d9a4-449d-89e0-e1c6e5e45f45" xlink:href="bac-20251231.xsd#bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_13cad2e1-9dab-48e0-b8ca-f17133ed7772" xlink:to="loc_bac_CreditExtensionCommitmentsNotionalAmountExpirationAfterFiveYears_c81074a2-d9a4-449d-89e0-e1c6e5e45f45" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CreditExtensionCommitmentsNotionalAmount_826c78d4-f203-4c37-ab74-cbe2668afdc9" xlink:href="bac-20251231.xsd#bac_CreditExtensionCommitmentsNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_13cad2e1-9dab-48e0-b8ca-f17133ed7772" xlink:to="loc_bac_CreditExtensionCommitmentsNotionalAmount_826c78d4-f203-4c37-ab74-cbe2668afdc9" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/CommitmentsandContingenciesOtherCommitmentsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#CommitmentsandContingenciesOtherCommitmentsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/CommitmentsandContingenciesOtherCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_117ad18d-ad6a-4cfb-aeb2-8b02f4332a64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_2e943969-49e0-4a38-93d8-7802ec0194ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_117ad18d-ad6a-4cfb-aeb2-8b02f4332a64" xlink:to="loc_us-gaap_LossContingenciesTable_2e943969-49e0-4a38-93d8-7802ec0194ba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_550d5015-ef66-4b1c-ada1-4651f32e9834" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2e943969-49e0-4a38-93d8-7802ec0194ba" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_550d5015-ef66-4b1c-ada1-4651f32e9834" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_550d5015-ef66-4b1c-ada1-4651f32e9834_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_550d5015-ef66-4b1c-ada1-4651f32e9834" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_550d5015-ef66-4b1c-ada1-4651f32e9834_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6b100e21-29e5-44e0-99f0-79bc7cd58e3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_550d5015-ef66-4b1c-ada1-4651f32e9834" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6b100e21-29e5-44e0-99f0-79bc7cd58e3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResidentialandCommercialPortfolioSegmentsMember_b01a65d7-3817-4741-9c1a-aaf06400a621" xlink:href="bac-20251231.xsd#bac_ResidentialandCommercialPortfolioSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6b100e21-29e5-44e0-99f0-79bc7cd58e3e" xlink:to="loc_bac_ResidentialandCommercialPortfolioSegmentsMember_b01a65d7-3817-4741-9c1a-aaf06400a621" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_8524069c-f9a2-4f9a-83f6-227787a506ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialPortfolioSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_6b100e21-29e5-44e0-99f0-79bc7cd58e3e" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_8524069c-f9a2-4f9a-83f6-227787a506ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsAxis_30d7d3eb-f72a-429a-b4d1-e0f20b879ed7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCommitmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2e943969-49e0-4a38-93d8-7802ec0194ba" xlink:to="loc_us-gaap_OtherCommitmentsAxis_30d7d3eb-f72a-429a-b4d1-e0f20b879ed7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_30d7d3eb-f72a-429a-b4d1-e0f20b879ed7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_30d7d3eb-f72a-429a-b4d1-e0f20b879ed7" xlink:to="loc_us-gaap_OtherCommitmentsDomain_30d7d3eb-f72a-429a-b4d1-e0f20b879ed7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_56a1787a-ac5a-43a2-9478-36e38d391820" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_30d7d3eb-f72a-429a-b4d1-e0f20b879ed7" xlink:to="loc_us-gaap_OtherCommitmentsDomain_56a1787a-ac5a-43a2-9478-36e38d391820" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanPurchaseCommitmentsMember_c02cae4d-075d-465b-bb7b-cb995611d1c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanPurchaseCommitmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_56a1787a-ac5a-43a2-9478-36e38d391820" xlink:to="loc_us-gaap_LoanPurchaseCommitmentsMember_c02cae4d-075d-465b-bb7b-cb995611d1c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResaleAndForwardDatedResaleAndSecuritiesBorrowingAgreementsAndForwardDatedRepurchaseAndSecuritiesLendingAgreementsMember_11e793cd-c59d-400a-aaa5-44dcd4365d10" xlink:href="bac-20251231.xsd#bac_ResaleAndForwardDatedResaleAndSecuritiesBorrowingAgreementsAndForwardDatedRepurchaseAndSecuritiesLendingAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_56a1787a-ac5a-43a2-9478-36e38d391820" xlink:to="loc_bac_ResaleAndForwardDatedResaleAndSecuritiesBorrowingAgreementsAndForwardDatedRepurchaseAndSecuritiesLendingAgreementsMember_11e793cd-c59d-400a-aaa5-44dcd4365d10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResaleandForwardDatedResaleandSecuritiesBorrowingAgreementsMember_746eaf1b-723d-4324-8df5-529f6a0b36f4" xlink:href="bac-20251231.xsd#bac_ResaleandForwardDatedResaleandSecuritiesBorrowingAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_ResaleAndForwardDatedResaleAndSecuritiesBorrowingAgreementsAndForwardDatedRepurchaseAndSecuritiesLendingAgreementsMember_11e793cd-c59d-400a-aaa5-44dcd4365d10" xlink:to="loc_bac_ResaleandForwardDatedResaleandSecuritiesBorrowingAgreementsMember_746eaf1b-723d-4324-8df5-529f6a0b36f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForwardDatedRepurchaseandSecuritiesLendingAgreementsMember_a1540051-3e6f-41b0-82d8-a12f487137a5" xlink:href="bac-20251231.xsd#bac_ForwardDatedRepurchaseandSecuritiesLendingAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_ResaleAndForwardDatedResaleAndSecuritiesBorrowingAgreementsAndForwardDatedRepurchaseAndSecuritiesLendingAgreementsMember_11e793cd-c59d-400a-aaa5-44dcd4365d10" xlink:to="loc_bac_ForwardDatedRepurchaseandSecuritiesLendingAgreementsMember_a1540051-3e6f-41b0-82d8-a12f487137a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AutoLoansandLeasesMember_90bc0d05-12a6-4c9e-a55a-9f20e04d537b" xlink:href="bac-20251231.xsd#bac_AutoLoansandLeasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_56a1787a-ac5a-43a2-9478-36e38d391820" xlink:to="loc_bac_AutoLoansandLeasesMember_90bc0d05-12a6-4c9e-a55a-9f20e04d537b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtAndEquitySecurityCommitmentsMember_d8c252ff-41b5-4ef2-acf8-f0f5de12a8b6" xlink:href="bac-20251231.xsd#bac_DebtAndEquitySecurityCommitmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_56a1787a-ac5a-43a2-9478-36e38d391820" xlink:to="loc_bac_DebtAndEquitySecurityCommitmentsMember_d8c252ff-41b5-4ef2-acf8-f0f5de12a8b6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_ee182790-c850-43ef-8e36-88fa9345ebff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2e943969-49e0-4a38-93d8-7802ec0194ba" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_ee182790-c850-43ef-8e36-88fa9345ebff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ee182790-c850-43ef-8e36-88fa9345ebff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_ee182790-c850-43ef-8e36-88fa9345ebff" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ee182790-c850-43ef-8e36-88fa9345ebff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_deb7308f-4050-477a-95b0-6a4777168efe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_ee182790-c850-43ef-8e36-88fa9345ebff" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_deb7308f-4050-477a-95b0-6a4777168efe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ResidentialandCommercialFinancingReceivableMember_7aabff44-1c4d-43a1-b681-4505dfd1097a" xlink:href="bac-20251231.xsd#bac_ResidentialandCommercialFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_deb7308f-4050-477a-95b0-6a4777168efe" xlink:to="loc_bac_ResidentialandCommercialFinancingReceivableMember_7aabff44-1c4d-43a1-b681-4505dfd1097a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitment_dc84ca28-930a-4a1d-b3ce-a9272e1e0462" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_117ad18d-ad6a-4cfb-aeb2-8b02f4332a64" xlink:to="loc_us-gaap_OtherCommitment_dc84ca28-930a-4a1d-b3ce-a9272e1e0462" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherCommitmentExpirationPeriod_a0af6903-6237-4a0f-9b78-1798ce098254" xlink:href="bac-20251231.xsd#bac_OtherCommitmentExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_117ad18d-ad6a-4cfb-aeb2-8b02f4332a64" xlink:to="loc_bac_OtherCommitmentExpirationPeriod_a0af6903-6237-4a0f-9b78-1798ce098254" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherCommitmentDueInNextRollingTwelveMonths_f769e3a9-0182-4226-871d-72f94e1afcff" xlink:href="bac-20251231.xsd#bac_OtherCommitmentDueInNextRollingTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_117ad18d-ad6a-4cfb-aeb2-8b02f4332a64" xlink:to="loc_bac_OtherCommitmentDueInNextRollingTwelveMonths_f769e3a9-0182-4226-871d-72f94e1afcff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherCommitmentTerminationPriorNoticePeriod_85c8aa3b-b6cd-433b-8875-2325e2f65944" xlink:href="bac-20251231.xsd#bac_OtherCommitmentTerminationPriorNoticePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_117ad18d-ad6a-4cfb-aeb2-8b02f4332a64" xlink:to="loc_bac_OtherCommitmentTerminationPriorNoticePeriod_85c8aa3b-b6cd-433b-8875-2325e2f65944" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalReserveBankStock_b031487a-eb2d-4395-8cc1-46098f455633" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalReserveBankStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_117ad18d-ad6a-4cfb-aeb2-8b02f4332a64" xlink:to="loc_us-gaap_FederalReserveBankStock_b031487a-eb2d-4395-8cc1-46098f455633" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/CommitmentsandContingenciesOtherGuaranteesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#CommitmentsandContingenciesOtherGuaranteesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/CommitmentsandContingenciesOtherGuaranteesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_bb7d3fd5-65d9-4e13-92a6-362746a2eab2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_us-gaap_LossContingenciesTable_bb7d3fd5-65d9-4e13-92a6-362746a2eab2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_a3a08e9c-3760-4806-a7de-a20d8b8c098f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_bb7d3fd5-65d9-4e13-92a6-362746a2eab2" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_a3a08e9c-3760-4806-a7de-a20d8b8c098f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_a3a08e9c-3760-4806-a7de-a20d8b8c098f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_a3a08e9c-3760-4806-a7de-a20d8b8c098f" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_a3a08e9c-3760-4806-a7de-a20d8b8c098f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_5ab7c222-8ac1-426e-b24d-738d2e5a583e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_a3a08e9c-3760-4806-a7de-a20d8b8c098f" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_5ab7c222-8ac1-426e-b24d-738d2e5a583e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LifeInsuranceBookValueProtectionMember_5b5ecff4-94e3-4554-8a60-e945371fa888" xlink:href="bac-20251231.xsd#bac_LifeInsuranceBookValueProtectionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_5ab7c222-8ac1-426e-b24d-738d2e5a583e" xlink:to="loc_bac_LifeInsuranceBookValueProtectionMember_5b5ecff4-94e3-4554-8a60-e945371fa888" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FICCRepoProgramMember_28694b3e-5aaa-48f2-9beb-3e223450c4ef" xlink:href="bac-20251231.xsd#bac_FICCRepoProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_5ab7c222-8ac1-426e-b24d-738d2e5a583e" xlink:to="loc_bac_FICCRepoProgramMember_28694b3e-5aaa-48f2-9beb-3e223450c4ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_c37e1e3a-be23-41db-8444-ebe0f7082332" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_bb7d3fd5-65d9-4e13-92a6-362746a2eab2" xlink:to="loc_dei_LegalEntityAxis_c37e1e3a-be23-41db-8444-ebe0f7082332" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_c37e1e3a-be23-41db-8444-ebe0f7082332_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_c37e1e3a-be23-41db-8444-ebe0f7082332" xlink:to="loc_dei_EntityDomain_c37e1e3a-be23-41db-8444-ebe0f7082332_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_fbfde57e-edeb-4f70-8173-900a097b8a71" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_c37e1e3a-be23-41db-8444-ebe0f7082332" xlink:to="loc_dei_EntityDomain_fbfde57e-edeb-4f70-8173-900a097b8a71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MerchantProcessingServicersSponsoredEntitiesMember_a9628c0f-d958-411d-9348-1737eac9670d" xlink:href="bac-20251231.xsd#bac_MerchantProcessingServicersSponsoredEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_fbfde57e-edeb-4f70-8173-900a097b8a71" xlink:to="loc_bac_MerchantProcessingServicersSponsoredEntitiesMember_a9628c0f-d958-411d-9348-1737eac9670d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_efb356c3-207a-45fe-8940-7ee91fb79996" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_bb7d3fd5-65d9-4e13-92a6-362746a2eab2" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_efb356c3-207a-45fe-8940-7ee91fb79996" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_efb356c3-207a-45fe-8940-7ee91fb79996_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_efb356c3-207a-45fe-8940-7ee91fb79996" xlink:to="loc_us-gaap_LossContingencyNatureDomain_efb356c3-207a-45fe-8940-7ee91fb79996_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_23ed0643-e874-461d-be07-e8ffe20bc549" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_efb356c3-207a-45fe-8940-7ee91fb79996" xlink:to="loc_us-gaap_LossContingencyNatureDomain_23ed0643-e874-461d-be07-e8ffe20bc549" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RepresentationsAndWarrantiesObligationsAndCorporateGuaranteesMember_282d348b-24c7-4e4c-8ec4-cd524b5cc159" xlink:href="bac-20251231.xsd#bac_RepresentationsAndWarrantiesObligationsAndCorporateGuaranteesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_23ed0643-e874-461d-be07-e8ffe20bc549" xlink:to="loc_bac_RepresentationsAndWarrantiesObligationsAndCorporateGuaranteesMember_282d348b-24c7-4e4c-8ec4-cd524b5cc159" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_019b28d1-fada-7efd-aa5a-1f384f1338ed" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_bb7d3fd5-65d9-4e13-92a6-362746a2eab2" xlink:to="loc_srt_CounterpartyNameAxis_019b28d1-fada-7efd-aa5a-1f384f1338ed" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019b28d1-fada-7efd-aa5a-1f384f1338ed_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_019b28d1-fada-7efd-aa5a-1f384f1338ed" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019b28d1-fada-7efd-aa5a-1f384f1338ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019b28d1-fada-79c6-b99e-d6849cb951a7" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_019b28d1-fada-7efd-aa5a-1f384f1338ed" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019b28d1-fada-79c6-b99e-d6849cb951a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PrivateLabelSecuritizationTrusteesMember_019b28d2-7640-7e6f-ac10-22f753d8e936" xlink:href="bac-20251231.xsd#bac_PrivateLabelSecuritizationTrusteesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019b28d1-fada-79c6-b99e-d6849cb951a7" xlink:to="loc_bac_PrivateLabelSecuritizationTrusteesMember_019b28d2-7640-7e6f-ac10-22f753d8e936" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_4d96eac4-8f76-4eab-806b-32eb77d69a28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_us-gaap_DerivativeNotionalAmount_4d96eac4-8f76-4eab-806b-32eb77d69a28" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_8936ed63-69bd-41cc-af65-578b49f92a72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsMaximumExposure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_8936ed63-69bd-41cc-af65-578b49f92a72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MerchantServicesTransactionsProcessedAndSettledBySponsoredEntities_2cdf37d4-717c-4752-a764-f7d36c576f00" xlink:href="bac-20251231.xsd#bac_MerchantServicesTransactionsProcessedAndSettledBySponsoredEntities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_bac_MerchantServicesTransactionsProcessedAndSettledBySponsoredEntities_2cdf37d4-717c-4752-a764-f7d36c576f00" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiaryOwnershipInterestPercentage_20fbbe83-3c24-4da1-bac1-1036bc4a33d1" xlink:href="bac-20251231.xsd#bac_SubsidiaryOwnershipInterestPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_bac_SubsidiaryOwnershipInterestPercentage_20fbbe83-3c24-4da1-bac1-1036bc4a33d1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_UnresolvedRepurchaseClaimsNetOfDuplicateClaimsAmountInWhichCorporationOwnsSubstantiallyAllOfTheOutstandingBonds_019b28d1-5b76-7320-b2a1-4853a35bccac" xlink:href="bac-20251231.xsd#bac_UnresolvedRepurchaseClaimsNetOfDuplicateClaimsAmountInWhichCorporationOwnsSubstantiallyAllOfTheOutstandingBonds"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_bac_UnresolvedRepurchaseClaimsNetOfDuplicateClaimsAmountInWhichCorporationOwnsSubstantiallyAllOfTheOutstandingBonds_019b28d1-5b76-7320-b2a1-4853a35bccac" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_UnresolvedRepurchaseClaimsAdditions_019b28d3-70c6-7698-8bf4-99409ae4f832" xlink:href="bac-20251231.xsd#bac_UnresolvedRepurchaseClaimsAdditions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_bac_UnresolvedRepurchaseClaimsAdditions_019b28d3-70c6-7698-8bf4-99409ae4f832" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_UnresolvedRepurchaseClaimsPortionResolved_019b2917-c143-79de-8931-63c467160997" xlink:href="bac-20251231.xsd#bac_UnresolvedRepurchaseClaimsPortionResolved"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_bac_UnresolvedRepurchaseClaimsPortionResolved_019b2917-c143-79de-8931-63c467160997" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_aa0ed574-e9f2-41b4-b7c2-a426fb98196e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyAccrualAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_68f1deea-59a8-41aa-8346-9cd1a5f47b28" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_aa0ed574-e9f2-41b4-b7c2-a426fb98196e" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/CommitmentsandContingenciesLitigationandRegulatoryMattersDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#CommitmentsandContingenciesLitigationandRegulatoryMattersDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/CommitmentsandContingenciesLitigationandRegulatoryMattersDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_c4489c66-f741-4d6a-a83b-2eaebf76d981" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_315cbab3-f6b5-4772-9d5f-e7c1b5db7851" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_c4489c66-f741-4d6a-a83b-2eaebf76d981" xlink:to="loc_us-gaap_LossContingenciesTable_315cbab3-f6b5-4772-9d5f-e7c1b5db7851" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_722b1735-763f-496e-89ba-5eb924d2cbb0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_315cbab3-f6b5-4772-9d5f-e7c1b5db7851" xlink:to="loc_srt_RangeAxis_722b1735-763f-496e-89ba-5eb924d2cbb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_722b1735-763f-496e-89ba-5eb924d2cbb0_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_722b1735-763f-496e-89ba-5eb924d2cbb0" xlink:to="loc_srt_RangeMember_722b1735-763f-496e-89ba-5eb924d2cbb0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_cb7a1260-7291-4b03-bca4-70809612a299" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_722b1735-763f-496e-89ba-5eb924d2cbb0" xlink:to="loc_srt_RangeMember_cb7a1260-7291-4b03-bca4-70809612a299" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_41bfe6ac-447a-4c59-a112-54dd22c8fb35" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_cb7a1260-7291-4b03-bca4-70809612a299" xlink:to="loc_srt_MinimumMember_41bfe6ac-447a-4c59-a112-54dd22c8fb35" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_0598109d-8b42-4982-a90f-9ff545c5e450" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_cb7a1260-7291-4b03-bca4-70809612a299" xlink:to="loc_srt_MaximumMember_0598109d-8b42-4982-a90f-9ff545c5e450" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseAxis_019c5783-ee02-7724-b2e9-a7a38d1cb13d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LitigationCaseAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_315cbab3-f6b5-4772-9d5f-e7c1b5db7851" xlink:to="loc_srt_LitigationCaseAxis_019c5783-ee02-7724-b2e9-a7a38d1cb13d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_019c5783-ee02-7724-b2e9-a7a38d1cb13d_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_LitigationCaseAxis_019c5783-ee02-7724-b2e9-a7a38d1cb13d" xlink:to="loc_srt_LitigationCaseTypeDomain_019c5783-ee02-7724-b2e9-a7a38d1cb13d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_019c5783-ee02-7cc5-8a07-3e30b475fcf0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_LitigationCaseAxis_019c5783-ee02-7724-b2e9-a7a38d1cb13d" xlink:to="loc_srt_LitigationCaseTypeDomain_019c5783-ee02-7cc5-8a07-3e30b475fcf0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FDICDepositInsuranceAssessmentsMember_019c5783-ee02-78e0-aa37-2b013a603258" xlink:href="bac-20251231.xsd#bac_FDICDepositInsuranceAssessmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019c5783-ee02-7cc5-8a07-3e30b475fcf0" xlink:to="loc_bac_FDICDepositInsuranceAssessmentsMember_019c5783-ee02-78e0-aa37-2b013a603258" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_019c5783-ee02-7e04-ab2b-fe900027ff2a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_315cbab3-f6b5-4772-9d5f-e7c1b5db7851" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_019c5783-ee02-7e04-ab2b-fe900027ff2a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_019c5783-ee02-7e04-ab2b-fe900027ff2a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_019c5783-ee02-7e04-ab2b-fe900027ff2a" xlink:to="loc_us-gaap_LossContingencyNatureDomain_019c5783-ee02-7e04-ab2b-fe900027ff2a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_019c5783-ee02-7646-8854-ea2a276acecb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_019c5783-ee02-7e04-ab2b-fe900027ff2a" xlink:to="loc_us-gaap_LossContingencyNatureDomain_019c5783-ee02-7646-8854-ea2a276acecb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceRelatedAssessmentsMember_019c5783-ee02-7544-bd51-7b2d1a0b9bc8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InsuranceRelatedAssessmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_019c5783-ee02-7646-8854-ea2a276acecb" xlink:to="loc_us-gaap_InsuranceRelatedAssessmentsMember_019c5783-ee02-7544-bd51-7b2d1a0b9bc8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019c5783-ee02-7b09-8f22-d8a205a54906" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_315cbab3-f6b5-4772-9d5f-e7c1b5db7851" xlink:to="loc_dei_LegalEntityAxis_019c5783-ee02-7b09-8f22-d8a205a54906" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019c5783-ee02-7b09-8f22-d8a205a54906_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019c5783-ee02-7b09-8f22-d8a205a54906" xlink:to="loc_dei_EntityDomain_019c5783-ee02-7b09-8f22-d8a205a54906_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019c5783-ee02-74fc-925b-679db58d9a0e" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019c5783-ee02-7b09-8f22-d8a205a54906" xlink:to="loc_dei_EntityDomain_019c5783-ee02-74fc-925b-679db58d9a0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_019c5783-ee02-7e29-a96e-4860d9663041" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019c5783-ee02-74fc-925b-679db58d9a0e" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_019c5783-ee02-7e29-a96e-4860d9663041" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementExpense_f6b90a82-92da-4626-bc3c-b631225341ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LitigationSettlementExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c4489c66-f741-4d6a-a83b-2eaebf76d981" xlink:to="loc_us-gaap_LitigationSettlementExpense_f6b90a82-92da-4626-bc3c-b631225341ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_2863d688-5091-469a-9587-0b78a60494ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyEstimateOfPossibleLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c4489c66-f741-4d6a-a83b-2eaebf76d981" xlink:to="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_2863d688-5091-469a-9587-0b78a60494ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyDamagesAwardedValue_019c5783-ee02-7cd0-bdda-19af3ec668e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyDamagesAwardedValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c4489c66-f741-4d6a-a83b-2eaebf76d981" xlink:to="loc_us-gaap_LossContingencyDamagesAwardedValue_019c5783-ee02-7cd0-bdda-19af3ec668e4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyDamagesSoughtValue_019c5783-ee02-7a19-9406-7c68abc1fb25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyDamagesSoughtValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c4489c66-f741-4d6a-a83b-2eaebf76d981" xlink:to="loc_us-gaap_LossContingencyDamagesSoughtValue_019c5783-ee02-7a19-9406-7c68abc1fb25" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyDamagesPaidValue_019c5783-ee02-764e-b750-a0ce56383e97" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyDamagesPaidValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c4489c66-f741-4d6a-a83b-2eaebf76d981" xlink:to="loc_us-gaap_LossContingencyDamagesPaidValue_019c5783-ee02-764e-b750-a0ce56383e97" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LossContinencyDamagesSoughtValueInterestDue_019c5783-ee02-7b4c-a592-28ba9ef2ee47" xlink:href="bac-20251231.xsd#bac_LossContinencyDamagesSoughtValueInterestDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c4489c66-f741-4d6a-a83b-2eaebf76d981" xlink:to="loc_bac_LossContinencyDamagesSoughtValueInterestDue_019c5783-ee02-7b4c-a592-28ba9ef2ee47" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ShareholdersEquityDeclaredQuarterlyCashDividendsonCommonStockDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#ShareholdersEquityDeclaredQuarterlyCashDividendsonCommonStockDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ShareholdersEquityDeclaredQuarterlyCashDividendsonCommonStockDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableLineItems_ce83d531-b093-4ec2-a6c6-cb506787d4ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPayableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableTable_fbaadd3c-e681-4b6b-a5f1-6fe4bbbb9dec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPayableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_ce83d531-b093-4ec2-a6c6-cb506787d4ef" xlink:to="loc_us-gaap_DividendsPayableTable_fbaadd3c-e681-4b6b-a5f1-6fe4bbbb9dec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_ff4b627e-5b12-40f9-ac22-3b3ea44483d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_fbaadd3c-e681-4b6b-a5f1-6fe4bbbb9dec" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_ff4b627e-5b12-40f9-ac22-3b3ea44483d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_ff4b627e-5b12-40f9-ac22-3b3ea44483d3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_ff4b627e-5b12-40f9-ac22-3b3ea44483d3" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_ff4b627e-5b12-40f9-ac22-3b3ea44483d3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_bc9d6d2d-1793-488e-acef-04c629c58911" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_ff4b627e-5b12-40f9-ac22-3b3ea44483d3" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_bc9d6d2d-1793-488e-acef-04c629c58911" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_bf609aaf-3063-4f82-8fe2-7c2ab41dd884" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_bc9d6d2d-1793-488e-acef-04c629c58911" xlink:to="loc_us-gaap_SubsequentEventMember_bf609aaf-3063-4f82-8fe2-7c2ab41dd884" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_73d82e15-f6af-4f0e-8ee5-c4724e8cc7c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockDividendsPerShareDeclared"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_ce83d531-b093-4ec2-a6c6-cb506787d4ef" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_73d82e15-f6af-4f0e-8ee5-c4724e8cc7c4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ShareholdersEquityCommonStockNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#ShareholdersEquityCommonStockNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ShareholdersEquityCommonStockNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_0a9450c3-88b7-4f41-b780-d989ab74c603" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_73552ab1-8b1c-4b2b-99fe-c414d59d55f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_0a9450c3-88b7-4f41-b780-d989ab74c603" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_73552ab1-8b1c-4b2b-99fe-c414d59d55f6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_83a1ee4f-e2ad-4aa4-bbb7-ff176da5e909" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_73552ab1-8b1c-4b2b-99fe-c414d59d55f6" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_83a1ee4f-e2ad-4aa4-bbb7-ff176da5e909" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_83a1ee4f-e2ad-4aa4-bbb7-ff176da5e909_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_83a1ee4f-e2ad-4aa4-bbb7-ff176da5e909" xlink:to="loc_us-gaap_EquityComponentDomain_83a1ee4f-e2ad-4aa4-bbb7-ff176da5e909_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_9a732b53-7ba9-4dd6-b78e-afcef8ca722e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_83a1ee4f-e2ad-4aa4-bbb7-ff176da5e909" xlink:to="loc_us-gaap_EquityComponentDomain_9a732b53-7ba9-4dd6-b78e-afcef8ca722e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_89e06048-333e-486b-b3ca-00b07570b1b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9a732b53-7ba9-4dd6-b78e-afcef8ca722e" xlink:to="loc_us-gaap_CommonStockMember_89e06048-333e-486b-b3ca-00b07570b1b4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_dffabfff-6c3a-4119-9ce2-d3e2b33b6788" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_73552ab1-8b1c-4b2b-99fe-c414d59d55f6" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_dffabfff-6c3a-4119-9ce2-d3e2b33b6788" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_dffabfff-6c3a-4119-9ce2-d3e2b33b6788_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_dffabfff-6c3a-4119-9ce2-d3e2b33b6788" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_dffabfff-6c3a-4119-9ce2-d3e2b33b6788_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_5aa747e8-e2dc-412a-b394-bdc9ae92a390" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_dffabfff-6c3a-4119-9ce2-d3e2b33b6788" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_5aa747e8-e2dc-412a-b394-bdc9ae92a390" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_6c2355c5-5c4e-447c-84b8-8beb5d739026" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_5aa747e8-e2dc-412a-b394-bdc9ae92a390" xlink:to="loc_us-gaap_SubsequentEventMember_6c2355c5-5c4e-447c-84b8-8beb5d739026" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_019c3994-562b-7f79-bf6c-859513363e76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockDividendsPerShareCashPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_0a9450c3-88b7-4f41-b780-d989ab74c603" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_019c3994-562b-7f79-bf6c-859513363e76" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019c3998-3269-745b-8503-082c072afdd4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_0a9450c3-88b7-4f41-b780-d989ab74c603" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019c3998-3269-745b-8503-082c072afdd4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_019c3998-3269-702b-98d8-4bd8da7dc929" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_0a9450c3-88b7-4f41-b780-d989ab74c603" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_019c3998-3269-702b-98d8-4bd8da7dc929" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c3998-3269-7610-9791-319cf68b8e5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_0a9450c3-88b7-4f41-b780-d989ab74c603" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c3998-3269-7610-9791-319cf68b8e5c" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ShareholdersEquityCommonStockRepurchasesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#ShareholdersEquityCommonStockRepurchasesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ShareholdersEquityCommonStockRepurchasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_ccfd415a-fb2c-4016-a1c7-39ca61e2edbf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_28990197-51b2-475a-a7ca-015b69f1b9ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_ccfd415a-fb2c-4016-a1c7-39ca61e2edbf" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_28990197-51b2-475a-a7ca-015b69f1b9ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_7fea85ed-5535-48ee-a18e-f3c350a71363" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_28990197-51b2-475a-a7ca-015b69f1b9ec" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_7fea85ed-5535-48ee-a18e-f3c350a71363" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_7fea85ed-5535-48ee-a18e-f3c350a71363_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7fea85ed-5535-48ee-a18e-f3c350a71363" xlink:to="loc_us-gaap_EquityComponentDomain_7fea85ed-5535-48ee-a18e-f3c350a71363_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_99c98551-f6f1-4d65-9172-07b0162990b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7fea85ed-5535-48ee-a18e-f3c350a71363" xlink:to="loc_us-gaap_EquityComponentDomain_99c98551-f6f1-4d65-9172-07b0162990b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_27807f70-d2d4-466f-ba96-94af1f70fbbd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_99c98551-f6f1-4d65-9172-07b0162990b4" xlink:to="loc_us-gaap_CommonStockMember_27807f70-d2d4-466f-ba96-94af1f70fbbd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramAxis_019c3997-0ef0-7b2f-8fc1-8bdac9b4e69d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_28990197-51b2-475a-a7ca-015b69f1b9ec" xlink:to="loc_srt_ShareRepurchaseProgramAxis_019c3997-0ef0-7b2f-8fc1-8bdac9b4e69d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019c3997-0ef0-7b2f-8fc1-8bdac9b4e69d_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019c3997-0ef0-7b2f-8fc1-8bdac9b4e69d" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019c3997-0ef0-7b2f-8fc1-8bdac9b4e69d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019c3997-0ef0-7b7a-9e80-85565a09fcba" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019c3997-0ef0-7b2f-8fc1-8bdac9b4e69d" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019c3997-0ef0-7b7a-9e80-85565a09fcba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CCARCapitalPlanRepurchasesMember_019c3997-49bf-7a16-aa20-a7379abbafa2" xlink:href="bac-20251231.xsd#bac_CCARCapitalPlanRepurchasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019c3997-0ef0-7b7a-9e80-85565a09fcba" xlink:to="loc_bac_CCARCapitalPlanRepurchasesMember_019c3997-49bf-7a16-aa20-a7379abbafa2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019c3995-ec6c-7747-bb6d-4aa34719eef3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_ccfd415a-fb2c-4016-a1c7-39ca61e2edbf" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019c3995-ec6c-7747-bb6d-4aa34719eef3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019c3996-dedf-7ee5-b904-fc12fc310106" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_ccfd415a-fb2c-4016-a1c7-39ca61e2edbf" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019c3996-dedf-7ee5-b904-fc12fc310106" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ShareholdersEquityPreferredStockNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#ShareholdersEquityPreferredStockNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ShareholdersEquityPreferredStockNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_019c399a-cfb7-7615-b065-92978df81b77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_019c399a-cfb7-7615-b065-92978df81b77" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019c399a-cfb7-7159-bc46-b88c8aca4b49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019c399a-cfb7-7615-b065-92978df81b77" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019c399a-cfb7-7159-bc46-b88c8aca4b49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019c399a-cfb7-7159-bc46-b88c8aca4b49_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019c399a-cfb7-7159-bc46-b88c8aca4b49" xlink:to="loc_us-gaap_ClassOfStockDomain_019c399a-cfb7-7159-bc46-b88c8aca4b49_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019c399a-cfb7-7455-9520-b46150cedb52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019c399a-cfb7-7159-bc46-b88c8aca4b49" xlink:to="loc_us-gaap_ClassOfStockDomain_019c399a-cfb7-7455-9520-b46150cedb52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesOOPreferredStockMember_019c399a-cfb7-76ec-9c34-51c603370657" xlink:href="bac-20251231.xsd#bac_SeriesOOPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019c399a-cfb7-7455-9520-b46150cedb52" xlink:to="loc_bac_SeriesOOPreferredStockMember_019c399a-cfb7-76ec-9c34-51c603370657" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesUUPreferredStockMember_019c399a-cfb7-7e35-9bec-90face945415" xlink:href="bac-20251231.xsd#bac_SeriesUUPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019c399a-cfb7-7455-9520-b46150cedb52" xlink:to="loc_bac_SeriesUUPreferredStockMember_019c399a-cfb7-7e35-9bec-90face945415" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockExcludingSeriesBFAndGPreferredMember_019c399e-7d76-7755-9c7f-1d088310f370" xlink:href="bac-20251231.xsd#bac_PreferredStockExcludingSeriesBFAndGPreferredMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019c399a-cfb7-7455-9520-b46150cedb52" xlink:to="loc_bac_PreferredStockExcludingSeriesBFAndGPreferredMember_019c399e-7d76-7755-9c7f-1d088310f370" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesLPreferredStockMember_019c39a3-06c5-76a2-b50b-31750891889a" xlink:href="bac-20251231.xsd#bac_SeriesLPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019c399a-cfb7-7455-9520-b46150cedb52" xlink:to="loc_bac_SeriesLPreferredStockMember_019c39a3-06c5-76a2-b50b-31750891889a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStockCash_019c399a-cfb7-744c-9791-3427b9e46d66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPreferredStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_DividendsPreferredStockCash_019c399a-cfb7-744c-9791-3427b9e46d66" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_019c399a-cfb7-7708-b332-ddc238aeb1aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_PreferredStockSharesIssued_019c399a-cfb7-7708-b332-ddc238aeb1aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendRatePercentage_019c399a-cfb7-74ef-b2af-895199ab6a86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockDividendRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_PreferredStockDividendRatePercentage_019c399a-cfb7-74ef-b2af-895199ab6a86" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_019c399a-cfb7-73ac-ae21-ca39f50fe056" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_019c399a-cfb7-73ac-ae21-ca39f50fe056" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockLiquidationPreference_019c399a-cfb7-7a90-beff-558c34374d94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockLiquidationPreference"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_PreferredStockLiquidationPreference_019c399a-cfb7-7a90-beff-558c34374d94" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockRedemptionAmount_019c399b-8911-716b-98b9-c27df6f07d6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockRedemptionAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_PreferredStockRedemptionAmount_019c399b-8911-716b-98b9-c27df6f07d6a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_019c399d-14b7-754c-bb94-164b57cb887e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_019c399d-14b7-754c-bb94-164b57cb887e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockVotingRightsDividendPayableNumberOfSemiAnnualPeriodsInArrears_019c399d-d745-711b-b7d7-7b02e98639ad" xlink:href="bac-20251231.xsd#bac_PreferredStockVotingRightsDividendPayableNumberOfSemiAnnualPeriodsInArrears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_bac_PreferredStockVotingRightsDividendPayableNumberOfSemiAnnualPeriodsInArrears_019c399d-d745-711b-b7d7-7b02e98639ad" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockVotingRightsDividendPayableNumberOfQuarterlyPeriodsInArrears_019c399f-0100-700b-ab78-2c047cf138b8" xlink:href="bac-20251231.xsd#bac_PreferredStockVotingRightsDividendPayableNumberOfQuarterlyPeriodsInArrears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_bac_PreferredStockVotingRightsDividendPayableNumberOfQuarterlyPeriodsInArrears_019c399f-0100-700b-ab78-2c047cf138b8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockVotingRightsDividendsInArrearsNumberOfAdditionalDirectorsToBeElected_019c39a0-7738-7be4-83a7-26931a6e2783" xlink:href="bac-20251231.xsd#bac_PreferredStockVotingRightsDividendsInArrearsNumberOfAdditionalDirectorsToBeElected"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_bac_PreferredStockVotingRightsDividendsInArrearsNumberOfAdditionalDirectorsToBeElected_019c39a0-7738-7be4-83a7-26931a6e2783" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockTerminationOfVotingRightsDividendPaidNumberOfSemiAnnualPeriods_019c39a1-526a-7062-8173-23ae68706aff" xlink:href="bac-20251231.xsd#bac_PreferredStockTerminationOfVotingRightsDividendPaidNumberOfSemiAnnualPeriods"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_bac_PreferredStockTerminationOfVotingRightsDividendPaidNumberOfSemiAnnualPeriods_019c39a1-526a-7062-8173-23ae68706aff" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockTerminationOfVotingRightsDividendPaidNumberOfQuarterlyPeriods_019c39a2-318b-77e5-9ebd-865dbdab29ed" xlink:href="bac-20251231.xsd#bac_PreferredStockTerminationOfVotingRightsDividendPaidNumberOfQuarterlyPeriods"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_bac_PreferredStockTerminationOfVotingRightsDividendPaidNumberOfQuarterlyPeriods_019c39a2-318b-77e5-9ebd-865dbdab29ed" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion_019c39a3-ab46-79b1-b4f8-94170581ca28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion_019c39a3-ab46-79b1-b4f8-94170581ca28" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockConvertibleThresholdTradingDays_019c39a4-66a2-7f4a-a40b-6bc8bd232411" xlink:href="bac-20251231.xsd#bac_PreferredStockConvertibleThresholdTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_bac_PreferredStockConvertibleThresholdTradingDays_019c39a4-66a2-7f4a-a40b-6bc8bd232411" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockConvertibleThresholdConsecutiveTradingDays_019c39a6-7228-7021-9312-432580a9258a" xlink:href="bac-20251231.xsd#bac_PreferredStockConvertibleThresholdConsecutiveTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_bac_PreferredStockConvertibleThresholdConsecutiveTradingDays_019c39a6-7228-7021-9312-432580a9258a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockConvertibleThresholdPercentageOfCommonStockClosingPrice_019c39a7-6c25-7a58-83da-af330d9b4bbb" xlink:href="bac-20251231.xsd#bac_PreferredStockConvertibleThresholdPercentageOfCommonStockClosingPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019c399a-cfb7-7eb4-947d-a474dd1e89e8" xlink:to="loc_bac_PreferredStockConvertibleThresholdPercentageOfCommonStockClosingPrice_019c39a7-6c25-7a58-83da-af330d9b4bbb" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ShareholdersEquityPreferredStockSummaryDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#ShareholdersEquityPreferredStockSummaryDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ShareholdersEquityPreferredStockSummaryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockExchangesTable_13ead841-0d6b-47bf-8304-3a0485c4a2d4" xlink:href="bac-20251231.xsd#bac_PreferredStockExchangesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_bac_PreferredStockExchangesTable_13ead841-0d6b-47bf-8304-3a0485c4a2d4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_f13ac4ce-58aa-4e09-871a-29e8c9123ca8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_PreferredStockExchangesTable_13ead841-0d6b-47bf-8304-3a0485c4a2d4" xlink:to="loc_us-gaap_StatementClassOfStockAxis_f13ac4ce-58aa-4e09-871a-29e8c9123ca8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_f13ac4ce-58aa-4e09-871a-29e8c9123ca8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_f13ac4ce-58aa-4e09-871a-29e8c9123ca8" xlink:to="loc_us-gaap_ClassOfStockDomain_f13ac4ce-58aa-4e09-871a-29e8c9123ca8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_f13ac4ce-58aa-4e09-871a-29e8c9123ca8" xlink:to="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_d9e3dc49-f84f-4c81-966e-84d9c134f22a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesBPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_d9e3dc49-f84f-4c81-966e-84d9c134f22a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesEPreferredStockMember_727bd946-fada-45c3-8164-54f9ec98e50f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesEPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_us-gaap_SeriesEPreferredStockMember_727bd946-fada-45c3-8164-54f9ec98e50f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_f3bba021-a3a9-4751-b733-89d53d29683a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesFPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_f3bba021-a3a9-4751-b733-89d53d29683a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_117555bc-7338-47b1-aba8-d862756db514" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesGPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_117555bc-7338-47b1-aba8-d862756db514" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesLPreferredStockMember_d15cb1b9-5646-4a44-bcb5-3047a80ae61d" xlink:href="bac-20251231.xsd#bac_SeriesLPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesLPreferredStockMember_d15cb1b9-5646-4a44-bcb5-3047a80ae61d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesDDPreferredStockMember_c0db425c-655e-45e2-a62a-9ab7c44da4e4" xlink:href="bac-20251231.xsd#bac_SeriesDDPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesDDPreferredStockMember_c0db425c-655e-45e2-a62a-9ab7c44da4e4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesFFPreferredStockMember_dcea85b7-f2a7-4b28-8d4a-f3b645a52986" xlink:href="bac-20251231.xsd#bac_SeriesFFPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesFFPreferredStockMember_dcea85b7-f2a7-4b28-8d4a-f3b645a52986" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesGGPreferredStockMember_54438f82-3537-454a-ba26-9a8a6d47aff7" xlink:href="bac-20251231.xsd#bac_SeriesGGPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesGGPreferredStockMember_54438f82-3537-454a-ba26-9a8a6d47aff7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesHHPreferredStockMember_6270a483-7514-4153-a238-35ac9c80fca5" xlink:href="bac-20251231.xsd#bac_SeriesHHPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesHHPreferredStockMember_6270a483-7514-4153-a238-35ac9c80fca5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesKKPreferredStockMember_51b3d815-6bcf-464f-a86d-38850122e436" xlink:href="bac-20251231.xsd#bac_SeriesKKPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesKKPreferredStockMember_51b3d815-6bcf-464f-a86d-38850122e436" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesLLPreferredStockMember_a815ae8a-8d9b-47ec-a744-77fe7e40583c" xlink:href="bac-20251231.xsd#bac_SeriesLLPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesLLPreferredStockMember_a815ae8a-8d9b-47ec-a744-77fe7e40583c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesNNPreferredStockMember_34a873d8-1f1f-47cd-b895-a428178d383d" xlink:href="bac-20251231.xsd#bac_SeriesNNPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesNNPreferredStockMember_34a873d8-1f1f-47cd-b895-a428178d383d" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesOOPreferredStockMember_019c3999-e735-72da-ba30-8f87a94c52fd" xlink:href="bac-20251231.xsd#bac_SeriesOOPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesOOPreferredStockMember_019c3999-e735-72da-ba30-8f87a94c52fd" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesPPPreferredStockMember_e85fee30-c206-48ca-bfa9-d23762ee897a" xlink:href="bac-20251231.xsd#bac_SeriesPPPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesPPPreferredStockMember_e85fee30-c206-48ca-bfa9-d23762ee897a" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesQQPreferredStockMember_e788a851-0542-4912-8954-c0a600fc44a5" xlink:href="bac-20251231.xsd#bac_SeriesQQPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesQQPreferredStockMember_e788a851-0542-4912-8954-c0a600fc44a5" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesRRPreferredStockMember_f6e0d8ac-85f3-4337-ac64-df57c6e974cf" xlink:href="bac-20251231.xsd#bac_SeriesRRPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesRRPreferredStockMember_f6e0d8ac-85f3-4337-ac64-df57c6e974cf" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesSSPreferredStockMember_fffca7e1-e8e8-4410-8139-1ed15491dd08" xlink:href="bac-20251231.xsd#bac_SeriesSSPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesSSPreferredStockMember_fffca7e1-e8e8-4410-8139-1ed15491dd08" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesTTPreferredStockMember_9ff6a51a-5c07-4e88-9b72-5355037c41b5" xlink:href="bac-20251231.xsd#bac_SeriesTTPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesTTPreferredStockMember_9ff6a51a-5c07-4e88-9b72-5355037c41b5" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesUUPreferredStockMember_019c39ab-5c2b-7432-9bbc-0b911855368a" xlink:href="bac-20251231.xsd#bac_SeriesUUPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesUUPreferredStockMember_019c39ab-5c2b-7432-9bbc-0b911855368a" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesEGGHHKKLLNNPPQQSSPreferredStockMember_019c39c7-cf78-7e88-b0ad-950bcb0853ff" xlink:href="bac-20251231.xsd#bac_SeriesEGGHHKKLLNNPPQQSSPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesEGGHHKKLLNNPPQQSSPreferredStockMember_019c39c7-cf78-7e88-b0ad-950bcb0853ff" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesOORRTTAndUUPreferredStockMember_019c39c9-849e-70d4-88dd-f14c47e2ffb5" xlink:href="bac-20251231.xsd#bac_SeriesOORRTTAndUUPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_SeriesOORRTTAndUUPreferredStockMember_019c39c9-849e-70d4-88dd-f14c47e2ffb5" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series1Series5PreferredStockMember_8bfe4c80-8b53-4ee4-9aba-1c2e5d86be94" xlink:href="bac-20251231.xsd#bac_Series1Series5PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f2b95607-1d92-4523-907d-7af28344f818" xlink:to="loc_bac_Series1Series5PreferredStockMember_8bfe4c80-8b53-4ee4-9aba-1c2e5d86be94" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series1PreferredStockMember_eb82823b-7635-479a-a439-297736c2b446" xlink:href="bac-20251231.xsd#bac_Series1PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_Series1Series5PreferredStockMember_8bfe4c80-8b53-4ee4-9aba-1c2e5d86be94" xlink:to="loc_bac_Series1PreferredStockMember_eb82823b-7635-479a-a439-297736c2b446" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series2PreferredStockMember_6de9a553-443d-44c4-af30-3ab13d2a4c96" xlink:href="bac-20251231.xsd#bac_Series2PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_Series1Series5PreferredStockMember_8bfe4c80-8b53-4ee4-9aba-1c2e5d86be94" xlink:to="loc_bac_Series2PreferredStockMember_6de9a553-443d-44c4-af30-3ab13d2a4c96" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series4PreferredStockMember_723490ec-c23a-4aa2-9220-f5fe8340f4d6" xlink:href="bac-20251231.xsd#bac_Series4PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_Series1Series5PreferredStockMember_8bfe4c80-8b53-4ee4-9aba-1c2e5d86be94" xlink:to="loc_bac_Series4PreferredStockMember_723490ec-c23a-4aa2-9220-f5fe8340f4d6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series5PreferredStockMember_9cd52e37-eb9e-4276-9a47-e345771f240a" xlink:href="bac-20251231.xsd#bac_Series5PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_Series1Series5PreferredStockMember_8bfe4c80-8b53-4ee4-9aba-1c2e5d86be94" xlink:to="loc_bac_Series5PreferredStockMember_9cd52e37-eb9e-4276-9a47-e345771f240a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_Series1And2PreferredStockMember_019c39c4-575d-7d95-b5bb-8fef5de13a28" xlink:href="bac-20251231.xsd#bac_Series1And2PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_Series1Series5PreferredStockMember_8bfe4c80-8b53-4ee4-9aba-1c2e5d86be94" xlink:to="loc_bac_Series1And2PreferredStockMember_019c39c4-575d-7d95-b5bb-8fef5de13a28" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendRatePercentage_6da44196-a055-4305-a7ef-cb6f9bad822a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockDividendRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_us-gaap_PreferredStockDividendRatePercentage_6da44196-a055-4305-a7ef-cb6f9bad822a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_31e5d35c-cefb-4a2f-8e10-9459892eb2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_31e5d35c-cefb-4a2f-8e10-9459892eb2d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockLiquidationPreference_029675df-6556-4857-b83f-ed2c3fcfc2b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockLiquidationPreference"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_us-gaap_PreferredStockLiquidationPreference_029675df-6556-4857-b83f-ed2c3fcfc2b0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockRedeemableAndNonRedeemableValueBeforeAdjustments_e542c322-1bd4-40a8-acbe-8a6a709c9060" xlink:href="bac-20251231.xsd#bac_PreferredStockRedeemableAndNonRedeemableValueBeforeAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_bac_PreferredStockRedeemableAndNonRedeemableValueBeforeAdjustments_e542c322-1bd4-40a8-acbe-8a6a709c9060" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockRedeemableAndNonRedeemableValueIssuanceCostsAndAdjustments_eb3f1b2d-b522-4103-a930-df8747a943e7" xlink:href="bac-20251231.xsd#bac_PreferredStockRedeemableAndNonRedeemableValueIssuanceCostsAndAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_bac_PreferredStockRedeemableAndNonRedeemableValueIssuanceCostsAndAdjustments_eb3f1b2d-b522-4103-a930-df8747a943e7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockIncludingAdditionalPaidInCapital_310975fc-d82a-4d64-9dc6-cb27d814f464" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockIncludingAdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_us-gaap_PreferredStockIncludingAdditionalPaidInCapital_310975fc-d82a-4d64-9dc6-cb27d814f464" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockDividendRateBasisSpreadOnVariableRateMinimumRatePerAnnum_e4fd0e6c-8aed-4823-8e96-a3eeacdc902a" xlink:href="bac-20251231.xsd#bac_PreferredStockDividendRateBasisSpreadOnVariableRateMinimumRatePerAnnum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_bac_PreferredStockDividendRateBasisSpreadOnVariableRateMinimumRatePerAnnum_e4fd0e6c-8aed-4823-8e96-a3eeacdc902a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsPerShareCashPaid_45444a8c-0ad0-4fc4-94e0-83446dadd524" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockDividendsPerShareCashPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_us-gaap_PreferredStockDividendsPerShareCashPaid_45444a8c-0ad0-4fc4-94e0-83446dadd524" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStock_a2f120e6-b171-4f38-931e-9d13c99cc268" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_us-gaap_DividendsPreferredStock_a2f120e6-b171-4f38-931e-9d13c99cc268" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockDividendRateBasisSpreadOnVariableRate_0e7cd6b3-b014-4767-add8-c92ca42a491b" xlink:href="bac-20251231.xsd#bac_PreferredStockDividendRateBasisSpreadOnVariableRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_bac_PreferredStockDividendRateBasisSpreadOnVariableRate_0e7cd6b3-b014-4767-add8-c92ca42a491b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockOwnershipPercentageInDepositorySharesQuarterlyCashDividend_019c39c5-4ae1-7465-9353-8785d1032c93" xlink:href="bac-20251231.xsd#bac_PreferredStockOwnershipPercentageInDepositorySharesQuarterlyCashDividend"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_bac_PreferredStockOwnershipPercentageInDepositorySharesQuarterlyCashDividend_019c39c5-4ae1-7465-9353-8785d1032c93" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PreferredStockOwnershipPercentageInDepositorySharesSemiAnnualCashDividend_019c39c5-4ae1-7421-aaba-05aebc7d839c" xlink:href="bac-20251231.xsd#bac_PreferredStockOwnershipPercentageInDepositorySharesSemiAnnualCashDividend"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_60bae341-ed9b-4aa9-ac52-a7de0951d295" xlink:to="loc_bac_PreferredStockOwnershipPercentageInDepositorySharesSemiAnnualCashDividend_019c39c5-4ae1-7421-aaba-05aebc7d839c" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/AccumulatedOtherComprehensiveIncomeLossChangeinAccumulatedOCIDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#AccumulatedOtherComprehensiveIncomeLossChangeinAccumulatedOCIDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/AccumulatedOtherComprehensiveIncomeLossChangeinAccumulatedOCIDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_c76bec86-8456-40b4-9ad4-be91e908b15b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_e1bebcee-6570-4054-b262-f8dd1489da34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_c76bec86-8456-40b4-9ad4-be91e908b15b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_e1bebcee-6570-4054-b262-f8dd1489da34" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_7c5004be-cfe7-406f-9ab1-4afb8ce6f0ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_e1bebcee-6570-4054-b262-f8dd1489da34" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_7c5004be-cfe7-406f-9ab1-4afb8ce6f0ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_7c5004be-cfe7-406f-9ab1-4afb8ce6f0ad_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7c5004be-cfe7-406f-9ab1-4afb8ce6f0ad" xlink:to="loc_us-gaap_EquityComponentDomain_7c5004be-cfe7-406f-9ab1-4afb8ce6f0ad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_198fee75-414f-4895-9bd5-1cd702f5a941" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7c5004be-cfe7-406f-9ab1-4afb8ce6f0ad" xlink:to="loc_us-gaap_EquityComponentDomain_198fee75-414f-4895-9bd5-1cd702f5a941" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_8306e8c5-f4e7-4c2b-8a4c-fa0a17014cce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_198fee75-414f-4895-9bd5-1cd702f5a941" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_8306e8c5-f4e7-4c2b-8a4c-fa0a17014cce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_978028b7-7d4d-41bc-b53a-d6cbdbf29bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_8306e8c5-f4e7-4c2b-8a4c-fa0a17014cce" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_978028b7-7d4d-41bc-b53a-d6cbdbf29bf0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossFinancialLiabilityFairValueOptionAttributableToParentMember_0e390edf-3fea-4aa0-93a1-9d0ffa634aa2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedGainLossFinancialLiabilityFairValueOptionAttributableToParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_8306e8c5-f4e7-4c2b-8a4c-fa0a17014cce" xlink:to="loc_us-gaap_AccumulatedGainLossFinancialLiabilityFairValueOptionAttributableToParentMember_0e390edf-3fea-4aa0-93a1-9d0ffa634aa2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_614f5089-669c-4f02-87af-dd9a2ff963fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_8306e8c5-f4e7-4c2b-8a4c-fa0a17014cce" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_614f5089-669c-4f02-87af-dd9a2ff963fd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_551d6a92-3ad9-4a99-b13d-0653f5a48d61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_8306e8c5-f4e7-4c2b-8a4c-fa0a17014cce" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_551d6a92-3ad9-4a99-b13d-0653f5a48d61" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_876286c4-929d-41bf-989c-414a5630e58c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_8306e8c5-f4e7-4c2b-8a4c-fa0a17014cce" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_876286c4-929d-41bf-989c-414a5630e58c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_682f22b1-bde5-4a57-a072-c2ac892f4f1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_c76bec86-8456-40b4-9ad4-be91e908b15b" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_682f22b1-bde5-4a57-a072-c2ac892f4f1a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_800fafc4-21c4-4244-8919-97c659a1bfb6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_682f22b1-bde5-4a57-a072-c2ac892f4f1a" xlink:to="loc_us-gaap_StockholdersEquity_800fafc4-21c4-4244-8919-97c659a1bfb6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e504503b-0aa5-4597-9351-e56110fe46a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_682f22b1-bde5-4a57-a072-c2ac892f4f1a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e504503b-0aa5-4597-9351-e56110fe46a3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_38191de5-884e-47a6-aeb6-8c47d42fd22d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/AccumulatedOtherComprehensiveIncomeLossChangesinOCIComponentsPreandAftertaxDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#AccumulatedOtherComprehensiveIncomeLossChangesinOCIComponentsPreandAftertaxDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/AccumulatedOtherComprehensiveIncomeLossChangesinOCIComponentsPreandAftertaxDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_23a824df-2e92-4c0f-8f83-9a76ad9f5f8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_11a453ac-a950-42ed-8e4e-486dc8d1b82b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_23a824df-2e92-4c0f-8f83-9a76ad9f5f8a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_11a453ac-a950-42ed-8e4e-486dc8d1b82b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_290afdb4-2d1c-45b3-8a6d-a50f09f9d3c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_11a453ac-a950-42ed-8e4e-486dc8d1b82b" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_290afdb4-2d1c-45b3-8a6d-a50f09f9d3c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_290afdb4-2d1c-45b3-8a6d-a50f09f9d3c8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_290afdb4-2d1c-45b3-8a6d-a50f09f9d3c8" xlink:to="loc_us-gaap_EquityComponentDomain_290afdb4-2d1c-45b3-8a6d-a50f09f9d3c8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_133256e4-c733-4041-9a5b-74fa1367f728" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_290afdb4-2d1c-45b3-8a6d-a50f09f9d3c8" xlink:to="loc_us-gaap_EquityComponentDomain_133256e4-c733-4041-9a5b-74fa1367f728" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_ed0d33a1-b83a-4048-a10f-1a814ccc1882" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_133256e4-c733-4041-9a5b-74fa1367f728" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_ed0d33a1-b83a-4048-a10f-1a814ccc1882" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_81c57ead-a1c4-4aaa-9c24-47afcc8cdcc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_ed0d33a1-b83a-4048-a10f-1a814ccc1882" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_81c57ead-a1c4-4aaa-9c24-47afcc8cdcc1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossFinancialLiabilityFairValueOptionAttributableToParentMember_008b3042-203b-4553-8bd1-4d8160188869" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedGainLossFinancialLiabilityFairValueOptionAttributableToParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_ed0d33a1-b83a-4048-a10f-1a814ccc1882" xlink:to="loc_us-gaap_AccumulatedGainLossFinancialLiabilityFairValueOptionAttributableToParentMember_008b3042-203b-4553-8bd1-4d8160188869" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_cc291802-c862-44c5-b2ae-af9fc4ba3d64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_ed0d33a1-b83a-4048-a10f-1a814ccc1882" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_cc291802-c862-44c5-b2ae-af9fc4ba3d64" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_8f56f14b-9b2e-4536-a884-b495bb7d2a0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_ed0d33a1-b83a-4048-a10f-1a814ccc1882" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_8f56f14b-9b2e-4536-a884-b495bb7d2a0d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_80a9af99-8669-46fe-9abb-be843ada0bba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_ed0d33a1-b83a-4048-a10f-1a814ccc1882" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_80a9af99-8669-46fe-9abb-be843ada0bba" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_e2cb9943-0d89-4169-9e48-dadb1b2ff6f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_11a453ac-a950-42ed-8e4e-486dc8d1b82b" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_e2cb9943-0d89-4169-9e48-dadb1b2ff6f4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_e2cb9943-0d89-4169-9e48-dadb1b2ff6f4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_e2cb9943-0d89-4169-9e48-dadb1b2ff6f4" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_e2cb9943-0d89-4169-9e48-dadb1b2ff6f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_abc0ed6a-e3d0-4e39-87c6-21c4a401ad3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_e2cb9943-0d89-4169-9e48-dadb1b2ff6f4" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_abc0ed6a-e3d0-4e39-87c6-21c4a401ad3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeMember_96983f77-2fe3-4848-bc0e-e3cd7a7a0c8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_abc0ed6a-e3d0-4e39-87c6-21c4a401ad3d" xlink:to="loc_us-gaap_InterestIncomeMember_96983f77-2fe3-4848-bc0e-e3cd7a7a0c8b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MarketMakingAndSimilarActivitiesMember_136c23b0-7e2b-4dc4-8b79-28d778e0b7d7" xlink:href="bac-20251231.xsd#bac_MarketMakingAndSimilarActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_abc0ed6a-e3d0-4e39-87c6-21c4a401ad3d" xlink:to="loc_bac_MarketMakingAndSimilarActivitiesMember_136c23b0-7e2b-4dc4-8b79-28d778e0b7d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CompensationAndBenefitsMember_0977ef1a-4348-43b3-97d7-5eb0e21152b4" xlink:href="bac-20251231.xsd#bac_CompensationAndBenefitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_abc0ed6a-e3d0-4e39-87c6-21c4a401ad3d" xlink:to="loc_bac_CompensationAndBenefitsMember_0977ef1a-4348-43b3-97d7-5eb0e21152b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_67b15571-fda6-47cf-86ab-72c8cdd5695a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_23a824df-2e92-4c0f-8f83-9a76ad9f5f8a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_67b15571-fda6-47cf-86ab-72c8cdd5695a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_d8305758-3bd6-4e43-b55d-bf3d3f89595d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_67b15571-fda6-47cf-86ab-72c8cdd5695a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_d8305758-3bd6-4e43-b55d-bf3d3f89595d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_2a6b6935-0e72-4916-acf0-8219800397ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_67b15571-fda6-47cf-86ab-72c8cdd5695a" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_2a6b6935-0e72-4916-acf0-8219800397ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_019b27a7-8a6e-7e01-8c63-72dc812efcdb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_67b15571-fda6-47cf-86ab-72c8cdd5695a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationBeforeTax_019b27a7-8a6e-7e01-8c63-72dc812efcdb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_019b27a7-8a6e-7e24-931c-51e5ca994a3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_67b15571-fda6-47cf-86ab-72c8cdd5695a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeFinalizationOfPensionAndNonPensionPostretirementPlanValuationTax_019b27a7-8a6e-7e24-931c-51e5ca994a3d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_019b27a7-8a6e-76ff-a212-ce8590ddaf00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_67b15571-fda6-47cf-86ab-72c8cdd5695a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax_019b27a7-8a6e-76ff-a212-ce8590ddaf00" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_7e9282eb-4423-4685-84e4-097659471cf5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentAbstract_67b15571-fda6-47cf-86ab-72c8cdd5695a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_7e9282eb-4423-4685-84e4-097659471cf5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParentAbstract_1b88d6d2-d25b-435f-a593-13daf46a6e69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_23a824df-2e92-4c0f-8f83-9a76ad9f5f8a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParentAbstract_1b88d6d2-d25b-435f-a593-13daf46a6e69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_5547dd59-cbd8-41ca-9245-248f01572ac9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParentAbstract_1b88d6d2-d25b-435f-a593-13daf46a6e69" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_5547dd59-cbd8-41ca-9245-248f01572ac9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_f09474eb-5503-4954-bacb-f4cf98e06b13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParentAbstract_1b88d6d2-d25b-435f-a593-13daf46a6e69" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_f09474eb-5503-4954-bacb-f4cf98e06b13" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_b8fe4215-3b22-4c94-8f1a-f7e689b65924" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParentAbstract_1b88d6d2-d25b-435f-a593-13daf46a6e69" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_b8fe4215-3b22-4c94-8f1a-f7e689b65924" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_db3caa17-a2df-405a-8220-853c4476ca48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_23a824df-2e92-4c0f-8f83-9a76ad9f5f8a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_db3caa17-a2df-405a-8220-853c4476ca48" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_c2a65eb3-7eb2-4cbb-967a-8edea693698b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_db3caa17-a2df-405a-8220-853c4476ca48" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_c2a65eb3-7eb2-4cbb-967a-8edea693698b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_47b629a3-3b82-44ff-b53c-157750e25c3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_db3caa17-a2df-405a-8220-853c4476ca48" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_47b629a3-3b82-44ff-b53c-157750e25c3f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_03177e8b-6ac8-4980-92fe-14e459739257" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_db3caa17-a2df-405a-8220-853c4476ca48" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_03177e8b-6ac8-4980-92fe-14e459739257" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EarningsPerCommonShareNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EarningsPerCommonShareNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EarningsPerCommonShareNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDilutedLineItems_606d9334-174b-4cf2-894f-731fbe9a1822" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDilutedLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_66218f4f-06c5-4d9b-bc26-d328f80145e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_606d9334-174b-4cf2-894f-731fbe9a1822" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_66218f4f-06c5-4d9b-bc26-d328f80145e0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_b7dd704f-4d9b-4aca-8b34-a3e9da118a39" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_66218f4f-06c5-4d9b-bc26-d328f80145e0" xlink:to="loc_us-gaap_StatementClassOfStockAxis_b7dd704f-4d9b-4aca-8b34-a3e9da118a39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_b7dd704f-4d9b-4aca-8b34-a3e9da118a39_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_b7dd704f-4d9b-4aca-8b34-a3e9da118a39" xlink:to="loc_us-gaap_ClassOfStockDomain_b7dd704f-4d9b-4aca-8b34-a3e9da118a39_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ad4ea867-5858-4a63-92ae-0b2c3174252f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_b7dd704f-4d9b-4aca-8b34-a3e9da118a39" xlink:to="loc_us-gaap_ClassOfStockDomain_ad4ea867-5858-4a63-92ae-0b2c3174252f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SeriesLPreferredStockMember_75992bf7-e921-41cf-b7d5-e6e771adca85" xlink:href="bac-20251231.xsd#bac_SeriesLPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ad4ea867-5858-4a63-92ae-0b2c3174252f" xlink:to="loc_bac_SeriesLPreferredStockMember_75992bf7-e921-41cf-b7d5-e6e771adca85" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_a924179a-3b4c-4d09-9e69-a0c3f8653c74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_606d9334-174b-4cf2-894f-731fbe9a1822" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_a924179a-3b4c-4d09-9e69-a0c3f8653c74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019c8643-f1d4-71ad-a927-991be11b054d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_606d9334-174b-4cf2-894f-731fbe9a1822" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019c8643-f1d4-71ad-a927-991be11b054d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/RegulatoryRequirementsandRestrictionsScheduleofCapitalUnderBasel3Details" xlink:type="simple" xlink:href="bac-20251231.xsd#RegulatoryRequirementsandRestrictionsScheduleofCapitalUnderBasel3Details"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/RegulatoryRequirementsandRestrictionsScheduleofCapitalUnderBasel3Details" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_0da868fe-3f08-41a9-8065-a5555ec8fa98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_67bd3a6d-5e14-46aa-aac8-50e1861eb537" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_0da868fe-3f08-41a9-8065-a5555ec8fa98" xlink:to="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_67bd3a6d-5e14-46aa-aac8-50e1861eb537" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyAxis_e4d6e71b-dec6-4e5a-9a69-66f58b0e43d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RiskWeightedAssetsCalculationMethodologyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_67bd3a6d-5e14-46aa-aac8-50e1861eb537" xlink:to="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyAxis_e4d6e71b-dec6-4e5a-9a69-66f58b0e43d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyDomain_e4d6e71b-dec6-4e5a-9a69-66f58b0e43d5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RiskWeightedAssetsCalculationMethodologyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyAxis_e4d6e71b-dec6-4e5a-9a69-66f58b0e43d5" xlink:to="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyDomain_e4d6e71b-dec6-4e5a-9a69-66f58b0e43d5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyDomain_83bbcb55-9c8a-4dc2-8a88-ebe3c47eca69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RiskWeightedAssetsCalculationMethodologyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyAxis_e4d6e71b-dec6-4e5a-9a69-66f58b0e43d5" xlink:to="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyDomain_83bbcb55-9c8a-4dc2-8a88-ebe3c47eca69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandardizedApproachMember_8fdac20c-6819-4d89-992c-25cc499340a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardizedApproachMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyDomain_83bbcb55-9c8a-4dc2-8a88-ebe3c47eca69" xlink:to="loc_us-gaap_StandardizedApproachMember_8fdac20c-6819-4d89-992c-25cc499340a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancedApproachMember_02112074-902f-4115-af6a-dc68095075f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdvancedApproachMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RiskWeightedAssetsCalculationMethodologyDomain_83bbcb55-9c8a-4dc2-8a88-ebe3c47eca69" xlink:to="loc_us-gaap_AdvancedApproachMember_02112074-902f-4115-af6a-dc68095075f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_8e895c47-114a-4a2b-8a4b-a797fab5e541" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_67bd3a6d-5e14-46aa-aac8-50e1861eb537" xlink:to="loc_srt_ConsolidatedEntitiesAxis_8e895c47-114a-4a2b-8a4b-a797fab5e541" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_8e895c47-114a-4a2b-8a4b-a797fab5e541_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8e895c47-114a-4a2b-8a4b-a797fab5e541" xlink:to="loc_srt_ConsolidatedEntitiesDomain_8e895c47-114a-4a2b-8a4b-a797fab5e541_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_4d3c3677-7392-4980-ae71-c4b53a3b5beb" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8e895c47-114a-4a2b-8a4b-a797fab5e541" xlink:to="loc_srt_ConsolidatedEntitiesDomain_4d3c3677-7392-4980-ae71-c4b53a3b5beb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_2e1e3b68-9e0d-4a3c-88ab-a4c3b92ae13c" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_4d3c3677-7392-4980-ae71-c4b53a3b5beb" xlink:to="loc_srt_ParentCompanyMember_2e1e3b68-9e0d-4a3c-88ab-a4c3b92ae13c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_db2780e6-d7cd-41ec-8ff8-902f9ce75b4f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_4d3c3677-7392-4980-ae71-c4b53a3b5beb" xlink:to="loc_srt_SubsidiariesMember_db2780e6-d7cd-41ec-8ff8-902f9ce75b4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_0ec46259-cd76-4121-8b4c-72645273ffa4" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_67bd3a6d-5e14-46aa-aac8-50e1861eb537" xlink:to="loc_dei_LegalEntityAxis_0ec46259-cd76-4121-8b4c-72645273ffa4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_0ec46259-cd76-4121-8b4c-72645273ffa4_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_0ec46259-cd76-4121-8b4c-72645273ffa4" xlink:to="loc_dei_EntityDomain_0ec46259-cd76-4121-8b4c-72645273ffa4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_ff0edc17-27f9-4dc9-9a7c-4747a7cf931a" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_0ec46259-cd76-4121-8b4c-72645273ffa4" xlink:to="loc_dei_EntityDomain_ff0edc17-27f9-4dc9-9a7c-4747a7cf931a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_68e072d3-165b-418e-80f0-d2a520e54a57" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_ff0edc17-27f9-4dc9-9a7c-4747a7cf931a" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_68e072d3-165b-418e-80f0-d2a520e54a57" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:href="bac-20251231.xsd#bac_RiskbasedCapitalMetricsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_0da868fe-3f08-41a9-8065-a5555ec8fa98" xlink:to="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonEquityTierOneCapital_a62ff85c-2d38-4752-873c-bcf0a893a241" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonEquityTierOneCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:to="loc_us-gaap_CommonEquityTierOneCapital_a62ff85c-2d38-4752-873c-bcf0a893a241" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneRiskBasedCapital_958d25cd-d0de-4eb0-8de2-1aab758e5c9f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneRiskBasedCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:to="loc_us-gaap_TierOneRiskBasedCapital_958d25cd-d0de-4eb0-8de2-1aab758e5c9f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Capital_64b4ba1f-7311-43a9-ae92-31b2ba9d4e60" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Capital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:to="loc_us-gaap_Capital_64b4ba1f-7311-43a9-ae92-31b2ba9d4e60" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RiskWeightedAssets_a3848fcf-d42d-4f25-bb30-c021f707c875" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RiskWeightedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:to="loc_us-gaap_RiskWeightedAssets_a3848fcf-d42d-4f25-bb30-c021f707c875" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonEquityTierOneCapitalRatio_37696d38-a33e-4b3b-9542-2c346114edf3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonEquityTierOneCapitalRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:to="loc_us-gaap_CommonEquityTierOneCapitalRatio_37696d38-a33e-4b3b-9542-2c346114edf3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets_ab9e1dd9-0fa1-4a25-b163-df936e95bf44" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:to="loc_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets_ab9e1dd9-0fa1-4a25-b163-df936e95bf44" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalToRiskWeightedAssets_12d57932-94cb-4952-a88e-f566fea57b9f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalToRiskWeightedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:to="loc_us-gaap_CapitalToRiskWeightedAssets_12d57932-94cb-4952-a88e-f566fea57b9f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RiskBasedRatiosAbstract_6daec28a-62f5-4651-bb6d-bb9da3cc930e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RiskBasedRatiosAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_RiskbasedCapitalMetricsAbstract_277c3c25-4994-412d-be26-09f977b5562c" xlink:to="loc_us-gaap_RiskBasedRatiosAbstract_6daec28a-62f5-4651-bb6d-bb9da3cc930e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CommonEquityTierOneRequiredForCapitalAdequacyToRiskWeightedAssets_8e2500c8-b89e-4d69-b2bd-a95e7c0d5eab" xlink:href="bac-20251231.xsd#bac_CommonEquityTierOneRequiredForCapitalAdequacyToRiskWeightedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RiskBasedRatiosAbstract_6daec28a-62f5-4651-bb6d-bb9da3cc930e" xlink:to="loc_bac_CommonEquityTierOneRequiredForCapitalAdequacyToRiskWeightedAssets_8e2500c8-b89e-4d69-b2bd-a95e7c0d5eab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets_05bd5e9b-43c4-43e8-bc21-da6297904033" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RiskBasedRatiosAbstract_6daec28a-62f5-4651-bb6d-bb9da3cc930e" xlink:to="loc_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets_05bd5e9b-43c4-43e8-bc21-da6297904033" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets_e3be53f5-06d9-47fa-87da-f6e100a4520d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RiskBasedRatiosAbstract_6daec28a-62f5-4651-bb6d-bb9da3cc930e" xlink:to="loc_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets_e3be53f5-06d9-47fa-87da-f6e100a4520d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LeverageBasedCapitalMetricsAbstract_8e70189c-4708-4e33-9f5a-6e60744f4149" xlink:href="bac-20251231.xsd#bac_LeverageBasedCapitalMetricsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_0da868fe-3f08-41a9-8065-a5555ec8fa98" xlink:to="loc_bac_LeverageBasedCapitalMetricsAbstract_8e70189c-4708-4e33-9f5a-6e60744f4149" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AdjustedQuarterlyAverageAssets_bef0242f-2b50-4d24-84aa-b3753fb3e33c" xlink:href="bac-20251231.xsd#bac_AdjustedQuarterlyAverageAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_LeverageBasedCapitalMetricsAbstract_8e70189c-4708-4e33-9f5a-6e60744f4149" xlink:to="loc_bac_AdjustedQuarterlyAverageAssets_bef0242f-2b50-4d24-84aa-b3753fb3e33c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneLeverageCapitalToAverageAssets_6bff748a-6b34-4e56-a353-cb9786b94c65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneLeverageCapitalToAverageAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_LeverageBasedCapitalMetricsAbstract_8e70189c-4708-4e33-9f5a-6e60744f4149" xlink:to="loc_us-gaap_TierOneLeverageCapitalToAverageAssets_6bff748a-6b34-4e56-a353-cb9786b94c65" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SupplementaryLeverageRatioLeverageExposure_a1407f1c-aab8-4d6c-8a78-91c49e4b8933" xlink:href="bac-20251231.xsd#bac_SupplementaryLeverageRatioLeverageExposure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_LeverageBasedCapitalMetricsAbstract_8e70189c-4708-4e33-9f5a-6e60744f4149" xlink:to="loc_bac_SupplementaryLeverageRatioLeverageExposure_a1407f1c-aab8-4d6c-8a78-91c49e4b8933" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementaryLeverageRatio_b7d4c747-ccce-4df9-9922-62b1908f66a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SupplementaryLeverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_LeverageBasedCapitalMetricsAbstract_8e70189c-4708-4e33-9f5a-6e60744f4149" xlink:to="loc_us-gaap_SupplementaryLeverageRatio_b7d4c747-ccce-4df9-9922-62b1908f66a0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LeverageBasedMetricsRiskBasedRatiosAbstract_67df8588-8440-40e9-aba1-a82de0d5f2f6" xlink:href="bac-20251231.xsd#bac_LeverageBasedMetricsRiskBasedRatiosAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_LeverageBasedCapitalMetricsAbstract_8e70189c-4708-4e33-9f5a-6e60744f4149" xlink:to="loc_bac_LeverageBasedMetricsRiskBasedRatiosAbstract_67df8588-8440-40e9-aba1-a82de0d5f2f6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets_4d6d597a-923b-450f-946d-f8bacb8ae2ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_LeverageBasedMetricsRiskBasedRatiosAbstract_67df8588-8440-40e9-aba1-a82de0d5f2f6" xlink:to="loc_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets_4d6d597a-923b-450f-946d-f8bacb8ae2ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SupplementaryLeverageRatioRequiredForCapitalAdequacy_33dac248-0e6c-458c-b2ac-9faaac5b2af0" xlink:href="bac-20251231.xsd#bac_SupplementaryLeverageRatioRequiredForCapitalAdequacy"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_LeverageBasedMetricsRiskBasedRatiosAbstract_67df8588-8440-40e9-aba1-a82de0d5f2f6" xlink:to="loc_bac_SupplementaryLeverageRatioRequiredForCapitalAdequacy_33dac248-0e6c-458c-b2ac-9faaac5b2af0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalSystemicallyImportantBankSurcharge_75f74fa1-cfef-4d92-b83e-d02da8869ae0" xlink:href="bac-20251231.xsd#bac_GlobalSystemicallyImportantBankSurcharge"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_0da868fe-3f08-41a9-8065-a5555ec8fa98" xlink:to="loc_bac_GlobalSystemicallyImportantBankSurcharge_75f74fa1-cfef-4d92-b83e-d02da8869ae0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CapitalConservationBuffer_d9a493d6-7389-4f65-9d3e-d1073991fb45" xlink:href="bac-20251231.xsd#bac_CapitalConservationBuffer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_0da868fe-3f08-41a9-8065-a5555ec8fa98" xlink:to="loc_bac_CapitalConservationBuffer_d9a493d6-7389-4f65-9d3e-d1073991fb45" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankingRegulationStressCapitalBuffer_10a85c2d-dd8c-4c80-b860-8b4bdf308c91" xlink:href="bac-20251231.xsd#bac_BankingRegulationStressCapitalBuffer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_0da868fe-3f08-41a9-8065-a5555ec8fa98" xlink:to="loc_bac_BankingRegulationStressCapitalBuffer_10a85c2d-dd8c-4c80-b860-8b4bdf308c91" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/RegulatoryRequirementsandRestrictionsNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#RegulatoryRequirementsandRestrictionsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/RegulatoryRequirementsandRestrictionsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_e31cef8d-c8c9-42d3-a6a8-b02ba4076f93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_3a3b4256-664f-49ee-a944-3265db16d62e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_e31cef8d-c8c9-42d3-a6a8-b02ba4076f93" xlink:to="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_3a3b4256-664f-49ee-a944-3265db16d62e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_3b1de1a8-4739-4d74-969f-9bab7b7805ac" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_3a3b4256-664f-49ee-a944-3265db16d62e" xlink:to="loc_srt_CounterpartyNameAxis_3b1de1a8-4739-4d74-969f-9bab7b7805ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3b1de1a8-4739-4d74-969f-9bab7b7805ac_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_3b1de1a8-4739-4d74-969f-9bab7b7805ac" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3b1de1a8-4739-4d74-969f-9bab7b7805ac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_452aa4ef-4e12-457e-b5bc-0659b3ef72f2" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_3b1de1a8-4739-4d74-969f-9bab7b7805ac" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_452aa4ef-4e12-457e-b5bc-0659b3ef72f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_fa9f2e0b-e1d8-40ac-8289-6c937e3a3f4a" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_452aa4ef-4e12-457e-b5bc-0659b3ef72f2" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_fa9f2e0b-e1d8-40ac-8289-6c937e3a3f4a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankOfAmericaCaliforniaN.A.Member_8453a1f0-cc14-4088-9e61-eea33f157a99" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankOfAmericaCaliforniaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_452aa4ef-4e12-457e-b5bc-0659b3ef72f2" xlink:to="loc_bac_SubsidiariesBankOfAmericaCaliforniaN.A.Member_8453a1f0-cc14-4088-9e61-eea33f157a99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_f7d43469-73c5-4c20-b9cc-3c289abcf460" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable_3a3b4256-664f-49ee-a944-3265db16d62e" xlink:to="loc_dei_LegalEntityAxis_f7d43469-73c5-4c20-b9cc-3c289abcf460" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_f7d43469-73c5-4c20-b9cc-3c289abcf460_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_f7d43469-73c5-4c20-b9cc-3c289abcf460" xlink:to="loc_dei_EntityDomain_f7d43469-73c5-4c20-b9cc-3c289abcf460_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_ec009858-31e6-4a58-8cf5-e4b6bd72fd3a" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_f7d43469-73c5-4c20-b9cc-3c289abcf460" xlink:to="loc_dei_EntityDomain_ec009858-31e6-4a58-8cf5-e4b6bd72fd3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankofAmericaN.A.Member_5fb37e45-0ec4-40bb-a84d-cab517f55d37" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankofAmericaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_ec009858-31e6-4a58-8cf5-e4b6bd72fd3a" xlink:to="loc_bac_SubsidiariesBankofAmericaN.A.Member_5fb37e45-0ec4-40bb-a84d-cab517f55d37" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SubsidiariesBankOfAmericaCaliforniaN.A.Member_d99935aa-658a-4f26-9fd3-76d0b56a9188" xlink:href="bac-20251231.xsd#bac_SubsidiariesBankOfAmericaCaliforniaN.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_ec009858-31e6-4a58-8cf5-e4b6bd72fd3a" xlink:to="loc_bac_SubsidiariesBankOfAmericaCaliforniaN.A.Member_d99935aa-658a-4f26-9fd3-76d0b56a9188" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSegregatedUnderOtherRegulations_2c9e2f14-9e8c-4f56-9592-a8be31a997be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashSegregatedUnderOtherRegulations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_e31cef8d-c8c9-42d3-a6a8-b02ba4076f93" xlink:to="loc_us-gaap_CashSegregatedUnderOtherRegulations_2c9e2f14-9e8c-4f56-9592-a8be31a997be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSegregatedUnderOtherRegulations_a9f2742f-1add-4baf-86d5-b6c1adbd07c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesSegregatedUnderOtherRegulations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_e31cef8d-c8c9-42d3-a6a8-b02ba4076f93" xlink:to="loc_us-gaap_SecuritiesSegregatedUnderOtherRegulations_a9f2742f-1add-4baf-86d5-b6c1adbd07c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodFaithAndMarginDepositsWithBrokerDealers_09ba685b-784c-4743-9222-83dccddc9705" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodFaithAndMarginDepositsWithBrokerDealers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_e31cef8d-c8c9-42d3-a6a8-b02ba4076f93" xlink:to="loc_us-gaap_GoodFaithAndMarginDepositsWithBrokerDealers_09ba685b-784c-4743-9222-83dccddc9705" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDividendsReceived_36ab6788-630a-4d14-b57b-b0435a7fd4d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromDividendsReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_e31cef8d-c8c9-42d3-a6a8-b02ba4076f93" xlink:to="loc_us-gaap_ProceedsFromDividendsReceived_36ab6788-630a-4d14-b57b-b0435a7fd4d8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CashDividendsPaidToParentCompanyByConsolidatedSubsidiariesPrecedingPeriodOfNetProfits_18a18069-e9b1-4c1a-973e-d989527e614d" xlink:href="bac-20251231.xsd#bac_CashDividendsPaidToParentCompanyByConsolidatedSubsidiariesPrecedingPeriodOfNetProfits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_e31cef8d-c8c9-42d3-a6a8-b02ba4076f93" xlink:to="loc_bac_CashDividendsPaidToParentCompanyByConsolidatedSubsidiariesPrecedingPeriodOfNetProfits_18a18069-e9b1-4c1a-973e-d989527e614d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CashDividendsAllowableToBeDeclaredAndPaidToParentCompanyByConsolidatedSubsidiariesNextTwelveMonths_2ad283df-385e-459b-997c-32ec67324caa" xlink:href="bac-20251231.xsd#bac_CashDividendsAllowableToBeDeclaredAndPaidToParentCompanyByConsolidatedSubsidiariesNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems_e31cef8d-c8c9-42d3-a6a8-b02ba4076f93" xlink:to="loc_bac_CashDividendsAllowableToBeDeclaredAndPaidToParentCompanyByConsolidatedSubsidiariesNextTwelveMonths_2ad283df-385e-459b-997c-32ec67324caa" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_62f05da7-fad5-49de-8fc5-c917d98a20e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_62f05da7-fad5-49de-8fc5-c917d98a20e3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_454f518c-d8ef-4b85-aa7f-43a4890e214d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_62f05da7-fad5-49de-8fc5-c917d98a20e3" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_454f518c-d8ef-4b85-aa7f-43a4890e214d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_454f518c-d8ef-4b85-aa7f-43a4890e214d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_454f518c-d8ef-4b85-aa7f-43a4890e214d" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_454f518c-d8ef-4b85-aa7f-43a4890e214d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_077c120a-74af-44aa-ae3a-bdab191c3c39" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_454f518c-d8ef-4b85-aa7f-43a4890e214d" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_077c120a-74af-44aa-ae3a-bdab191c3c39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_02021fe2-ade2-421e-8586-9c197d858cd4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_077c120a-74af-44aa-ae3a-bdab191c3c39" xlink:to="loc_us-gaap_DomesticPlanMember_02021fe2-ade2-421e-8586-9c197d858cd4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_328ff122-1370-4b37-9bcb-fb207e520e19" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_02021fe2-ade2-421e-8586-9c197d858cd4" xlink:to="loc_country_US_328ff122-1370-4b37-9bcb-fb207e520e19" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_ccb2bc01-b92c-4432-a13e-d8b68c699d48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_077c120a-74af-44aa-ae3a-bdab191c3c39" xlink:to="loc_us-gaap_ForeignPlanMember_ccb2bc01-b92c-4432-a13e-d8b68c699d48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_99979a67-3360-49ab-924b-a05fdf668cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_62f05da7-fad5-49de-8fc5-c917d98a20e3" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_99979a67-3360-49ab-924b-a05fdf668cd7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_99979a67-3360-49ab-924b-a05fdf668cd7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_99979a67-3360-49ab-924b-a05fdf668cd7" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_99979a67-3360-49ab-924b-a05fdf668cd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_12f8750a-c752-483b-909c-be9c9978d9b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_99979a67-3360-49ab-924b-a05fdf668cd7" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_12f8750a-c752-483b-909c-be9c9978d9b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_a21d0cfc-4264-4d7f-892e-54e633f30569" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_12f8750a-c752-483b-909c-be9c9978d9b7" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_a21d0cfc-4264-4d7f-892e-54e633f30569" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_d2c78ddf-6120-443d-bb87-e4b392b0ebdf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_12f8750a-c752-483b-909c-be9c9978d9b7" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_d2c78ddf-6120-443d-bb87-e4b392b0ebdf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_c669a34f-689f-4283-8c34-41774b8ab389" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_12f8750a-c752-483b-909c-be9c9978d9b7" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_c669a34f-689f-4283-8c34-41774b8ab389" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusAxis_acabb75c-a322-4051-b151-3d239d7332ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_62f05da7-fad5-49de-8fc5-c917d98a20e3" xlink:to="loc_us-gaap_RetirementPlanTaxStatusAxis_acabb75c-a322-4051-b151-3d239d7332ac" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_acabb75c-a322-4051-b151-3d239d7332ac_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_acabb75c-a322-4051-b151-3d239d7332ac" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_acabb75c-a322-4051-b151-3d239d7332ac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_6cfc69d6-1bbf-46ff-b5f1-67b9f874539d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_acabb75c-a322-4051-b151-3d239d7332ac" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_6cfc69d6-1bbf-46ff-b5f1-67b9f874539d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonqualifiedPlanMember_d2168928-ce8a-43a4-a94f-c05b6949164b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonqualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_6cfc69d6-1bbf-46ff-b5f1-67b9f874539d" xlink:to="loc_us-gaap_NonqualifiedPlanMember_d2168928-ce8a-43a4-a94f-c05b6949164b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualifiedPlanMember_d51a5e23-870d-43cb-a82e-676dcad142d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_6cfc69d6-1bbf-46ff-b5f1-67b9f874539d" xlink:to="loc_us-gaap_QualifiedPlanMember_d51a5e23-870d-43cb-a82e-676dcad142d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_002b7a00-dcc9-4b94-ae1a-ce964d52bff8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_62f05da7-fad5-49de-8fc5-c917d98a20e3" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_002b7a00-dcc9-4b94-ae1a-ce964d52bff8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_002b7a00-dcc9-4b94-ae1a-ce964d52bff8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_002b7a00-dcc9-4b94-ae1a-ce964d52bff8" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_002b7a00-dcc9-4b94-ae1a-ce964d52bff8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_667736e8-354e-4809-8cdd-b102574d84f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_002b7a00-dcc9-4b94-ae1a-ce964d52bff8" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_667736e8-354e-4809-8cdd-b102574d84f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_26c1da23-78f1-455c-9f91-74b3baa1e192" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_667736e8-354e-4809-8cdd-b102574d84f8" xlink:to="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_26c1da23-78f1-455c-9f91-74b3baa1e192" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7e0f39cc-f7e2-4bc9-96a1-11496c7d471a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_62f05da7-fad5-49de-8fc5-c917d98a20e3" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7e0f39cc-f7e2-4bc9-96a1-11496c7d471a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7e0f39cc-f7e2-4bc9-96a1-11496c7d471a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7e0f39cc-f7e2-4bc9-96a1-11496c7d471a" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7e0f39cc-f7e2-4bc9-96a1-11496c7d471a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1f296e30-1f5a-45db-a3ca-23ca1c2a9388" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7e0f39cc-f7e2-4bc9-96a1-11496c7d471a" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1f296e30-1f5a-45db-a3ca-23ca1c2a9388" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_34b89724-b515-423c-8599-4de4a9fbfa16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1f296e30-1f5a-45db-a3ca-23ca1c2a9388" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_34b89724-b515-423c-8599-4de4a9fbfa16" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_c641385a-a1cd-475e-b1da-4e0ad53b506f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_c641385a-a1cd-475e-b1da-4e0ad53b506f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlanBenefitObligationIncreaseDecreaseFromChangeInWeightedAverageDiscountRates_8663adcc-93ab-4e8b-a630-1c25d8c15947" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlanBenefitObligationIncreaseDecreaseFromChangeInWeightedAverageDiscountRates"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_bac_DefinedBenefitPlanBenefitObligationIncreaseDecreaseFromChangeInWeightedAverageDiscountRates_8663adcc-93ab-4e8b-a630-1c25d8c15947" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear_8f91489c-29cb-4962-9400-1817ffad3cee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear_8f91489c-29cb-4962-9400-1817ffad3cee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlansPercentageOfPriorYearsMarketGainsLossesRecognizedAtNextMeasurementDate_794e927b-6545-42e3-9b8f-dd081479087f" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlansPercentageOfPriorYearsMarketGainsLossesRecognizedAtNextMeasurementDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_bac_DefinedBenefitPlansPercentageOfPriorYearsMarketGainsLossesRecognizedAtNextMeasurementDate_794e927b-6545-42e3-9b8f-dd081479087f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlansPercentageOfPriorYearsMarketGainsLossesRecognizedEquallyOverFourYearPeriod_e7b4140d-859a-4ea5-82e4-9f226f69491a" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlansPercentageOfPriorYearsMarketGainsLossesRecognizedEquallyOverFourYearPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_bac_DefinedBenefitPlansPercentageOfPriorYearsMarketGainsLossesRecognizedEquallyOverFourYearPeriod_e7b4140d-859a-4ea5-82e4-9f226f69491a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlansPercentageOfUnrecognizedGainLossRecognizedDuringPeriod_ae464d88-e1e1-4ad1-a10f-1de9a7df9e41" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlansPercentageOfUnrecognizedGainLossRecognizedDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_bac_DefinedBenefitPlansPercentageOfUnrecognizedGainLossRecognizedDuringPeriod_ae464d88-e1e1-4ad1-a10f-1de9a7df9e41" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanHealthCareCostTrendRateAssumedNextFiscalYear_e51c7615-c657-4133-8f3a-22031b0c92e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanHealthCareCostTrendRateAssumedNextFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanHealthCareCostTrendRateAssumedNextFiscalYear_e51c7615-c657-4133-8f3a-22031b0c92e8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanUltimateHealthCareCostTrendRate1_37bbe596-8a51-4894-8b67-380272b178a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanUltimateHealthCareCostTrendRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanUltimateHealthCareCostTrendRate1_37bbe596-8a51-4894-8b67-380272b178a7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountOfEmployerAndRelatedPartySecuritiesIncludedInPlanAssets_339875b1-301a-4d74-8912-2dc3c2063c60" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmountOfEmployerAndRelatedPartySecuritiesIncludedInPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountOfEmployerAndRelatedPartySecuritiesIncludedInPlanAssets_339875b1-301a-4d74-8912-2dc3c2063c60" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations_d05cd725-07ad-45e5-92a8-c0fd86919c1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations_d05cd725-07ad-45e5-92a8-c0fd86919c1a" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationPeriodIncreaseDecrease_f84bd63e-872c-47f2-b054-4296d3e8f8a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationPeriodIncreaseDecrease_f84bd63e-872c-47f2-b054-4296d3e8f8a5" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_0ce74b34-364e-4543-a28b-89a4c4af48b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_0ce74b34-364e-4543-a28b-89a4c4af48b3" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssetsStillHeld_8e368370-5516-4ba1-be70-77716b15c916" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanActualReturnOnPlanAssetsStillHeld"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssetsStillHeld_8e368370-5516-4ba1-be70-77716b15c916" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsLevel3ReconciliationIncreaseForPurchase_06450eca-f5d5-4ed2-bfe1-3dbd82a4e192" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPlanAssetsLevel3ReconciliationIncreaseForPurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsLevel3ReconciliationIncreaseForPurchase_06450eca-f5d5-4ed2-bfe1-3dbd82a4e192" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanCostRecognized_3fb201c1-e859-4893-91a0-bcbe8cf52ef7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedContributionPlanCostRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_us-gaap_DefinedContributionPlanCostRecognized_3fb201c1-e859-4893-91a0-bcbe8cf52ef7" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedContributionPlanNumberOfCommonStockSharesHeldInPlan_02b8c1a1-1002-4b7b-90df-a6efbed0304c" xlink:href="bac-20251231.xsd#bac_DefinedContributionPlanNumberOfCommonStockSharesHeldInPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_bac_DefinedContributionPlanNumberOfCommonStockSharesHeldInPlan_02b8c1a1-1002-4b7b-90df-a6efbed0304c" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedContributionPlanDividendPaymentsToThePlan_b53dc02f-dfce-4d75-9248-112ffe4d37a5" xlink:href="bac-20251231.xsd#bac_DefinedContributionPlanDividendPaymentsToThePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_99cb3744-7c84-47f8-8a62-d108239400d8" xlink:to="loc_bac_DefinedContributionPlanDividendPaymentsToThePlan_b53dc02f-dfce-4d75-9248-112ffe4d37a5" xlink:type="arc" order="16"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansPensionandPostretirementPlansDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansPensionandPostretirementPlansDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansPensionandPostretirementPlansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_90b64e19-2143-4c09-91ad-e44cb2d093cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b36277af-2447-4538-aa94-c542d3cc3e0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_90b64e19-2143-4c09-91ad-e44cb2d093cc" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b36277af-2447-4538-aa94-c542d3cc3e0d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_897d0618-c579-4c37-a7ec-ca91c0b7aba5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b36277af-2447-4538-aa94-c542d3cc3e0d" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_897d0618-c579-4c37-a7ec-ca91c0b7aba5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_897d0618-c579-4c37-a7ec-ca91c0b7aba5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_897d0618-c579-4c37-a7ec-ca91c0b7aba5" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_897d0618-c579-4c37-a7ec-ca91c0b7aba5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_3c105bee-24d6-486c-9589-6c76681a1317" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_897d0618-c579-4c37-a7ec-ca91c0b7aba5" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_3c105bee-24d6-486c-9589-6c76681a1317" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_2db96883-d5ec-4353-bdcb-f6069fb40450" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_3c105bee-24d6-486c-9589-6c76681a1317" xlink:to="loc_us-gaap_DomesticPlanMember_2db96883-d5ec-4353-bdcb-f6069fb40450" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_7600a16d-2168-4953-a191-3f42241fe04d" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_2db96883-d5ec-4353-bdcb-f6069fb40450" xlink:to="loc_country_US_7600a16d-2168-4953-a191-3f42241fe04d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_ee1fb4ff-1d14-4b57-b012-5ecacb92f1a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_3c105bee-24d6-486c-9589-6c76681a1317" xlink:to="loc_us-gaap_ForeignPlanMember_ee1fb4ff-1d14-4b57-b012-5ecacb92f1a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusAxis_41a15c4c-a19c-4b72-93ac-d98dcda3e87b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b36277af-2447-4538-aa94-c542d3cc3e0d" xlink:to="loc_us-gaap_RetirementPlanTaxStatusAxis_41a15c4c-a19c-4b72-93ac-d98dcda3e87b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_41a15c4c-a19c-4b72-93ac-d98dcda3e87b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_41a15c4c-a19c-4b72-93ac-d98dcda3e87b" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_41a15c4c-a19c-4b72-93ac-d98dcda3e87b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_b64e3879-9238-4b6c-9411-3571f4a79bd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_41a15c4c-a19c-4b72-93ac-d98dcda3e87b" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_b64e3879-9238-4b6c-9411-3571f4a79bd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualifiedPlanMember_3ef1776e-56eb-43fb-bc23-269fb2038d2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_b64e3879-9238-4b6c-9411-3571f4a79bd6" xlink:to="loc_us-gaap_QualifiedPlanMember_3ef1776e-56eb-43fb-bc23-269fb2038d2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonqualifiedPlanMember_98762b5a-1222-4212-b79d-34aaf2091603" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonqualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_b64e3879-9238-4b6c-9411-3571f4a79bd6" xlink:to="loc_us-gaap_NonqualifiedPlanMember_98762b5a-1222-4212-b79d-34aaf2091603" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_54360ea9-909c-4249-ae0f-67672adb1f49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b36277af-2447-4538-aa94-c542d3cc3e0d" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_54360ea9-909c-4249-ae0f-67672adb1f49" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_54360ea9-909c-4249-ae0f-67672adb1f49_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_54360ea9-909c-4249-ae0f-67672adb1f49" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_54360ea9-909c-4249-ae0f-67672adb1f49_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_8e88877c-738d-4111-80d0-dbe3c64a2908" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_54360ea9-909c-4249-ae0f-67672adb1f49" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_8e88877c-738d-4111-80d0-dbe3c64a2908" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_e18414a5-ddb3-4ea4-beca-a7387cb7f3a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_8e88877c-738d-4111-80d0-dbe3c64a2908" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_e18414a5-ddb3-4ea4-beca-a7387cb7f3a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_fa7bb1fd-a666-456f-b850-60ba5820bc5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_8e88877c-738d-4111-80d0-dbe3c64a2908" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_fa7bb1fd-a666-456f-b850-60ba5820bc5f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_0706112d-6448-44dc-88c2-eaa566ab61c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_8e88877c-738d-4111-80d0-dbe3c64a2908" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_0706112d-6448-44dc-88c2-eaa566ab61c1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_90b64e19-2143-4c09-91ad-e44cb2d093cc" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_5c0891dc-b7ac-4475-921f-9460a5908591" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_5c0891dc-b7ac-4475-921f-9460a5908591" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_8eef7503-e795-4c13-9fc8-e6d754ede0e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:to="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_8eef7503-e795-4c13-9fc8-e6d754ede0e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlanPlanAssetsContributionsWithdrawalsByEmployer_61548dac-2eb7-4214-a3a6-0d18f1391f9d" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlanPlanAssetsContributionsWithdrawalsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:to="loc_bac_DefinedBenefitPlanPlanAssetsContributionsWithdrawalsByEmployer_61548dac-2eb7-4214-a3a6-0d18f1391f9d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsContributionsByPlanParticipant_90c1e191-c5c2-4902-8aaa-0548a3d0595b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPlanAssetsContributionsByPlanParticipant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsContributionsByPlanParticipant_90c1e191-c5c2-4902-8aaa-0548a3d0595b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlanPlanAssetsCurtailmentsAndSettlements_0ca78f29-602b-4b4b-af94-51bb475642ce" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlanPlanAssetsCurtailmentsAndSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:to="loc_bac_DefinedBenefitPlanPlanAssetsCurtailmentsAndSettlements_0ca78f29-602b-4b4b-af94-51bb475642ce" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid_c6ba908d-65cd-4639-b1bc-657632bd1ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid_c6ba908d-65cd-4639-b1bc-657632bd1ae9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsForeignCurrencyTranslationGainLoss_914aba53-6ba6-4f6e-baec-7ed25d0171d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPlanAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_2c35f62a-b4de-41cb-978a-0d1fd4ecd880" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsForeignCurrencyTranslationGainLoss_914aba53-6ba6-4f6e-baec-7ed25d0171d1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_f9b74def-e6bb-4d19-905a-7c177835693d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_90b64e19-2143-4c09-91ad-e44cb2d093cc" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_c4b9e70e-6e53-40fa-9b03-211a1a053bc4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_c4b9e70e-6e53-40fa-9b03-211a1a053bc4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_60f86f18-d267-40ab-9a08-fd6732a6f436" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_60f86f18-d267-40ab-9a08-fd6732a6f436" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_ce72bb1a-9a65-4b72-ba94-911af2307d07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_ce72bb1a-9a65-4b72-ba94-911af2307d07" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationContributionsByPlanParticipant_1d90ce4b-12e0-4d12-8587-24b619a244fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanBenefitObligationContributionsByPlanParticipant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationContributionsByPlanParticipant_1d90ce4b-12e0-4d12-8587-24b619a244fe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAmendments_1f21c54f-b2c0-4a4a-a9f0-85349f0c3de6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPlanAmendments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAmendments_1f21c54f-b2c0-4a4a-a9f0-85349f0c3de6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlanCurtailmentsAndSettlementsBenefitObligation_3d28b11f-aeff-4206-bfe8-8f3db5bfdbff" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlanCurtailmentsAndSettlementsBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_bac_DefinedBenefitPlanCurtailmentsAndSettlementsBenefitObligation_3d28b11f-aeff-4206-bfe8-8f3db5bfdbff" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_b6dae74a-50fe-4bdb-bcf7-38eddbbd6eea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_b6dae74a-50fe-4bdb-bcf7-38eddbbd6eea" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_e3caf069-24cb-4144-a73c-c7747a83372b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_e3caf069-24cb-4144-a73c-c7747a83372b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_cc232e6e-741d-48d6-b252-089ca6df6eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_8f2367d9-6340-45f6-aa6a-c5cfa80c92bc" xlink:to="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_cc232e6e-741d-48d6-b252-089ca6df6eb7" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_4948a51b-0e7b-46fe-af49-51922614dfe6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_06d30872-44e5-4464-8572-a1cd9d704e78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_90b64e19-2143-4c09-91ad-e44cb2d093cc" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_06d30872-44e5-4464-8572-a1cd9d704e78" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_57187347-36ca-4c25-896e-ae861208f2b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_06d30872-44e5-4464-8572-a1cd9d704e78" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_57187347-36ca-4c25-896e-ae861208f2b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_7405f591-b886-494e-8828-b398e6349b10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_06d30872-44e5-4464-8572-a1cd9d704e78" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_7405f591-b886-494e-8828-b398e6349b10" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_617196c4-529e-408d-a7ad-7fdf6f01061f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_06d30872-44e5-4464-8572-a1cd9d704e78" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_617196c4-529e-408d-a7ad-7fdf6f01061f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_7cb97d2d-7773-47d9-a52d-e9a31e9c4da5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_90b64e19-2143-4c09-91ad-e44cb2d093cc" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_7cb97d2d-7773-47d9-a52d-e9a31e9c4da5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_026e5427-4c3c-4a3d-8606-b405df581069" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_7cb97d2d-7773-47d9-a52d-e9a31e9c4da5" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_026e5427-4c3c-4a3d-8606-b405df581069" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlanFundedStatusOfPlanExcludingProvisionForFutureSalaries_9bf94b74-357b-4059-9a3b-ce91a140086f" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlanFundedStatusOfPlanExcludingProvisionForFutureSalaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_7cb97d2d-7773-47d9-a52d-e9a31e9c4da5" xlink:to="loc_bac_DefinedBenefitPlanFundedStatusOfPlanExcludingProvisionForFutureSalaries_9bf94b74-357b-4059-9a3b-ce91a140086f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlanProvisionForFutureSalaries_b369c3d9-acd8-47b7-a24b-7e6236cdd823" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlanProvisionForFutureSalaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_7cb97d2d-7773-47d9-a52d-e9a31e9c4da5" xlink:to="loc_bac_DefinedBenefitPlanProvisionForFutureSalaries_b369c3d9-acd8-47b7-a24b-7e6236cdd823" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_bd28b25a-1b1d-45d2-9d5f-54bfb0817da3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_e083f057-14d7-4e89-9d43-4a28bb828b7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_90b64e19-2143-4c09-91ad-e44cb2d093cc" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_e083f057-14d7-4e89-9d43-4a28bb828b7b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_305bc787-db5c-4ed9-964a-480520f93158" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_e083f057-14d7-4e89-9d43-4a28bb828b7b" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_305bc787-db5c-4ed9-964a-480520f93158" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_1384f5ec-c90b-429a-bf55-6430b07d372e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_e083f057-14d7-4e89-9d43-4a28bb828b7b" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_1384f5ec-c90b-429a-bf55-6430b07d372e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationInterestCreditingRate_f0461bde-5619-4eb1-a5cf-61cf02c2ba44" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationInterestCreditingRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_e083f057-14d7-4e89-9d43-4a28bb828b7b" xlink:to="loc_bac_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationInterestCreditingRate_f0461bde-5619-4eb1-a5cf-61cf02c2ba44" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansABOandPBOinExcessofPlanAssetsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansABOandPBOinExcessofPlanAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansABOandPBOinExcessofPlanAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_57c12cc8-0a0e-4567-8442-caae6e772990" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6a6ee4a1-ee7d-467a-9276-aa5e0d3a4d58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_57c12cc8-0a0e-4567-8442-caae6e772990" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6a6ee4a1-ee7d-467a-9276-aa5e0d3a4d58" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_d01006cb-d43b-4a46-83d5-c98d703651e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6a6ee4a1-ee7d-467a-9276-aa5e0d3a4d58" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_d01006cb-d43b-4a46-83d5-c98d703651e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_d01006cb-d43b-4a46-83d5-c98d703651e3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_d01006cb-d43b-4a46-83d5-c98d703651e3" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_d01006cb-d43b-4a46-83d5-c98d703651e3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_e6ab7947-10ce-4eb8-b324-b150d7b973e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_d01006cb-d43b-4a46-83d5-c98d703651e3" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_e6ab7947-10ce-4eb8-b324-b150d7b973e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_247a5cbc-3db6-42fc-8ab1-c15bc862977d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_e6ab7947-10ce-4eb8-b324-b150d7b973e3" xlink:to="loc_us-gaap_ForeignPlanMember_247a5cbc-3db6-42fc-8ab1-c15bc862977d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_be1943bd-c5b6-4dfe-88a1-eb6908b19d02" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_e6ab7947-10ce-4eb8-b324-b150d7b973e3" xlink:to="loc_us-gaap_DomesticPlanMember_be1943bd-c5b6-4dfe-88a1-eb6908b19d02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_67833ea3-965e-4d12-94c8-d0c7365c1ecc" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_be1943bd-c5b6-4dfe-88a1-eb6908b19d02" xlink:to="loc_country_US_67833ea3-965e-4d12-94c8-d0c7365c1ecc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_6f589298-1e6c-432c-9b4d-ac971bbcdc12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6a6ee4a1-ee7d-467a-9276-aa5e0d3a4d58" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_6f589298-1e6c-432c-9b4d-ac971bbcdc12" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_6f589298-1e6c-432c-9b4d-ac971bbcdc12_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_6f589298-1e6c-432c-9b4d-ac971bbcdc12" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_6f589298-1e6c-432c-9b4d-ac971bbcdc12_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_f4d5dfa3-5ae2-4b85-99d9-b1f4b0ddb05a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_6f589298-1e6c-432c-9b4d-ac971bbcdc12" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_f4d5dfa3-5ae2-4b85-99d9-b1f4b0ddb05a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_659b29c6-646b-4b2e-84ee-66727b3fb4ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_f4d5dfa3-5ae2-4b85-99d9-b1f4b0ddb05a" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_659b29c6-646b-4b2e-84ee-66727b3fb4ba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_5efb8d6f-2e13-46a4-b65e-f818a357fb9a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_f4d5dfa3-5ae2-4b85-99d9-b1f4b0ddb05a" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_5efb8d6f-2e13-46a4-b65e-f818a357fb9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract_d59e286e-ea14-4c49-abf0-c6b5a359f84b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_57c12cc8-0a0e-4567-8442-caae6e772990" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract_d59e286e-ea14-4c49-abf0-c6b5a359f84b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanTaxStatusExtensibleList_52b7fbc2-bd16-402a-af66-0ddbf44e7755" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanTaxStatusExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract_d59e286e-ea14-4c49-abf0-c6b5a359f84b" xlink:to="loc_us-gaap_DefinedBenefitPlanTaxStatusExtensibleList_52b7fbc2-bd16-402a-af66-0ddbf44e7755" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation_f1348525-8602-4eea-9d8b-f0905cce30f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract_d59e286e-ea14-4c49-abf0-c6b5a359f84b" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation_f1348525-8602-4eea-9d8b-f0905cce30f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation_e30b76fa-6630-4182-a021-e43410ab24ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract_d59e286e-ea14-4c49-abf0-c6b5a359f84b" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation_e30b76fa-6630-4182-a021-e43410ab24ea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets_a66af627-eda3-4b54-b156-2f9226bf99bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAbstract_d59e286e-ea14-4c49-abf0-c6b5a359f84b" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets_a66af627-eda3-4b54-b156-2f9226bf99bb" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_aa8d5d10-02ff-467b-851f-b7b724f1cc86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7729dfa7-c8a3-4c29-8b1d-49b271e7ceeb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_aa8d5d10-02ff-467b-851f-b7b724f1cc86" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7729dfa7-c8a3-4c29-8b1d-49b271e7ceeb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_10e19f38-9bc5-48fa-86c2-418c464b78c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7729dfa7-c8a3-4c29-8b1d-49b271e7ceeb" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_10e19f38-9bc5-48fa-86c2-418c464b78c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_10e19f38-9bc5-48fa-86c2-418c464b78c1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_10e19f38-9bc5-48fa-86c2-418c464b78c1" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_10e19f38-9bc5-48fa-86c2-418c464b78c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_f4ffdd4d-7d66-4002-9667-ab4e905d408b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_10e19f38-9bc5-48fa-86c2-418c464b78c1" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_f4ffdd4d-7d66-4002-9667-ab4e905d408b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_987a0670-dd89-43fc-9817-e4a0b90ba828" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_f4ffdd4d-7d66-4002-9667-ab4e905d408b" xlink:to="loc_us-gaap_DomesticPlanMember_987a0670-dd89-43fc-9817-e4a0b90ba828" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_dbe64eeb-b57e-4b69-b9fd-6cbe3ad1fc14" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_987a0670-dd89-43fc-9817-e4a0b90ba828" xlink:to="loc_country_US_dbe64eeb-b57e-4b69-b9fd-6cbe3ad1fc14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_bac19ca3-a55b-4666-8e46-c7436eb6a2a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_f4ffdd4d-7d66-4002-9667-ab4e905d408b" xlink:to="loc_us-gaap_ForeignPlanMember_bac19ca3-a55b-4666-8e46-c7436eb6a2a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusAxis_c2bd1bbc-5e2f-44df-864b-d3b5c433f98b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7729dfa7-c8a3-4c29-8b1d-49b271e7ceeb" xlink:to="loc_us-gaap_RetirementPlanTaxStatusAxis_c2bd1bbc-5e2f-44df-864b-d3b5c433f98b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_c2bd1bbc-5e2f-44df-864b-d3b5c433f98b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_c2bd1bbc-5e2f-44df-864b-d3b5c433f98b" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_c2bd1bbc-5e2f-44df-864b-d3b5c433f98b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_441bb25f-5d8d-43b5-a955-28274a42d801" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_c2bd1bbc-5e2f-44df-864b-d3b5c433f98b" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_441bb25f-5d8d-43b5-a955-28274a42d801" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualifiedPlanMember_61d34a62-380e-421a-b3c6-a365bacdd7dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_441bb25f-5d8d-43b5-a955-28274a42d801" xlink:to="loc_us-gaap_QualifiedPlanMember_61d34a62-380e-421a-b3c6-a365bacdd7dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonqualifiedPlanMember_3d24f62f-5542-4d0b-9147-d7fe8c435c80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonqualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_441bb25f-5d8d-43b5-a955-28274a42d801" xlink:to="loc_us-gaap_NonqualifiedPlanMember_3d24f62f-5542-4d0b-9147-d7fe8c435c80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_d0d2475c-8185-4341-bf47-af1e9f561071" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7729dfa7-c8a3-4c29-8b1d-49b271e7ceeb" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_d0d2475c-8185-4341-bf47-af1e9f561071" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_d0d2475c-8185-4341-bf47-af1e9f561071_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_d0d2475c-8185-4341-bf47-af1e9f561071" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_d0d2475c-8185-4341-bf47-af1e9f561071_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_00085d34-04f5-487a-a9ec-d9012e37119c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_d0d2475c-8185-4341-bf47-af1e9f561071" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_00085d34-04f5-487a-a9ec-d9012e37119c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_26bd1a64-309b-4388-968f-7ae7eadc24cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_00085d34-04f5-487a-a9ec-d9012e37119c" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_26bd1a64-309b-4388-968f-7ae7eadc24cb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_35b85e0c-39b8-4a9e-a45c-7ee146be277e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_00085d34-04f5-487a-a9ec-d9012e37119c" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_35b85e0c-39b8-4a9e-a45c-7ee146be277e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_09223da5-c75e-4f65-bd6a-48bbd71803ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_00085d34-04f5-487a-a9ec-d9012e37119c" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_09223da5-c75e-4f65-bd6a-48bbd71803ad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_7df0cccc-a991-406f-94e3-ca886f545152" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_aa8d5d10-02ff-467b-851f-b7b724f1cc86" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_7df0cccc-a991-406f-94e3-ca886f545152" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_9792d62a-8330-4c8e-9e40-e68fcb50b7eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_7df0cccc-a991-406f-94e3-ca886f545152" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_9792d62a-8330-4c8e-9e40-e68fcb50b7eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_1b48bf03-2569-4b8d-8437-60d8aeb5240d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_7df0cccc-a991-406f-94e3-ca886f545152" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_1b48bf03-2569-4b8d-8437-60d8aeb5240d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_bee7ec9a-389a-4a79-a4cb-e6c692fd0897" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_7df0cccc-a991-406f-94e3-ca886f545152" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_bee7ec9a-389a-4a79-a4cb-e6c692fd0897" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DefinedBenefitPlanAmortizationOfGainLossAndPriorServiceCostCredit_dfa175e3-7205-4d1f-a36b-60811ee4a422" xlink:href="bac-20251231.xsd#bac_DefinedBenefitPlanAmortizationOfGainLossAndPriorServiceCostCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_7df0cccc-a991-406f-94e3-ca886f545152" xlink:to="loc_bac_DefinedBenefitPlanAmortizationOfGainLossAndPriorServiceCostCredit_dfa175e3-7205-4d1f-a36b-60811ee4a422" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1_9c5b5cb1-2d6b-474a-9940-a209a132291a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_7df0cccc-a991-406f-94e3-ca886f545152" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1_9c5b5cb1-2d6b-474a-9940-a209a132291a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_923fd1cd-6a3d-4218-a698-23a2893c1123" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_7df0cccc-a991-406f-94e3-ca886f545152" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_923fd1cd-6a3d-4218-a698-23a2893c1123" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_7f04ee5f-519c-4e2c-8a60-7638ca779007" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_aa8d5d10-02ff-467b-851f-b7b724f1cc86" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_7f04ee5f-519c-4e2c-8a60-7638ca779007" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_17891bde-51c2-468d-86cb-8d62a1fbd374" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_7f04ee5f-519c-4e2c-8a60-7638ca779007" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_17891bde-51c2-468d-86cb-8d62a1fbd374" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_22f3b28e-ae13-4728-bcf5-df8d7936140d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_7f04ee5f-519c-4e2c-8a60-7638ca779007" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_22f3b28e-ae13-4728-bcf5-df8d7936140d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_fdfd2a12-2703-48c8-a234-b1b1a45a4ab0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_7f04ee5f-519c-4e2c-8a60-7638ca779007" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_fdfd2a12-2703-48c8-a234-b1b1a45a4ab0" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansPretaxAmountsIncludedinAccumulatedOCIDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansPretaxAmountsIncludedinAccumulatedOCIDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansPretaxAmountsIncludedinAccumulatedOCIDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_7bd6c2d1-9713-4f1f-a92b-4e143c502c77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b8823a10-1cf9-4f1e-8137-9a614815c70c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_7bd6c2d1-9713-4f1f-a92b-4e143c502c77" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b8823a10-1cf9-4f1e-8137-9a614815c70c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusAxis_da727484-e672-4ff3-a431-de6335b5bd2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b8823a10-1cf9-4f1e-8137-9a614815c70c" xlink:to="loc_us-gaap_RetirementPlanTaxStatusAxis_da727484-e672-4ff3-a431-de6335b5bd2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_da727484-e672-4ff3-a431-de6335b5bd2c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_da727484-e672-4ff3-a431-de6335b5bd2c" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_da727484-e672-4ff3-a431-de6335b5bd2c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_83b3ac5d-0550-4898-afc3-a40d48f651fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_da727484-e672-4ff3-a431-de6335b5bd2c" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_83b3ac5d-0550-4898-afc3-a40d48f651fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualifiedPlanMember_19805129-ee8c-4ef0-894d-a5805097ee63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_83b3ac5d-0550-4898-afc3-a40d48f651fb" xlink:to="loc_us-gaap_QualifiedPlanMember_19805129-ee8c-4ef0-894d-a5805097ee63" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonqualifiedPlanMember_5586d245-1512-4b0a-9401-860da92ac0cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonqualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_83b3ac5d-0550-4898-afc3-a40d48f651fb" xlink:to="loc_us-gaap_NonqualifiedPlanMember_5586d245-1512-4b0a-9401-860da92ac0cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_5dea32d8-8633-451e-9286-78533faf4778" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b8823a10-1cf9-4f1e-8137-9a614815c70c" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_5dea32d8-8633-451e-9286-78533faf4778" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_5dea32d8-8633-451e-9286-78533faf4778_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_5dea32d8-8633-451e-9286-78533faf4778" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_5dea32d8-8633-451e-9286-78533faf4778_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_ebf1a415-05b9-4ac2-9a65-8bc70f4675df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_5dea32d8-8633-451e-9286-78533faf4778" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_ebf1a415-05b9-4ac2-9a65-8bc70f4675df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_7351b59b-3fe5-414e-9f89-96f32cae6713" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_ebf1a415-05b9-4ac2-9a65-8bc70f4675df" xlink:to="loc_us-gaap_DomesticPlanMember_7351b59b-3fe5-414e-9f89-96f32cae6713" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_eb43e1fe-9636-414d-a520-b9466eb4d912" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_7351b59b-3fe5-414e-9f89-96f32cae6713" xlink:to="loc_country_US_eb43e1fe-9636-414d-a520-b9466eb4d912" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_9616c3f3-e9fe-4cce-a5e5-bae945852039" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_ebf1a415-05b9-4ac2-9a65-8bc70f4675df" xlink:to="loc_us-gaap_ForeignPlanMember_9616c3f3-e9fe-4cce-a5e5-bae945852039" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_339d028e-2bb1-4228-83e7-5e971d6508e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_b8823a10-1cf9-4f1e-8137-9a614815c70c" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_339d028e-2bb1-4228-83e7-5e971d6508e6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_339d028e-2bb1-4228-83e7-5e971d6508e6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_339d028e-2bb1-4228-83e7-5e971d6508e6" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_339d028e-2bb1-4228-83e7-5e971d6508e6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_2d8841e5-e53a-424c-bb8b-179092f7ae6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_339d028e-2bb1-4228-83e7-5e971d6508e6" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_2d8841e5-e53a-424c-bb8b-179092f7ae6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_60b45802-bbe2-4348-9f94-5954b33bdd80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_2d8841e5-e53a-424c-bb8b-179092f7ae6a" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_60b45802-bbe2-4348-9f94-5954b33bdd80" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_b10d0982-6d57-47d3-b86b-8922f7e0a966" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_2d8841e5-e53a-424c-bb8b-179092f7ae6a" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_b10d0982-6d57-47d3-b86b-8922f7e0a966" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_b604f3aa-f1a8-434d-902c-5fec7e87a8fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_2d8841e5-e53a-424c-bb8b-179092f7ae6a" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_b604f3aa-f1a8-434d-902c-5fec7e87a8fe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_ca253123-5be1-4600-9660-5f6a76f8ae6e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_7bd6c2d1-9713-4f1f-a92b-4e143c502c77" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_ca253123-5be1-4600-9660-5f6a76f8ae6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_cfe56c20-e7bb-4383-a5a7-11856cca0061" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_7bd6c2d1-9713-4f1f-a92b-4e143c502c77" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax_cfe56c20-e7bb-4383-a5a7-11856cca0061" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_3e13d036-e9e8-41d6-979c-2896750d1c70" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_7bd6c2d1-9713-4f1f-a92b-4e143c502c77" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_3e13d036-e9e8-41d6-979c-2896750d1c70" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansPretaxAmountsRecognizedinOCIDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansPretaxAmountsRecognizedinOCIDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansPretaxAmountsRecognizedinOCIDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_58e640a6-11e9-4c9c-a89e-c637339057b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7ea83988-73e9-411c-8a8e-7ff5731dabfc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_58e640a6-11e9-4c9c-a89e-c637339057b6" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7ea83988-73e9-411c-8a8e-7ff5731dabfc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusAxis_a1b8f3af-87de-4569-84a1-5b11f91f65c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7ea83988-73e9-411c-8a8e-7ff5731dabfc" xlink:to="loc_us-gaap_RetirementPlanTaxStatusAxis_a1b8f3af-87de-4569-84a1-5b11f91f65c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_a1b8f3af-87de-4569-84a1-5b11f91f65c8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_a1b8f3af-87de-4569-84a1-5b11f91f65c8" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_a1b8f3af-87de-4569-84a1-5b11f91f65c8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_d5ff2d5c-2381-40a5-bec4-4a8bb9f1d092" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_a1b8f3af-87de-4569-84a1-5b11f91f65c8" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_d5ff2d5c-2381-40a5-bec4-4a8bb9f1d092" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualifiedPlanMember_4b315b8e-cd7d-462a-bd2a-cdd87e4c26c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_d5ff2d5c-2381-40a5-bec4-4a8bb9f1d092" xlink:to="loc_us-gaap_QualifiedPlanMember_4b315b8e-cd7d-462a-bd2a-cdd87e4c26c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonqualifiedPlanMember_a5baacf1-f4fe-4327-9036-221e9fb36c7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonqualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_d5ff2d5c-2381-40a5-bec4-4a8bb9f1d092" xlink:to="loc_us-gaap_NonqualifiedPlanMember_a5baacf1-f4fe-4327-9036-221e9fb36c7a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_502f7ba3-6203-47d4-8782-3186ba199a8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7ea83988-73e9-411c-8a8e-7ff5731dabfc" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_502f7ba3-6203-47d4-8782-3186ba199a8e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_502f7ba3-6203-47d4-8782-3186ba199a8e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_502f7ba3-6203-47d4-8782-3186ba199a8e" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_502f7ba3-6203-47d4-8782-3186ba199a8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_77602ffc-680b-441b-a81a-1feed990908b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_502f7ba3-6203-47d4-8782-3186ba199a8e" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_77602ffc-680b-441b-a81a-1feed990908b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_aa51762a-2539-407f-8bb9-74b247bfdf22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_77602ffc-680b-441b-a81a-1feed990908b" xlink:to="loc_us-gaap_DomesticPlanMember_aa51762a-2539-407f-8bb9-74b247bfdf22" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_19ef4349-aada-452c-9c70-5b3639785e78" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_aa51762a-2539-407f-8bb9-74b247bfdf22" xlink:to="loc_country_US_19ef4349-aada-452c-9c70-5b3639785e78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_b5051bf6-fec6-4591-95ca-34b6bb409ad3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_77602ffc-680b-441b-a81a-1feed990908b" xlink:to="loc_us-gaap_ForeignPlanMember_b5051bf6-fec6-4591-95ca-34b6bb409ad3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_852e1ddf-224b-41f7-82d4-9d37b43bbfaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7ea83988-73e9-411c-8a8e-7ff5731dabfc" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_852e1ddf-224b-41f7-82d4-9d37b43bbfaf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_852e1ddf-224b-41f7-82d4-9d37b43bbfaf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_852e1ddf-224b-41f7-82d4-9d37b43bbfaf" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_852e1ddf-224b-41f7-82d4-9d37b43bbfaf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_4c04ca06-f779-45ca-9b0a-6378fb395ae4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_852e1ddf-224b-41f7-82d4-9d37b43bbfaf" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_4c04ca06-f779-45ca-9b0a-6378fb395ae4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_a38585d3-e767-427f-83b2-7e123ff54699" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_4c04ca06-f779-45ca-9b0a-6378fb395ae4" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_a38585d3-e767-427f-83b2-7e123ff54699" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_4ac90ee0-7124-462f-a950-ac2aa770e288" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_4c04ca06-f779-45ca-9b0a-6378fb395ae4" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_4ac90ee0-7124-462f-a950-ac2aa770e288" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_42dd6a06-2ca1-4873-b4ba-2ed29fa6b83e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_4c04ca06-f779-45ca-9b0a-6378fb395ae4" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_42dd6a06-2ca1-4873-b4ba-2ed29fa6b83e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_021afcda-8239-4db9-b1bb-8882b28fe577" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_58e640a6-11e9-4c9c-a89e-c637339057b6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_021afcda-8239-4db9-b1bb-8882b28fe577" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_ee58df10-b401-47ea-85d5-87ad074cd0b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_021afcda-8239-4db9-b1bb-8882b28fe577" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetUnamortizedGainLossArisingDuringPeriodBeforeTax_ee58df10-b401-47ea-85d5-87ad074cd0b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_56555241-457b-4d76-9141-fca10862672b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_021afcda-8239-4db9-b1bb-8882b28fe577" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTax_56555241-457b-4d76-9141-fca10862672b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_3e270b42-2e25-4114-bf43-484fcdb809e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_021afcda-8239-4db9-b1bb-8882b28fe577" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostCreditArisingDuringPeriodBeforeTax_3e270b42-2e25-4114-bf43-484fcdb809e6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_2cd19bdd-e199-41b6-9f05-71eb89b35360" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_021afcda-8239-4db9-b1bb-8882b28fe577" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_2cd19bdd-e199-41b6-9f05-71eb89b35360" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansTargetAllocationDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansTargetAllocationDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansTargetAllocationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_342dcc34-4577-430b-b9cd-1e92797a3e89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_f8f39e59-f1c1-42b7-b9f1-103b29888f74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_342dcc34-4577-430b-b9cd-1e92797a3e89" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_f8f39e59-f1c1-42b7-b9f1-103b29888f74" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_539fde5e-3da9-476a-999b-141658c74a50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_f8f39e59-f1c1-42b7-b9f1-103b29888f74" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_539fde5e-3da9-476a-999b-141658c74a50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_539fde5e-3da9-476a-999b-141658c74a50_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_539fde5e-3da9-476a-999b-141658c74a50" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_539fde5e-3da9-476a-999b-141658c74a50_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_19294bd4-c152-4021-b920-adc080b9b4f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_539fde5e-3da9-476a-999b-141658c74a50" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_19294bd4-c152-4021-b920-adc080b9b4f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_de7133ea-6469-4c4f-ab17-d97830aeb122" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_19294bd4-c152-4021-b920-adc080b9b4f9" xlink:to="loc_us-gaap_DomesticPlanMember_de7133ea-6469-4c4f-ab17-d97830aeb122" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_f96729a7-521b-4865-a9ae-38e7c94a8585" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_de7133ea-6469-4c4f-ab17-d97830aeb122" xlink:to="loc_country_US_f96729a7-521b-4865-a9ae-38e7c94a8585" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_4ad85dd8-ce25-489f-92cd-61f0e3506719" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_19294bd4-c152-4021-b920-adc080b9b4f9" xlink:to="loc_us-gaap_ForeignPlanMember_4ad85dd8-ce25-489f-92cd-61f0e3506719" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusAxis_56ce0941-33ae-4416-97cc-a554113a466c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_f8f39e59-f1c1-42b7-b9f1-103b29888f74" xlink:to="loc_us-gaap_RetirementPlanTaxStatusAxis_56ce0941-33ae-4416-97cc-a554113a466c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_56ce0941-33ae-4416-97cc-a554113a466c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_56ce0941-33ae-4416-97cc-a554113a466c" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_56ce0941-33ae-4416-97cc-a554113a466c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_bac8f488-a2f1-425d-a18e-3bf8a0561793" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_56ce0941-33ae-4416-97cc-a554113a466c" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_bac8f488-a2f1-425d-a18e-3bf8a0561793" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualifiedPlanMember_d1083b02-b209-4697-b5db-b91056c821ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_bac8f488-a2f1-425d-a18e-3bf8a0561793" xlink:to="loc_us-gaap_QualifiedPlanMember_d1083b02-b209-4697-b5db-b91056c821ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonqualifiedPlanMember_18c4b363-67fd-4e03-80db-0afad993353c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonqualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_bac8f488-a2f1-425d-a18e-3bf8a0561793" xlink:to="loc_us-gaap_NonqualifiedPlanMember_18c4b363-67fd-4e03-80db-0afad993353c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d19b1c3c-9a21-46a0-b192-a4e85a7ebbdc" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_f8f39e59-f1c1-42b7-b9f1-103b29888f74" xlink:to="loc_srt_RangeAxis_d19b1c3c-9a21-46a0-b192-a4e85a7ebbdc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d19b1c3c-9a21-46a0-b192-a4e85a7ebbdc_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d19b1c3c-9a21-46a0-b192-a4e85a7ebbdc" xlink:to="loc_srt_RangeMember_d19b1c3c-9a21-46a0-b192-a4e85a7ebbdc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_57c4e4de-5182-45e0-a796-54263ce71dee" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d19b1c3c-9a21-46a0-b192-a4e85a7ebbdc" xlink:to="loc_srt_RangeMember_57c4e4de-5182-45e0-a796-54263ce71dee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_aa0a1726-c66a-4ef7-8b54-cbb33ddffeb9" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_57c4e4de-5182-45e0-a796-54263ce71dee" xlink:to="loc_srt_MinimumMember_aa0a1726-c66a-4ef7-8b54-cbb33ddffeb9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_03df6d12-6423-4a78-88ce-f3e638a5b807" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_57c4e4de-5182-45e0-a796-54263ce71dee" xlink:to="loc_srt_MaximumMember_03df6d12-6423-4a78-88ce-f3e638a5b807" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_09216544-15f3-407a-84f7-2497f5b7e5f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_f8f39e59-f1c1-42b7-b9f1-103b29888f74" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_09216544-15f3-407a-84f7-2497f5b7e5f9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_09216544-15f3-407a-84f7-2497f5b7e5f9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_09216544-15f3-407a-84f7-2497f5b7e5f9" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_09216544-15f3-407a-84f7-2497f5b7e5f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_dbaa6931-12f0-4f35-91d3-e20ce61d7a23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_09216544-15f3-407a-84f7-2497f5b7e5f9" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_dbaa6931-12f0-4f35-91d3-e20ce61d7a23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_1f44dce0-adcb-45f2-8e22-ec5d3b9c8868" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_dbaa6931-12f0-4f35-91d3-e20ce61d7a23" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_1f44dce0-adcb-45f2-8e22-ec5d3b9c8868" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_c0422e26-c96e-4138-b4b2-b24a2109a448" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_dbaa6931-12f0-4f35-91d3-e20ce61d7a23" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_c0422e26-c96e-4138-b4b2-b24a2109a448" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_162fba1d-f7bb-47c0-9b77-5b683b695bd3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_f8f39e59-f1c1-42b7-b9f1-103b29888f74" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_162fba1d-f7bb-47c0-9b77-5b683b695bd3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_162fba1d-f7bb-47c0-9b77-5b683b695bd3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_162fba1d-f7bb-47c0-9b77-5b683b695bd3" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_162fba1d-f7bb-47c0-9b77-5b683b695bd3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_bec41c82-e17d-4b29-ba6c-8ccc034bda57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_162fba1d-f7bb-47c0-9b77-5b683b695bd3" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_bec41c82-e17d-4b29-ba6c-8ccc034bda57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_f32e5a7c-461e-4f97-bf26-a785d0d3ba7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_bec41c82-e17d-4b29-ba6c-8ccc034bda57" xlink:to="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_f32e5a7c-461e-4f97-bf26-a785d0d3ba7d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDebtSecurityMember_81aa3cca-490e-4728-868c-d571165276fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDebtSecurityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_bec41c82-e17d-4b29-ba6c-8ccc034bda57" xlink:to="loc_us-gaap_DefinedBenefitPlanDebtSecurityMember_81aa3cca-490e-4728-868c-d571165276fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRealEstateMember_cd49484d-8442-431f-a68d-7365cf1da019" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanRealEstateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_bec41c82-e17d-4b29-ba6c-8ccc034bda57" xlink:to="loc_us-gaap_DefinedBenefitPlanRealEstateMember_cd49484d-8442-431f-a68d-7365cf1da019" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestmentsMember_29d82d8a-364f-4e3e-8313-073121a093aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_bec41c82-e17d-4b29-ba6c-8ccc034bda57" xlink:to="loc_us-gaap_OtherInvestmentsMember_29d82d8a-364f-4e3e-8313-073121a093aa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsTargetAllocationsAbstract_5efbdf5c-c8f6-4fa8-9b52-5020e258b3ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssetsTargetAllocationsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_342dcc34-4577-430b-b9cd-1e92797a3e89" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsTargetAllocationsAbstract_5efbdf5c-c8f6-4fa8-9b52-5020e258b3ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_34bdc27d-1cce-493d-acd0-ecf14e6c0232" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAssetsTargetAllocationsAbstract_5efbdf5c-c8f6-4fa8-9b52-5020e258b3ec" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_34bdc27d-1cce-493d-acd0-ecf14e6c0232" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansFairValueMeasurementsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansFairValueMeasurementsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansFairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5a1acc3c-50c1-42f6-a41b-012f587c1a05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7fd0afb1-536b-4f3c-8366-e271a57e4e24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5a1acc3c-50c1-42f6-a41b-012f587c1a05" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7fd0afb1-536b-4f3c-8366-e271a57e4e24" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_4e639844-5f54-4102-987f-4a188b73cd8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7fd0afb1-536b-4f3c-8366-e271a57e4e24" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_4e639844-5f54-4102-987f-4a188b73cd8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_4e639844-5f54-4102-987f-4a188b73cd8e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_4e639844-5f54-4102-987f-4a188b73cd8e" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_4e639844-5f54-4102-987f-4a188b73cd8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_4e639844-5f54-4102-987f-4a188b73cd8e" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MoneyMarketAndInterestBearingCashMember_03000acc-dbca-4a5c-87c6-a8cd83cee2f1" xlink:href="bac-20251231.xsd#bac_MoneyMarketAndInterestBearingCashMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_bac_MoneyMarketAndInterestBearingCashMember_03000acc-dbca-4a5c-87c6-a8cd83cee2f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_4a9dda24-1505-4486-be25-57535ddd21a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_4a9dda24-1505-4486-be25-57535ddd21a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_f7a23935-c050-4fbe-9617-1b15738fda31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_f7a23935-c050-4fbe-9617-1b15738fda31" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_ae51460f-53c7-4c7c-b10e-0003e4a2d9db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_ae51460f-53c7-4c7c-b10e-0003e4a2d9db" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_37bac96e-c9f2-43fc-93d4-7a4a0432c731" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_37bac96e-c9f2-43fc-93d4-7a4a0432c731" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MutualAndExchangeTradedFundsMember_efa3b2c4-946b-49ca-9202-a9f6fb33739d" xlink:href="bac-20251231.xsd#bac_MutualAndExchangeTradedFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_bac_MutualAndExchangeTradedFundsMember_efa3b2c4-946b-49ca-9202-a9f6fb33739d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CollectiveInvestmentFundsMember_6b679c81-d526-4c54-873d-0991d9459e16" xlink:href="bac-20251231.xsd#bac_CollectiveInvestmentFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_bac_CollectiveInvestmentFundsMember_6b679c81-d526-4c54-873d-0991d9459e16" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_8371bba7-a712-40c7-a9dc-348e1065ba93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_8371bba7-a712-40c7-a9dc-348e1065ba93" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PublicRealEstateInvestmentTrustsMember_15d109e2-edb3-4550-95ff-5acea04333e7" xlink:href="bac-20251231.xsd#bac_PublicRealEstateInvestmentTrustsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_bac_PublicRealEstateInvestmentTrustsMember_15d109e2-edb3-4550-95ff-5acea04333e7" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ParticipantLoansMember_5d3d11ca-986c-47c9-92db-6d92a14985de" xlink:href="bac-20251231.xsd#bac_ParticipantLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_bac_ParticipantLoansMember_5d3d11ca-986c-47c9-92db-6d92a14985de" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestmentsMember_b6e4a94d-b018-4e36-a1af-a1ce9b99caf3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_cdc7516f-eb27-4037-98fd-660f09c5303b" xlink:to="loc_us-gaap_OtherInvestmentsMember_b6e4a94d-b018-4e36-a1af-a1ce9b99caf3" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InsuranceAnnuityContractsMember_398dc048-bca3-4484-9f93-b58acd53130f" xlink:href="bac-20251231.xsd#bac_InsuranceAnnuityContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherInvestmentsMember_b6e4a94d-b018-4e36-a1af-a1ce9b99caf3" xlink:to="loc_bac_InsuranceAnnuityContractsMember_398dc048-bca3-4484-9f93-b58acd53130f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherVariousInvestmentsMember_a4ff17ac-90e5-4a63-865d-648b6efbfb19" xlink:href="bac-20251231.xsd#bac_OtherVariousInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherInvestmentsMember_b6e4a94d-b018-4e36-a1af-a1ce9b99caf3" xlink:to="loc_bac_OtherVariousInvestmentsMember_a4ff17ac-90e5-4a63-865d-648b6efbfb19" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_6e472f9b-b3a3-49bb-8446-0e8cfa76254a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7fd0afb1-536b-4f3c-8366-e271a57e4e24" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_6e472f9b-b3a3-49bb-8446-0e8cfa76254a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6e472f9b-b3a3-49bb-8446-0e8cfa76254a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_6e472f9b-b3a3-49bb-8446-0e8cfa76254a" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6e472f9b-b3a3-49bb-8446-0e8cfa76254a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7232dd12-9593-43f5-8a7e-085af452418a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_6e472f9b-b3a3-49bb-8446-0e8cfa76254a" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7232dd12-9593-43f5-8a7e-085af452418a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_8e41f656-6c9f-4139-8745-b94bd3f20943" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7232dd12-9593-43f5-8a7e-085af452418a" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_8e41f656-6c9f-4139-8745-b94bd3f20943" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_7d1b51a5-6165-4114-b33f-d43122c2df98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7232dd12-9593-43f5-8a7e-085af452418a" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_7d1b51a5-6165-4114-b33f-d43122c2df98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_4c86f1ee-2c6b-43b7-aed6-ba5dde887464" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7232dd12-9593-43f5-8a7e-085af452418a" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_4c86f1ee-2c6b-43b7-aed6-ba5dde887464" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_9407f2ac-25c6-4ab4-8946-782f519abc38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7232dd12-9593-43f5-8a7e-085af452418a" xlink:to="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_9407f2ac-25c6-4ab4-8946-782f519abc38" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_d3965fb7-9c17-434d-907a-e64c05cee8ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5a1acc3c-50c1-42f6-a41b-012f587c1a05" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_d3965fb7-9c17-434d-907a-e64c05cee8ae" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/EmployeeBenefitPlansProjectedBenefitPaymentsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#EmployeeBenefitPlansProjectedBenefitPaymentsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/EmployeeBenefitPlansProjectedBenefitPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_d05b1618-74f3-40e5-aeb4-dce4bafdb5c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_afd024a1-f87d-4eb5-964d-b459855ca9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_d05b1618-74f3-40e5-aeb4-dce4bafdb5c8" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_afd024a1-f87d-4eb5-964d-b459855ca9dd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_250b83d4-6f91-42ef-85b3-4f06b6e262f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_afd024a1-f87d-4eb5-964d-b459855ca9dd" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_250b83d4-6f91-42ef-85b3-4f06b6e262f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_250b83d4-6f91-42ef-85b3-4f06b6e262f0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_250b83d4-6f91-42ef-85b3-4f06b6e262f0" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_250b83d4-6f91-42ef-85b3-4f06b6e262f0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_e734b07c-a4f5-43ef-af1f-81e1967efa78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_250b83d4-6f91-42ef-85b3-4f06b6e262f0" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_e734b07c-a4f5-43ef-af1f-81e1967efa78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_af042f0d-e641-4558-9f96-0fd877640aee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_e734b07c-a4f5-43ef-af1f-81e1967efa78" xlink:to="loc_us-gaap_DomesticPlanMember_af042f0d-e641-4558-9f96-0fd877640aee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_aabfadc3-08aa-4925-843c-825c46b6dafe" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_af042f0d-e641-4558-9f96-0fd877640aee" xlink:to="loc_country_US_aabfadc3-08aa-4925-843c-825c46b6dafe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_fbd61c00-3a11-41b5-b9dd-94e701d95a88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_e734b07c-a4f5-43ef-af1f-81e1967efa78" xlink:to="loc_us-gaap_ForeignPlanMember_fbd61c00-3a11-41b5-b9dd-94e701d95a88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusAxis_d644d739-a9c3-481c-91c0-380a0f838caf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_afd024a1-f87d-4eb5-964d-b459855ca9dd" xlink:to="loc_us-gaap_RetirementPlanTaxStatusAxis_d644d739-a9c3-481c-91c0-380a0f838caf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_d644d739-a9c3-481c-91c0-380a0f838caf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_d644d739-a9c3-481c-91c0-380a0f838caf" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_d644d739-a9c3-481c-91c0-380a0f838caf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTaxStatusDomain_49f36cd9-29af-4bc6-b328-ba13155c1fec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTaxStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTaxStatusAxis_d644d739-a9c3-481c-91c0-380a0f838caf" xlink:to="loc_us-gaap_RetirementPlanTaxStatusDomain_49f36cd9-29af-4bc6-b328-ba13155c1fec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualifiedPlanMember_24db722a-1148-485e-8e01-1be1396dac3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_49f36cd9-29af-4bc6-b328-ba13155c1fec" xlink:to="loc_us-gaap_QualifiedPlanMember_24db722a-1148-485e-8e01-1be1396dac3c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonqualifiedPlanMember_d42b0530-89a2-4ac2-ba5b-48dc2f798ffc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonqualifiedPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTaxStatusDomain_49f36cd9-29af-4bc6-b328-ba13155c1fec" xlink:to="loc_us-gaap_NonqualifiedPlanMember_d42b0530-89a2-4ac2-ba5b-48dc2f798ffc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_f2103e53-c324-43f2-8323-ac576bd3554d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_afd024a1-f87d-4eb5-964d-b459855ca9dd" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_f2103e53-c324-43f2-8323-ac576bd3554d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_f2103e53-c324-43f2-8323-ac576bd3554d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_f2103e53-c324-43f2-8323-ac576bd3554d" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_f2103e53-c324-43f2-8323-ac576bd3554d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_52aff424-978f-4666-84f1-8790a07e3e26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_f2103e53-c324-43f2-8323-ac576bd3554d" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_52aff424-978f-4666-84f1-8790a07e3e26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_a306c8d0-9f9a-4f4f-9b79-318cae0f9b8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_52aff424-978f-4666-84f1-8790a07e3e26" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_a306c8d0-9f9a-4f4f-9b79-318cae0f9b8f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_3996923d-6339-43cf-aaaa-846171e144bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_52aff424-978f-4666-84f1-8790a07e3e26" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_3996923d-6339-43cf-aaaa-846171e144bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_1d927aee-59ef-43f8-98bb-7a2e89e9e01d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_52aff424-978f-4666-84f1-8790a07e3e26" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_1d927aee-59ef-43f8-98bb-7a2e89e9e01d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_dbe37d6e-6f2f-4a50-8674-076c0a39ea33" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_d05b1618-74f3-40e5-aeb4-dce4bafdb5c8" xlink:to="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_dbe37d6e-6f2f-4a50-8674-076c0a39ea33" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_20035714-545d-4e50-8214-2ebc6cfccc61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_dbe37d6e-6f2f-4a50-8674-076c0a39ea33" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_20035714-545d-4e50-8214-2ebc6cfccc61" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_15d4d942-4da3-453f-8966-642a327c4dc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_dbe37d6e-6f2f-4a50-8674-076c0a39ea33" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_15d4d942-4da3-453f-8966-642a327c4dc2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_6c913402-419f-47f4-9326-d8f1de2807d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_dbe37d6e-6f2f-4a50-8674-076c0a39ea33" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_6c913402-419f-47f4-9326-d8f1de2807d1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_f2a02c3c-5ba5-47ea-9b22-f9b7eabbb7ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_dbe37d6e-6f2f-4a50-8674-076c0a39ea33" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_f2a02c3c-5ba5-47ea-9b22-f9b7eabbb7ce" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_d8106c59-026f-45c0-8a60-c8c8fca8e839" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_dbe37d6e-6f2f-4a50-8674-076c0a39ea33" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_d8106c59-026f-45c0-8a60-c8c8fca8e839" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_81237cbc-77ac-46bb-a716-ec3a820fc43b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_dbe37d6e-6f2f-4a50-8674-076c0a39ea33" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_81237cbc-77ac-46bb-a716-ec3a820fc43b" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/StockbasedCompensationPlansNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#StockbasedCompensationPlansNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/StockbasedCompensationPlansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_cccd3e74-fa62-4bb4-b2a9-ef67338beae0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_cccd3e74-fa62-4bb4-b2a9-ef67338beae0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_d547406e-fed9-4ffe-b08a-bab9baac5c9a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_cccd3e74-fa62-4bb4-b2a9-ef67338beae0" xlink:to="loc_us-gaap_PlanNameAxis_d547406e-fed9-4ffe-b08a-bab9baac5c9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_d547406e-fed9-4ffe-b08a-bab9baac5c9a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_d547406e-fed9-4ffe-b08a-bab9baac5c9a" xlink:to="loc_us-gaap_PlanNameDomain_d547406e-fed9-4ffe-b08a-bab9baac5c9a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_c11bb51d-b028-4c19-a0e2-c84370919cb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_d547406e-fed9-4ffe-b08a-bab9baac5c9a" xlink:to="loc_us-gaap_PlanNameDomain_c11bb51d-b028-4c19-a0e2-c84370919cb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankOfAmericaCorporationEquityPlanBACEPMember_aae61752-ba7d-4897-9d2a-b7782dd08d79" xlink:href="bac-20251231.xsd#bac_BankOfAmericaCorporationEquityPlanBACEPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_c11bb51d-b028-4c19-a0e2-c84370919cb5" xlink:to="loc_bac_BankOfAmericaCorporationEquityPlanBACEPMember_aae61752-ba7d-4897-9d2a-b7782dd08d79" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BACEPVestingOverFourYearsMember_c9131830-0b9d-4a47-9e96-6ec143198d40" xlink:href="bac-20251231.xsd#bac_BACEPVestingOverFourYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_BankOfAmericaCorporationEquityPlanBACEPMember_aae61752-ba7d-4897-9d2a-b7782dd08d79" xlink:to="loc_bac_BACEPVestingOverFourYearsMember_c9131830-0b9d-4a47-9e96-6ec143198d40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_80285c52-d032-4d97-bb98-41ca1da8573f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_cccd3e74-fa62-4bb4-b2a9-ef67338beae0" xlink:to="loc_us-gaap_AwardTypeAxis_80285c52-d032-4d97-bb98-41ca1da8573f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80285c52-d032-4d97-bb98-41ca1da8573f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_80285c52-d032-4d97-bb98-41ca1da8573f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80285c52-d032-4d97-bb98-41ca1da8573f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_39be8c70-0f54-4a50-8a9c-414278fe5f93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_80285c52-d032-4d97-bb98-41ca1da8573f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_39be8c70-0f54-4a50-8a9c-414278fe5f93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_6064de21-7fc1-494e-80b9-3cf2ed80238f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_39be8c70-0f54-4a50-8a9c-414278fe5f93" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_6064de21-7fc1-494e-80b9-3cf2ed80238f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RestrictedStockandRestrictedStockUnitsMember_07f219ae-fb7a-4e0d-8f65-d56f696ff428" xlink:href="bac-20251231.xsd#bac_RestrictedStockandRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_39be8c70-0f54-4a50-8a9c-414278fe5f93" xlink:to="loc_bac_RestrictedStockandRestrictedStockUnitsMember_07f219ae-fb7a-4e0d-8f65-d56f696ff428" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusAxis_442b5039-dd24-4219-a78c-9968f0965c40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GranteeStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_cccd3e74-fa62-4bb4-b2a9-ef67338beae0" xlink:to="loc_us-gaap_GranteeStatusAxis_442b5039-dd24-4219-a78c-9968f0965c40" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusDomain_442b5039-dd24-4219-a78c-9968f0965c40_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GranteeStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GranteeStatusAxis_442b5039-dd24-4219-a78c-9968f0965c40" xlink:to="loc_us-gaap_GranteeStatusDomain_442b5039-dd24-4219-a78c-9968f0965c40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusDomain_70aed889-c77b-45a9-b2ae-a2c7e7a760d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GranteeStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GranteeStatusAxis_442b5039-dd24-4219-a78c-9968f0965c40" xlink:to="loc_us-gaap_GranteeStatusDomain_70aed889-c77b-45a9-b2ae-a2c7e7a760d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedPaymentArrangementEmployeeMember_b3990b7c-4223-4cd0-9e28-0e7e3a2c51bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedPaymentArrangementEmployeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GranteeStatusDomain_70aed889-c77b-45a9-b2ae-a2c7e7a760d0" xlink:to="loc_us-gaap_ShareBasedPaymentArrangementEmployeeMember_b3990b7c-4223-4cd0-9e28-0e7e3a2c51bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_2bf09acc-ae94-4a31-9a8c-d9b08be70d88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_cccd3e74-fa62-4bb4-b2a9-ef67338beae0" xlink:to="loc_us-gaap_VestingAxis_2bf09acc-ae94-4a31-9a8c-d9b08be70d88" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_2bf09acc-ae94-4a31-9a8c-d9b08be70d88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_2bf09acc-ae94-4a31-9a8c-d9b08be70d88" xlink:to="loc_us-gaap_VestingDomain_2bf09acc-ae94-4a31-9a8c-d9b08be70d88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_4f4fdfa0-a9be-41fb-bbcc-c09fdd8d7f54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_2bf09acc-ae94-4a31-9a8c-d9b08be70d88" xlink:to="loc_us-gaap_VestingDomain_4f4fdfa0-a9be-41fb-bbcc-c09fdd8d7f54" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_0d5e57a9-039e-4df8-ba24-03bc351e0ab1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_4f4fdfa0-a9be-41fb-bbcc-c09fdd8d7f54" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_0d5e57a9-039e-4df8-ba24-03bc351e0ab1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_5fd7122e-f206-4e9c-a20f-d8bf1b63b281" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_4f4fdfa0-a9be-41fb-bbcc-c09fdd8d7f54" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_5fd7122e-f206-4e9c-a20f-d8bf1b63b281" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_9cc5cc22-6dbb-4397-9633-7cddecbbd9ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_4f4fdfa0-a9be-41fb-bbcc-c09fdd8d7f54" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_9cc5cc22-6dbb-4397-9633-7cddecbbd9ba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SharebasedCompensationAwardTrancheFourMember_01cd8b59-6bb1-4218-bd6a-87a156d510f0" xlink:href="bac-20251231.xsd#bac_SharebasedCompensationAwardTrancheFourMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_4f4fdfa0-a9be-41fb-bbcc-c09fdd8d7f54" xlink:to="loc_bac_SharebasedCompensationAwardTrancheFourMember_01cd8b59-6bb1-4218-bd6a-87a156d510f0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019c5791-5e56-7917-9e04-ead80d57b440" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019c5791-5e56-7917-9e04-ead80d57b440" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_3e8db044-0197-4a6c-a445-63edea407e24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_3e8db044-0197-4a6c-a445-63edea407e24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_a02db0c6-9048-40bb-80c2-3558565dd4c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_a02db0c6-9048-40bb-80c2-3558565dd4c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_019b2cbb-faf0-75eb-a513-fcdcb5dd9a0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_019b2cbb-faf0-75eb-a513-fcdcb5dd9a0d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_3bae452a-bf11-4c2c-9b0a-abb6dc5103be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_3bae452a-bf11-4c2c-9b0a-abb6dc5103be" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_2feef1be-59ce-4db6-ac7d-c87865828b9a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_2feef1be-59ce-4db6-ac7d-c87865828b9a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019c5793-d35e-764b-baa9-137c4214579c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019c5793-d35e-764b-baa9-137c4214579c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_1ea8a6d2-b3b4-4299-9680-8197816b37cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_1ea8a6d2-b3b4-4299-9680-8197816b37cb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_62a3b783-6dda-42ab-af98-5294a093eb6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e533f803-569d-4540-89bf-2c9112e6db88" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_62a3b783-6dda-42ab-af98-5294a093eb6d" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/StockbasedCompensationPlansRestrictedStockUnitsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#StockbasedCompensationPlansRestrictedStockUnitsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/StockbasedCompensationPlansRestrictedStockUnitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_032d0244-b9e5-4a3d-a7d8-c554c98931e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_04a23306-5d64-4d68-a4fe-85c93efc49c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_032d0244-b9e5-4a3d-a7d8-c554c98931e3" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_04a23306-5d64-4d68-a4fe-85c93efc49c3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_c4987bea-9be0-439a-a216-06a274e87365" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_04a23306-5d64-4d68-a4fe-85c93efc49c3" xlink:to="loc_us-gaap_AwardTypeAxis_c4987bea-9be0-439a-a216-06a274e87365" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c4987bea-9be0-439a-a216-06a274e87365_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_c4987bea-9be0-439a-a216-06a274e87365" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c4987bea-9be0-439a-a216-06a274e87365_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_66126abb-0bc1-44e4-b240-20e2fc3ed8fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_c4987bea-9be0-439a-a216-06a274e87365" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_66126abb-0bc1-44e4-b240-20e2fc3ed8fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_StocksettledRestrictedStockandRestrictedStockUnitsMember_caea9241-0f45-4d45-b281-907f703d6089" xlink:href="bac-20251231.xsd#bac_StocksettledRestrictedStockandRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_66126abb-0bc1-44e4-b240-20e2fc3ed8fa" xlink:to="loc_bac_StocksettledRestrictedStockandRestrictedStockUnitsMember_caea9241-0f45-4d45-b281-907f703d6089" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_f68d3c8e-093b-4c0c-a5e3-273d33a56b01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_032d0244-b9e5-4a3d-a7d8-c554c98931e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_f68d3c8e-093b-4c0c-a5e3-273d33a56b01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_a23c6717-3099-4ece-a885-aa79ce0ad89e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_f68d3c8e-093b-4c0c-a5e3-273d33a56b01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_a23c6717-3099-4ece-a885-aa79ce0ad89e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_165f6656-96f1-4f0d-ad43-e599adfabc72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_f68d3c8e-093b-4c0c-a5e3-273d33a56b01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_165f6656-96f1-4f0d-ad43-e599adfabc72" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_f018060a-fed9-4829-8ed0-4299a6530c86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_f68d3c8e-093b-4c0c-a5e3-273d33a56b01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_f018060a-fed9-4829-8ed0-4299a6530c86" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_a747d5d6-cae1-4913-a230-e756d53eb33a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_f68d3c8e-093b-4c0c-a5e3-273d33a56b01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_a747d5d6-cae1-4913-a230-e756d53eb33a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_b944a235-f87b-4568-8d83-7232aeffc56f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_17d98e9a-4859-4c3e-a30a-1880aa7d70f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_032d0244-b9e5-4a3d-a7d8-c554c98931e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_17d98e9a-4859-4c3e-a30a-1880aa7d70f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_4b31b626-13a8-4766-a502-15f0dd28f483" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_17d98e9a-4859-4c3e-a30a-1880aa7d70f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_4b31b626-13a8-4766-a502-15f0dd28f483" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_0911dcbe-8e29-4bee-acc0-65d7528738fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_17d98e9a-4859-4c3e-a30a-1880aa7d70f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_0911dcbe-8e29-4bee-acc0-65d7528738fb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_2bb4bada-af66-4c1f-a752-b7774a04d5b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_17d98e9a-4859-4c3e-a30a-1880aa7d70f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_2bb4bada-af66-4c1f-a752-b7774a04d5b0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_63e81861-4585-4a67-8d75-218a8c00a521" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_17d98e9a-4859-4c3e-a30a-1880aa7d70f8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_63e81861-4585-4a67-8d75-218a8c00a521" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_971b7e81-193f-4b40-8395-8aa74d9e954f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/IncomeTaxesScheduleofIncomeBeforeIncomeTaxesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#IncomeTaxesScheduleofIncomeBeforeIncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/IncomeTaxesScheduleofIncomeBeforeIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxDisclosureLineItems_019b27f9-841d-7810-b03c-f122b606ee0c" xlink:href="bac-20251231.xsd#bac_IncomeTaxDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxDisclosureTable_019b27f9-841d-759e-9a30-c76f148cf19b" xlink:href="bac-20251231.xsd#bac_IncomeTaxDisclosureTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b27f9-841d-7810-b03c-f122b606ee0c" xlink:to="loc_bac_IncomeTaxDisclosureTable_019b27f9-841d-759e-9a30-c76f148cf19b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_019b27f9-841d-715b-81c5-fab09001e657" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_IncomeTaxDisclosureTable_019b27f9-841d-759e-9a30-c76f148cf19b" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_019b27f9-841d-715b-81c5-fab09001e657" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019b27f9-841d-715b-81c5-fab09001e657_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019b27f9-841d-715b-81c5-fab09001e657" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019b27f9-841d-715b-81c5-fab09001e657_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019b27f9-841d-756d-9e33-7201075d70c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019b27f9-841d-715b-81c5-fab09001e657" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019b27f9-841d-756d-9e33-7201075d70c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_019b27f9-841d-7fd3-b0e4-c7603678b900" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019b27f9-841d-756d-9e33-7201075d70c2" xlink:to="loc_us-gaap_DomesticCountryMember_019b27f9-841d-7fd3-b0e4-c7603678b900" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCountryMember_019b27f9-841d-7bb2-88fc-044fc0d2d5c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019b27f9-841d-756d-9e33-7201075d70c2" xlink:to="loc_us-gaap_ForeignCountryMember_019b27f9-841d-7bb2-88fc-044fc0d2d5c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b27f9-841d-72d2-8673-c7ba42277498" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b27f9-841d-7810-b03c-f122b606ee0c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b27f9-841d-72d2-8673-c7ba42277498" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#IncomeTaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:href="bac-20251231.xsd#bac_IncomeTaxDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxDisclosureTable_b7455cfa-b089-4542-b1dd-cf65f2cdb1a6" xlink:href="bac-20251231.xsd#bac_IncomeTaxDisclosureTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:to="loc_bac_IncomeTaxDisclosureTable_b7455cfa-b089-4542-b1dd-cf65f2cdb1a6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_6eadc673-6b40-40cc-9f57-e6610551c7d8" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_IncomeTaxDisclosureTable_b7455cfa-b089-4542-b1dd-cf65f2cdb1a6" xlink:to="loc_srt_StatementGeographicalAxis_6eadc673-6b40-40cc-9f57-e6610551c7d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_6eadc673-6b40-40cc-9f57-e6610551c7d8_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_6eadc673-6b40-40cc-9f57-e6610551c7d8" xlink:to="loc_srt_SegmentGeographicalDomain_6eadc673-6b40-40cc-9f57-e6610551c7d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_500cd349-6d22-4c73-95ae-2be5d420967e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_6eadc673-6b40-40cc-9f57-e6610551c7d8" xlink:to="loc_srt_SegmentGeographicalDomain_500cd349-6d22-4c73-95ae-2be5d420967e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_67efea2c-4a95-4c63-ad29-03c3ffe8d758" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_500cd349-6d22-4c73-95ae-2be5d420967e" xlink:to="loc_country_GB_67efea2c-4a95-4c63-ad29-03c3ffe8d758" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_692fbcc5-9f57-45a2-99d4-ffefd0e4bbfd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_IncomeTaxDisclosureTable_b7455cfa-b089-4542-b1dd-cf65f2cdb1a6" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_692fbcc5-9f57-45a2-99d4-ffefd0e4bbfd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_692fbcc5-9f57-45a2-99d4-ffefd0e4bbfd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_692fbcc5-9f57-45a2-99d4-ffefd0e4bbfd" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_692fbcc5-9f57-45a2-99d4-ffefd0e4bbfd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_9450c70d-f997-42ca-bb95-90b21f196037" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_692fbcc5-9f57-45a2-99d4-ffefd0e4bbfd" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_9450c70d-f997-42ca-bb95-90b21f196037" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCountryMember_e57e5f47-5fe1-45c7-ae07-df5436b8831e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_9450c70d-f997-42ca-bb95-90b21f196037" xlink:to="loc_us-gaap_ForeignCountryMember_e57e5f47-5fe1-45c7-ae07-df5436b8831e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_3d59c787-986f-46b7-83c4-187a72555841" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_IncomeTaxDisclosureTable_b7455cfa-b089-4542-b1dd-cf65f2cdb1a6" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_3d59c787-986f-46b7-83c4-187a72555841" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_3d59c787-986f-46b7-83c4-187a72555841_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3d59c787-986f-46b7-83c4-187a72555841" xlink:to="loc_us-gaap_EquityComponentDomain_3d59c787-986f-46b7-83c4-187a72555841_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_0a0af5e6-eecf-4178-8dad-aa4e5344a87f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3d59c787-986f-46b7-83c4-187a72555841" xlink:to="loc_us-gaap_EquityComponentDomain_0a0af5e6-eecf-4178-8dad-aa4e5344a87f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_17d8a924-47a1-4d14-b239-9ad3f5743920" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0a0af5e6-eecf-4178-8dad-aa4e5344a87f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_17d8a924-47a1-4d14-b239-9ad3f5743920" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_01396225-99d6-42b3-be94-1e94375720dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_01396225-99d6-42b3-be94-1e94375720dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_a01fd2bb-1c91-427f-935b-b4178e94a922" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_a01fd2bb-1c91-427f-935b-b4178e94a922" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense_b913bc18-587f-4f50-99c8-08b2f9140659" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:to="loc_us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense_b913bc18-587f-4f50-99c8-08b2f9140659" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_6ef82760-abd9-4f41-99a3-eec93f4b298a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:to="loc_us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_6ef82760-abd9-4f41-99a3-eec93f4b298a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxReturnsFiledNumberOfStatesAndMunicipalities_019c5775-9b67-7e2c-afc4-cebf308d1e26" xlink:href="bac-20251231.xsd#bac_TaxReturnsFiledNumberOfStatesAndMunicipalities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:to="loc_bac_TaxReturnsFiledNumberOfStatesAndMunicipalities_019c5775-9b67-7e2c-afc4-cebf308d1e26" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxReturnsFiledNumberOfForeignJurisdictions_019c5777-a789-7039-a391-bd149abb3c24" xlink:href="bac-20251231.xsd#bac_TaxReturnsFiledNumberOfForeignJurisdictions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:to="loc_bac_TaxReturnsFiledNumberOfForeignJurisdictions_019c5777-a789-7039-a391-bd149abb3c24" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxCutsAndJobsActIncompleteAccountingUndistributedAccumulatedEarningsOfForeignSubsidiaryProvisionalUnrecognizedDeferredTaxLiability_2c9f5ea1-c675-4c7b-b801-9d4d3b3fdaba" xlink:href="bac-20251231.xsd#bac_TaxCutsAndJobsActIncompleteAccountingUndistributedAccumulatedEarningsOfForeignSubsidiaryProvisionalUnrecognizedDeferredTaxLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_d5f3b704-37ff-4433-9703-9b05fb9b9dff" xlink:to="loc_bac_TaxCutsAndJobsActIncompleteAccountingUndistributedAccumulatedEarningsOfForeignSubsidiaryProvisionalUnrecognizedDeferredTaxLiability_2c9f5ea1-c675-4c7b-b801-9d4d3b3fdaba" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/IncomeTaxesReconciliationofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#IncomeTaxesReconciliationofIncomeTaxExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/IncomeTaxesReconciliationofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxDisclosureLineItems_019b2876-7424-7f0b-a465-50ffe7cf7ac1" xlink:href="bac-20251231.xsd#bac_IncomeTaxDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxDisclosureTable_019b2876-7424-7e04-992e-8eebe9a7acc9" xlink:href="bac-20251231.xsd#bac_IncomeTaxDisclosureTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b2876-7424-7f0b-a465-50ffe7cf7ac1" xlink:to="loc_bac_IncomeTaxDisclosureTable_019b2876-7424-7e04-992e-8eebe9a7acc9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_019b2876-7424-79c3-9592-6bab7f04785d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_IncomeTaxDisclosureTable_019b2876-7424-7e04-992e-8eebe9a7acc9" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_019b2876-7424-79c3-9592-6bab7f04785d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019b2876-7424-79c3-9592-6bab7f04785d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019b2876-7424-79c3-9592-6bab7f04785d" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019b2876-7424-79c3-9592-6bab7f04785d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019b2876-7424-7e53-a5aa-0eac5350af62" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019b2876-7424-79c3-9592-6bab7f04785d" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019b2876-7424-7e53-a5aa-0eac5350af62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019b2876-7424-79a1-9326-2ad8ba4750da" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019b2876-7424-7e53-a5aa-0eac5350af62" xlink:to="loc_country_US_019b2876-7424-79a1-9326-2ad8ba4750da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCountryMember_019b2876-7424-7bc9-89bb-7ba97bfc402b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019b2876-7424-7e53-a5aa-0eac5350af62" xlink:to="loc_us-gaap_ForeignCountryMember_019b2876-7424-7bc9-89bb-7ba97bfc402b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_8903d1e6-7760-4036-aadf-c666bcf68b8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b2876-7424-7f0b-a465-50ffe7cf7ac1" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_8903d1e6-7760-4036-aadf-c666bcf68b8e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_79de1566-f84a-4d53-8eda-b2fe0fec84e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_8903d1e6-7760-4036-aadf-c666bcf68b8e" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_79de1566-f84a-4d53-8eda-b2fe0fec84e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:href="bac-20251231.xsd#bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_8903d1e6-7760-4036-aadf-c666bcf68b8e" xlink:to="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_2778da2b-d7d1-4ec8-a1ca-225328ab01e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_2778da2b-d7d1-4ec8-a1ca-225328ab01e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_a795efc0-ef8e-4ebc-b8ca-1c148b4acc0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_a795efc0-ef8e-4ebc-b8ca-1c148b4acc0a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_EffectiveIncomeTaxRateReconciliationTaxCreditLowIncomeHousingAndProductionAmount_019b2871-473b-7ea7-a297-0a94ef0e8523" xlink:href="bac-20251231.xsd#bac_EffectiveIncomeTaxRateReconciliationTaxCreditLowIncomeHousingAndProductionAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_a795efc0-ef8e-4ebc-b8ca-1c148b4acc0a" xlink:to="loc_bac_EffectiveIncomeTaxRateReconciliationTaxCreditLowIncomeHousingAndProductionAmount_019b2871-473b-7ea7-a297-0a94ef0e8523" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_EffectiveIncomeTaxRateReconciliationTaxCreditInvestmentAndOtherProductionAmount_019b2871-473b-75ac-aac8-ce625fdef6cb" xlink:href="bac-20251231.xsd#bac_EffectiveIncomeTaxRateReconciliationTaxCreditInvestmentAndOtherProductionAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_a795efc0-ef8e-4ebc-b8ca-1c148b4acc0a" xlink:to="loc_bac_EffectiveIncomeTaxRateReconciliationTaxCreditInvestmentAndOtherProductionAmount_019b2871-473b-75ac-aac8-ce625fdef6cb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther_019b2871-473b-7de0-95dd-d8b7e1f26552" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_a795efc0-ef8e-4ebc-b8ca-1c148b4acc0a" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther_019b2871-473b-7de0-95dd-d8b7e1f26552" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019b2872-b153-7c2c-8ef6-c1f05625602d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019b2872-b153-7c2c-8ef6-c1f05625602d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_87d616f9-3c66-4eac-8d50-1ce3bf3cf655" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019b2872-b153-7c2c-8ef6-c1f05625602d" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_87d616f9-3c66-4eac-8d50-1ce3bf3cf655" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_def1a2d2-bbdc-4b26-a4d1-79f01b325c29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019b2872-b153-7c2c-8ef6-c1f05625602d" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_def1a2d2-bbdc-4b26-a4d1-79f01b325c29" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_019b2873-13db-7526-bbda-aa4ca52ccc94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_019b2872-b153-7c2c-8ef6-c1f05625602d" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_019b2873-13db-7526-bbda-aa4ca52ccc94" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019b2cc2-76e0-70d4-a109-e15af1b4852a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019b2cc2-76e0-70d4-a109-e15af1b4852a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationGiltiAmount_019b2873-ce50-7ad3-bb50-27dd57ad8c71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationGiltiAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationGiltiAmount_019b2873-ce50-7ad3-bb50-27dd57ad8c71" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount_019b2873-ce50-7d33-89aa-a305cff33590" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherAmount_019b2873-ce50-7d33-89aa-a305cff33590" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b2874-8307-7030-add2-ad4980828521" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b2874-8307-7030-add2-ad4980828521" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_e7642ff9-5fc0-4b08-8e90-f5ed408621c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_EffectiveIncomeTaxRateReconciliationatFederalStatutoryIncomeTaxRateIncreaseDecreaseinTaxesAmountAbstract_44e353cb-75a8-43f1-bf97-5372e61280b1" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_e7642ff9-5fc0-4b08-8e90-f5ed408621c0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f3de6570-1262-4360-9ba4-2e6da6edd5ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_8903d1e6-7760-4036-aadf-c666bcf68b8e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f3de6570-1262-4360-9ba4-2e6da6edd5ba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b2876-7424-7f0b-a465-50ffe7cf7ac1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019b2877-8252-7996-ab4a-04a3ac5cfe8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019b2877-8252-7996-ab4a-04a3ac5cfe8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019b2877-8252-7eca-bead-f573426fbd57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019b2877-8252-7eca-bead-f573426fbd57" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019b2877-d005-7d0c-bcf5-ae0525dbec6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019b2877-d005-7d0c-bcf5-ae0525dbec6d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_EffectiveIncomeTaxRateReconciliationTaxCreditLowIncomeHousingAndProductionPercent_019b2877-8252-7942-b16e-c73073685f5b" xlink:href="bac-20251231.xsd#bac_EffectiveIncomeTaxRateReconciliationTaxCreditLowIncomeHousingAndProductionPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019b2877-d005-7d0c-bcf5-ae0525dbec6d" xlink:to="loc_bac_EffectiveIncomeTaxRateReconciliationTaxCreditLowIncomeHousingAndProductionPercent_019b2877-8252-7942-b16e-c73073685f5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_EffectiveIncomeTaxRateReconciliationTaxCreditInvestmentAndOtherProductionPercent_019b2877-8252-73dc-a611-85420cd828c3" xlink:href="bac-20251231.xsd#bac_EffectiveIncomeTaxRateReconciliationTaxCreditInvestmentAndOtherProductionPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019b2877-d005-7d0c-bcf5-ae0525dbec6d" xlink:to="loc_bac_EffectiveIncomeTaxRateReconciliationTaxCreditInvestmentAndOtherProductionPercent_019b2877-8252-73dc-a611-85420cd828c3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsOther_019b2877-8252-7aa4-a366-9b6088c54654" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019b2877-d005-7d0c-bcf5-ae0525dbec6d" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsOther_019b2877-8252-7aa4-a366-9b6088c54654" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_019b2878-caee-77a3-88c6-b5ae0fe4a62e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_019b2878-caee-77a3-88c6-b5ae0fe4a62e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_019b2877-8252-7f2c-84d4-da757df5e854" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_019b2878-caee-77a3-88c6-b5ae0fe4a62e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_019b2877-8252-7f2c-84d4-da757df5e854" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_019b2877-8252-74a0-af9a-3019515b8617" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_019b2878-caee-77a3-88c6-b5ae0fe4a62e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_019b2877-8252-74a0-af9a-3019515b8617" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_019b2877-8252-748c-91e2-5c7e6e4842b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_019b2878-caee-77a3-88c6-b5ae0fe4a62e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_019b2877-8252-748c-91e2-5c7e6e4842b3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019b2877-8252-78c1-844c-77f789a44472" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019b2877-8252-78c1-844c-77f789a44472" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationGiltiPercent_019b2877-8252-74d3-a014-f666cd761c4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationGiltiPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationGiltiPercent_019b2877-8252-74d3-a014-f666cd761c4e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent_019b2877-8252-727e-9529-de02579d9c1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderOtherPercent_019b2877-8252-727e-9529-de02579d9c1d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b2877-8252-75f1-96b2-cf5f58751cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b2877-8252-75f1-96b2-cf5f58751cd7" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019b2877-8252-76b0-a3ba-10669700b46b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019b2877-8252-76b0-a3ba-10669700b46b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2877-8252-71bd-8783-501a2cd1de78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_972139e2-8929-4f67-aafc-a41ff95d76bc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2877-8252-71bd-8783-501a2cd1de78" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/IncomeTaxesNetOperatingLossandTaxCreditCarryforwardsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#IncomeTaxesNetOperatingLossandTaxCreditCarryforwardsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/IncomeTaxesNetOperatingLossandTaxCreditCarryforwardsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxCreditCarryforwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_8f953030-dd91-4ced-b578-522f0a73f79a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_8f953030-dd91-4ced-b578-522f0a73f79a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_b1595cbc-c74c-4f5c-a26a-da276a6123a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_8f953030-dd91-4ced-b578-522f0a73f79a" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_b1595cbc-c74c-4f5c-a26a-da276a6123a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_b1595cbc-c74c-4f5c-a26a-da276a6123a7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_b1595cbc-c74c-4f5c-a26a-da276a6123a7" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_b1595cbc-c74c-4f5c-a26a-da276a6123a7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_794f1cb6-7daf-4c9e-b3a8-83c2e29836ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_b1595cbc-c74c-4f5c-a26a-da276a6123a7" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_794f1cb6-7daf-4c9e-b3a8-83c2e29836ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCountryMember_1114123f-38f9-48f0-bac2-b6265c825145" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_794f1cb6-7daf-4c9e-b3a8-83c2e29836ea" xlink:to="loc_us-gaap_ForeignCountryMember_1114123f-38f9-48f0-bac2-b6265c825145" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_81f5a0fc-4643-4315-ad40-fd3ea4ccc112" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_794f1cb6-7daf-4c9e-b3a8-83c2e29836ea" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_81f5a0fc-4643-4315-ad40-fd3ea4ccc112" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_ded7903e-375e-4d87-837f-f11ef9773224" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxCreditCarryforwardAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_8f953030-dd91-4ced-b578-522f0a73f79a" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_ded7903e-375e-4d87-837f-f11ef9773224" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_ded7903e-375e-4d87-837f-f11ef9773224_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_ded7903e-375e-4d87-837f-f11ef9773224" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_ded7903e-375e-4d87-837f-f11ef9773224_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_ccd99f81-baa5-49f1-a569-bc336c3f7ec4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_ded7903e-375e-4d87-837f-f11ef9773224" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_ccd99f81-baa5-49f1-a569-bc336c3f7ec4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForeignTaxCreditsMember_562893dd-4113-467f-8068-f7fb7c4f706c" xlink:href="bac-20251231.xsd#bac_ForeignTaxCreditsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_ccd99f81-baa5-49f1-a569-bc336c3f7ec4" xlink:to="loc_bac_ForeignTaxCreditsMember_562893dd-4113-467f-8068-f7fb7c4f706c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_9bead568-b63d-46e3-bc5d-19b4fc809411" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_8f953030-dd91-4ced-b578-522f0a73f79a" xlink:to="loc_srt_StatementGeographicalAxis_9bead568-b63d-46e3-bc5d-19b4fc809411" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_9bead568-b63d-46e3-bc5d-19b4fc809411_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_9bead568-b63d-46e3-bc5d-19b4fc809411" xlink:to="loc_srt_SegmentGeographicalDomain_9bead568-b63d-46e3-bc5d-19b4fc809411_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_9fae983b-5c5f-4653-8a10-59e9572138f0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_9bead568-b63d-46e3-bc5d-19b4fc809411" xlink:to="loc_srt_SegmentGeographicalDomain_9fae983b-5c5f-4653-8a10-59e9572138f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_d21a47a4-8dbc-4ba7-a626-e033ede197e5" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_9fae983b-5c5f-4653-8a10-59e9572138f0" xlink:to="loc_country_GB_d21a47a4-8dbc-4ba7-a626-e033ede197e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_de8152fa-f6d7-4ce0-8b03-058f772b5331" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_de8152fa-f6d7-4ce0-8b03-058f772b5331" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsValuationAllowance_df6d7617-c6e2-46ab-8f57-0b35d5aaac59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_us-gaap_OperatingLossCarryforwardsValuationAllowance_df6d7617-c6e2-46ab-8f57-0b35d5aaac59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DeferredTaxAssetsOperatingLossCarryforwardsNetValuationAllowance_1820c0fb-a14f-4552-be6e-ca7ce10e3534" xlink:href="bac-20251231.xsd#bac_DeferredTaxAssetsOperatingLossCarryforwardsNetValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_bac_DeferredTaxAssetsOperatingLossCarryforwardsNetValuationAllowance_1820c0fb-a14f-4552-be6e-ca7ce10e3534" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsGeneralBusiness_4fc48a4a-4b7b-4715-863b-8a19612bc236" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsGeneralBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsGeneralBusiness_4fc48a4a-4b7b-4715-863b-8a19612bc236" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxCreditCarryforwardGeneralBusinessValuationAllowance_aca650a7-9fe0-4ad2-b39e-a072e2e07bd5" xlink:href="bac-20251231.xsd#bac_TaxCreditCarryforwardGeneralBusinessValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_bac_TaxCreditCarryforwardGeneralBusinessValuationAllowance_aca650a7-9fe0-4ad2-b39e-a072e2e07bd5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DeferredTaxAssetsTaxCreditCarryforwardsGeneralBusinessNetValuationAllowance_b91dea04-5825-4898-b6bc-b2f1c70f1a9c" xlink:href="bac-20251231.xsd#bac_DeferredTaxAssetsTaxCreditCarryforwardsGeneralBusinessNetValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_bac_DeferredTaxAssetsTaxCreditCarryforwardsGeneralBusinessNetValuationAllowance_b91dea04-5825-4898-b6bc-b2f1c70f1a9c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_733648a7-1b23-4ca4-9f62-3fd47a9fa16c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_733648a7-1b23-4ca4-9f62-3fd47a9fa16c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardValuationAllowance_9f536a71-97e6-48de-8c87-e005a8a551ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxCreditCarryforwardValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_us-gaap_TaxCreditCarryforwardValuationAllowance_9f536a71-97e6-48de-8c87-e005a8a551ce" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DeferredTaxAssetsTaxCreditCarryforwardsNetValuationAllowance_31729e66-bedb-4edf-adc8-1cf1825f1e14" xlink:href="bac-20251231.xsd#bac_DeferredTaxAssetsTaxCreditCarryforwardsNetValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardLineItems_54d4caff-f7fa-45c4-9596-e87fbe35e8ca" xlink:to="loc_bac_DeferredTaxAssetsTaxCreditCarryforwardsNetValuationAllowance_31729e66-bedb-4edf-adc8-1cf1825f1e14" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/IncomeTaxesSummaryofIncomeTaxesPaidNetDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#IncomeTaxesSummaryofIncomeTaxesPaidNetDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/IncomeTaxesSummaryofIncomeTaxesPaidNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxDisclosureLineItems_019b2880-c91a-7108-90e8-739d69967e2f" xlink:href="bac-20251231.xsd#bac_IncomeTaxDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxDisclosureTable_019b2880-c91a-7299-b923-44010898ad27" xlink:href="bac-20251231.xsd#bac_IncomeTaxDisclosureTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b2880-c91a-7108-90e8-739d69967e2f" xlink:to="loc_bac_IncomeTaxDisclosureTable_019b2880-c91a-7299-b923-44010898ad27" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_019b2880-c91a-7c3d-a823-1c18cb585d65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_bac_IncomeTaxDisclosureTable_019b2880-c91a-7299-b923-44010898ad27" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_019b2880-c91a-7c3d-a823-1c18cb585d65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019b2880-c91a-7c3d-a823-1c18cb585d65_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019b2880-c91a-7c3d-a823-1c18cb585d65" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019b2880-c91a-7c3d-a823-1c18cb585d65_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019b2880-c91a-7fef-8d13-a2aa0a6ce0a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019b2880-c91a-7c3d-a823-1c18cb585d65" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019b2880-c91a-7fef-8d13-a2aa0a6ce0a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_019b2881-b6ae-796d-9e6c-97e9e360dbd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019b2880-c91a-7fef-8d13-a2aa0a6ce0a3" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_019b2881-b6ae-796d-9e6c-97e9e360dbd2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_CA_019b2880-c91a-7a11-a13a-fb12c436db0a" xlink:href="https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd#stpr_CA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StateAndLocalJurisdictionMember_019b2881-b6ae-796d-9e6c-97e9e360dbd2" xlink:to="loc_stpr_CA_019b2880-c91a-7a11-a13a-fb12c436db0a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalTaxJurisdictionOtherMember_019b2880-c91a-72b2-8b91-4812dc805144" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StateAndLocalTaxJurisdictionOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StateAndLocalJurisdictionMember_019b2881-b6ae-796d-9e6c-97e9e360dbd2" xlink:to="loc_us-gaap_StateAndLocalTaxJurisdictionOtherMember_019b2880-c91a-72b2-8b91-4812dc805144" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCountryMember_019b2882-2d16-7aa3-8dcd-173d95ece1e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019b2880-c91a-7fef-8d13-a2aa0a6ce0a3" xlink:to="loc_us-gaap_ForeignCountryMember_019b2882-2d16-7aa3-8dcd-173d95ece1e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_019b2880-c91a-7cf0-98a5-0e5d0b32061f" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCountryMember_019b2882-2d16-7aa3-8dcd-173d95ece1e1" xlink:to="loc_country_GB_019b2880-c91a-7cf0-98a5-0e5d0b32061f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_IN_019b2880-c91a-740c-9ed1-7777317248fd" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_IN"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCountryMember_019b2882-2d16-7aa3-8dcd-173d95ece1e1" xlink:to="loc_country_IN_019b2880-c91a-740c-9ed1-7777317248fd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignTaxJurisdictionOtherMember_019b2880-c91a-7719-8710-7a077e669a8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignTaxJurisdictionOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCountryMember_019b2882-2d16-7aa3-8dcd-173d95ece1e1" xlink:to="loc_us-gaap_ForeignTaxJurisdictionOtherMember_019b2880-c91a-7719-8710-7a077e669a8b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019b2880-c91a-7728-9d4a-e0581e50de8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidFederalAfterRefundReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b2880-c91a-7108-90e8-739d69967e2f" xlink:to="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019b2880-c91a-7728-9d4a-e0581e50de8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019b2880-c91a-700c-ba09-a12631876997" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b2880-c91a-7108-90e8-739d69967e2f" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019b2880-c91a-700c-ba09-a12631876997" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019b2880-c91a-76f7-b2b0-7575f853372a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b2880-c91a-7108-90e8-739d69967e2f" xlink:to="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019b2880-c91a-76f7-b2b0-7575f853372a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019b2880-c91a-7433-a1d7-7b325aeb0406" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_IncomeTaxDisclosureLineItems_019b2880-c91a-7108-90e8-739d69967e2f" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_019b2880-c91a-7433-a1d7-7b325aeb0406" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/FairValueMeasurementsRecurringFairValueDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#FairValueMeasurementsRecurringFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/FairValueMeasurementsRecurringFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f171b8f3-fffb-433f-9ca1-f18d8aed7c79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_704cc4ca-be0c-4031-9435-85e6b8c88c5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f171b8f3-fffb-433f-9ca1-f18d8aed7c79" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_704cc4ca-be0c-4031-9435-85e6b8c88c5f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3584643e-145c-4ab2-bf70-fa47abe2cf10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_704cc4ca-be0c-4031-9435-85e6b8c88c5f" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3584643e-145c-4ab2-bf70-fa47abe2cf10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_3584643e-145c-4ab2-bf70-fa47abe2cf10_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3584643e-145c-4ab2-bf70-fa47abe2cf10" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_3584643e-145c-4ab2-bf70-fa47abe2cf10_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_a9b9ceec-4d18-40a7-a0b2-2350d54eccd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3584643e-145c-4ab2-bf70-fa47abe2cf10" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_a9b9ceec-4d18-40a7-a0b2-2350d54eccd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_c268bb76-f48f-4486-b98f-0aa57961e024" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_a9b9ceec-4d18-40a7-a0b2-2350d54eccd6" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_c268bb76-f48f-4486-b98f-0aa57961e024" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e408b9b8-e159-4b98-aba2-bcf902e823f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_704cc4ca-be0c-4031-9435-85e6b8c88c5f" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e408b9b8-e159-4b98-aba2-bcf902e823f7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e408b9b8-e159-4b98-aba2-bcf902e823f7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e408b9b8-e159-4b98-aba2-bcf902e823f7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e408b9b8-e159-4b98-aba2-bcf902e823f7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aae14980-4948-4e13-bad0-d850785384ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e408b9b8-e159-4b98-aba2-bcf902e823f7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aae14980-4948-4e13-bad0-d850785384ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_e46a0920-f47e-4c6d-81c5-85d647ef572f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aae14980-4948-4e13-bad0-d850785384ec" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_e46a0920-f47e-4c6d-81c5-85d647ef572f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_b11df33a-385e-4750-ac92-7e62334ebd00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aae14980-4948-4e13-bad0-d850785384ec" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_b11df33a-385e-4750-ac92-7e62334ebd00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_bbbf6e11-9e5b-4a38-8f7b-a01468cfe70f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aae14980-4948-4e13-bad0-d850785384ec" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_bbbf6e11-9e5b-4a38-8f7b-a01468cfe70f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_2d0507e6-9b52-4062-94c9-0951295f7247" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_704cc4ca-be0c-4031-9435-85e6b8c88c5f" xlink:to="loc_us-gaap_FinancialInstrumentAxis_2d0507e6-9b52-4062-94c9-0951295f7247" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2d0507e6-9b52-4062-94c9-0951295f7247_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2d0507e6-9b52-4062-94c9-0951295f7247" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2d0507e6-9b52-4062-94c9-0951295f7247_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2d0507e6-9b52-4062-94c9-0951295f7247" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_1530d8a3-7f2d-4085-bb40-3e0f03973710" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_1530d8a3-7f2d-4085-bb40-3e0f03973710" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CorporateSecuritiesTradingLoansandOtherMember_056fcfe6-d7eb-4f2a-9623-1f73b7ea99d5" xlink:href="bac-20251231.xsd#bac_CorporateSecuritiesTradingLoansandOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_CorporateSecuritiesTradingLoansandOtherMember_056fcfe6-d7eb-4f2a-9623-1f73b7ea99d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesMember_ec72babc-028e-4b99-8dd2-8805f75dcc9d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_us-gaap_EquitySecuritiesMember_ec72babc-028e-4b99-8dd2-8805f75dcc9d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_4afa5952-d056-48b7-844a-73402af21e93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_4afa5952-d056-48b7-844a-73402af21e93" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_USGovernmentsponsoredAgencyGuaranteedDebtSecuritiesMember_3c32dea2-0139-4e3a-8623-00a371764c4a" xlink:href="bac-20251231.xsd#bac_USGovernmentsponsoredAgencyGuaranteedDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_USGovernmentsponsoredAgencyGuaranteedDebtSecuritiesMember_3c32dea2-0139-4e3a-8623-00a371764c4a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageTradingLoansAssetbackedSecuritiesAndOtherMortgageBackedSecuritiesMember_e76ff732-0db5-4fb3-b5b4-54f64c223bbb" xlink:href="bac-20251231.xsd#bac_MortgageTradingLoansAssetbackedSecuritiesAndOtherMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_MortgageTradingLoansAssetbackedSecuritiesAndOtherMortgageBackedSecuritiesMember_e76ff732-0db5-4fb3-b5b4-54f64c223bbb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_15dd496f-96f2-44e7-8eb5-1ce982448bf9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_15dd496f-96f2-44e7-8eb5-1ce982448bf9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageBackedSecuritiesAgencyMember_11bc42bf-aaa6-4098-ab73-df40538dd73d" xlink:href="bac-20251231.xsd#bac_MortgageBackedSecuritiesAgencyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_MortgageBackedSecuritiesAgencyMember_11bc42bf-aaa6-4098-ab73-df40538dd73d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember_1fef1f85-2f50-4c53-8576-903b8db3c35d" xlink:href="bac-20251231.xsd#bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_MortgageBackedSecuritiesAgencyCollateralizedMortgageObligationMember_1fef1f85-2f50-4c53-8576-903b8db3c35d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_f63826bd-3d15-42d4-ae78-8477d03c8eb2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_f63826bd-3d15-42d4-ae78-8477d03c8eb2" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_e93da25b-33b8-4832-86f4-5db029c7d868" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_e93da25b-33b8-4832-86f4-5db029c7d868" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCorporateDebtSecuritiesMember_ca580a44-bbeb-40dc-9458-082fbc5698b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_us-gaap_ForeignCorporateDebtSecuritiesMember_ca580a44-bbeb-40dc-9458-082fbc5698b2" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherTaxableSecuritiesMember_eefa8c0b-b5df-49b6-9c7a-43ac4aba9709" xlink:href="bac-20251231.xsd#bac_OtherTaxableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_OtherTaxableSecuritiesMember_eefa8c0b-b5df-49b6-9c7a-43ac4aba9709" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxExemptSecuritiesMember_c1b26cbc-656f-4e6e-861e-866d1d0c7739" xlink:href="bac-20251231.xsd#bac_TaxExemptSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_TaxExemptSecuritiesMember_c1b26cbc-656f-4e6e-861e-866d1d0c7739" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonU.S.AndOtherSecuritiesMember_56d78231-1738-4480-8a8d-79ad7ecfa407" xlink:href="bac-20251231.xsd#bac_NonU.S.AndOtherSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_NonU.S.AndOtherSecuritiesMember_56d78231-1738-4480-8a8d-79ad7ecfa407" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageTradingLoansAndAssetBackedSecuritiesMember_e1c2c375-1c9c-4c71-9355-3c065b696e4c" xlink:href="bac-20251231.xsd#bac_MortgageTradingLoansAndAssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_MortgageTradingLoansAndAssetBackedSecuritiesMember_e1c2c375-1c9c-4c71-9355-3c065b696e4c" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_SecuritiesSegregatedforComplianceorDepositedwithClearingOrganizationsMember_90782ccb-a8f1-435b-afd7-7a36ec0e4696" xlink:href="bac-20251231.xsd#bac_SecuritiesSegregatedforComplianceorDepositedwithClearingOrganizationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_bac_SecuritiesSegregatedforComplianceorDepositedwithClearingOrganizationsMember_90782ccb-a8f1-435b-afd7-7a36ec0e4696" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommoditiesInvestmentMember_a7b2d310-2ae9-40b5-bc90-dc83bd2b351f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommoditiesInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1b5af8f6-67a3-4cac-9875-29ba4a8f2445" xlink:to="loc_us-gaap_CommoditiesInvestmentMember_a7b2d310-2ae9-40b5-bc90-dc83bd2b351f" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_0255e3aa-fce7-4d9d-b45f-e0a8389feead" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f171b8f3-fffb-433f-9ca1-f18d8aed7c79" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_0255e3aa-fce7-4d9d-b45f-e0a8389feead" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_0255e3aa-fce7-4d9d-b45f-e0a8389feead" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TimeDepositsPlacedAndOtherShortTermInvestmentsFairValueDisclosure_32967999-cc5c-456e-95a9-f80f30a12b86" xlink:href="bac-20251231.xsd#bac_TimeDepositsPlacedAndOtherShortTermInvestmentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_bac_TimeDepositsPlacedAndOtherShortTermInvestmentsFairValueDisclosure_32967999-cc5c-456e-95a9-f80f30a12b86" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueOffset_071faf06-221c-4b18-895c-a331f65b798d" xlink:href="bac-20251231.xsd#bac_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_bac_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueOffset_071faf06-221c-4b18-895c-a331f65b798d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure_c12998e6-8340-4ff6-9b82-3f4c27444a3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure_c12998e6-8340-4ff6-9b82-3f4c27444a3b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_755c62d9-5edb-4be7-b9fc-968995035af3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_TradingSecurities_755c62d9-5edb-4be7-b9fc-968995035af3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_d4e66872-41fe-4caa-8c6e-867eda9ed584" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_d4e66872-41fe-4caa-8c6e-867eda9ed584" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_c6a3debf-4a1c-4f82-9de1-02ec3f8295c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_c6a3debf-4a1c-4f82-9de1-02ec3f8295c8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_f1278d07-7b93-4696-ac76-80c34bb35a1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_DerivativeAssets_f1278d07-7b93-4696-ac76-80c34bb35a1e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_e41ca638-bc1d-4a7a-9967-127074bba454" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_e41ca638-bc1d-4a7a-9967-127074bba454" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherDebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_0c7b1976-629f-4917-b258-18804b34a944" xlink:href="bac-20251231.xsd#bac_OtherDebtSecuritiesCarriedAtFairValueExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_bac_OtherDebtSecuritiesCarriedAtFairValueExcludingAccruedInterest_0c7b1976-629f-4917-b258-18804b34a944" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_f78d7129-5a77-408a-8c63-64a63eb689e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_f78d7129-5a77-408a-8c63-64a63eb689e2" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_f69b097c-f5d4-475e-bbf1-f77b9c40b467" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_f69b097c-f5d4-475e-bbf1-f77b9c40b467" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsFairValueDisclosure_2fe18b30-d5f4-4d05-809f-09f0bcb5cf48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_OtherAssetsFairValueDisclosure_2fe18b30-d5f4-4d05-809f-09f0bcb5cf48" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_80e3dcd5-2f7d-4faa-adfb-c2e27cc48341" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_80e3dcd5-2f7d-4faa-adfb-c2e27cc48341" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AssetFairValueOffset_a291af2b-d2d3-412b-bf1b-519aed3b89b9" xlink:href="bac-20251231.xsd#bac_AssetFairValueOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_a9e65780-0e71-4304-b44f-ecdabe346805" xlink:to="loc_bac_AssetFairValueOffset_a291af2b-d2d3-412b-bf1b-519aed3b89b9" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_0255e3aa-fce7-4d9d-b45f-e0a8389feead" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestBearingDepositLiabilitiesDomesticFairValueDisclosure_1d52d5fd-8e54-4448-a05c-05102bfabaec" xlink:href="bac-20251231.xsd#bac_InterestBearingDepositLiabilitiesDomesticFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_bac_InterestBearingDepositLiabilitiesDomesticFairValueDisclosure_1d52d5fd-8e54-4448-a05c-05102bfabaec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure_410548f2-a940-45e9-9db9-3fa9fad3443f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure_410548f2-a940-45e9-9db9-3fa9fad3443f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueOffset_c2c0a7c0-de57-468a-9334-aa5de1701e3c" xlink:href="bac-20251231.xsd#bac_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_bac_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueOffset_c2c0a7c0-de57-468a-9334-aa5de1701e3c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingLiabilitiesFairValueDisclosure_eaf61941-37ce-49bf-8bc5-0e26ef0938e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingLiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_us-gaap_TradingLiabilitiesFairValueDisclosure_eaf61941-37ce-49bf-8bc5-0e26ef0938e3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_63ac9c80-7d35-421d-9c2f-426aeb89d398" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_63ac9c80-7d35-421d-9c2f-426aeb89d398" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_4dfc4af1-20ae-46bb-b3fb-007d6bb3e87b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_4dfc4af1-20ae-46bb-b3fb-007d6bb3e87b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_c4f28d4f-0478-4516-ad6d-17e102e31151" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_us-gaap_DerivativeLiabilities_c4f28d4f-0478-4516-ad6d-17e102e31151" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShorttermDebtFairValue_0ac1a5b4-ee53-4de8-84df-7b5e9faeee58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShorttermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_us-gaap_ShorttermDebtFairValue_0ac1a5b4-ee53-4de8-84df-7b5e9faeee58" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AccruedExpensesAndOtherLiabilitiesFairValueDisclosure_ea283d24-437a-4f1c-9a88-a05d4c2c5b09" xlink:href="bac-20251231.xsd#bac_AccruedExpensesAndOtherLiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_bac_AccruedExpensesAndOtherLiabilitiesFairValueDisclosure_ea283d24-437a-4f1c-9a88-a05d4c2c5b09" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_d115bece-3afd-47ff-9c81-4a1899856bec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_us-gaap_LongTermDebtFairValue_d115bece-3afd-47ff-9c81-4a1899856bec" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_76043073-d351-48c8-acb3-8b1e9666ba17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_76043073-d351-48c8-acb3-8b1e9666ba17" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LiabilitiesFairValueOffset_45e1d342-3ae4-4a26-9c73-e1dbc95f2df2" xlink:href="bac-20251231.xsd#bac_LiabilitiesFairValueOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c2aa4547-695b-44ab-bcd3-e66968e9b716" xlink:to="loc_bac_LiabilitiesFairValueOffset_45e1d342-3ae4-4a26-9c73-e1dbc95f2df2" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_f53c5571-41ad-4298-b3ef-be41c0d73230" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_0255e3aa-fce7-4d9d-b45f-e0a8389feead" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_f53c5571-41ad-4298-b3ef-be41c0d73230" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AssetsFairValueDisclosureRecurringLevel3AssetsPercentageOfTotalAssets_985e20e1-5a86-44d7-be20-82d723b27c7e" xlink:href="bac-20251231.xsd#bac_AssetsFairValueDisclosureRecurringLevel3AssetsPercentageOfTotalAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_0255e3aa-fce7-4d9d-b45f-e0a8389feead" xlink:to="loc_bac_AssetsFairValueDisclosureRecurringLevel3AssetsPercentageOfTotalAssets_985e20e1-5a86-44d7-be20-82d723b27c7e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancialAndNonfinancialLiabilitiesFairValueDisclosureRecurringLevel3LiabilitiesPercentageOfTotalLiabilities_23db10a8-99e1-494e-a99f-45bfec1c631d" xlink:href="bac-20251231.xsd#bac_FinancialAndNonfinancialLiabilitiesFairValueDisclosureRecurringLevel3LiabilitiesPercentageOfTotalLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract_0255e3aa-fce7-4d9d-b45f-e0a8389feead" xlink:to="loc_bac_FinancialAndNonfinancialLiabilitiesFairValueDisclosureRecurringLevel3LiabilitiesPercentageOfTotalLiabilities_23db10a8-99e1-494e-a99f-45bfec1c631d" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/FairValueMeasurementsLevel3ReconciliationDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#FairValueMeasurementsLevel3ReconciliationDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/FairValueMeasurementsLevel3ReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_286f6e4a-a9c9-4f80-8a97-1e3cde2dacf4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_286f6e4a-a9c9-4f80-8a97-1e3cde2dacf4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0444fdda-3c26-4b1d-b640-e0f961ffdefb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_286f6e4a-a9c9-4f80-8a97-1e3cde2dacf4" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0444fdda-3c26-4b1d-b640-e0f961ffdefb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0444fdda-3c26-4b1d-b640-e0f961ffdefb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0444fdda-3c26-4b1d-b640-e0f961ffdefb" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0444fdda-3c26-4b1d-b640-e0f961ffdefb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ede8969c-7096-4ec0-9558-51f143501694" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0444fdda-3c26-4b1d-b640-e0f961ffdefb" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ede8969c-7096-4ec0-9558-51f143501694" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_7bce37c4-39b3-4179-94d2-213121e1a648" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ede8969c-7096-4ec0-9558-51f143501694" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_7bce37c4-39b3-4179-94d2-213121e1a648" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_83c08680-4b69-45c6-94e2-a294a5ae8de9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_286f6e4a-a9c9-4f80-8a97-1e3cde2dacf4" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_83c08680-4b69-45c6-94e2-a294a5ae8de9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_83c08680-4b69-45c6-94e2-a294a5ae8de9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_83c08680-4b69-45c6-94e2-a294a5ae8de9" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_83c08680-4b69-45c6-94e2-a294a5ae8de9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_a80135d6-7b3c-4885-8762-933296c81e51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_83c08680-4b69-45c6-94e2-a294a5ae8de9" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_a80135d6-7b3c-4885-8762-933296c81e51" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_77bce06f-168f-4d8f-91b6-7a8c04058e0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_a80135d6-7b3c-4885-8762-933296c81e51" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_77bce06f-168f-4d8f-91b6-7a8c04058e0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019b2907-8f13-7b5e-a9eb-8cf6a64b8092" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_286f6e4a-a9c9-4f80-8a97-1e3cde2dacf4" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019b2907-8f13-7b5e-a9eb-8cf6a64b8092" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-7b5e-a9eb-8cf6a64b8092_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019b2907-8f13-7b5e-a9eb-8cf6a64b8092" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-7b5e-a9eb-8cf6a64b8092_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019b2907-8f13-7b5e-a9eb-8cf6a64b8092" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember_019b2906-de47-7505-8ef3-ef4e7413a331" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember_019b2906-de47-7505-8ef3-ef4e7413a331" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingAccountAssets1Member_b5483eff-3bd5-4ba4-9804-a2da5c37c89b" xlink:href="bac-20251231.xsd#bac_TradingAccountAssets1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_bac_TradingAccountAssets1Member_b5483eff-3bd5-4ba4-9804-a2da5c37c89b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CorporateSecuritiesTradingLoansandOtherMember_4a577dfa-fb72-43ae-bbd6-e16e5ef75370" xlink:href="bac-20251231.xsd#bac_CorporateSecuritiesTradingLoansandOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_TradingAccountAssets1Member_b5483eff-3bd5-4ba4-9804-a2da5c37c89b" xlink:to="loc_bac_CorporateSecuritiesTradingLoansandOtherMember_4a577dfa-fb72-43ae-bbd6-e16e5ef75370" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesMember_69ffe5b7-38b5-44ca-833d-53e213bea047" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_TradingAccountAssets1Member_b5483eff-3bd5-4ba4-9804-a2da5c37c89b" xlink:to="loc_us-gaap_EquitySecuritiesMember_69ffe5b7-38b5-44ca-833d-53e213bea047" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_516c08ff-30e5-48a4-b5ff-b6244ea306a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_TradingAccountAssets1Member_b5483eff-3bd5-4ba4-9804-a2da5c37c89b" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_516c08ff-30e5-48a4-b5ff-b6244ea306a3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageTradingLoansMortgageBackedSecuritiesAndAssetBackedSecuritiesMember_af381841-0b63-4c1a-af35-e75677ff0657" xlink:href="bac-20251231.xsd#bac_MortgageTradingLoansMortgageBackedSecuritiesAndAssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_TradingAccountAssets1Member_b5483eff-3bd5-4ba4-9804-a2da5c37c89b" xlink:to="loc_bac_MortgageTradingLoansMortgageBackedSecuritiesAndAssetBackedSecuritiesMember_af381841-0b63-4c1a-af35-e75677ff0657" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesMember_e26e46b4-f167-4e10-932f-2dd565904507" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_us-gaap_DebtSecuritiesMember_e26e46b4-f167-4e10-932f-2dd565904507" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonAgencyResidentialMember_b286169a-2b06-4e87-bdaf-b19eee591e9a" xlink:href="bac-20251231.xsd#bac_NonAgencyResidentialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_e26e46b4-f167-4e10-932f-2dd565904507" xlink:to="loc_bac_NonAgencyResidentialMember_b286169a-2b06-4e87-bdaf-b19eee591e9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CommercialMBSMember_ea57d994-643d-4247-843e-f9365f636734" xlink:href="bac-20251231.xsd#bac_CommercialMBSMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_e26e46b4-f167-4e10-932f-2dd565904507" xlink:to="loc_bac_CommercialMBSMember_ea57d994-643d-4247-843e-f9365f636734" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonUSAndOtherTaxableSecuritiesMember_e3930dd7-a52a-45c7-9ecb-9a48825cf305" xlink:href="bac-20251231.xsd#bac_NonUSAndOtherTaxableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_e26e46b4-f167-4e10-932f-2dd565904507" xlink:to="loc_bac_NonUSAndOtherTaxableSecuritiesMember_e3930dd7-a52a-45c7-9ecb-9a48825cf305" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TaxExemptSecuritiesMember_019b28e8-d009-7a5e-99cc-bde93e0866ed" xlink:href="bac-20251231.xsd#bac_TaxExemptSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_e26e46b4-f167-4e10-932f-2dd565904507" xlink:to="loc_bac_TaxExemptSecuritiesMember_019b28e8-d009-7a5e-99cc-bde93e0866ed" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDebtSecuritiesMember_59254c93-f902-40c6-8d37-4d800a6985ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_us-gaap_OtherDebtSecuritiesMember_59254c93-f902-40c6-8d37-4d800a6985ff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableMember_0242c1b2-5788-463f-bc1c-f2f043e5e3a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_us-gaap_LoansReceivableMember_0242c1b2-5788-463f-bc1c-f2f043e5e3a9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LoansHeldForSaleMember_5d2865a0-204b-473c-ad71-ee7177e671f9" xlink:href="bac-20251231.xsd#bac_LoansHeldForSaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_bac_LoansHeldForSaleMember_5d2865a0-204b-473c-ad71-ee7177e671f9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMember_fa82e188-202d-4b38-8c5a-57547f700fe4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_us-gaap_OtherAssetsMember_fa82e188-202d-4b38-8c5a-57547f700fe4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingAccountLiabilitiesEquitySecuritiesMember_4e325724-f856-4ae0-a9c3-64af38cf0d9c" xlink:href="bac-20251231.xsd#bac_TradingAccountLiabilitiesEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_bac_TradingAccountLiabilitiesEquitySecuritiesMember_4e325724-f856-4ae0-a9c3-64af38cf0d9c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CorporateSecuritiesandOtherMember_d9a3410b-0dd4-4155-b9aa-cca3fb12406a" xlink:href="bac-20251231.xsd#bac_CorporateSecuritiesandOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_bac_CorporateSecuritiesandOtherMember_d9a3410b-0dd4-4155-b9aa-cca3fb12406a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtMember_13bc12a6-509a-4893-9e64-cb67c3232232" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_us-gaap_ShortTermDebtMember_13bc12a6-509a-4893-9e64-cb67c3232232" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AccruedExpensesandOtherLiabilitiesMember_b2b3c470-a2d4-4715-bc44-37def55d7c6a" xlink:href="bac-20251231.xsd#bac_AccruedExpensesandOtherLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_bac_AccruedExpensesandOtherLiabilitiesMember_b2b3c470-a2d4-4715-bc44-37def55d7c6a" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMember_57690bed-e033-4848-8488-52456bdf1b9a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019b2907-8f13-78a4-8cad-b363b962c6d1" xlink:to="loc_us-gaap_LongTermDebtMember_57690bed-e033-4848-8488-52456bdf1b9a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_4f79ae90-d325-4a4b-82b1-6ffba90bf923" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_4f79ae90-d325-4a4b-82b1-6ffba90bf923" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_eba19e88-8c8b-4ec2-8d43-1077d2e7ec81" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_eba19e88-8c8b-4ec2-8d43-1077d2e7ec81" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss_aeac4797-0be8-4bf7-93ba-2c2bb38d8dba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss_aeac4797-0be8-4bf7-93ba-2c2bb38d8dba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_f5d67f6c-19d9-4bbd-bcab-23fc07eed10f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_f5d67f6c-19d9-4bbd-bcab-23fc07eed10f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_fae723b4-2188-401e-a878-efa5f193f248" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_fae723b4-2188-401e-a878-efa5f193f248" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues_e2377319-61fa-412b-9031-397ccd09a853" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues_e2377319-61fa-412b-9031-397ccd09a853" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_6908a7bb-f781-4fe2-98bd-eed0f6ec2953" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_6908a7bb-f781-4fe2-98bd-eed0f6ec2953" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3_f9d78b21-a86c-4746-bd94-2dee92652dc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3_f9d78b21-a86c-4746-bd94-2dee92652dc0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_f4863c99-50b3-45cb-b5eb-2e9443a17ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_b2303fab-899d-4bdd-a7e0-9e981b7735b5" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_f4863c99-50b3-45cb-b5eb-2e9443a17ca7" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_69d15782-83fd-4303-a745-1b9205bf1b10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_4218cd8d-70e8-406f-93ba-3663cb1bbddd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_4218cd8d-70e8-406f-93ba-3663cb1bbddd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_1d6a3799-33a3-4216-b40a-af220e075e24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_1d6a3799-33a3-4216-b40a-af220e075e24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings_993ea5b5-334c-4a88-ad47-903eab5e9cc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings_993ea5b5-334c-4a88-ad47-903eab5e9cc1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInOtherComprehensiveIncomeLoss_02e03a6d-e250-42dc-9f99-6ee818c0f631" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInOtherComprehensiveIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInOtherComprehensiveIncomeLoss_02e03a6d-e250-42dc-9f99-6ee818c0f631" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationPurchases_f31cd734-4bec-44e2-bb64-acaba2491b78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationPurchases_f31cd734-4bec-44e2-bb64-acaba2491b78" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSales_24e5b7e2-5d9e-4106-b8f1-2018929b7ad1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSales_24e5b7e2-5d9e-4106-b8f1-2018929b7ad1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationIssues_714645fb-af97-4727-b1d2-f40e3a28c7e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationIssues_714645fb-af97-4727-b1d2-f40e3a28c7e7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements_70a5e45b-38cd-46da-8d42-1c96758d8164" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements_70a5e45b-38cd-46da-8d42-1c96758d8164" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersIntoLevel3_f3760f01-8706-4b5a-932f-52bf769216b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersIntoLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersIntoLevel3_f3760f01-8706-4b5a-932f-52bf769216b0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3_5c87426b-f36f-48da-b50a-d404e330af8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_4a30a293-f173-4a90-aa17-729c1841e795" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3_5c87426b-f36f-48da-b50a-d404e330af8c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_137de946-c78b-4e6b-b4c5-d8ddc9e18f57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_3960b22c-e847-45f4-8161-fa9db3ba3897" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisChangeInUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_3960b22c-e847-45f4-8161-fa9db3ba3897" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_e91859f2-b765-4dc7-9244-2453a92343f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_e91859f2-b765-4dc7-9244-2453a92343f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_5281406c-7e6f-4808-b074-88447cdb8283" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_5281406c-7e6f-4808-b074-88447cdb8283" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome_8b8b9af3-c75e-480e-aa39-d0192fc2db9f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome_8b8b9af3-c75e-480e-aa39-d0192fc2db9f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales_2f640310-3f33-4707-ae2e-7015dd6033f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales_2f640310-3f33-4707-ae2e-7015dd6033f9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_83122158-7b2c-44d7-bd64-a9bb900a1990" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_83122158-7b2c-44d7-bd64-a9bb900a1990" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_76f9374e-370b-47c9-84b9-6beab12f5fdf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_76f9374e-370b-47c9-84b9-6beab12f5fdf" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_3a32bde5-5010-469e-a885-ad19e24fe2e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_3a32bde5-5010-469e-a885-ad19e24fe2e6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersIntoLevel3_a7a31d2d-e782-44ff-82e6-b254182bf3f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersIntoLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersIntoLevel3_a7a31d2d-e782-44ff-82e6-b254182bf3f4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersOutOfLevel3_ead47802-d2eb-4289-a8e2-1b7c709dc70b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersOutOfLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_bb74eef1-c390-40e0-ae0a-e609c59b4294" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersOutOfLevel3_ead47802-d2eb-4289-a8e2-1b7c709dc70b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_61a306e9-f6fb-4e32-a7ca-d20ff264d3e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_36acf8f9-b41c-467c-a844-2cbadd77fdb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_36acf8f9-b41c-467c-a844-2cbadd77fdb8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueRecurringBasisUnobservableInputReconciliationNetDerivativeAssetLiabilityGainLossStatementOfIncomeExtensibleList_4011cd88-7eb7-41a2-809e-23823d79bbf4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueRecurringBasisUnobservableInputReconciliationNetDerivativeAssetLiabilityGainLossStatementOfIncomeExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueRecurringBasisUnobservableInputReconciliationNetDerivativeAssetLiabilityGainLossStatementOfIncomeExtensibleList_4011cd88-7eb7-41a2-809e-23823d79bbf4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList_122b9e15-c3f8-4a1d-8f6d-294075f59ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList_122b9e15-c3f8-4a1d-8f6d-294075f59ea7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueRecurringBasisUnobservableInputReconciliationNetDerivativeAssetLiabilityGainLossStatementOfOtherComprehensiveIncomeExtensibleList_37bfc9e8-a91d-4d3f-8f69-ad250bbd2e77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueRecurringBasisUnobservableInputReconciliationNetDerivativeAssetLiabilityGainLossStatementOfOtherComprehensiveIncomeExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueRecurringBasisUnobservableInputReconciliationNetDerivativeAssetLiabilityGainLossStatementOfOtherComprehensiveIncomeExtensibleList_37bfc9e8-a91d-4d3f-8f69-ad250bbd2e77" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfOtherComprehensiveIncomeExtensibleList_ecbe7aa9-9e52-40d1-8ffb-59ca57034303" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfOtherComprehensiveIncomeExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfOtherComprehensiveIncomeExtensibleList_ecbe7aa9-9e52-40d1-8ffb-59ca57034303" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss_95077150-8eb9-47e5-a9b5-fc435166b785" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_fa16cc5b-107e-453f-a884-37135d4d0daf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_fa16cc5b-107e-453f-a884-37135d4d0daf" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_4e7758f4-ba20-4c82-8aad-f38d0c07614b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9445480f-5d17-47ad-be4a-a9584f45b694" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_4e7758f4-ba20-4c82-8aad-f38d0c07614b" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/FairValueMeasurementsRecurringFairValueInputsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#FairValueMeasurementsRecurringFairValueInputsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/FairValueMeasurementsRecurringFairValueInputsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_c276e16a-eaf3-47c7-b43f-70dd221ed289" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_c276e16a-eaf3-47c7-b43f-70dd221ed289" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_c276e16a-eaf3-47c7-b43f-70dd221ed289_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_c276e16a-eaf3-47c7-b43f-70dd221ed289" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_c276e16a-eaf3-47c7-b43f-70dd221ed289_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_bced0501-721d-4e62-b8af-9a4b14dfd308" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_c276e16a-eaf3-47c7-b43f-70dd221ed289" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_bced0501-721d-4e62-b8af-9a4b14dfd308" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_ab100e31-5d4c-4ee2-97f8-6dc3fe487035" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_bced0501-721d-4e62-b8af-9a4b14dfd308" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_ab100e31-5d4c-4ee2-97f8-6dc3fe487035" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1e925d9f-81d3-4e1c-aa52-691525e52a00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1e925d9f-81d3-4e1c-aa52-691525e52a00" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1e925d9f-81d3-4e1c-aa52-691525e52a00_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1e925d9f-81d3-4e1c-aa52-691525e52a00" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1e925d9f-81d3-4e1c-aa52-691525e52a00_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_439be8d5-2cb4-4b11-8bba-ff0c82dae481" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1e925d9f-81d3-4e1c-aa52-691525e52a00" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_439be8d5-2cb4-4b11-8bba-ff0c82dae481" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_b2c84afa-0cfe-49a3-92bf-5170936cea5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_439be8d5-2cb4-4b11-8bba-ff0c82dae481" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_b2c84afa-0cfe-49a3-92bf-5170936cea5d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_ff03cb1a-9adf-4fea-b837-949f33e37705" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:to="loc_us-gaap_FinancialInstrumentAxis_ff03cb1a-9adf-4fea-b837-949f33e37705" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ff03cb1a-9adf-4fea-b837-949f33e37705_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ff03cb1a-9adf-4fea-b837-949f33e37705" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ff03cb1a-9adf-4fea-b837-949f33e37705_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ff03cb1a-9adf-4fea-b837-949f33e37705" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MortgageTradingLoansMortgageBackedSecuritiesAndAssetBackedSecuritiesMember_6699bee1-af85-4f36-b94c-5d101a9b4b57" xlink:href="bac-20251231.xsd#bac_MortgageTradingLoansMortgageBackedSecuritiesAndAssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_MortgageTradingLoansMortgageBackedSecuritiesAndAssetBackedSecuritiesMember_6699bee1-af85-4f36-b94c-5d101a9b4b57" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LoansandLeasesMember_2dd7573f-64e5-43c2-8e87-efb5ec0b2ff2" xlink:href="bac-20251231.xsd#bac_LoansandLeasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_LoansandLeasesMember_2dd7573f-64e5-43c2-8e87-efb5ec0b2ff2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesMember_cc30142c-028e-48b3-b9d4-1e756579f55e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_us-gaap_DebtSecuritiesMember_cc30142c-028e-48b3-b9d4-1e756579f55e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDebtSecuritiesMember_8f2a7b43-f32b-4f65-87ca-d584fc7094e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_us-gaap_OtherDebtSecuritiesMember_8f2a7b43-f32b-4f65-87ca-d584fc7094e5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CorporateSecuritiesTradingLoansandOtherMember_e89c43a4-2ded-4a22-9ec2-9f43e687a53b" xlink:href="bac-20251231.xsd#bac_CorporateSecuritiesTradingLoansandOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_CorporateSecuritiesTradingLoansandOtherMember_e89c43a4-2ded-4a22-9ec2-9f43e687a53b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AvailableForSaleSecuritiesCommercialMember_c925a793-301b-43ed-bdd5-764c41bdc31d" xlink:href="bac-20251231.xsd#bac_AvailableForSaleSecuritiesCommercialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_AvailableForSaleSecuritiesCommercialMember_c925a793-301b-43ed-bdd5-764c41bdc31d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_e575227b-e368-45a6-a09f-c677935d641c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_e575227b-e368-45a6-a09f-c677935d641c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonU.S.SecuritiesMember_8c93e90a-0ac5-4eaa-b004-eda13fdf7d34" xlink:href="bac-20251231.xsd#bac_NonU.S.SecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_NonU.S.SecuritiesMember_8c93e90a-0ac5-4eaa-b004-eda13fdf7d34" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonUSAndOtherTaxableSecuritiesMember_2af38597-a7db-4e17-b26b-4c9d17e89ab0" xlink:href="bac-20251231.xsd#bac_NonUSAndOtherTaxableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_NonUSAndOtherTaxableSecuritiesMember_2af38597-a7db-4e17-b26b-4c9d17e89ab0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LoansHeldForSaleMember_f0a3eb70-0453-42ab-b50d-48213b4903c2" xlink:href="bac-20251231.xsd#bac_LoansHeldForSaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_LoansHeldForSaleMember_f0a3eb70-0453-42ab-b50d-48213b4903c2" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherAssetsIncludingAuctionRateSecuritiesMember_c9b014ad-0a41-4743-ad5f-7ecb3dc42a13" xlink:href="bac-20251231.xsd#bac_OtherAssetsIncludingAuctionRateSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_OtherAssetsIncludingAuctionRateSecuritiesMember_c9b014ad-0a41-4743-ad5f-7ecb3dc42a13" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_DebtSecuritiesNonAgencyResidentialAndNonU.S.AndOtherTaxableSecuritiesMember_0a23ea7d-5853-4f92-8468-35752f4510f0" xlink:href="bac-20251231.xsd#bac_DebtSecuritiesNonAgencyResidentialAndNonU.S.AndOtherTaxableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_DebtSecuritiesNonAgencyResidentialAndNonU.S.AndOtherTaxableSecuritiesMember_0a23ea7d-5853-4f92-8468-35752f4510f0" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherFinancialAssetsMember_096ae105-ddb3-44a8-8e7b-24a225cae4cc" xlink:href="bac-20251231.xsd#bac_OtherFinancialAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_OtherFinancialAssetsMember_096ae105-ddb3-44a8-8e7b-24a225cae4cc" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherTaxableSecuritiesMember_57bb1bee-7bd2-4a5b-98c9-38af74d1b72b" xlink:href="bac-20251231.xsd#bac_OtherTaxableSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_90f3a6af-3e67-4928-8f96-7bbb6e5f6068" xlink:to="loc_bac_OtherTaxableSecuritiesMember_57bb1bee-7bd2-4a5b-98c9-38af74d1b72b" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_5716ee44-336d-419c-9ba7-ad81e1418fa3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_5716ee44-336d-419c-9ba7-ad81e1418fa3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_5716ee44-336d-419c-9ba7-ad81e1418fa3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5716ee44-336d-419c-9ba7-ad81e1418fa3" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5716ee44-336d-419c-9ba7-ad81e1418fa3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_496faa01-73cb-42d8-932e-9ab1d86b4508" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5716ee44-336d-419c-9ba7-ad81e1418fa3" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_496faa01-73cb-42d8-932e-9ab1d86b4508" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditRiskContractMember_a4c37f0b-6a30-4b0c-a331-a9a0eb2b4f98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditRiskContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_496faa01-73cb-42d8-932e-9ab1d86b4508" xlink:to="loc_us-gaap_CreditRiskContractMember_a4c37f0b-6a30-4b0c-a331-a9a0eb2b4f98" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityContractMember_d4357a2f-7261-41e5-911d-d8b6710c9adb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_496faa01-73cb-42d8-932e-9ab1d86b4508" xlink:to="loc_us-gaap_EquityContractMember_d4357a2f-7261-41e5-911d-d8b6710c9adb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_27aefe35-fcfb-47a2-aeb0-4ba903b2b7de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_496faa01-73cb-42d8-932e-9ab1d86b4508" xlink:to="loc_us-gaap_CommodityContractMember_27aefe35-fcfb-47a2-aeb0-4ba903b2b7de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_d6236201-7627-4f7b-b53f-5bee9457efb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_496faa01-73cb-42d8-932e-9ab1d86b4508" xlink:to="loc_us-gaap_InterestRateContractMember_d6236201-7627-4f7b-b53f-5bee9457efb0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_bef1f470-ba55-4501-ab9a-0e989b86fbfe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_bef1f470-ba55-4501-ab9a-0e989b86fbfe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_bef1f470-ba55-4501-ab9a-0e989b86fbfe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_bef1f470-ba55-4501-ab9a-0e989b86fbfe" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_bef1f470-ba55-4501-ab9a-0e989b86fbfe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_bef1f470-ba55-4501-ab9a-0e989b86fbfe" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputYieldMember_ded4bbbd-fcb8-4d98-83db-9e7882183130" xlink:href="bac-20251231.xsd#bac_MeasurementInputYieldMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputYieldMember_ded4bbbd-fcb8-4d98-83db-9e7882183130" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputPrepaymentRateMember_e40132b5-b3f6-4e64-8810-a056082959e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputPrepaymentRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_us-gaap_MeasurementInputPrepaymentRateMember_e40132b5-b3f6-4e64-8810-a056082959e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputDefaultRateMember_a71e7eb2-9afa-4885-81d8-750d9787e86c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputDefaultRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_us-gaap_MeasurementInputDefaultRateMember_a71e7eb2-9afa-4885-81d8-750d9787e86c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputOfferedPriceMember_e56a891f-bdd2-412d-afe1-64a8da055313" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputOfferedPriceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_us-gaap_MeasurementInputOfferedPriceMember_e56a891f-bdd2-412d-afe1-64a8da055313" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputLossSeverityMember_105248d8-d17c-4f37-ab7c-e1689a546075" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputLossSeverityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_us-gaap_MeasurementInputLossSeverityMember_105248d8-d17c-4f37-ab7c-e1689a546075" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputWeightedAverageLifeFixedRateMember_aaee4999-ad50-400f-94b2-285e790775ea" xlink:href="bac-20251231.xsd#bac_MeasurementInputWeightedAverageLifeFixedRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputWeightedAverageLifeFixedRateMember_aaee4999-ad50-400f-94b2-285e790775ea" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputWeightedAverageLifeVariableRateMember_a707d152-2777-4855-95bd-5fd0edc0ec25" xlink:href="bac-20251231.xsd#bac_MeasurementInputWeightedAverageLifeVariableRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputWeightedAverageLifeVariableRateMember_a707d152-2777-4855-95bd-5fd0edc0ec25" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputOptionAdjustedSpreadFixedRateMember_6aef5c29-1150-4134-a37d-8da53964220f" xlink:href="bac-20251231.xsd#bac_MeasurementInputOptionAdjustedSpreadFixedRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputOptionAdjustedSpreadFixedRateMember_6aef5c29-1150-4134-a37d-8da53964220f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputOptionAdjustedSpreadVariableRateMember_29815b72-794d-4f70-b6df-674b1e4e5cd1" xlink:href="bac-20251231.xsd#bac_MeasurementInputOptionAdjustedSpreadVariableRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputOptionAdjustedSpreadVariableRateMember_29815b72-794d-4f70-b6df-674b1e4e5cd1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputCommodityForwardPriceMember_33a6adce-4184-4065-8798-ecf2a8e7640f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputCommodityForwardPriceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_us-gaap_MeasurementInputCommodityForwardPriceMember_33a6adce-4184-4065-8798-ecf2a8e7640f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputEquityCorrelationMember_61a51964-958f-43f7-9d61-e7dd8fd19b51" xlink:href="bac-20251231.xsd#bac_MeasurementInputEquityCorrelationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputEquityCorrelationMember_61a51964-958f-43f7-9d61-e7dd8fd19b51" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputLongDatedEquityVolatilitiesMember_100c2767-7c7a-45e2-9ad6-562e1d7dab62" xlink:href="bac-20251231.xsd#bac_MeasurementInputLongDatedEquityVolatilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputLongDatedEquityVolatilitiesMember_100c2767-7c7a-45e2-9ad6-562e1d7dab62" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputCreditSpreadsMember_9341e027-0984-4069-b716-1835408ed797" xlink:href="bac-20251231.xsd#bac_MeasurementInputCreditSpreadsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputCreditSpreadsMember_9341e027-0984-4069-b716-1835408ed797" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputCreditCorrelationMember_264db22e-b2d6-460a-87df-6303f2021d40" xlink:href="bac-20251231.xsd#bac_MeasurementInputCreditCorrelationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputCreditCorrelationMember_264db22e-b2d6-460a-87df-6303f2021d40" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputVolatilitiesMember_019c39e9-15e7-7299-8b68-aa3e92e04f2d" xlink:href="bac-20251231.xsd#bac_MeasurementInputVolatilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputVolatilitiesMember_019c39e9-15e7-7299-8b68-aa3e92e04f2d" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputPowerForwardPriceMember_e3882211-b2c0-4b21-a14b-a043fa2b11b7" xlink:href="bac-20251231.xsd#bac_MeasurementInputPowerForwardPriceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputPowerForwardPriceMember_e3882211-b2c0-4b21-a14b-a043fa2b11b7" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputCorrelationIRIRMember_1fcbbf38-eb6c-4ccc-b5ef-d81e85d84b7a" xlink:href="bac-20251231.xsd#bac_MeasurementInputCorrelationIRIRMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputCorrelationIRIRMember_1fcbbf38-eb6c-4ccc-b5ef-d81e85d84b7a" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputCorrelationFXIRMember_5cc3d25c-976d-42b6-87bf-d405b1643c39" xlink:href="bac-20251231.xsd#bac_MeasurementInputCorrelationFXIRMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputCorrelationFXIRMember_5cc3d25c-976d-42b6-87bf-d405b1643c39" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputLongDatedInflationRatesMember_60b5f596-bf2d-49bd-b762-0c67ff219d6f" xlink:href="bac-20251231.xsd#bac_MeasurementInputLongDatedInflationRatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputLongDatedInflationRatesMember_60b5f596-bf2d-49bd-b762-0c67ff219d6f" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputLongDatedInflationVolatilitiesMember_1c101649-d4e7-4386-9ec8-4e620bcbc748" xlink:href="bac-20251231.xsd#bac_MeasurementInputLongDatedInflationVolatilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputLongDatedInflationVolatilitiesMember_1c101649-d4e7-4386-9ec8-4e620bcbc748" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputInterestRateVolatilitiesMember_b3971b74-8cc8-40ec-891a-514d7495d844" xlink:href="bac-20251231.xsd#bac_MeasurementInputInterestRateVolatilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_8c8fb71f-2a4e-4a59-9297-1441a156b83b" xlink:to="loc_bac_MeasurementInputInterestRateVolatilitiesMember_b3971b74-8cc8-40ec-891a-514d7495d844" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_4a2b4c8e-2d38-49ea-b78e-44707d0423c0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:to="loc_srt_RangeAxis_4a2b4c8e-2d38-49ea-b78e-44707d0423c0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_4a2b4c8e-2d38-49ea-b78e-44707d0423c0_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_4a2b4c8e-2d38-49ea-b78e-44707d0423c0" xlink:to="loc_srt_RangeMember_4a2b4c8e-2d38-49ea-b78e-44707d0423c0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_6d549c0e-2533-4058-935d-65d24e41158f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_4a2b4c8e-2d38-49ea-b78e-44707d0423c0" xlink:to="loc_srt_RangeMember_6d549c0e-2533-4058-935d-65d24e41158f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_3a46c1ff-07a1-4f67-ab25-c1ee565e5c6b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_6d549c0e-2533-4058-935d-65d24e41158f" xlink:to="loc_srt_MinimumMember_3a46c1ff-07a1-4f67-ab25-c1ee565e5c6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_da2db775-269c-486d-80df-f1366c2d3071" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_6d549c0e-2533-4058-935d-65d24e41158f" xlink:to="loc_srt_MaximumMember_da2db775-269c-486d-80df-f1366c2d3071" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_28f71f20-d704-465a-81ca-b88376c39e9e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_6d549c0e-2533-4058-935d-65d24e41158f" xlink:to="loc_srt_WeightedAverageMember_28f71f20-d704-465a-81ca-b88376c39e9e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueAxis_c8f0c507-4fce-4e0f-abea-47b440a1431a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_9fa7e3c8-2cc9-4075-98a2-ba24db42d702" xlink:to="loc_us-gaap_ValuationTechniqueAxis_c8f0c507-4fce-4e0f-abea-47b440a1431a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_c8f0c507-4fce-4e0f-abea-47b440a1431a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_c8f0c507-4fce-4e0f-abea-47b440a1431a" xlink:to="loc_us-gaap_ValuationTechniqueDomain_c8f0c507-4fce-4e0f-abea-47b440a1431a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_c8f0c507-4fce-4e0f-abea-47b440a1431a" xlink:to="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ValuationTechniqueDiscountedCashFlowAndMarketApproachMember_6e2e7dd4-2c74-4189-af83-f6c62142770f" xlink:href="bac-20251231.xsd#bac_ValuationTechniqueDiscountedCashFlowAndMarketApproachMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:to="loc_bac_ValuationTechniqueDiscountedCashFlowAndMarketApproachMember_6e2e7dd4-2c74-4189-af83-f6c62142770f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ValuationTechniqueDiscountedCashFlowAssetBasedApproachMember_4c99222d-a024-47a7-b062-66a9c4c7353c" xlink:href="bac-20251231.xsd#bac_ValuationTechniqueDiscountedCashFlowAssetBasedApproachMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:to="loc_bac_ValuationTechniqueDiscountedCashFlowAssetBasedApproachMember_4c99222d-a024-47a7-b062-66a9c4c7353c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_d4ccd06e-96b1-4038-918b-d238047e17ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueDiscountedCashFlowMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:to="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_d4ccd06e-96b1-4038-918b-d238047e17ce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ValuationTechniqueMarketApproachDiscountedCashFlowStochasticRecoveryCorrelationModelMember_02bca96a-af2c-414c-8872-8d283f2290e8" xlink:href="bac-20251231.xsd#bac_ValuationTechniqueMarketApproachDiscountedCashFlowStochasticRecoveryCorrelationModelMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:to="loc_bac_ValuationTechniqueMarketApproachDiscountedCashFlowStochasticRecoveryCorrelationModelMember_02bca96a-af2c-414c-8872-8d283f2290e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ValuationTechniqueDiscountedCashFlowStochasticRecoveryCorrelationModelMember_e0e6598f-3e6d-47f4-af08-3c0c75614c70" xlink:href="bac-20251231.xsd#bac_ValuationTechniqueDiscountedCashFlowStochasticRecoveryCorrelationModelMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:to="loc_bac_ValuationTechniqueDiscountedCashFlowStochasticRecoveryCorrelationModelMember_e0e6598f-3e6d-47f4-af08-3c0c75614c70" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ValuationTechniqueIndustryStandardDerivativePricingMember_2ba2d873-bbf2-4455-80d3-883811bcf290" xlink:href="bac-20251231.xsd#bac_ValuationTechniqueIndustryStandardDerivativePricingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:to="loc_bac_ValuationTechniqueIndustryStandardDerivativePricingMember_2ba2d873-bbf2-4455-80d3-883811bcf290" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeandCostApproachValuationTechniqueMember_019c3a04-b2ca-7bc3-9604-8edc949ec922" xlink:href="bac-20251231.xsd#bac_IncomeandCostApproachValuationTechniqueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_2bae3cd4-7243-40e9-aff2-a856296d95fd" xlink:to="loc_bac_IncomeandCostApproachValuationTechniqueMember_019c3a04-b2ca-7bc3-9604-8edc949ec922" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AssetBackedFinancialInstrumentsCollateralizedByResidentialRealEstateFairValueDisclosure_3122428d-8a87-4e27-8e1d-173674a5c8a8" xlink:href="bac-20251231.xsd#bac_AssetBackedFinancialInstrumentsCollateralizedByResidentialRealEstateFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_bac_AssetBackedFinancialInstrumentsCollateralizedByResidentialRealEstateFairValueDisclosure_3122428d-8a87-4e27-8e1d-173674a5c8a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AssetBackedFinancialInstrumentsCollateralizedByCommercialRealEstateFairValueDisclosure_e06e89ae-40a5-473d-aa1c-f6b71b26f130" xlink:href="bac-20251231.xsd#bac_AssetBackedFinancialInstrumentsCollateralizedByCommercialRealEstateFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_bac_AssetBackedFinancialInstrumentsCollateralizedByCommercialRealEstateFairValueDisclosure_e06e89ae-40a5-473d-aa1c-f6b71b26f130" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CommercialLoansDebtSecuritiesAndOtherFairValueDisclosure_8a060e7c-0cd2-4807-95a2-69a111c8546e" xlink:href="bac-20251231.xsd#bac_CommercialLoansDebtSecuritiesAndOtherFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_bac_CommercialLoansDebtSecuritiesAndOtherFairValueDisclosure_8a060e7c-0cd2-4807-95a2-69a111c8546e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsFairValueDisclosure_ae93e2b9-b478-483c-a37f-99ae7f08e12d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_us-gaap_OtherAssetsFairValueDisclosure_ae93e2b9-b478-483c-a37f-99ae7f08e12d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_cd7c3ea9-4d18-4a86-9a3f-7f8c4985672c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_us-gaap_LongTermDebtFairValue_cd7c3ea9-4d18-4a86-9a3f-7f8c4985672c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_67d08737-dc0b-4c48-b8e3-067b03c7697d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_67d08737-dc0b-4c48-b8e3-067b03c7697d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LoansAndSecuritiesFairValueDisclosure_3d5f71ec-06cb-4471-ac09-977732525fb8" xlink:href="bac-20251231.xsd#bac_LoansAndSecuritiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_bac_LoansAndSecuritiesFairValueDisclosure_3d5f71ec-06cb-4471-ac09-977732525fb8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsQuantitativeInformationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1a720649-5a72-4962-a2e0-7f300e70c992" xlink:to="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AssetBackedFinancialInstrumentsCollateralizedByResidentialRealEstateMeasurementInput_019c3a20-922a-7a9b-aa43-07af8b8dc74c" xlink:href="bac-20251231.xsd#bac_AssetBackedFinancialInstrumentsCollateralizedByResidentialRealEstateMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:to="loc_bac_AssetBackedFinancialInstrumentsCollateralizedByResidentialRealEstateMeasurementInput_019c3a20-922a-7a9b-aa43-07af8b8dc74c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AssetBackedFinancialInstrumentsCollateralizedByCommercialRealEstateMeasurementInput_019c3a20-f21e-7730-8f01-f5491c75db10" xlink:href="bac-20251231.xsd#bac_AssetBackedFinancialInstrumentsCollateralizedByCommercialRealEstateMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:to="loc_bac_AssetBackedFinancialInstrumentsCollateralizedByCommercialRealEstateMeasurementInput_019c3a20-f21e-7730-8f01-f5491c75db10" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CommercialLoansDebtSecuritiesAndOtherAssetsMeasurementInput_019c3a20-f21e-70e6-a71f-069c4e27dd4d" xlink:href="bac-20251231.xsd#bac_CommercialLoansDebtSecuritiesAndOtherAssetsMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:to="loc_bac_CommercialLoansDebtSecuritiesAndOtherAssetsMeasurementInput_019c3a20-f21e-70e6-a71f-069c4e27dd4d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherAssetsMeasurementInput_019c3a20-f21e-785f-a42d-4b5983e7de1b" xlink:href="bac-20251231.xsd#bac_OtherAssetsMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:to="loc_bac_OtherAssetsMeasurementInput_019c3a20-f21e-785f-a42d-4b5983e7de1b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_OtherAssetsMeasurementInputTerm_019c5818-f38d-7270-84be-187453596e5b" xlink:href="bac-20251231.xsd#bac_OtherAssetsMeasurementInputTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:to="loc_bac_OtherAssetsMeasurementInputTerm_019c5818-f38d-7270-84be-187453596e5b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMeasurementInput_019c3a20-f21e-7027-987e-855f77af3875" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:to="loc_us-gaap_LongTermDebtMeasurementInput_019c3a20-f21e-7027-987e-855f77af3875" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetLiabilityNetMeasurementInput_019c3a20-f21f-7c50-9645-cdfc56746d14" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetLiabilityNetMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsQuantitativeInformationAbstract_019c3a22-5780-7c70-9029-24e564e0ea99" xlink:to="loc_us-gaap_DerivativeAssetLiabilityNetMeasurementInput_019c3a20-f21f-7c50-9645-cdfc56746d14" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/FairValueMeasurementsNonrecurringFairValueDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#FairValueMeasurementsNonrecurringFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/FairValueMeasurementsNonrecurringFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d0b5de67-a3fc-4ae3-b2ee-847af2b239c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0991b0f6-2ab2-4178-9517-4b79cc4f3870" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d0b5de67-a3fc-4ae3-b2ee-847af2b239c6" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0991b0f6-2ab2-4178-9517-4b79cc4f3870" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_d2fda5e6-4baa-4869-8a6b-bb76cb0c0dde" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0991b0f6-2ab2-4178-9517-4b79cc4f3870" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_d2fda5e6-4baa-4869-8a6b-bb76cb0c0dde" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_d2fda5e6-4baa-4869-8a6b-bb76cb0c0dde_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_d2fda5e6-4baa-4869-8a6b-bb76cb0c0dde" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_d2fda5e6-4baa-4869-8a6b-bb76cb0c0dde_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_03b4f196-7541-4891-a709-903e728fba65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_d2fda5e6-4baa-4869-8a6b-bb76cb0c0dde" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_03b4f196-7541-4891-a709-903e728fba65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_518fe08b-59fd-47f2-a5e5-984a1f6c44f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsNonrecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_03b4f196-7541-4891-a709-903e728fba65" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_518fe08b-59fd-47f2-a5e5-984a1f6c44f5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_281b6f84-9bc0-45d0-96f1-cbd15a885243" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0991b0f6-2ab2-4178-9517-4b79cc4f3870" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_281b6f84-9bc0-45d0-96f1-cbd15a885243" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_281b6f84-9bc0-45d0-96f1-cbd15a885243_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_281b6f84-9bc0-45d0-96f1-cbd15a885243" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_281b6f84-9bc0-45d0-96f1-cbd15a885243_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9f4331ea-1be8-4a05-a297-f1c7fe060009" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_281b6f84-9bc0-45d0-96f1-cbd15a885243" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9f4331ea-1be8-4a05-a297-f1c7fe060009" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_b74b651e-9f2f-4e42-9e37-7f41a877a239" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9f4331ea-1be8-4a05-a297-f1c7fe060009" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_b74b651e-9f2f-4e42-9e37-7f41a877a239" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_7240db61-a782-498f-be2f-ad28ee74507d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9f4331ea-1be8-4a05-a297-f1c7fe060009" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_7240db61-a782-498f-be2f-ad28ee74507d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_bc4f97e8-ef54-4444-bcad-65402f6b86ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0991b0f6-2ab2-4178-9517-4b79cc4f3870" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_bc4f97e8-ef54-4444-bcad-65402f6b86ff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_bc4f97e8-ef54-4444-bcad-65402f6b86ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_bc4f97e8-ef54-4444-bcad-65402f6b86ff" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_bc4f97e8-ef54-4444-bcad-65402f6b86ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_cec7860b-46ce-45c2-9b44-9c47eb2cd22c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_bc4f97e8-ef54-4444-bcad-65402f6b86ff" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_cec7860b-46ce-45c2-9b44-9c47eb2cd22c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GovernmentGuaranteedMortgageLoansUponForeclosureReceivableMember_d8e918ca-7c0b-4dd1-891a-0477b914c51d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GovernmentGuaranteedMortgageLoansUponForeclosureReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_cec7860b-46ce-45c2-9b44-9c47eb2cd22c" xlink:to="loc_us-gaap_GovernmentGuaranteedMortgageLoansUponForeclosureReceivableMember_d8e918ca-7c0b-4dd1-891a-0477b914c51d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_5aef4ee6-332b-4a4f-981c-b13be5532924" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d0b5de67-a3fc-4ae3-b2ee-847af2b239c6" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_5aef4ee6-332b-4a4f-981c-b13be5532924" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_b840d549-40e8-41f4-8e05-2c2272cd5759" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_5aef4ee6-332b-4a4f-981c-b13be5532924" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_b840d549-40e8-41f4-8e05-2c2272cd5759" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_9c02c4d1-fb8f-4ebf-b80d-34ab8e767231" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_5aef4ee6-332b-4a4f-981c-b13be5532924" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_9c02c4d1-fb8f-4ebf-b80d-34ab8e767231" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ForeclosedPropertiesFairValueDisclosure_34d73599-b122-4ec1-95d3-b9704381c135" xlink:href="bac-20251231.xsd#bac_ForeclosedPropertiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_5aef4ee6-332b-4a4f-981c-b13be5532924" xlink:to="loc_bac_ForeclosedPropertiesFairValueDisclosure_34d73599-b122-4ec1-95d3-b9704381c135" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GainsLossesOnLoansHeldForSaleAbstract_ac945f98-a52d-49e5-bc94-146e66f1d955" xlink:href="bac-20251231.xsd#bac_GainsLossesOnLoansHeldForSaleAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_5aef4ee6-332b-4a4f-981c-b13be5532924" xlink:to="loc_bac_GainsLossesOnLoansHeldForSaleAbstract_ac945f98-a52d-49e5-bc94-146e66f1d955" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GainsLossesOnLoansHeldForSale_3ee84fd0-8ab8-485b-beb8-fdd2a73ec078" xlink:href="bac-20251231.xsd#bac_GainsLossesOnLoansHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_GainsLossesOnLoansHeldForSaleAbstract_ac945f98-a52d-49e5-bc94-146e66f1d955" xlink:to="loc_bac_GainsLossesOnLoansHeldForSale_3ee84fd0-8ab8-485b-beb8-fdd2a73ec078" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GainLossOnLoansAndLeases_722f3e02-9e56-4f7d-ab18-396485bcd98d" xlink:href="bac-20251231.xsd#bac_GainLossOnLoansAndLeases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_GainsLossesOnLoansHeldForSaleAbstract_ac945f98-a52d-49e5-bc94-146e66f1d955" xlink:to="loc_bac_GainLossOnLoansAndLeases_722f3e02-9e56-4f7d-ab18-396485bcd98d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GainLossOnForeclosedProperties_957333b0-ab03-4415-9d75-7a94e8da6fcb" xlink:href="bac-20251231.xsd#bac_GainLossOnForeclosedProperties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_GainsLossesOnLoansHeldForSaleAbstract_ac945f98-a52d-49e5-bc94-146e66f1d955" xlink:to="loc_bac_GainLossOnForeclosedProperties_957333b0-ab03-4415-9d75-7a94e8da6fcb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LossOnLoansAndLeasesWrittenDownToZero_d87ae8c6-f621-4e48-aa64-36d8ead7480d" xlink:href="bac-20251231.xsd#bac_LossOnLoansAndLeasesWrittenDownToZero"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_d0b5de67-a3fc-4ae3-b2ee-847af2b239c6" xlink:to="loc_bac_LossOnLoansAndLeasesWrittenDownToZero_d87ae8c6-f621-4e48-aa64-36d8ead7480d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/FairValueMeasurementsNonrecurringFairValueInputsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#FairValueMeasurementsNonrecurringFairValueInputsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/FairValueMeasurementsNonrecurringFairValueInputsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_8cdf2ff9-1f6f-40c8-8625-064aaeca235c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_13293374-cebf-4aea-a502-995b175d8c46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_8cdf2ff9-1f6f-40c8-8625-064aaeca235c" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_13293374-cebf-4aea-a502-995b175d8c46" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_da992924-6439-415d-bfbf-7cb6fd6f5930" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_13293374-cebf-4aea-a502-995b175d8c46" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_da992924-6439-415d-bfbf-7cb6fd6f5930" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_da992924-6439-415d-bfbf-7cb6fd6f5930_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_da992924-6439-415d-bfbf-7cb6fd6f5930" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_da992924-6439-415d-bfbf-7cb6fd6f5930_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_1a79196d-3318-46da-acbf-2fcbecc581aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_da992924-6439-415d-bfbf-7cb6fd6f5930" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_1a79196d-3318-46da-acbf-2fcbecc581aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputImpliedYieldMember_1bd8032a-bed3-4dcb-adfe-a20e78ea724b" xlink:href="bac-20251231.xsd#bac_MeasurementInputImpliedYieldMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_1a79196d-3318-46da-acbf-2fcbecc581aa" xlink:to="loc_bac_MeasurementInputImpliedYieldMember_1bd8032a-bed3-4dcb-adfe-a20e78ea724b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MeasurementInputOtherRealEstateOwnedDiscountRateMember_66fdb820-0fd5-4737-971a-d321810531ff" xlink:href="bac-20251231.xsd#bac_MeasurementInputOtherRealEstateOwnedDiscountRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_1a79196d-3318-46da-acbf-2fcbecc581aa" xlink:to="loc_bac_MeasurementInputOtherRealEstateOwnedDiscountRateMember_66fdb820-0fd5-4737-971a-d321810531ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputCostToSellMember_62018e6e-1da5-4fbb-a99f-2ce451678f48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MeasurementInputCostToSellMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_1a79196d-3318-46da-acbf-2fcbecc581aa" xlink:to="loc_us-gaap_MeasurementInputCostToSellMember_62018e6e-1da5-4fbb-a99f-2ce451678f48" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_8e044801-62fb-4f09-865c-3f5e08582564" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_13293374-cebf-4aea-a502-995b175d8c46" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_8e044801-62fb-4f09-865c-3f5e08582564" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_8e044801-62fb-4f09-865c-3f5e08582564_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_8e044801-62fb-4f09-865c-3f5e08582564" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_8e044801-62fb-4f09-865c-3f5e08582564_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_4abf3f12-04ad-440f-bc59-baecb3a6a383" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_8e044801-62fb-4f09-865c-3f5e08582564" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_4abf3f12-04ad-440f-bc59-baecb3a6a383" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_be1e1e1f-56f8-406f-8724-34f08556b4fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsNonrecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_4abf3f12-04ad-440f-bc59-baecb3a6a383" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_be1e1e1f-56f8-406f-8724-34f08556b4fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b3dda06d-d345-4c04-ba85-dada5815aa0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_13293374-cebf-4aea-a502-995b175d8c46" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b3dda06d-d345-4c04-ba85-dada5815aa0d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b3dda06d-d345-4c04-ba85-dada5815aa0d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b3dda06d-d345-4c04-ba85-dada5815aa0d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b3dda06d-d345-4c04-ba85-dada5815aa0d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4d509ea9-1dc6-45df-9766-3f71ee41e514" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b3dda06d-d345-4c04-ba85-dada5815aa0d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4d509ea9-1dc6-45df-9766-3f71ee41e514" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_9b345ccc-9c5f-4518-94c2-a851d65e9661" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4d509ea9-1dc6-45df-9766-3f71ee41e514" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_9b345ccc-9c5f-4518-94c2-a851d65e9661" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueAxis_f178cae7-a9bf-4fec-827c-91df9c8b74ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_13293374-cebf-4aea-a502-995b175d8c46" xlink:to="loc_us-gaap_ValuationTechniqueAxis_f178cae7-a9bf-4fec-827c-91df9c8b74ea" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_f178cae7-a9bf-4fec-827c-91df9c8b74ea_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_f178cae7-a9bf-4fec-827c-91df9c8b74ea" xlink:to="loc_us-gaap_ValuationTechniqueDomain_f178cae7-a9bf-4fec-827c-91df9c8b74ea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_b0e8995f-f8e2-45f9-90b9-f2407d33f141" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_f178cae7-a9bf-4fec-827c-91df9c8b74ea" xlink:to="loc_us-gaap_ValuationTechniqueDomain_b0e8995f-f8e2-45f9-90b9-f2407d33f141" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ValuationTechniquePricingModelMember_f0493a6c-68d0-449a-8e49-821485096db5" xlink:href="bac-20251231.xsd#bac_ValuationTechniquePricingModelMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_b0e8995f-f8e2-45f9-90b9-f2407d33f141" xlink:to="loc_bac_ValuationTechniquePricingModelMember_f0493a6c-68d0-449a-8e49-821485096db5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketApproachValuationTechniqueMember_0cc17aed-38b1-48c2-a209-4567b9eb6f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketApproachValuationTechniqueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_b0e8995f-f8e2-45f9-90b9-f2407d33f141" xlink:to="loc_us-gaap_MarketApproachValuationTechniqueMember_0cc17aed-38b1-48c2-a209-4567b9eb6f2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_f3be2cc9-273b-401f-a879-0798bbd628d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueDiscountedCashFlowMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_b0e8995f-f8e2-45f9-90b9-f2407d33f141" xlink:to="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_f3be2cc9-273b-401f-a879-0798bbd628d6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_c8f6d555-0672-4400-85b4-db809a073345" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_13293374-cebf-4aea-a502-995b175d8c46" xlink:to="loc_srt_RangeAxis_c8f6d555-0672-4400-85b4-db809a073345" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c8f6d555-0672-4400-85b4-db809a073345_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_c8f6d555-0672-4400-85b4-db809a073345" xlink:to="loc_srt_RangeMember_c8f6d555-0672-4400-85b4-db809a073345_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_8709a5bb-1fcb-4f8d-9056-bd7b01911d51" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_c8f6d555-0672-4400-85b4-db809a073345" xlink:to="loc_srt_RangeMember_8709a5bb-1fcb-4f8d-9056-bd7b01911d51" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_5b742f34-3e7c-4011-9977-cb286a3fa9a9" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_8709a5bb-1fcb-4f8d-9056-bd7b01911d51" xlink:to="loc_srt_MinimumMember_5b742f34-3e7c-4011-9977-cb286a3fa9a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_fc8db07f-7b82-429d-8849-77e36b8a13b9" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_8709a5bb-1fcb-4f8d-9056-bd7b01911d51" xlink:to="loc_srt_MaximumMember_fc8db07f-7b82-429d-8849-77e36b8a13b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_a7fb2d19-842d-41a3-b212-02e4b9bac1fe" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_8709a5bb-1fcb-4f8d-9056-bd7b01911d51" xlink:to="loc_srt_WeightedAverageMember_a7fb2d19-842d-41a3-b212-02e4b9bac1fe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_8340114e-31ab-4d01-865a-b798520dd415" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_8cdf2ff9-1f6f-40c8-8625-064aaeca235c" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_8340114e-31ab-4d01-865a-b798520dd415" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleMeasurementInput_31d4a65b-ca80-40c3-b2f3-3d21b4a96b60" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansHeldForSaleMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_8cdf2ff9-1f6f-40c8-8625-064aaeca235c" xlink:to="loc_us-gaap_LoansHeldForSaleMeasurementInput_31d4a65b-ca80-40c3-b2f3-3d21b4a96b60" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_f4284915-8d87-4827-b287-5129b0f6f6eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_8cdf2ff9-1f6f-40c8-8625-064aaeca235c" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_f4284915-8d87-4827-b287-5129b0f6f6eb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LoansReceivableMeasurementInput_21bbde94-bbea-41f2-bed8-98df5c743aef" xlink:href="bac-20251231.xsd#bac_LoansReceivableMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_8cdf2ff9-1f6f-40c8-8625-064aaeca235c" xlink:to="loc_bac_LoansReceivableMeasurementInput_21bbde94-bbea-41f2-bed8-98df5c743aef" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/FairValueOptionElectionsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#FairValueOptionElectionsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/FairValueOptionElectionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_8cb26cdc-9996-423d-8a36-6fe58709fb65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable_c7601869-f34b-4411-bd49-79f9cd05da5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_8cb26cdc-9996-423d-8a36-6fe58709fb65" xlink:to="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable_c7601869-f34b-4411-bd49-79f9cd05da5c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_3d83f1b6-eb3d-4bc0-812a-4f8773ef3c53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable_c7601869-f34b-4411-bd49-79f9cd05da5c" xlink:to="loc_us-gaap_FinancialInstrumentAxis_3d83f1b6-eb3d-4bc0-812a-4f8773ef3c53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3d83f1b6-eb3d-4bc0-812a-4f8773ef3c53_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_3d83f1b6-eb3d-4bc0-812a-4f8773ef3c53" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3d83f1b6-eb3d-4bc0-812a-4f8773ef3c53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_3d83f1b6-eb3d-4bc0-812a-4f8773ef3c53" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember_f68989d9-d439-4fcd-b965-55fa65e40b28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember_f68989d9-d439-4fcd-b965-55fa65e40b28" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingAccountAssets1Member_da58d6da-43ec-443a-b944-fbbc0ecc9d0f" xlink:href="bac-20251231.xsd#bac_TradingAccountAssets1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_bac_TradingAccountAssets1Member_da58d6da-43ec-443a-b944-fbbc0ecc9d0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingInventoryOtherMember_1f508841-0486-465f-abfc-b92fa4f3acfc" xlink:href="bac-20251231.xsd#bac_TradingInventoryOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_bac_TradingInventoryOtherMember_1f508841-0486-465f-abfc-b92fa4f3acfc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableMember_3fe411af-deea-4095-96ae-215e172f7f74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_us-gaap_LoansReceivableMember_3fe411af-deea-4095-96ae-215e172f7f74" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LoansHeldForSaleMember_e1626d31-efda-47ac-8971-003928af8b6e" xlink:href="bac-20251231.xsd#bac_LoansHeldForSaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_bac_LoansHeldForSaleMember_e1626d31-efda-47ac-8971-003928af8b6e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMember_40c6709a-fabc-487f-bbed-d62cd593a24f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_us-gaap_OtherAssetsMember_40c6709a-fabc-487f-bbed-d62cd593a24f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LongTermDepositsMember_d89c8930-52b5-4f50-adda-06f11fd73a50" xlink:href="bac-20251231.xsd#bac_LongTermDepositsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_bac_LongTermDepositsMember_d89c8930-52b5-4f50-adda-06f11fd73a50" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsPurchasedAndSecuritiesSoldUnderAgreementsToRepurchaseMember_33a94440-ed7b-4670-b4f2-13f2af70bcad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsPurchasedAndSecuritiesSoldUnderAgreementsToRepurchaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_us-gaap_FederalFundsPurchasedAndSecuritiesSoldUnderAgreementsToRepurchaseMember_33a94440-ed7b-4670-b4f2-13f2af70bcad" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtMember_2ddcac3f-71d6-4c43-9777-3fbedda49542" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_us-gaap_ShortTermDebtMember_2ddcac3f-71d6-4c43-9777-3fbedda49542" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember_47c2bb2a-3b0d-44a9-a13c-a14e7cd3565d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnfundedLoanCommitmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_us-gaap_UnfundedLoanCommitmentMember_47c2bb2a-3b0d-44a9-a13c-a14e7cd3565d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AccruedExpensesandOtherLiabilitiesMember_94dfca82-2ebc-4bd2-9527-cd85970c0c43" xlink:href="bac-20251231.xsd#bac_AccruedExpensesandOtherLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_bac_AccruedExpensesandOtherLiabilitiesMember_94dfca82-2ebc-4bd2-9527-cd85970c0c43" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMember_3f83edb7-c152-4cd6-a8e1-6bd7d94e5734" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_029a2bd7-ba17-46e3-891a-9d7f862e0461" xlink:to="loc_us-gaap_LongTermDebtMember_3f83edb7-c152-4cd6-a8e1-6bd7d94e5734" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionFairValueCarryingAmountAbstract_edae6684-d714-4f01-a7dd-99480cada891" xlink:href="bac-20251231.xsd#bac_FairValueOptionFairValueCarryingAmountAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_8cb26cdc-9996-423d-8a36-6fe58709fb65" xlink:to="loc_bac_FairValueOptionFairValueCarryingAmountAbstract_edae6684-d714-4f01-a7dd-99480cada891" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionFairValueCarryingAmountAssets_aa65e6d3-8411-44b8-9583-ea00fd39255c" xlink:href="bac-20251231.xsd#bac_FairValueOptionFairValueCarryingAmountAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_FairValueOptionFairValueCarryingAmountAbstract_edae6684-d714-4f01-a7dd-99480cada891" xlink:to="loc_bac_FairValueOptionFairValueCarryingAmountAssets_aa65e6d3-8411-44b8-9583-ea00fd39255c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionFairValueCarryingAmountLiabilities_1f5d0747-0eba-49c5-adc2-68166cfb897b" xlink:href="bac-20251231.xsd#bac_FairValueOptionFairValueCarryingAmountLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_FairValueOptionFairValueCarryingAmountAbstract_edae6684-d714-4f01-a7dd-99480cada891" xlink:to="loc_bac_FairValueOptionFairValueCarryingAmountLiabilities_1f5d0747-0eba-49c5-adc2-68166cfb897b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionContractualPrincipalOutstandingAbstract_fbfe1dbd-5d63-4305-8d2a-2403baca3c64" xlink:href="bac-20251231.xsd#bac_FairValueOptionContractualPrincipalOutstandingAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_8cb26cdc-9996-423d-8a36-6fe58709fb65" xlink:to="loc_bac_FairValueOptionContractualPrincipalOutstandingAbstract_fbfe1dbd-5d63-4305-8d2a-2403baca3c64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionContractualPrincipalOutstandingAssets_f00be9d3-6664-4123-8322-fd2c4235558d" xlink:href="bac-20251231.xsd#bac_FairValueOptionContractualPrincipalOutstandingAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_FairValueOptionContractualPrincipalOutstandingAbstract_fbfe1dbd-5d63-4305-8d2a-2403baca3c64" xlink:to="loc_bac_FairValueOptionContractualPrincipalOutstandingAssets_f00be9d3-6664-4123-8322-fd2c4235558d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionContractualPrincipalOutstandingLiabilities_2eef4874-b49a-4059-87fb-469c3c22df0c" xlink:href="bac-20251231.xsd#bac_FairValueOptionContractualPrincipalOutstandingLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_FairValueOptionContractualPrincipalOutstandingAbstract_fbfe1dbd-5d63-4305-8d2a-2403baca3c64" xlink:to="loc_bac_FairValueOptionContractualPrincipalOutstandingLiabilities_2eef4874-b49a-4059-87fb-469c3c22df0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionAggregateDifferencesAbstract_1e0152ec-b5fe-4b86-a890-1a735731a8e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionAggregateDifferencesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_8cb26cdc-9996-423d-8a36-6fe58709fb65" xlink:to="loc_us-gaap_FairValueOptionAggregateDifferencesAbstract_1e0152ec-b5fe-4b86-a890-1a735731a8e2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionAggregateDifferencesAssets_e37ff067-639f-46a0-8154-218ea05e4edd" xlink:href="bac-20251231.xsd#bac_FairValueOptionAggregateDifferencesAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueOptionAggregateDifferencesAbstract_1e0152ec-b5fe-4b86-a890-1a735731a8e2" xlink:to="loc_bac_FairValueOptionAggregateDifferencesAssets_e37ff067-639f-46a0-8154-218ea05e4edd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FairValueOptionAggregateDifferencesLiabilities_2c677e78-65be-4283-b5b8-83495ae4c238" xlink:href="bac-20251231.xsd#bac_FairValueOptionAggregateDifferencesLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueOptionAggregateDifferencesAbstract_1e0152ec-b5fe-4b86-a890-1a735731a8e2" xlink:to="loc_bac_FairValueOptionAggregateDifferencesLiabilities_2c677e78-65be-4283-b5b8-83495ae4c238" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/FairValueOptionGainsLossesRelatedtoAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#FairValueOptionGainsLossesRelatedtoAssetsandLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/FairValueOptionGainsLossesRelatedtoAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_025cb6b7-6c3b-4351-880b-f2e50720d1b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable_c93c2b11-33d8-435b-a509-2f482be9dbc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_025cb6b7-6c3b-4351-880b-f2e50720d1b1" xlink:to="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable_c93c2b11-33d8-435b-a509-2f482be9dbc7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_3c6826f3-c625-4491-8155-09aff7d37241" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable_c93c2b11-33d8-435b-a509-2f482be9dbc7" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_3c6826f3-c625-4491-8155-09aff7d37241" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_3c6826f3-c625-4491-8155-09aff7d37241_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_3c6826f3-c625-4491-8155-09aff7d37241" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_3c6826f3-c625-4491-8155-09aff7d37241_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_8c0f1692-0c15-4b15-b8fb-c85118baca33" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_3c6826f3-c625-4491-8155-09aff7d37241" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_8c0f1692-0c15-4b15-b8fb-c85118baca33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_MarketMakingAndSimilarActivitiesMember_8f4c6531-9746-4152-97b9-839ee0b8a72f" xlink:href="bac-20251231.xsd#bac_MarketMakingAndSimilarActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_8c0f1692-0c15-4b15-b8fb-c85118baca33" xlink:to="loc_bac_MarketMakingAndSimilarActivitiesMember_8f4c6531-9746-4152-97b9-839ee0b8a72f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseMember_d4f385ee-5987-404f-b36f-cb7b4ef9bd1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherOperatingIncomeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_8c0f1692-0c15-4b15-b8fb-c85118baca33" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseMember_d4f385ee-5987-404f-b36f-cb7b4ef9bd1a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_54588895-4323-43d6-a6d0-88e0254ad5fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable_c93c2b11-33d8-435b-a509-2f482be9dbc7" xlink:to="loc_us-gaap_FinancialInstrumentAxis_54588895-4323-43d6-a6d0-88e0254ad5fe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54588895-4323-43d6-a6d0-88e0254ad5fe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_54588895-4323-43d6-a6d0-88e0254ad5fe" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54588895-4323-43d6-a6d0-88e0254ad5fe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_54588895-4323-43d6-a6d0-88e0254ad5fe" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember_59e5d713-49c4-4e3b-b0cf-689444cc04ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMember_59e5d713-49c4-4e3b-b0cf-689444cc04ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingAccountAssets1Member_4c7a74cc-7bb9-4498-b680-7b552504fc34" xlink:href="bac-20251231.xsd#bac_TradingAccountAssets1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_bac_TradingAccountAssets1Member_4c7a74cc-7bb9-4498-b680-7b552504fc34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_TradingInventoryOtherMember_68b86a14-e3a1-40d9-97cf-a456fede843f" xlink:href="bac-20251231.xsd#bac_TradingInventoryOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_bac_TradingInventoryOtherMember_68b86a14-e3a1-40d9-97cf-a456fede843f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableMember_81ff87e3-f8c6-43e9-9732-5acb983a1019" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_us-gaap_LoansReceivableMember_81ff87e3-f8c6-43e9-9732-5acb983a1019" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LoansHeldForSaleMember_8c821d77-d9d8-42a5-8a70-b10d6b373e33" xlink:href="bac-20251231.xsd#bac_LoansHeldForSaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_bac_LoansHeldForSaleMember_8c821d77-d9d8-42a5-8a70-b10d6b373e33" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtMember_9fd617c5-a776-47bd-ae03-af0b1753b9fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_us-gaap_ShortTermDebtMember_9fd617c5-a776-47bd-ae03-af0b1753b9fc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember_481e9a6d-989e-48ac-9d35-7820e380cac8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnfundedLoanCommitmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_us-gaap_UnfundedLoanCommitmentMember_481e9a6d-989e-48ac-9d35-7820e380cac8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_AccruedExpensesandOtherLiabilitiesMember_0c6af8ea-af77-4920-aee9-cd66928302af" xlink:href="bac-20251231.xsd#bac_AccruedExpensesandOtherLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_bac_AccruedExpensesandOtherLiabilitiesMember_0c6af8ea-af77-4920-aee9-cd66928302af" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMember_abe79303-a6bd-48a2-b02f-52c2fae81df1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_us-gaap_LongTermDebtMember_abe79303-a6bd-48a2-b02f-52c2fae81df1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionOtherEligibleItemsMember_6ca6cba0-bd2a-466a-9c37-84286b8e9477" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionOtherEligibleItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_abfe092e-49c7-45ae-acca-a2d1281c6594" xlink:to="loc_us-gaap_FairValueOptionOtherEligibleItemsMember_6ca6cba0-bd2a-466a-9c37-84286b8e9477" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_fab9ef3d-fe64-4ed8-ad0a-e0bffcab684e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_025cb6b7-6c3b-4351-880b-f2e50720d1b1" xlink:to="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_fab9ef3d-fe64-4ed8-ad0a-e0bffcab684e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionCreditRiskGainsLossesOnAssets_c62ddf85-4d52-4062-ae30-6f5f9e5a20a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionCreditRiskGainsLossesOnAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_025cb6b7-6c3b-4351-880b-f2e50720d1b1" xlink:to="loc_us-gaap_FairValueOptionCreditRiskGainsLossesOnAssets_c62ddf85-4d52-4062-ae30-6f5f9e5a20a3" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/FairValueofFinancialInstrumentsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#FairValueofFinancialInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/FairValueofFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_ebdb3685-371f-4447-a3ce-3ad363756f4d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_f4451519-fff5-4259-91d0-55d1fc0bd334" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_ebdb3685-371f-4447-a3ce-3ad363756f4d" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_f4451519-fff5-4259-91d0-55d1fc0bd334" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_abb420e0-ccc9-43cf-ab38-15c3580ee6f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_f4451519-fff5-4259-91d0-55d1fc0bd334" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_abb420e0-ccc9-43cf-ab38-15c3580ee6f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_abb420e0-ccc9-43cf-ab38-15c3580ee6f1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_abb420e0-ccc9-43cf-ab38-15c3580ee6f1" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_abb420e0-ccc9-43cf-ab38-15c3580ee6f1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_712f85a6-e223-4271-ad77-160790647e96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_abb420e0-ccc9-43cf-ab38-15c3580ee6f1" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_712f85a6-e223-4271-ad77-160790647e96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_d58de09c-5e41-4a40-8242-197f33742ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_712f85a6-e223-4271-ad77-160790647e96" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_d58de09c-5e41-4a40-8242-197f33742ca7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_e57a8e46-446c-4963-a276-dd87738d76e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_d58de09c-5e41-4a40-8242-197f33742ca7" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_e57a8e46-446c-4963-a276-dd87738d76e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_9fda92ad-6045-4d56-ab3d-6436f6b57d6c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_d58de09c-5e41-4a40-8242-197f33742ca7" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_9fda92ad-6045-4d56-ab3d-6436f6b57d6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_80ddff24-86a1-400c-8b74-082673f51a7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_f4451519-fff5-4259-91d0-55d1fc0bd334" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_80ddff24-86a1-400c-8b74-082673f51a7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80ddff24-86a1-400c-8b74-082673f51a7a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_80ddff24-86a1-400c-8b74-082673f51a7a" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80ddff24-86a1-400c-8b74-082673f51a7a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_59ff9dbe-9792-466d-befd-39adeca61c76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_80ddff24-86a1-400c-8b74-082673f51a7a" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_59ff9dbe-9792-466d-befd-39adeca61c76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_5eb89d9f-ced1-4b2a-bb0d-235c6e563042" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_59ff9dbe-9792-466d-befd-39adeca61c76" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_5eb89d9f-ced1-4b2a-bb0d-235c6e563042" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_4805f247-2511-409e-a893-8b6a25ecfc0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_59ff9dbe-9792-466d-befd-39adeca61c76" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_4805f247-2511-409e-a893-8b6a25ecfc0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_6f7d8379-d4c3-4d76-ae5d-1215577f7a5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_ebdb3685-371f-4447-a3ce-3ad363756f4d" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_6f7d8379-d4c3-4d76-ae5d-1215577f7a5b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LoansReceivableFairValueDisclosureNetOfAllowanceExcludingLeases_683aaa2d-a214-465b-b7b9-7f34380716eb" xlink:href="bac-20251231.xsd#bac_LoansReceivableFairValueDisclosureNetOfAllowanceExcludingLeases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_6f7d8379-d4c3-4d76-ae5d-1215577f7a5b" xlink:to="loc_bac_LoansReceivableFairValueDisclosureNetOfAllowanceExcludingLeases_683aaa2d-a214-465b-b7b9-7f34380716eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_72d891f0-8b0a-473c-8ae3-711f532d52b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_6f7d8379-d4c3-4d76-ae5d-1215577f7a5b" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_72d891f0-8b0a-473c-8ae3-711f532d52b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_7c7ef7d9-0144-4ee3-bab4-534d00503939" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_ebdb3685-371f-4447-a3ce-3ad363756f4d" xlink:to="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_7c7ef7d9-0144-4ee3-bab4-534d00503939" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsFairValueDisclosure_a59183fd-f311-4d11-b342-f50b440ffcfe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_7c7ef7d9-0144-4ee3-bab4-534d00503939" xlink:to="loc_us-gaap_DepositsFairValueDisclosure_a59183fd-f311-4d11-b342-f50b440ffcfe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_72180357-fdb8-4514-9ff1-c4345daca111" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_7c7ef7d9-0144-4ee3-bab4-534d00503939" xlink:to="loc_us-gaap_LongTermDebtFairValue_72180357-fdb8-4514-9ff1-c4345daca111" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_UnfundedLendingCommitmentsFairValueDisclosure_bc10a921-3fd4-4d6c-a92e-0366580e4ecb" xlink:href="bac-20251231.xsd#bac_UnfundedLendingCommitmentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosureAbstract_7c7ef7d9-0144-4ee3-bab4-534d00503939" xlink:to="loc_bac_UnfundedLendingCommitmentsFairValueDisclosure_bc10a921-3fd4-4d6c-a92e-0366580e4ecb" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/BusinessSegmentInformationResultsofBusinessSegmentsandAllOtherDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#BusinessSegmentInformationResultsofBusinessSegmentsandAllOtherDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/BusinessSegmentInformationResultsofBusinessSegmentsandAllOtherDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_15c4f7c8-b917-48b4-b995-ca6c30cc66dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_15c4f7c8-b917-48b4-b995-ca6c30cc66dc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_33a3b39b-76f6-46f7-998f-5cc0f04f0580" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_15c4f7c8-b917-48b4-b995-ca6c30cc66dc" xlink:to="loc_srt_ConsolidationItemsAxis_33a3b39b-76f6-46f7-998f-5cc0f04f0580" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_33a3b39b-76f6-46f7-998f-5cc0f04f0580_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_33a3b39b-76f6-46f7-998f-5cc0f04f0580" xlink:to="loc_srt_ConsolidationItemsDomain_33a3b39b-76f6-46f7-998f-5cc0f04f0580_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_67338710-73d7-4a41-8a2d-0d7188b433d7" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_33a3b39b-76f6-46f7-998f-5cc0f04f0580" xlink:to="loc_srt_ConsolidationItemsDomain_67338710-73d7-4a41-8a2d-0d7188b433d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_e17aad70-4d55-4ab6-a67f-a18a3d00afcb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_67338710-73d7-4a41-8a2d-0d7188b433d7" xlink:to="loc_us-gaap_OperatingSegmentsMember_e17aad70-4d55-4ab6-a67f-a18a3d00afcb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CorporateReconcilingItemsAndEliminationsMember_1965e457-8da0-4499-964e-d0ae80b93bcf" xlink:href="bac-20251231.xsd#bac_CorporateReconcilingItemsAndEliminationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_67338710-73d7-4a41-8a2d-0d7188b433d7" xlink:to="loc_bac_CorporateReconcilingItemsAndEliminationsMember_1965e457-8da0-4499-964e-d0ae80b93bcf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_f79d87dd-af13-4c0e-984c-a2a812243609" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_15c4f7c8-b917-48b4-b995-ca6c30cc66dc" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_f79d87dd-af13-4c0e-984c-a2a812243609" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_f79d87dd-af13-4c0e-984c-a2a812243609_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_f79d87dd-af13-4c0e-984c-a2a812243609" xlink:to="loc_us-gaap_SegmentDomain_f79d87dd-af13-4c0e-984c-a2a812243609_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_4e546a0c-51c9-472b-8bd2-c85d6adead46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_f79d87dd-af13-4c0e-984c-a2a812243609" xlink:to="loc_us-gaap_SegmentDomain_4e546a0c-51c9-472b-8bd2-c85d6adead46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ConsumerBankingSegmentMember_a85dbc4c-7053-49dd-88e6-97277b6b9de9" xlink:href="bac-20251231.xsd#bac_ConsumerBankingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_4e546a0c-51c9-472b-8bd2-c85d6adead46" xlink:to="loc_bac_ConsumerBankingSegmentMember_a85dbc4c-7053-49dd-88e6-97277b6b9de9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalWealthAndInvestmentManagementSegmentMember_c0384116-60ed-453c-8e75-9a5ae016f169" xlink:href="bac-20251231.xsd#bac_GlobalWealthAndInvestmentManagementSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_4e546a0c-51c9-472b-8bd2-c85d6adead46" xlink:to="loc_bac_GlobalWealthAndInvestmentManagementSegmentMember_c0384116-60ed-453c-8e75-9a5ae016f169" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalBankingSegmentMember_501b392a-c707-442f-88c8-2371b2d90c5a" xlink:href="bac-20251231.xsd#bac_GlobalBankingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_4e546a0c-51c9-472b-8bd2-c85d6adead46" xlink:to="loc_bac_GlobalBankingSegmentMember_501b392a-c707-442f-88c8-2371b2d90c5a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalMarketsSegmentMember_558581ee-523e-4178-98c7-3a29b40749b7" xlink:href="bac-20251231.xsd#bac_GlobalMarketsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_4e546a0c-51c9-472b-8bd2-c85d6adead46" xlink:to="loc_bac_GlobalMarketsSegmentMember_558581ee-523e-4178-98c7-3a29b40749b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestIncomeExpenseNetFullTaxEquivalentBasis_704f6788-e437-4035-9845-7c4bb0dc4d76" xlink:href="bac-20251231.xsd#bac_InterestIncomeExpenseNetFullTaxEquivalentBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_bac_InterestIncomeExpenseNetFullTaxEquivalentBasis_704f6788-e437-4035-9845-7c4bb0dc4d76" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_f8e2e5dc-fb8f-4191-9df4-164ebc76cd1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_us-gaap_NoninterestIncome_f8e2e5dc-fb8f-4191-9df4-164ebc76cd1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_RevenuesNetOfInterestExpenseFullTaxEquivalentBasis_c250defa-f67c-4c91-b6bc-b31424ed9365" xlink:href="bac-20251231.xsd#bac_RevenuesNetOfInterestExpenseFullTaxEquivalentBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_bac_RevenuesNetOfInterestExpenseFullTaxEquivalentBasis_c250defa-f67c-4c91-b6bc-b31424ed9365" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetLiabilityCreditLossProvisionReversal_a3d2b121-b1d9-4590-8bdc-456361a1055c" xlink:href="bac-20251231.xsd#bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetLiabilityCreditLossProvisionReversal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_bac_FinancingReceivableExcludingAccruedInterestAndOffBalanceSheetLiabilityCreditLossProvisionReversal_a3d2b121-b1d9-4590-8bdc-456361a1055c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpenseAbstract_ce47624d-f9e2-4a98-ac6a-592663cf1f13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_us-gaap_NoninterestExpenseAbstract_ce47624d-f9e2-4a98-ac6a-592663cf1f13" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_e726fff0-0c71-4438-8172-5b05ffa86291" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_ce47624d-f9e2-4a98-ac6a-592663cf1f13" xlink:to="loc_us-gaap_LaborAndRelatedExpense_e726fff0-0c71-4438-8172-5b05ffa86291" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_22f2d8c4-a84d-4813-b5c4-430de9d626b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_ce47624d-f9e2-4a98-ac6a-592663cf1f13" xlink:to="loc_us-gaap_OtherNoninterestExpense_22f2d8c4-a84d-4813-b5c4-430de9d626b2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_04e950e7-75ba-4a89-b72a-705007e4ffc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_ce47624d-f9e2-4a98-ac6a-592663cf1f13" xlink:to="loc_us-gaap_NoninterestExpense_04e950e7-75ba-4a89-b72a-705007e4ffc3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterestFullTaxEquivalentBasis_e9fef750-bbbc-4fa6-b97d-28b003ee9252" xlink:href="bac-20251231.xsd#bac_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterestFullTaxEquivalentBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_bac_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterestFullTaxEquivalentBasis_e9fef750-bbbc-4fa6-b97d-28b003ee9252" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeTaxExpenseBenefitFullTaxEquivalentBasis_59d72d0b-cfc9-42b4-9c4d-7c4706677efa" xlink:href="bac-20251231.xsd#bac_IncomeTaxExpenseBenefitFullTaxEquivalentBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_bac_IncomeTaxExpenseBenefitFullTaxEquivalentBasis_59d72d0b-cfc9-42b4-9c4d-7c4706677efa" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_38fc6aa2-5e4e-461f-8b78-7d702bda54c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_us-gaap_NetIncomeLoss_38fc6aa2-5e4e-461f-8b78-7d702bda54c9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_96e82b89-59ad-4831-bc83-15c91440e100" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_us-gaap_Assets_96e82b89-59ad-4831-bc83-15c91440e100" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestIncomeExpenseNetFullTaxEquivalentBasisAfterTax_85676f1c-226e-4260-895f-1c9ab7912da8" xlink:href="bac-20251231.xsd#bac_InterestIncomeExpenseNetFullTaxEquivalentBasisAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1eb45071-83a4-44bf-8748-2a2c3c015ada" xlink:to="loc_bac_InterestIncomeExpenseNetFullTaxEquivalentBasisAfterTax_85676f1c-226e-4260-895f-1c9ab7912da8" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/BusinessSegmentInformationNoninterestIncomebyBusinessSegmentandAllOtherDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#BusinessSegmentInformationNoninterestIncomebyBusinessSegmentandAllOtherDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/BusinessSegmentInformationNoninterestIncomebyBusinessSegmentandAllOtherDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_75eaa5bf-cbbd-4f29-960b-0bcaee826c86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_75eaa5bf-cbbd-4f29-960b-0bcaee826c86" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_263755d3-bc1c-4fa6-9d30-54415d1e3b8e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_75eaa5bf-cbbd-4f29-960b-0bcaee826c86" xlink:to="loc_srt_ConsolidationItemsAxis_263755d3-bc1c-4fa6-9d30-54415d1e3b8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_263755d3-bc1c-4fa6-9d30-54415d1e3b8e_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_263755d3-bc1c-4fa6-9d30-54415d1e3b8e" xlink:to="loc_srt_ConsolidationItemsDomain_263755d3-bc1c-4fa6-9d30-54415d1e3b8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_363c5ad5-0a78-4650-978a-c58acba8747e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_263755d3-bc1c-4fa6-9d30-54415d1e3b8e" xlink:to="loc_srt_ConsolidationItemsDomain_363c5ad5-0a78-4650-978a-c58acba8747e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_9a7310f3-e0ef-4a9c-a839-95c21b4fcbe2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_363c5ad5-0a78-4650-978a-c58acba8747e" xlink:to="loc_us-gaap_OperatingSegmentsMember_9a7310f3-e0ef-4a9c-a839-95c21b4fcbe2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CorporateReconcilingItemsAndEliminationsMember_6799d3c0-3a22-49af-a0d6-73c545ccab32" xlink:href="bac-20251231.xsd#bac_CorporateReconcilingItemsAndEliminationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_363c5ad5-0a78-4650-978a-c58acba8747e" xlink:to="loc_bac_CorporateReconcilingItemsAndEliminationsMember_6799d3c0-3a22-49af-a0d6-73c545ccab32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_80eacc02-50d8-480a-ad97-eb2662029e8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_75eaa5bf-cbbd-4f29-960b-0bcaee826c86" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_80eacc02-50d8-480a-ad97-eb2662029e8e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_80eacc02-50d8-480a-ad97-eb2662029e8e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_80eacc02-50d8-480a-ad97-eb2662029e8e" xlink:to="loc_us-gaap_SegmentDomain_80eacc02-50d8-480a-ad97-eb2662029e8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_89d4fa47-7d11-4491-b9e2-69e3e34036bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_80eacc02-50d8-480a-ad97-eb2662029e8e" xlink:to="loc_us-gaap_SegmentDomain_89d4fa47-7d11-4491-b9e2-69e3e34036bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ConsumerBankingSegmentMember_75b6a3de-a205-4840-baeb-2b6f38963c3f" xlink:href="bac-20251231.xsd#bac_ConsumerBankingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_89d4fa47-7d11-4491-b9e2-69e3e34036bf" xlink:to="loc_bac_ConsumerBankingSegmentMember_75b6a3de-a205-4840-baeb-2b6f38963c3f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalWealthAndInvestmentManagementSegmentMember_5a7eb7ba-aab3-4132-bef9-506e34060822" xlink:href="bac-20251231.xsd#bac_GlobalWealthAndInvestmentManagementSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_89d4fa47-7d11-4491-b9e2-69e3e34036bf" xlink:to="loc_bac_GlobalWealthAndInvestmentManagementSegmentMember_5a7eb7ba-aab3-4132-bef9-506e34060822" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalBankingSegmentMember_fa722498-4035-4dd3-9bed-f011e62120af" xlink:href="bac-20251231.xsd#bac_GlobalBankingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_89d4fa47-7d11-4491-b9e2-69e3e34036bf" xlink:to="loc_bac_GlobalBankingSegmentMember_fa722498-4035-4dd3-9bed-f011e62120af" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_GlobalMarketsSegmentMember_5d90ac87-d871-415f-83cf-7656f604d89f" xlink:href="bac-20251231.xsd#bac_GlobalMarketsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_89d4fa47-7d11-4491-b9e2-69e3e34036bf" xlink:to="loc_bac_GlobalMarketsSegmentMember_5d90ac87-d871-415f-83cf-7656f604d89f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_e87aa8ef-f081-4208-9813-cc5cd05da6bb" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_75eaa5bf-cbbd-4f29-960b-0bcaee826c86" xlink:to="loc_srt_ProductOrServiceAxis_e87aa8ef-f081-4208-9813-cc5cd05da6bb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_e87aa8ef-f081-4208-9813-cc5cd05da6bb_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_e87aa8ef-f081-4208-9813-cc5cd05da6bb" xlink:to="loc_srt_ProductsAndServicesDomain_e87aa8ef-f081-4208-9813-cc5cd05da6bb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_33a4fb4b-4aaf-41b6-a68d-6858a1b68392" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_e87aa8ef-f081-4208-9813-cc5cd05da6bb" xlink:to="loc_srt_ProductsAndServicesDomain_33a4fb4b-4aaf-41b6-a68d-6858a1b68392" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditCardMember_2e1df47a-bf8e-44f7-a2d8-da8e31d16e4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditCardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_33a4fb4b-4aaf-41b6-a68d-6858a1b68392" xlink:to="loc_us-gaap_CreditCardMember_2e1df47a-bf8e-44f7-a2d8-da8e31d16e4a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CardIncomeInterchangeFeesMember_40a8d779-2d3e-4f43-9ca3-7967e99799ef" xlink:href="bac-20251231.xsd#bac_CardIncomeInterchangeFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditCardMember_2e1df47a-bf8e-44f7-a2d8-da8e31d16e4a" xlink:to="loc_bac_CardIncomeInterchangeFeesMember_40a8d779-2d3e-4f43-9ca3-7967e99799ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CardIncomeOtherMember_73c630dd-4c3b-417b-9c08-c8ad295789af" xlink:href="bac-20251231.xsd#bac_CardIncomeOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditCardMember_2e1df47a-bf8e-44f7-a2d8-da8e31d16e4a" xlink:to="loc_bac_CardIncomeOtherMember_73c630dd-4c3b-417b-9c08-c8ad295789af" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ServiceChargesMember_6a73908f-6359-43df-9259-c20d3114a75f" xlink:href="bac-20251231.xsd#bac_ServiceChargesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_33a4fb4b-4aaf-41b6-a68d-6858a1b68392" xlink:to="loc_bac_ServiceChargesMember_6a73908f-6359-43df-9259-c20d3114a75f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ServiceChargesDepositRelatedFeesMember_9772df7f-3705-4c0b-9d52-d38ee281e2f4" xlink:href="bac-20251231.xsd#bac_ServiceChargesDepositRelatedFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_ServiceChargesMember_6a73908f-6359-43df-9259-c20d3114a75f" xlink:to="loc_bac_ServiceChargesDepositRelatedFeesMember_9772df7f-3705-4c0b-9d52-d38ee281e2f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ServiceChargesLendingRelatedFeesMember_5ea39a53-6d4f-452e-b205-f4af7e143cf1" xlink:href="bac-20251231.xsd#bac_ServiceChargesLendingRelatedFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_ServiceChargesMember_6a73908f-6359-43df-9259-c20d3114a75f" xlink:to="loc_bac_ServiceChargesLendingRelatedFeesMember_5ea39a53-6d4f-452e-b205-f4af7e143cf1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentandBrokerageServicesMember_b1e56ec1-edf9-4c0c-a8db-80effb82b8ab" xlink:href="bac-20251231.xsd#bac_InvestmentandBrokerageServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_33a4fb4b-4aaf-41b6-a68d-6858a1b68392" xlink:to="loc_bac_InvestmentandBrokerageServicesMember_b1e56ec1-edf9-4c0c-a8db-80effb82b8ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentAndBrokerageServicesAssetManagementFeesMember_27a7cd0d-8674-4627-9536-95dfbd2d7251" xlink:href="bac-20251231.xsd#bac_InvestmentAndBrokerageServicesAssetManagementFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentandBrokerageServicesMember_b1e56ec1-edf9-4c0c-a8db-80effb82b8ab" xlink:to="loc_bac_InvestmentAndBrokerageServicesAssetManagementFeesMember_27a7cd0d-8674-4627-9536-95dfbd2d7251" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentAndBrokerageServicesBrokerageFeesMember_d2d6d4ae-5ceb-4ba9-a936-df38c555643a" xlink:href="bac-20251231.xsd#bac_InvestmentAndBrokerageServicesBrokerageFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentandBrokerageServicesMember_b1e56ec1-edf9-4c0c-a8db-80effb82b8ab" xlink:to="loc_bac_InvestmentAndBrokerageServicesBrokerageFeesMember_d2d6d4ae-5ceb-4ba9-a936-df38c555643a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentBankingFeesMember_3f18826c-1b98-4cb4-9f0b-1e112f706d79" xlink:href="bac-20251231.xsd#bac_InvestmentBankingFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_33a4fb4b-4aaf-41b6-a68d-6858a1b68392" xlink:to="loc_bac_InvestmentBankingFeesMember_3f18826c-1b98-4cb4-9f0b-1e112f706d79" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentBankingIncomeUnderwritingIncomeMember_c4759ece-daf5-49bb-9022-720c0e255a87" xlink:href="bac-20251231.xsd#bac_InvestmentBankingIncomeUnderwritingIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentBankingFeesMember_3f18826c-1b98-4cb4-9f0b-1e112f706d79" xlink:to="loc_bac_InvestmentBankingIncomeUnderwritingIncomeMember_c4759ece-daf5-49bb-9022-720c0e255a87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentBankingIncomeSyndicationFeesMember_e3f2191b-d3bc-465a-803a-da0ec70e3325" xlink:href="bac-20251231.xsd#bac_InvestmentBankingIncomeSyndicationFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentBankingFeesMember_3f18826c-1b98-4cb4-9f0b-1e112f706d79" xlink:to="loc_bac_InvestmentBankingIncomeSyndicationFeesMember_e3f2191b-d3bc-465a-803a-da0ec70e3325" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentBankingIncomeFinancialAdvisoryServicesMember_0851f3e7-639c-4b3a-8d4d-990afcac71f5" xlink:href="bac-20251231.xsd#bac_InvestmentBankingIncomeFinancialAdvisoryServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_bac_InvestmentBankingFeesMember_3f18826c-1b98-4cb4-9f0b-1e112f706d79" xlink:to="loc_bac_InvestmentBankingIncomeFinancialAdvisoryServicesMember_0851f3e7-639c-4b3a-8d4d-990afcac71f5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeesAndCommissionsMortgageBankingAndServicing_fdf65e3a-d42c-4ee7-a4a7-22703570c2c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FeesAndCommissionsMortgageBankingAndServicing"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:to="loc_us-gaap_FeesAndCommissionsMortgageBankingAndServicing_fdf65e3a-d42c-4ee7-a4a7-22703570c2c7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BrokerageCommissionsRevenue_2fd56604-8e29-4b28-b16d-a98dc2914f40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BrokerageCommissionsRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:to="loc_us-gaap_BrokerageCommissionsRevenue_2fd56604-8e29-4b28-b16d-a98dc2914f40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBankingRevenue_564692f0-bd17-44b5-9e68-43f5289fe9a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentBankingRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:to="loc_us-gaap_InvestmentBankingRevenue_564692f0-bd17-44b5-9e68-43f5289fe9a0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_FeesAndCommissions1_9468e1d5-196e-49c7-a2bd-8cff7fa5fff4" xlink:href="bac-20251231.xsd#bac_FeesAndCommissions1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:to="loc_bac_FeesAndCommissions1_9468e1d5-196e-49c7-a2bd-8cff7fa5fff4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingGainsLosses_7cde8b44-ac94-4386-b4f3-565907bdd126" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:to="loc_us-gaap_TradingGainsLosses_7cde8b44-ac94-4386-b4f3-565907bdd126" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_d7d4cb95-4178-4862-b62b-2c1c98b917be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_d7d4cb95-4178-4862-b62b-2c1c98b917be" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_00a7bc67-114b-414c-988e-57d29edfa335" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_f12df39d-3cc9-4f69-9703-0ce07de447b3" xlink:to="loc_us-gaap_NoninterestIncome_00a7bc67-114b-414c-988e-57d29edfa335" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ParentCompanyInformationIncomeStatementDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#ParentCompanyInformationIncomeStatementDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ParentCompanyInformationIncomeStatementDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedIncomeStatementsCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedIncomeStatementTable_fe7d71ce-432f-484a-a011-7c6de409d481" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedIncomeStatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_srt_CondensedIncomeStatementTable_fe7d71ce-432f-484a-a011-7c6de409d481" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesByIndustryAxis_8221be31-52e9-4dae-954a-5bed93af5330" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesByIndustryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedIncomeStatementTable_fe7d71ce-432f-484a-a011-7c6de409d481" xlink:to="loc_us-gaap_EquitySecuritiesByIndustryAxis_8221be31-52e9-4dae-954a-5bed93af5330" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_8221be31-52e9-4dae-954a-5bed93af5330_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_8221be31-52e9-4dae-954a-5bed93af5330" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_8221be31-52e9-4dae-954a-5bed93af5330_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_f3856892-07f9-4a0f-8d23-2b23e4b9356e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_8221be31-52e9-4dae-954a-5bed93af5330" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_f3856892-07f9-4a0f-8d23-2b23e4b9356e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankHoldingCompaniesandRelatedSubsidiariesMember_6b59612e-68fe-4e0c-9962-6da064e6f348" xlink:href="bac-20251231.xsd#bac_BankHoldingCompaniesandRelatedSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_f3856892-07f9-4a0f-8d23-2b23e4b9356e" xlink:to="loc_bac_BankHoldingCompaniesandRelatedSubsidiariesMember_6b59612e-68fe-4e0c-9962-6da064e6f348" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonbankCompaniesandRelatedSubsidiariesMember_f561f33b-9a43-446a-ba63-f80d1dba3c91" xlink:href="bac-20251231.xsd#bac_NonbankCompaniesandRelatedSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_f3856892-07f9-4a0f-8d23-2b23e4b9356e" xlink:to="loc_bac_NonbankCompaniesandRelatedSubsidiariesMember_f561f33b-9a43-446a-ba63-f80d1dba3c91" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_8ba324e5-1f5c-4ea7-9c3a-aadaf3064f7e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedIncomeStatementTable_fe7d71ce-432f-484a-a011-7c6de409d481" xlink:to="loc_srt_ConsolidatedEntitiesAxis_8ba324e5-1f5c-4ea7-9c3a-aadaf3064f7e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_8ba324e5-1f5c-4ea7-9c3a-aadaf3064f7e_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8ba324e5-1f5c-4ea7-9c3a-aadaf3064f7e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_8ba324e5-1f5c-4ea7-9c3a-aadaf3064f7e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_b0df4ea2-a0d7-4eb1-aa0f-1cac90b7dd52" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8ba324e5-1f5c-4ea7-9c3a-aadaf3064f7e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_b0df4ea2-a0d7-4eb1-aa0f-1cac90b7dd52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_f717a9fe-b27b-41f1-860a-ce63e804e339" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_b0df4ea2-a0d7-4eb1-aa0f-1cac90b7dd52" xlink:to="loc_srt_ParentCompanyMember_f717a9fe-b27b-41f1-860a-ce63e804e339" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_CashDividendsFromSubsidiaries_89fda14b-9ee3-41c3-896a-2192cb6689bf" xlink:href="bac-20251231.xsd#bac_CashDividendsFromSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_bac_CashDividendsFromSubsidiaries_89fda14b-9ee3-41c3-896a-2192cb6689bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InterestIncomeFromSubsidiaries_d391c621-d964-471e-9fef-90ce7c9fb1de" xlink:href="bac-20251231.xsd#bac_InterestIncomeFromSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_bac_InterestIncomeFromSubsidiaries_d391c621-d964-471e-9fef-90ce7c9fb1de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_d89a0515-140d-4f06-a7e5-6950bd012ce5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_d89a0515-140d-4f06-a7e5-6950bd012ce5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_870b7724-6161-4549-8fa3-c0f1e44ab29b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_Revenues_870b7724-6161-4549-8fa3-c0f1e44ab29b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_02b549e2-ae5a-40c6-9ca9-9a93a0952276" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_InterestExpenseBorrowings_02b549e2-ae5a-40c6-9ca9-9a93a0952276" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOther_90529b89-c34b-4af5-baa9-dc9435ea3999" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_InterestExpenseOther_90529b89-c34b-4af5-baa9-dc9435ea3999" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_6c125a5b-1523-444c-be4a-7c875c4a54f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_NoninterestExpense_6c125a5b-1523-444c-be4a-7c875c4a54f7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_88ce4aff-cce1-4a56-a9e2-feb56cf985a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_OperatingExpenses_88ce4aff-cce1-4a56-a9e2-feb56cf985a8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeLossfromContinuingOperationsbeforeIncomeLossFromSubsidiariesNetofTax_3763be54-1fdd-426a-9852-9367f693757f" xlink:href="bac-20251231.xsd#bac_IncomeLossfromContinuingOperationsbeforeIncomeLossFromSubsidiariesNetofTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_bac_IncomeLossfromContinuingOperationsbeforeIncomeLossFromSubsidiariesNetofTax_3763be54-1fdd-426a-9852-9367f693757f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_c8a9d60e-6570-4442-94c2-baa50ae1fae1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_c8a9d60e-6570-4442-94c2-baa50ae1fae1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_IncomeLossFromContinuingOperationsAfterIncomeLossFromSubsidiariesNetOfTax_96cead34-ab38-4d01-97b9-365f66d5261c" xlink:href="bac-20251231.xsd#bac_IncomeLossFromContinuingOperationsAfterIncomeLossFromSubsidiariesNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_bac_IncomeLossFromContinuingOperationsAfterIncomeLossFromSubsidiariesNetOfTax_96cead34-ab38-4d01-97b9-365f66d5261c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_6d09b06e-5b2b-4c24-90e5-1d445912735e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_6d09b06e-5b2b-4c24-90e5-1d445912735e" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_92eb6ece-6426-4b19-8f30-614da6e6fe1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_1dcfe63e-ad5f-4bf6-89bf-15f33a172ef0" xlink:to="loc_us-gaap_NetIncomeLoss_92eb6ece-6426-4b19-8f30-614da6e6fe1e" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ParentCompanyInformationBalanceSheetDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#ParentCompanyInformationBalanceSheetDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ParentCompanyInformationBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_723ea91c-e048-48b2-aadb-cb5288300684" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedBalanceSheetStatementsCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedBalanceSheetStatementTable_11d2c859-ff03-4f1c-8f7a-e7e57bec1004" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedBalanceSheetStatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_723ea91c-e048-48b2-aadb-cb5288300684" xlink:to="loc_srt_CondensedBalanceSheetStatementTable_11d2c859-ff03-4f1c-8f7a-e7e57bec1004" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_59d550e2-2e47-4310-b583-9fee6d02b943" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_11d2c859-ff03-4f1c-8f7a-e7e57bec1004" xlink:to="loc_srt_ConsolidatedEntitiesAxis_59d550e2-2e47-4310-b583-9fee6d02b943" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_59d550e2-2e47-4310-b583-9fee6d02b943_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_59d550e2-2e47-4310-b583-9fee6d02b943" xlink:to="loc_srt_ConsolidatedEntitiesDomain_59d550e2-2e47-4310-b583-9fee6d02b943_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_8191785b-b127-4a14-9d10-f1d245f423d6" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_59d550e2-2e47-4310-b583-9fee6d02b943" xlink:to="loc_srt_ConsolidatedEntitiesDomain_8191785b-b127-4a14-9d10-f1d245f423d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_3a5087a9-82c9-4834-b90c-90222d8dac8d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_8191785b-b127-4a14-9d10-f1d245f423d6" xlink:to="loc_srt_ParentCompanyMember_3a5087a9-82c9-4834-b90c-90222d8dac8d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesByIndustryAxis_0285f967-ea98-49db-8bba-0496af8aa920" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesByIndustryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_11d2c859-ff03-4f1c-8f7a-e7e57bec1004" xlink:to="loc_us-gaap_EquitySecuritiesByIndustryAxis_0285f967-ea98-49db-8bba-0496af8aa920" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_0285f967-ea98-49db-8bba-0496af8aa920_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_0285f967-ea98-49db-8bba-0496af8aa920" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_0285f967-ea98-49db-8bba-0496af8aa920_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_d6c48d84-8098-4f30-b90a-f7e45101d253" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_0285f967-ea98-49db-8bba-0496af8aa920" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_d6c48d84-8098-4f30-b90a-f7e45101d253" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BankHoldingCompaniesandRelatedSubsidiariesMember_e6674841-8286-4367-bcec-0e3e7bdc40c6" xlink:href="bac-20251231.xsd#bac_BankHoldingCompaniesandRelatedSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6c48d84-8098-4f30-b90a-f7e45101d253" xlink:to="loc_bac_BankHoldingCompaniesandRelatedSubsidiariesMember_e6674841-8286-4367-bcec-0e3e7bdc40c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_BanksandRelatedSubsidiariesMember_a866c744-afa7-4332-93f7-c25ad2ab486e" xlink:href="bac-20251231.xsd#bac_BanksandRelatedSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6c48d84-8098-4f30-b90a-f7e45101d253" xlink:to="loc_bac_BanksandRelatedSubsidiariesMember_a866c744-afa7-4332-93f7-c25ad2ab486e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_NonbankCompaniesandRelatedSubsidiariesMember_75481f0b-95e9-467b-9298-ad369976ca55" xlink:href="bac-20251231.xsd#bac_NonbankCompaniesandRelatedSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_d6c48d84-8098-4f30-b90a-f7e45101d253" xlink:to="loc_bac_NonbankCompaniesandRelatedSubsidiariesMember_75481f0b-95e9-467b-9298-ad369976ca55" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_8665275a-8380-4c5a-8c21-a932fe231fd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_723ea91c-e048-48b2-aadb-cb5288300684" xlink:to="loc_us-gaap_AssetsAbstract_8665275a-8380-4c5a-8c21-a932fe231fd8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f3a6e51e-5cf1-4712-aba9-f9c3d217432b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8665275a-8380-4c5a-8c21-a932fe231fd8" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f3a6e51e-5cf1-4712-aba9-f9c3d217432b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_03519de5-d6de-4da5-83cb-ae19f123b83f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8665275a-8380-4c5a-8c21-a932fe231fd8" xlink:to="loc_us-gaap_MarketableSecurities_03519de5-d6de-4da5-83cb-ae19f123b83f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ReceivablesFromSubsidiaries_8f25f00d-d941-4978-920a-2d3c6df59c1f" xlink:href="bac-20251231.xsd#bac_ReceivablesFromSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8665275a-8380-4c5a-8c21-a932fe231fd8" xlink:to="loc_bac_ReceivablesFromSubsidiaries_8f25f00d-d941-4978-920a-2d3c6df59c1f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_InvestmentsInSubsidiaries_7d63f464-fc56-4458-a615-0de801dcc876" xlink:href="bac-20251231.xsd#bac_InvestmentsInSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8665275a-8380-4c5a-8c21-a932fe231fd8" xlink:to="loc_bac_InvestmentsInSubsidiaries_7d63f464-fc56-4458-a615-0de801dcc876" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_6e9ef9d1-ed7a-44ff-88fa-bffdfc36b19b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8665275a-8380-4c5a-8c21-a932fe231fd8" xlink:to="loc_us-gaap_OtherAssets_6e9ef9d1-ed7a-44ff-88fa-bffdfc36b19b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_648863d4-d279-468d-930a-b6bb1aecc4af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8665275a-8380-4c5a-8c21-a932fe231fd8" xlink:to="loc_us-gaap_Assets_648863d4-d279-468d-930a-b6bb1aecc4af" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_4c3aafe0-ac07-4efb-b354-9e9a67c38c29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_723ea91c-e048-48b2-aadb-cb5288300684" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_4c3aafe0-ac07-4efb-b354-9e9a67c38c29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_bc4d8298-608c-4011-a364-bc9db9b5e9f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_4c3aafe0-ac07-4efb-b354-9e9a67c38c29" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_bc4d8298-608c-4011-a364-bc9db9b5e9f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PayablesToSubsidiaries_3c5577bf-dbea-47f4-90ae-da0e80804513" xlink:href="bac-20251231.xsd#bac_PayablesToSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_4c3aafe0-ac07-4efb-b354-9e9a67c38c29" xlink:to="loc_bac_PayablesToSubsidiaries_3c5577bf-dbea-47f4-90ae-da0e80804513" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_LongTermDebtExcludingReportingChanges_e90294ea-ee75-4b8a-bd9b-333464093bf0" xlink:href="bac-20251231.xsd#bac_LongTermDebtExcludingReportingChanges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_4c3aafe0-ac07-4efb-b354-9e9a67c38c29" xlink:to="loc_bac_LongTermDebtExcludingReportingChanges_e90294ea-ee75-4b8a-bd9b-333464093bf0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_ea15c9bc-641b-4b30-a5e0-49751645a893" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_4c3aafe0-ac07-4efb-b354-9e9a67c38c29" xlink:to="loc_us-gaap_Liabilities_ea15c9bc-641b-4b30-a5e0-49751645a893" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b9219fd3-ddcb-4e45-af94-bdbe3d80e089" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_4c3aafe0-ac07-4efb-b354-9e9a67c38c29" xlink:to="loc_us-gaap_StockholdersEquity_b9219fd3-ddcb-4e45-af94-bdbe3d80e089" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_bf6fe8cf-818a-49a5-b448-b8eda2382fe6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_4c3aafe0-ac07-4efb-b354-9e9a67c38c29" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_bf6fe8cf-818a-49a5-b448-b8eda2382fe6" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/ParentCompanyInformationStatementofCashFlowsDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#ParentCompanyInformationStatementofCashFlowsDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/ParentCompanyInformationStatementofCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_87baff8f-44e2-4eb6-b53c-ae0714a44d2a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedCashFlowStatementsCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CondensedCashFlowStatementTable_f5922072-b3e5-47d5-9dd1-420f75ed332e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedCashFlowStatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_87baff8f-44e2-4eb6-b53c-ae0714a44d2a" xlink:to="loc_srt_CondensedCashFlowStatementTable_f5922072-b3e5-47d5-9dd1-420f75ed332e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_a14b4a8e-2677-459a-8783-e3ed11326856" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedCashFlowStatementTable_f5922072-b3e5-47d5-9dd1-420f75ed332e" xlink:to="loc_srt_ConsolidatedEntitiesAxis_a14b4a8e-2677-459a-8783-e3ed11326856" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_a14b4a8e-2677-459a-8783-e3ed11326856_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_a14b4a8e-2677-459a-8783-e3ed11326856" xlink:to="loc_srt_ConsolidatedEntitiesDomain_a14b4a8e-2677-459a-8783-e3ed11326856_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_ef8aff08-ade6-4e21-bc4a-6c512cbc2bfa" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_a14b4a8e-2677-459a-8783-e3ed11326856" xlink:to="loc_srt_ConsolidatedEntitiesDomain_ef8aff08-ade6-4e21-bc4a-6c512cbc2bfa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_0d15690b-e78f-4e08-88b4-033efa8091e3" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_ef8aff08-ade6-4e21-bc4a-6c512cbc2bfa" xlink:to="loc_srt_ParentCompanyMember_0d15690b-e78f-4e08-88b4-033efa8091e3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_ef27ed7e-ee63-40ed-b7ef-fc01a9136179" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_87baff8f-44e2-4eb6-b53c-ae0714a44d2a" xlink:to="loc_us-gaap_NetIncomeLoss_ef27ed7e-ee63-40ed-b7ef-fc01a9136179" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_324d7f58-d2aa-4f9a-a387-f7f227c09208" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_87baff8f-44e2-4eb6-b53c-ae0714a44d2a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_324d7f58-d2aa-4f9a-a387-f7f227c09208" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_143a1072-2fde-46bd-a0d7-caf7f8844b56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_324d7f58-d2aa-4f9a-a387-f7f227c09208" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_143a1072-2fde-46bd-a0d7-caf7f8844b56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_1a4d9f44-ea92-4ced-9c5b-3febdac8252d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_324d7f58-d2aa-4f9a-a387-f7f227c09208" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_1a4d9f44-ea92-4ced-9c5b-3febdac8252d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb8e4054-a2a7-4a8e-bfc1-d26b36860fbe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_324d7f58-d2aa-4f9a-a387-f7f227c09208" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb8e4054-a2a7-4a8e-bfc1-d26b36860fbe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7eb050ac-5cf6-4b04-9b15-8dfcd1ceebfe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_87baff8f-44e2-4eb6-b53c-ae0714a44d2a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7eb050ac-5cf6-4b04-9b15-8dfcd1ceebfe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromInvestments_419beb10-cbcd-4891-8dfe-05a21dc5308e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7eb050ac-5cf6-4b04-9b15-8dfcd1ceebfe" xlink:to="loc_us-gaap_PaymentsForProceedsFromInvestments_419beb10-cbcd-4891-8dfe-05a21dc5308e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_PaymentsForProceedsFromSubsidiaries_b9fae2d0-7328-43e8-81f9-36744edfdb96" xlink:href="bac-20251231.xsd#bac_PaymentsForProceedsFromSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7eb050ac-5cf6-4b04-9b15-8dfcd1ceebfe" xlink:to="loc_bac_PaymentsForProceedsFromSubsidiaries_b9fae2d0-7328-43e8-81f9-36744edfdb96" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_767ccbbe-257a-4954-909c-ba61d86a822c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7eb050ac-5cf6-4b04-9b15-8dfcd1ceebfe" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_767ccbbe-257a-4954-909c-ba61d86a822c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6156d8df-35fb-481a-a741-ff65f15e9695" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_7eb050ac-5cf6-4b04-9b15-8dfcd1ceebfe" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6156d8df-35fb-481a-a741-ff65f15e9695" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_87baff8f-44e2-4eb6-b53c-ae0714a44d2a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_019c39f8-4540-76eb-95a4-b22a8692e701" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_019c39f8-4540-76eb-95a4-b22a8692e701" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_bac_ProceedsFromRepaymentsOfOtherAdvances_192d4e37-6768-4be2-9d38-9ed8966f6c03" xlink:href="bac-20251231.xsd#bac_ProceedsFromRepaymentsOfOtherAdvances"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_bac_ProceedsFromRepaymentsOfOtherAdvances_192d4e37-6768-4be2-9d38-9ed8966f6c03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_306eda79-21ba-415b-aa34-9b759a4b3db5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_306eda79-21ba-415b-aa34-9b759a4b3db5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_7507c851-f856-46e2-9395-9ac4032fd74c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_7507c851-f856-46e2-9395-9ac4032fd74c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_d4ad7ff3-f777-40ba-8091-43b5b3e06116" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_d4ad7ff3-f777-40ba-8091-43b5b3e06116" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_19f91ed5-b6ba-425b-b733-b18335a5ff0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_19f91ed5-b6ba-425b-b733-b18335a5ff0c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5d638640-42e3-42e8-b511-cf2bb9ed1a58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_5d638640-42e3-42e8-b511-cf2bb9ed1a58" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfOrdinaryDividends_048bb189-5e4b-4b21-b104-341ad313f457" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfOrdinaryDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_us-gaap_PaymentsOfOrdinaryDividends_048bb189-5e4b-4b21-b104-341ad313f457" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9d12035f-521a-4235-a1d0-969387ff3eb6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_0128f4f2-6614-45ca-8a21-7d6f0f968354" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9d12035f-521a-4235-a1d0-969387ff3eb6" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_bbf324db-0ba2-4488-93f2-724d27089cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_87baff8f-44e2-4eb6-b53c-ae0714a44d2a" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_bbf324db-0ba2-4488-93f2-724d27089cb9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_3263159c-398d-49d9-9ff2-7164d68c6afb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_87baff8f-44e2-4eb6-b53c-ae0714a44d2a" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_3263159c-398d-49d9-9ff2-7164d68c6afb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_c2fe4fce-ed9e-4c71-b2bb-9344f426a17a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.bankofamerica.com/role/PerformancebyGeographicalAreaDetails" xlink:type="simple" xlink:href="bac-20251231.xsd#PerformancebyGeographicalAreaDetails"/>
  <link:definitionLink xlink:role="http://www.bankofamerica.com/role/PerformancebyGeographicalAreaDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a12db12d-ec06-4a7a-be0c-e446d3556352" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_ebbde359-fa69-450d-a68b-3194b5ceef64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a12db12d-ec06-4a7a-be0c-e446d3556352" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_ebbde359-fa69-450d-a68b-3194b5ceef64" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_c9cc3e80-9539-47a7-bbfa-6296df5e23a1" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_ebbde359-fa69-450d-a68b-3194b5ceef64" xlink:to="loc_srt_StatementGeographicalAxis_c9cc3e80-9539-47a7-bbfa-6296df5e23a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_c9cc3e80-9539-47a7-bbfa-6296df5e23a1_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_c9cc3e80-9539-47a7-bbfa-6296df5e23a1" xlink:to="loc_srt_SegmentGeographicalDomain_c9cc3e80-9539-47a7-bbfa-6296df5e23a1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_dfa7b3ad-6f1a-48e9-a651-db5ada2cb54f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_c9cc3e80-9539-47a7-bbfa-6296df5e23a1" xlink:to="loc_srt_SegmentGeographicalDomain_dfa7b3ad-6f1a-48e9-a651-db5ada2cb54f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_dea200ca-fb80-4122-863b-21c9b8f8ad2e" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_dfa7b3ad-6f1a-48e9-a651-db5ada2cb54f" xlink:to="loc_country_US_dea200ca-fb80-4122-863b-21c9b8f8ad2e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AsiaMember_e3f812dc-88a1-4ac6-8409-92b186358099" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_AsiaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_dfa7b3ad-6f1a-48e9-a651-db5ada2cb54f" xlink:to="loc_srt_AsiaMember_e3f812dc-88a1-4ac6-8409-92b186358099" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EMEAMember_f7aaa40f-c257-4319-90b4-46941d2192fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EMEAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_dfa7b3ad-6f1a-48e9-a651-db5ada2cb54f" xlink:to="loc_us-gaap_EMEAMember_f7aaa40f-c257-4319-90b4-46941d2192fb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LatinAmericaMember_cf524524-7870-46dd-8bf4-79ec97bbf29e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LatinAmericaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_dfa7b3ad-6f1a-48e9-a651-db5ada2cb54f" xlink:to="loc_srt_LatinAmericaMember_cf524524-7870-46dd-8bf4-79ec97bbf29e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_793c9f6c-ea93-4a75-8b62-1e70374f240a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_dfa7b3ad-6f1a-48e9-a651-db5ada2cb54f" xlink:to="loc_us-gaap_NonUsMember_793c9f6c-ea93-4a75-8b62-1e70374f240a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_dbce5547-f877-4cfe-997f-42a39f218f66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a12db12d-ec06-4a7a-be0c-e446d3556352" xlink:to="loc_us-gaap_Assets_dbce5547-f877-4cfe-997f-42a39f218f66" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_0a4463de-86f2-4c52-965c-65d6915ac9af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a12db12d-ec06-4a7a-be0c-e446d3556352" xlink:to="loc_us-gaap_Revenues_0a4463de-86f2-4c52-965c-65d6915ac9af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e0e10463-f5cc-45f1-af18-96e3f4bfb444" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a12db12d-ec06-4a7a-be0c-e446d3556352" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e0e10463-f5cc-45f1-af18-96e3f4bfb444" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_9197f6d7-06ed-40a2-80ed-12414bce9f5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a12db12d-ec06-4a7a-be0c-e446d3556352" xlink:to="loc_us-gaap_NetIncomeLoss_9197f6d7-06ed-40a2-80ed-12414bce9f5a" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_OtherReceivables" xlink:type="arc" order="101"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract" xlink:to="loc_us-gaap_LongTermDebt" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:type="arc" order="691"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingGainsLosses" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_TradingGainsLosses" xlink:type="arc" order="692"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfOtherComprehensiveIncomeAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfOtherComprehensiveIncomeAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementOfOtherComprehensiveIncomeAbstract" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:type="arc" order="81"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementOfOtherComprehensiveIncomeAbstract" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:type="arc" order="82"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementOfOtherComprehensiveIncomeAbstract" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossFinancialLiabilityFairValueOptionAfterTaxAndReclassificationAdjustmentAttributableToParent" xlink:type="arc" order="83"/>
  </link:definitionLink>
</link:linkbase>
