XML 13 R1.htm IDEA: XBRL DOCUMENT v3.8.0.1
Document - shares
9 Months Ended
Oct. 01, 2017
Nov. 03, 2017
Entity [Abstract]    
Entity Registrant Name MASONITE INTERNATIONAL CORPORATION  
Entity Central Index Key 0000893691  
Current Fiscal Year End Date --12-31  
Entity Filer Category Large Accelerated Filer  
Document Type 10-Q  
Document Period End Date Oct. 01, 2017  
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus Q3  
Amendment Flag false  
Entity Common Stock, Shares Outstanding   28,471,144