Preliminary Pricing Supplement - Subject to Completion(To Prospectus dated December 8, 2025,Series A Prospectus Supplement dated December 8, 2025 and Linked to the Least Performing of the Nasdaq-100®Index and the S&P 500®Index•The Dual Directional Buffered Notes Linked to the Least Performing of the Nasdaq-100® Index and the S&P 500® 2027 (the “Notes”) are expected to price on March 24, 2026 and expected to issue on March 27, 2026.Payment on the Notes will depend on the individual performance of the Nasdaq-100®Index and the S&P 500®Index (each an exposure to increases in the value of the Least Performing Underlying, subject to the Max Return of 32.15%.• IftheEnding Value of either Underlying is less than its Starting Value but the Ending Value ofeachUnderlying is greater than or equal to90% of its Starting Value, at maturity, you will receive a positive return equal to the absolute value of the percentage decline in the Ending Value of the Least Performing Underlying from its Starting Value to its Ending Value.•However, if the value ofeitherUnderlying declines by more than 10% from its Starting Value to its Ending Value, at maturity your investment will be subject to 1:1 downside exposure to decreases in the Ending Value of the Least Performing Underlying beyond a 10%decline, with up to 90% of the principal at risk. Any payment on the Notes is subject to the credit risk of BofA Finance LLC (“BofA Finance” or the “Issuer”), as issuer of the Notes, andBank of America Corporation (“BAC” or the “Guarantor”), as guarantor of the Notes. 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-6 of this pricing supplement, page PS-3 of the accompanying product supplement, page 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 prospectus is truthful or complete. 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 $997.50 per (2)The underwriting discount per $1,000.00 in principal amount of Notes may be as high as $2.50, resulting in proceeds, before expenses, to BofAFinance of as low as $997.50 per $1,000.00 in principal amount of Notes. (3)In addition to the underwriting discount above, if any, an affiliate of BofA Finance will pay a referral fee of up to $8.75 per $1,000.00 in principalamount of the Notes in connection with the distribution of the Notes to other registered broker-dealers. * Subject to change. Payment on the Notes depends on the credit risk of BofA Finance, as Issuer, and BAC, as Guarantor, and on the performance of each Underlying. Theeconomic 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-linked notes, and the economic terms of certain related hedging arrangements BAC’s affiliates enter into. BAC’s internal funding rate is typically lowerthan the rate it would pay when it issues conventional fixed or floating rate debt securities. This difference in funding rate, as well as the underwriting 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“Risk Factors” beginning on PS-6 and “Structuring the Notes” on PS-18. Redemption Amount Determination Hypothetical Payout Profile and Examples of Payments at Maturity Dual Directional Buffered Notes Table The following table is for purposes of illustration only. It is based onhypotheticalvalues and showshypotheticalreturns on the Notes. The tableillustrates the calculation of the Redemption Amount and the return on the Notes based on a hypothetical Starting Value of 100 for the Least PerformingUnderlying, a hypothetical Threshold Value of 90 for the Least Performing Underlying, the Upside Participation Rate of 100.00%, the Max Return of For recent actual values of the Underlyings, see “The Underlyings” section below. The Ending Value of each Underlying will not include any incomegenerated by dividends or other distributions paid with respect to shares or units of that Underlying or on the securitiesincluded in that Underlying, as Dual Directional Buffered Notes Linked to the Least Performing of the Nasdaq-100® Risk Factors Your investment in the Notes entails signi