Form: S-1/A

General form of registration statement for all companies including face-amount certificate companies

April 21, 2022

Exhibit 23.1

INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM’S CONSENT

We consent to the inclusion in this Registration Statement of Core Scientific, Inc. (f/k/a Power & Digital Infrastructure Acquisition Corp.) on Amendment No. 1 to Form S-1 (File No. 333-262596) of our report dated March 30, 2022, with respect to our audits of the consolidated financial statements of Core Scientific, Inc. (f/k/a Power & Digital Infrastructure Acquisition Corp.) as of December 31, 2021 and 2020 and for the year ended December 31, 2021 and for the period from December 29, 2020 (inception) through December 31, 2020, which report appears in the Prospectus, which is part of this Registration Statement. We also consent to the reference to our Firm under the heading “Experts” in such Prospectus.

/s/ Marcum LLP

Marcum LLP

New York, NY

April 21, 2022