EX-23.1 4 a2213118zex-23_1.htm EX-23.1 CONSENT OF KPMG LLP
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1


Consent of Independent Registered Public Accounting Firm

The Board of Directors
B&G Foods, Inc.:

        We consent to the incorporation by reference in the registration statements (Registration Nos. 333-150903 and 333-168845) on Form S-8 and (Registration No. 333-168846) on Form S-3 of B&G Foods, Inc. of our reports dated February 26, 2013, with respect to the consolidated balance sheets of B&G Foods, Inc. and subsidiaries as of December 29, 2012 and December 31, 2011 and the related consolidated statements of operations, comprehensive income, changes in stockholders' equity and cash flows for the years ended December 29, 2012, December 31, 2011 and January 1, 2011, the related financial statement schedule, and the effectiveness of internal control over financial reporting as of December 29, 2012, which reports appear in the December 29, 2012 annual report on Form 10-K of B&G Foods, Inc.

/s/ KPMG LLP

Short Hills, New Jersey
February 26, 2013




QuickLinks

Consent of Independent Registered Public Accounting Firm