XML 15 R1.htm IDEA: XBRL DOCUMENT v3.23.2
Document and Entity Information - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Sep. 08, 2023
Dec. 31, 2022
Cover [Abstract]      
Document Type 10-K    
Document Annual Report true    
Document Period End Date Jun. 30, 2023    
Amendment Flag false    
Document Transition Report false    
Entity File Number 001-15461    
Entity Registrant Name MATRIX SERVICE CO    
Entity Central Index Key 0000866273    
Current Fiscal Year End Date --06-30    
Document Fiscal Year Focus 2023    
Document Fiscal Period Focus FY    
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 73-1352174    
Entity Address, Address Line One 15 E. 5th Street    
Entity Address, Address Line Two Suite 1100    
Entity Address, City or Town Tulsa,    
Entity Address, State or Province OK    
Entity Address, Postal Zip Code 74103    
City Area Code 918    
Local Phone Number 838-8822    
Title of 12(b) Security Common Stock, par value $0.01 per share    
Trading Symbol MTRX    
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 Accelerated Filer    
Entity Small Business true    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Entity Shell Company false    
Entity Public Float     $ 162,300
Entity Common Stock, Shares Outstanding   27,209,838  
Auditor Firm ID 34    
Auditor Name DELOITTE & TOUCHE LLP    
Auditor Location Tulsa, Oklahoma