XML 17 R1.htm IDEA: XBRL DOCUMENT v3.22.0.1
Document and Entity Information - USD ($)
12 Months Ended
Dec. 31, 2021
Mar. 08, 2022
Jun. 30, 2021
Cover [Abstract]      
Document Type 10-K    
Amendment Flag false    
Document Annual Report true    
Document Period End Date Dec. 31, 2021    
Current Fiscal Year End Date --12-31    
Document Fiscal Year Focus 2021    
Document Fiscal Period Focus FY    
Document Transition Report false    
Entity File Number 001-34245    
Entity Registrant Name YORK WATER CO    
Entity Central Index Key 0000108985    
Entity Incorporation, State or Country Code PA    
Entity Tax Identification Number 23-1242500    
Entity Address, Address Line One 130 East Market Street    
Entity Address, City or Town York    
Entity Address, State or Province PA    
Entity Address, Postal Zip Code 17401    
City Area Code 717    
Local Phone Number 845-3601    
Title of 12(b) Security Common Stock, No par value    
Trading Symbol YORW    
Security Exchange Name NASDAQ    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Non-accelerated Filer    
Entity Small Business true    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag false    
Entity Shell Company false    
Entity Public Float     $ 592,979,491
Entity Common Stock, Shares Outstanding   13,115,237  
Auditor Name Baker Tilly US, LLP    
Auditor Location York, Pennsylvania    
Auditor Firm ID 23