Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
The Board of Directors and Stockholders
General Mills, Inc.:
We consent to the incorporation by reference in the registration statements (No. 333-246292) on Form
S-3 and the registration statements (Nos. 2-50327,
2-53523, 2-95574, 33-27628, 33-32059, 333-32509, 333-90012, 333-139997, 333-163849, 333-179622, 333-215259, and 333-222589) on Form S-8 of General Mills, Inc. of our report dated June 30, 2021, with respect to the consolidated balance sheets of
General Mills, Inc. and subsidiaries as of May 30, 2021 and May 31, 2020, the related consolidated statements of earnings, comprehensive income, total equity and redeemable interest, and cash flows for each of the years in the three-year period
ended May 30, 2021, and the related notes and financial statement schedule II, and the effectiveness of internal control over financial reporting as of May 30, 2021, which report appears in the May 30, 2021 annual report on Form 10-K of General
Mills, Inc.
Our report dated June 30, 2021 refers to a change to the method of accounting for leases.
/s/ KPMG LLP
Minneapolis, Minnesota
June 30, 2021