Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in this Registration Statement on Form S-8 of Shift4 Payments, Inc. of our report dated March 1, 2022, except for the effects of the restatement discussed in Note 3 to the consolidated financial statements and the matter discussed in the fourth paragraph of Management’s Annual Report on Internal Control over Financial Reporting, as to which the date is November 8, 2022, relating to the financial statements and the effectiveness of internal control over financial reporting, which appears in Shift4 Payments, Inc.’s Annual Report on Form 10-K/A for the year ended December 31, 2021.

/s/ PricewaterhouseCoopers LLP

Philadelphia, Pennsylvania

January 23, 2023