This pricing supplement, which is not complete and may be changed, relates to an effective Registration Statement under the Securities Act of 1933. Thispricing supplement and the accompanying product supplement, prospectus supplement and prospectus are not an offer to sell these Notes in any country orjurisdiction where such an offer would not be permitted. Linked to the Least Performing of the Nasdaq-100®Index, the Russell 2000®Index and the S&P500®Index •The Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100®Index, the Russell 2000®Index and the S&P 500®Index,due August 2, 2028 (the “Notes”) are expected to price on July 28, 2025 and expected to issue on July 31, 2025.•Approximate 3 year term if not called prior to maturity.•Payments on the Notes will depend on the individual performance of the Nasdaq-100®Index, the Russell 2000®Index and the S&P 500®Index (each an“Underlying”).•Contingent coupon rate of at least 7.50% per annum (at least 0.625% per month) payable monthly if the closing level ofeachUnderlying on the applicableObservation Date is greater than or equal to 70.00% of its Starting Value, assuming the Notes have not been called. The actual contingent coupon rate will bedetermined on the pricing date.•Beginning on February 2, 2026, callable monthly at our option for an amount equal to the principal amount plus the relevant Contingent Coupon Payment, ifotherwise payable.•Assuming the Notes are not called prior to maturity, ifanyUnderlying declines by more than 30% from its Starting Value, at maturity your investment will be subjectto 1:1 downside exposure to decreases in the value of the Least Performing Underlying, with up to 100% of the principal at risk; otherwise, at maturity, you willreceive the principal amount. At maturity you will also receive a final Contingent Coupon Payment if the closing level ofeachUnderlying on the final ObservationDate is greater than or equal to 70.00% of its Starting Value.•All payments on the Notes are subject to the credit risk of BofA Finance LLC (“BofA Finance” or the “Issuer”), as issuer of the Notes, and Bank of AmericaCorporation (“BAC” or the “Guarantor”), as guarantor of the Notes.•The Notes will not be listed on any securities exchange.•CUSIP No. 09711HX32. The initial estimated value of the Notes as of the pricing date is expected to be between $910.00 and $960.00 per $1,000.00 in principal amount ofNotes, which is less than the public offering price listed below.The actual value of your Notes at any time will reflect many factors and cannot bepredicted with accuracy. See “Risk Factors” beginning on page PS-11 of this pricing supplement and “Structuring the Notes” on page PS-26of this pricingsupplement for additional information.There are important differences between the Notes and a conventional debt security. Potential purchasers of the Notes should consider the information in “Risk Factors” beginning on page PS-11of this pricing supplement, page PS-5 of the accompanying product supplement, page S-6of the accompanying prospectus supplement, and page 7 of the accompanying prospectus.None of the Securities and Exchange Commission (the “SEC”), any state securities commission, or any other regulatory body has approved or disapproved of these securities or determined if this pricing supplement and the accompanying product supplement, prospectus supplement and prospectus is truthful orcomplete. Any representation to the contrary is a criminal offense. (1)Certain dealers who purchase the Notes for sale to certain fee-based advisory accounts may forgo some or all of their selling concessions, fees orcommissions. The public offering price for investors purchasing the Notes in these fee-based advisory accounts may be as low as $971.25 per $1,000.00 inprincipal amount of Notes. (2)The underwriting discount per $1,000.00 in principal amount of Notes may be as high as $28.75, resulting in proceeds, before expenses, to BofA Financeof as low as $971.25 per $1,000.00 in principal amount of Notes. The Notes and the related guarantee: Selling Agent Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100®Index, the Russell 2000®Index and theS&P 500®Index Terms of the Notes Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100®Index, the Russell 2000®Index and theS&P 500®Index Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100®Index, the Russell 2000®Index and theS&P 500®Index Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100®Index, the Russell 2000®Index and theS&P 500®Index Any payments on the Notes depend on the credit risk of BofA Finance, as Issuer, and BAC, as Guarantor, and on the performance of the Underlyings. Theeconomic terms of the Notes are based on BAC’s internal funding rate, which is the rate it would pay to borrow funds through t