    <SEC-DOCUMENT>0001193125-24-229561-index.html : 20241001
    <SEC-HEADER>0001193125-24-229561.hdr.sgml : 20241001
    <ACCEPTANCE-DATETIME>20241001083130
    ACCESSION NUMBER:		0001193125-24-229561
    CONFORMED SUBMISSION TYPE:	8-K
    PUBLIC DOCUMENT COUNT:		21
    CONFORMED PERIOD OF REPORT:	20240926
    ITEM INFORMATION:		Entry into a Material Definitive Agreement
    ITEM INFORMATION:		Creation of a Direct Financial Obligation or an Obligation under an Off-Balance Sheet Arrangement of a Registrant
    ITEM INFORMATION:		Financial Statements and Exhibits
    FILED AS OF DATE:		20241001
    DATE AS OF CHANGE:		20241001

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			UNIVERSAL HEALTH SERVICES INC
    		CENTRAL INDEX KEY:			0000352915
    		STANDARD INDUSTRIAL CLASSIFICATION:	SERVICES-GENERAL MEDICAL & SURGICAL HOSPITALS, NEC [8062]
    		ORGANIZATION NAME:           	08 Industrial Applications and Services
    		IRS NUMBER:				232077891
    		STATE OF INCORPORATION:			DE
    		FISCAL YEAR END:			1231

    	FILING VALUES:
    		FORM TYPE:		8-K
    		SEC ACT:		1934 Act
    		SEC FILE NUMBER:	001-10765
    		FILM NUMBER:		241341407

    	BUSINESS ADDRESS:
    		STREET 1:		367 S GULPH RD
    		CITY:			KING OF PRUSSIA
    		STATE:			PA
    		ZIP:			19406
    		BUSINESS PHONE:		6107683300

    	MAIL ADDRESS:
    		STREET 1:		367 S GULPH ROAD
    		CITY:			KING OF PRUSSIA
    		STATE:			PA
    		ZIP:			19406
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>8-K
    <SEQUENCE>1
    <FILENAME>d895626d8k.htm
    <DESCRIPTION>8-K
    <TEXT>
    Document 1 - file: d895626d8k.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-4.1
    <SEQUENCE>2
    <FILENAME>d895626dex41.htm
    <DESCRIPTION>EX-4.1
    <TEXT>
    Document 2 - file: d895626dex41.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-4.2
    <SEQUENCE>3
    <FILENAME>d895626dex42.htm
    <DESCRIPTION>EX-4.2
    <TEXT>
    Document 3 - file: d895626dex42.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-4.5
    <SEQUENCE>4
    <FILENAME>d895626dex45.htm
    <DESCRIPTION>EX-4.5
    <TEXT>
    Document 4 - file: d895626dex45.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-5.1
    <SEQUENCE>5
    <FILENAME>d895626dex51.htm
    <DESCRIPTION>EX-5.1
    <TEXT>
    Document 5 - file: d895626dex51.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-5.2
    <SEQUENCE>6
    <FILENAME>d895626dex52.htm
    <DESCRIPTION>EX-5.2
    <TEXT>
    Document 6 - file: d895626dex52.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-10.1
    <SEQUENCE>7
    <FILENAME>d895626dex101.htm
    <DESCRIPTION>EX-10.1
    <TEXT>
    Document 7 - file: d895626dex101.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.SCH
    <SEQUENCE>8
    <FILENAME>uhs-20240926.xsd
    <DESCRIPTION>XBRL TAXONOMY EXTENSION SCHEMA
    <TEXT>
    Document 8 - file: uhs-20240926.xsd

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.LAB
    <SEQUENCE>9
    <FILENAME>uhs-20240926_lab.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION LABEL LINKBASE
    <TEXT>
    Document 9 - file: uhs-20240926_lab.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.PRE
    <SEQUENCE>10
    <FILENAME>uhs-20240926_pre.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION PRESENTATION LINKBASE
    <TEXT>
    Document 10 - file: uhs-20240926_pre.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>11
    <FILENAME>g895626dsp026.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 11 - file: g895626dsp026.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>12
    <FILENAME>g895626dsp327.jpg
    <DESCRIPTION>GRAPHIC
    <TEXT>
    Document 12 - file: g895626dsp327.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>14
    <FILENAME>R1.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 14 - file: R1.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EXCEL
    <SEQUENCE>15
    <FILENAME>Financial_Report.xlsx
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 15 - file: Financial_Report.xlsx

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>16
    <FILENAME>Show.js
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 16 - file: Show.js

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>17
    <FILENAME>report.css
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 17 - file: report.css

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>19
    <FILENAME>FilingSummary.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 19 - file: FilingSummary.html

    Document 19 - RAW XML: FilingSummary.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>JSON
    <SEQUENCE>22
    <FILENAME>MetaLinks.json
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 22 - file: MetaLinks.json

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>ZIP
    <SEQUENCE>23
    <FILENAME>0001193125-24-229561-xbrl.zip
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 23 - file: 0001193125-24-229561-xbrl.zip

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>24
    <FILENAME>d895626d8k_htm.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 24 - file: d895626d8k_htm.html

    Document 24 - RAW XML: d895626d8k_htm.xml

    </DOCUMENT>
    </SEC-DOCUMENT>