Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the registration statements (No. 333-150903, No. 333-168845 and No. 333-272725) on Form S-8 of our reports dated February 25, 2025, with respect to the consolidated financial statements and the schedule of valuation and qualifying accounts of B&G Foods, Inc. and the effectiveness of internal control over financial reporting.
/s/ KPMG LLP
New York, New York
February 25, 2025