Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the registration statement (No. 333-121965) on Form S-8 of our report dated June 29, 2026, with respect to the financial statements of Compass Minerals International, Inc. 401(k) Savings Plan.
/s/ KPMG LLP
Houston, Texas
June 29, 2026