<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/schedule13g" xmlns:com="http://www.sec.gov/edgar/common">
  <schemaVersion>X0202</schemaVersion>
<headerData>
    <submissionType>SCHEDULE 13G/A</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0000070858</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <coverPageHeader>
      <amendmentNo>2</amendmentNo>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <eventDateRequiresFilingThisStatement>03/31/2026</eventDateRequiresFilingThisStatement>
      <issuerInfo>
        <issuerCik>0001655050</issuerCik>
        <issuerName>Bain Capital Specialty Finance, Inc.</issuerName>
        <issuerCusips>
          <issuerCusipNumber>05684B107</issuerCusipNumber>
        </issuerCusips>
        <issuerPrincipalExecutiveOfficeAddress>
          <com:street1>C/O BAIN CAPITAL CREDIT, LP</com:street1>
          <com:street2>200 CLARENDON STREET</com:street2>
          <com:city>BOSTON</com:city>
          <com:stateOrCountry>MA</com:stateOrCountry>
          <com:zipCode>02116</com:zipCode>
        </issuerPrincipalExecutiveOfficeAddress>
      </issuerInfo>
      <designateRulesPursuantThisScheduleFiled>
        <designateRulePursuantThisScheduleFiled>Rule 13d-1(b)</designateRulePursuantThisScheduleFiled>
      </designateRulesPursuantThisScheduleFiled>
    </coverPageHeader>
    <coverPageHeaderReportingPersonDetails>

      <reportingPersonName>BANK OF AMERICA CORP /DE/</reportingPersonName>
      <memberGroup>b</memberGroup>
      <citizenshipOrOrganization>DE</citizenshipOrOrganization>
      <reportingPersonBeneficiallyOwnedNumberOfShares>
        <soleVotingPower>0.00</soleVotingPower>
        <sharedVotingPower>173674.00</sharedVotingPower>
        <soleDispositivePower>0.00</soleDispositivePower>
        <sharedDispositivePower>2790980.00</sharedDispositivePower>
      </reportingPersonBeneficiallyOwnedNumberOfShares>
      <reportingPersonBeneficiallyOwnedAggregateNumberOfShares>2790980.00</reportingPersonBeneficiallyOwnedAggregateNumberOfShares>
      <classPercent>4.3</classPercent>
      <typeOfReportingPerson>HC</typeOfReportingPerson>
      <comments>The beneficial ownership calculation relies on the 64,868,507 outstanding shares disclosed in the Form 10-K by the issuer on February 27, 2026, which reports share totals as of February 26, 2026.</comments>
    </coverPageHeaderReportingPersonDetails>
    <items>
      <item1>
        <issuerName>Bain Capital Specialty Finance, Inc.</issuerName>
        <issuerPrincipalExecutiveOfficeAddress>C/O BAIN CAPITAL CREDIT, LP, 200 CLARENDON STREET, BOSTON, MASSACHUSETTS, 02116.</issuerPrincipalExecutiveOfficeAddress>
      </item1>
      <item2>
        <filingPersonName>BANK OF AMERICA CORP /DE/</filingPersonName>
        <principalBusinessOfficeOrResidenceAddress>100 N TRYON ST
CHARLOTTE, NC 28255</principalBusinessOfficeOrResidenceAddress>
        <citizenship>Delaware</citizenship>
      </item2>
      <item3>
        <notApplicableFlag>N</notApplicableFlag>
        <typeOfPersonFiling>HC</typeOfPersonFiling>
      </item3>
      <item4>
        <amountBeneficiallyOwned>2,790,980.00
</amountBeneficiallyOwned>
        <classPercent>4.3%
</classPercent>
        <numberOfSharesPersonHas>
          <solePowerOrDirectToVote>0.00</solePowerOrDirectToVote>
          <sharedPowerOrDirectToVote>173,674.00</sharedPowerOrDirectToVote>
          <solePowerOrDirectToDispose>0.00
</solePowerOrDirectToDispose>
          <sharedPowerOrDirectToDispose>2,790,980.00
</sharedPowerOrDirectToDispose>
        </numberOfSharesPersonHas>
      </item4>
      <item5>
        <classOwnership5PercentOrLess>Y</classOwnership5PercentOrLess>
      </item5>
      <item6>
        <notApplicableFlag>Y</notApplicableFlag>
      </item6>
      <item7>
        <notApplicableFlag>N</notApplicableFlag>
        <subsidiaryIdentificationAndClassification>This statement on Schedule 13G is being filed by Bank of America Corporation on behalf of itself and its wholly owned subsidiaries BofA Securities, Inc., a broker dealer registered under section 15 of the Act (15 U.S.C. 78o); Bank of America N.A., a bank as defined in section 3(a)(6) of the Act (15 U.S.C. 78c); Merrill Lynch International, a non-U.S. institution in accordance with section 240.13d-1(b)(1)(ii)(J); and Merrill Lynch Pierce Fenner &amp; Smith, Inc., a broker dealer registered under section 15 of the Act (15 U.S.C. 78o).
</subsidiaryIdentificationAndClassification>
      </item7>
      <item8>
        <notApplicableFlag>Y</notApplicableFlag>
      </item8>
      <item9>
        <notApplicableFlag>Y</notApplicableFlag>
      </item9>
      <item10>
        <notApplicableFlag>N</notApplicableFlag>
        <certifications>By signing below I certify that, to the best of my knowledge and belief, the securities referred to above were acquired and are held in the ordinary course of business and were not acquired and are not held for the purpose of or with the effect of changing or influencing the control of the issuer of the securities and were not acquired and are not held in connection with or as a participant in any transaction having that purpose or effect, other than activities solely in connection with a nomination under &amp;#167; 240.14a-11.

</certifications>
      </item10>
    </items>
    <signatureInformation>
      <reportingPersonName>BANK OF AMERICA CORP /DE/</reportingPersonName>
      <signatureDetails>
        <signature>/s/ Monica Yako</signature>
        <title>Authorized Signatory</title>
        <date>04/27/2026</date>
      </signatureDetails>
    </signatureInformation>
  </formData>

</edgarSubmission>