Exhibit 23

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in this Registration Statement on Form S-8 of our reports dated August 23, 2019 relating to the financial statements and the financial statement schedule of Parker-Hannifin Corporation and subsidiaries (the “Company”) and the effectiveness of the Company’s internal control over financial reporting, appearing in the Annual Report on Form 10-K of Parker-Hannifin Corporation for the year ended June 30, 2019.

/s/ Deloitte & Touche LLP

Cleveland, Ohio

February 6, 2020