EX-23.1 5 uhs-ex23_1.htm EX-23.1

EXHIBIT 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (Nos. 333-167356, 333-156425, 333-119143, 333-112332, 333-126025, 333-122188, 333-206298, 333-218359, 333-238880, 333-265495, 333-156424) of Universal Health Services, Inc. of our report dated February 27, 2024 relating to the financial statements, financial statement schedule and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.

/s/ PricewaterhouseCoopers LLP
Philadelphia, Pennsylvania

February 27, 2024