EX-23.1 8 ex231-pwcconsent2023.htm EX-23.1 Document

EXHIBIT 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statement on Form S-8 (No. 333-258128) and in the Registration Statement on Form S-3 (No. 333-267437) of Core & Main, Inc. of our report dated March 19, 2024 relating to the financial statements and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.

/s/ PricewaterhouseCoopers LLP
St. Louis, Missouri
March 19, 2024