v3.25.2
Cover - shares
6 Months Ended
Jun. 30, 2025
Jul. 23, 2025
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 30, 2025  
Document Transition Report false  
Entity File Number 0-12015  
Entity Registrant Name HEALTHCARE SERVICES GROUP, INC.  
Entity Incorporation, State Code PA  
I.R.S. Employer Identification No. 23-2018365  
Entity Address, Address Line One 3220 Tillman Drive  
Entity Address, Address Line Two Suite 300  
Entity Address, City or Town Bensalem  
Entity Address, State or Province PA  
Entity Address, Postal Zip Code 19020  
City Area Code 215  
Local Phone Number 639-4274  
Title of 12(b) Security Common Stock, $0.01 par value  
Trading Symbol HCSG  
Security Exchange Name NASDAQ  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   72,412,725
Entity Central Index Key 0000731012  
Amendment Flag false  
Document Fiscal Year Focus 2025  
Document Fiscal Period Focus Q2  
Current Fiscal Year End Date --12-31