Pricing SupplementDated April17, 2025(To Prospectus datedDecember 30, 2022, BofA Finance LLC Medium-Term Notes, Series A Fully and Unconditionally Guaranteed by Bank of America Corporation Market Linked Securities—Auto-Callable withContingent Downside $3,957,000Principal at RiskSecuritiesLinked to the Lowest Performing of the Russell 2000®Indexand theEURO STOXX 50®IndexdueApril 21, 2028 Index,theS&P 500 ■Unlike ordinary debt securities, the Securities do not pay interest, do not repay a fixed amount of principal at maturity and are subject topotential automatic call upon the terms described below. Whether the Securities are automatically called for a fixed call premium or, if notautomatically called, the maturity payment amount, will depend, in each case, on the closing level of the Lowest Performing Underlying on therelevant Call Date. The Lowest Performing Underlying on any Call Date is the Underlying that has the lowest closing level on that Call Dateas a ■Automatic Call.If the closing level of the Lowest Performing Underlying on any Call Date is greater than or equal to its Starting Value, theSecurities will be automatically called for the principal amount plus the Call Premium applicable to that Call Date. The Call Premium applicable toeach Call Date is a percentage of the principal amount that increases for each Call Date based on a simple (non-compounding) return of ■If the closing level of the Lowest Performing Underlying on the Final Calculation Day is less than its Starting Value, but greater than or equalto its Threshold Value, you will receive the principal amount of yourSecurities ■If the closing level of the Lowest Performing Underlying on the Final Calculation Day is less than its Threshold Value, you will have fulldownside exposure to the decrease in the level of the Lowest Performing Underlying from its Starting Value, and you will lose more than25%, and possibly all, of the principal amount of yourSecurities. ■The Threshold Value for each Underlying is 75%of its Starting Value ■Investors may lose a significant portion, or all, ofthe principal amount ■Your return on the Securities will dependsolelyon the performance of the Underlying that is the Lowest Performing Underlying on eachCall Date. You will not benefit in any way from the performance of the better performing Underlyings. Therefore, you will be adverselyaffected ifanyUnderlyingperforms poorly, even if the other Underlyingsperform favorably ■Any positive return on the Securities will be limited to the applicable Call Premium, even if the closing level of the Lowest PerformingUnderlyingon the applicable Call Date significantly exceeds its Starting Value.You will not participate in any appreciation ofanyUnderlying beyond the applicable fixed Call Premium ■All payments on the Securities are subject to the credit risk of BofA Finance LLC (“BofA Finance”), as issuer of the Securities, and Bank ofAmerica Corporation (“BAC” or the “Guarantor”), as guarantor of the Securities ■Securities will not be listed on any securities exchange The initial estimated value of the Securities as of the Pricing Date is958.00per Security, which is less than the public offering price listedbelow.The actual value of your Securities at any time will reflect many factors and cannot be predicted with accuracy. See “Selected Risk Considerations”beginning on page PS-8 of this pricing supplement and “Structuring the Securities” on page PS-26of this pricing supplement for additional information. The Securities have complex features and investing in the Securities involves risks not associated with an investment in conventional debtsecurities. Potential purchasers of the Securities should consider the information in “Selected Risk Considerations” beginning on page PS-8herein and “Risk Factors” beginning onpage PS-5 of the accompanying product supplement, page S-6of the accompanying prospectus None of the Securities and Exchange Commission (the “SEC”), any state securities commission, or any other regulatory body has approvedordisapproved of these Securities or determined if this pricing supplement and the accompanying product supplement,prospectussupplement and prospectus is truthful or complete. Any representation to the contrary is a criminal offense. Wells Fargo Securities Market Linked Securities—Auto-Callable with Market Linked Securities—Auto-Callable with Market Linked Securities—Auto-Callable with Market Linked Securities—Auto-Callable with Principal at Risk Securities Linked to the Lowest Performing of the Russell 2000Index, theS&P 500®Indexand theEURO STOXX 50®AdditionalInformationabout BofA Finance, the Guarantor and the Securities The terms and risks of the Securities are contained in this pricing supplement and in the following related product supplement,prospectus supplement and prospectus. Information included in this pricing supplement supersedes information in the product •Product Supplement No. WF-1 datedMarch 8, 2023:http