BofA Finance LLC $-- Contingent Income Issuer Callable Yield Notes Fully and Unconditionally Guaranteed by Bank of America Corporation Linked to the Least Performing of the Nasdaq-100®Technology Sector Index, the Russell 2000®Index and the S&P 500®Index •The Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100® Technology Sector Index, the Russell2000®Index and the S&P 500®Index, due June 29, 2029 (the “Notes”) are expected to price on June 26, 2026 and expected to issue on July 1,2026. Approximate 3 year term if not called prior to maturity.Payments on the Notes will depend on the individual performance of the Nasdaq-100®Technology Sector Index, the Russell 2000® •• S&P 500®Index (each an “Underlying”). •Contingent coupon rate of 11.50% per annum (0.9584% 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.•Beginning on October 1, 2026, callable monthly at our option for an amount equal to the principal amount plus the relevant Contingent CouponPayment, if otherwise payable.•Assuming the Notes are not called prior to maturity, ifanyUnderlying declines by more than 30% from its Starting Value, at maturity yourinvestment will be subject to 1:1 downside exposure to decreases in the value of the Least Performing Underlying, with up to 100% of the principalat risk; otherwise, at maturity, you will receive the principal amount. At maturity you will also receive a final Contingent Coupon Payment if theclosing level ofeachUnderlying on the final Observation Date 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 ofAmerica Corporation (“BAC” or the “Guarantor”), as guarantor of the Notes.•The Notes will not be listed on any securities exchange.•CUSIP No. 09711QZK2. The initial estimated value of the Notes as of the pricing date is expected to be between $928.00 and $978.00 per $1,000.00 in principal amountof Notes, 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 be predicted with accuracy. See “Risk Factors” beginning on page PS-11 of this pricing supplement and “Structuring the Notes” on page PS-28 of thispricing supplement for additional information.There are important differences between the Notes and a conventional debt security. Potential purchasers of the Notes should consider theinformation in “Risk Factors” beginning on page PS-11 of this pricing supplement, page PS-3 of the accompanying product supplement, pageS-7 of 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 ordisapproved of these securities or determined if this pricing supplement and the accompanying product supplement, prospectus supplement and (2)The underwriting discount per $1,000.00 in principal amount of Notes may be as high as $7.00, resulting in proceeds, before expenses, to BofA Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100®Russell 2000®Index and the S&P 500®Index Russell 2000®Index and the S&P 500® market-linked notes, and the economic terms of certain related hedging arrangements BAC’s affiliates enter into. BAC’s internal funding rate is typically lower than the rate it would pay when it issues conventional fixed or floating rate debt securities. This difference in funding rate, as well as theunderwriting discount, if any, and the hedging related charges described below (see “Risk Factors” beginning on page PS-11), will reduce the economic The initial estimated value range of the Notes is set forth on the cover page of this pricing supplement. The final pricing supplement will set forth theinitial estimated value of the Notes as of the pricing date. For more information about the initial estimated value and the structuring of the Notes, see Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100®Russell 2000®Index and the S&P 500®Index The Redemption Amount will also include a final Contingent Coupon Payment if the Ending Value of theLeast Performing Underlying is greater than or equal to its Coupon Barrier. Contingent Income Issuer Callable Yield Notes Linked to the Least Performing of the Nasdaq-100®Russell 2000®Index and the S&P 500®Index Total Contingent Coupon Payment Examples The table below illustrates the hypothetical total Contingent Coupon Payments per $1,000.00 in principal amount of Notes over the term of the Notes,based on the Contingent Coupon Payment of $9.584, depending on how many Contingent Coupon Payments are payable p