Linked tothe Common Stock of First Solar, Inc. The Contingent Income (with Memory Feature) Auto-Callable Yield Notes Linked tothe Common Stock of First Solar, Inc., due August 3, 2028 (the “Notes”) are expected to price on July 29, 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 performance ofthe common stock of First Solar, Inc. (the “Underlying Stock”). Payment Date (inclusive of the relevant Contingent Payment Date)minus(ii) the sum of all Contingent Coupon Payments previously paid. The actual contingentcoupon rate will be determined on the pricing date. Beginning with the January 29, 2026 Call Observation Date, automatically callable quarterly for an amount equal to the principal amount plus the relevant ContingentCoupon Payment, if the Observation Value of the Underlying Stock is greater than or equal to 100.00% of its Starting Value on any Call Observation Date. Assuming the Notes are not called prior to maturity, if the Underlying Stock declines by more than 50% from its Starting Value, at maturity your investment will be principal amount. At maturity you will also receive a final Contingent Coupon Payment if the Observation Value of the Underlying Stock on the final Observation Dateis greater than or equal to 50.00% of its Starting Value. Corporation (“BAC” or the “Guarantor”), as guarantor of the Notes. CUSIP No. 09711JUJ6.The initial estimated value of the Notes as of the pricing date is expected to be between $925.00 and $975.00 per $1,000.00 in principal amount of 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 predictedwith accuracy. See “Risk Factors” beginning on page PS-10 of this pricing supplement and “Structuring the Notes” on page PS-16of this pricing supplement foradditional 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-10of this pricing supplement, page PS-5 of the accompanying product supplement, page S-6 ofthe 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 ofthese securities or determined if this pricing supplement and the accompanying product supplement, prospectus supplement and prospectus is truthful or Public Offering Price(1)Underwriting Discount(1)(2) Per Note$1,000.00$25.00$975.00Total The underwriting discount per $1,000.00 in principal amount of Notes may be as high as $25.00, resulting in proceeds, before expenses, to BofA Finance ofas low as $975.00 per $1,000.00 in principal amount of Notes. Are Not FDIC Insured BACDenominations:The Notes will be issued in minimum denominations of $1,000.00 and whole multiples of $1,000.00 in excess thereof. July 31, 2028, subject to postponement as described under “Description of the Notes—Certain Terms of the Notes—Events Relating toObservation Dates” in the accompanying product supplement. The Closing Market Price of the Underlying Stock on the applicable Observation Date or Call Observation Date, as applicable, multiplied The Observation Value of the Underlying Stock on the Valuation Date. Price Multiplier:1, subject to adjustment for certain corporate events relating to the Underlying Stock as described in “Description of the Notes — Anti- Coupon Barrier:50.00% of the Starting Value. * The Observation Dates are subject to postponement as set forth in “Description of the Notes—Certain Terms of the Notes—Events Relating to ObservationDates” on page PS-21 of the accompanying product supplement. CONTINGENT INCOME (WITH MEMORY FEATURE) AUTO-CALLABLE YIELD NOTES |PS-4 economic terms of the Notes are based on BAC’s internal funding rate, which is the rate it would pay to borrow funds through the issuance of market-linkednotes, 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 itwould pay when it issues conventional fixed or floating rate debt securities. This difference in funding rate, as well as the underwriting discount, if any, and thehedging related charges described below (see “Risk Factors” beginning on page PS-10), will reduce the economic terms of the Notes to you and the initial Notes as of the pricing date.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 the initialestimated value of the Notes as of the pricing date. For more information about the initial estimated value and the structuring of the Notes, see “Risk Factors”beginning on page PS-10and “Structuring the Notes” on page PS-16